On Mon, Sep 11, 2017 at 2:33 PM, Alan Tull <at...@kernel.org> wrote: Forget this - Guenter has pointed out that this patch is not needed, as the i2c layer handles this without needing the compatible added.
Alan > On Mon, Sep 11, 2017 at 2:16 PM, Alan Tull <at...@kernel.org> wrote: > > Add Oleksij Rempel > >> Add new device tree bindings document for max1619 device >> including a new compatible string. >> >> Signed-off-by: Alan Tull <at...@kernel.org> >> Cc: Jean Delvare <jdelv...@suse.com> >> Cc: Guenter Roeck <li...@roeck-us.net> >> Cc: Rob Herring <robh...@kernel.org> >> Cc: Mark Rutland <mark.rutl...@arm.com> >> --- >> Documentation/devicetree/bindings/hwmon/max1619.txt | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/hwmon/max1619.txt >> >> diff --git a/Documentation/devicetree/bindings/hwmon/max1619.txt >> b/Documentation/devicetree/bindings/hwmon/max1619.txt >> new file mode 100644 >> index 0000000..c70dbbe >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/hwmon/max1619.txt >> @@ -0,0 +1,12 @@ >> +Bindings for MAX1619 Temperature Sensor >> + >> +Required properties: >> +- compatible : "maxim,max1619" >> +- reg : I2C address, one of 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, >> 0x4c, or >> + 0x4d, 0x4e >> + >> +Example: >> + temp@4c { >> + compatible = "maxim,max1619"; >> + reg = <0x4c>; >> + }; >> -- >> 2.7.4 >>