Re: [PATCH 1/2] dt-bindings: hwmon: add compatible for max1619
From: Alan Tull
Date: Mon Sep 11 2017 - 17:19:09 EST
On Mon, Sep 11, 2017 at 2:33 PM, Alan Tull <atull@xxxxxxxxxx> 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 <atull@xxxxxxxxxx> wrote:
>
> Add Oleksij Rempel
>
>> Add new device tree bindings document for max1619 device
>> including a new compatible string.
>>
>> Signed-off-by: Alan Tull <atull@xxxxxxxxxx>
>> Cc: Jean Delvare <jdelvare@xxxxxxxx>
>> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
>> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
>> Cc: Mark Rutland <mark.rutland@xxxxxxx>
>> ---
>> 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
>>