Add hwmon systemd unit and udev rule

The udev rule invokes phosphor-hwmon with the
devicetree path of the hwmon device.

The systemd unit is a templated on the devicetree path,
which is forwarded directly to phosphor-hwmon.  The
phosphor-hwmon environment file is also templated, so
environment files must be placed in a devicetree
like-named directory tree under
/etc/defaults/obmc/hwmon/<dtreepath>.conf

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I5001f03ace34cb4e39c82270a98c0c3c902a6e63
3 files changed
tree: 368608f7634d16e0dcb9a71c60a2e71218b3feff
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE