From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] dt-bindings: hwmon: Add binding for pxe1610 Date: Mon, 22 Jul 2019 18:56:13 -0700 Message-ID: References: <20190722192451.1947348-1-vijaykhemka@fb.com> <20190722192451.1947348-2-vijaykhemka@fb.com> <20190722200622.GA20435@roeck-us.net> <6E2B35D8-B538-4C96-B289-27A87ECD74DB@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <6E2B35D8-B538-4C96-B289-27A87ECD74DB@fb.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Vijay Khemka Cc: Jean Delvare , Rob Herring , Mark Rutland , Joel Stanley , Andrew Jeffery , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "openbmc @ lists . ozlabs . org" , Sai Dasari List-Id: devicetree@vger.kernel.org On 7/22/19 5:12 PM, Vijay Khemka wrote: > > > On 7/22/19, 1:06 PM, "Guenter Roeck" wrote: > > On Mon, Jul 22, 2019 at 12:24:48PM -0700, Vijay Khemka wrote: > > Added new DT binding document for Infineon PXE1610 devices. > > > > Signed-off-by: Vijay Khemka > > --- > > .../devicetree/bindings/hwmon/pxe1610.txt | 15 +++++++++++++++ > > 1 file changed, 15 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/hwmon/pxe1610.txt > > > > diff --git a/Documentation/devicetree/bindings/hwmon/pxe1610.txt b/Documentation/devicetree/bindings/hwmon/pxe1610.txt > > new file mode 100644 > > index 000000000000..635daf4955db > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/hwmon/pxe1610.txt > > @@ -0,0 +1,15 @@ > > +pxe1610 properties > > + > > +Required properties: > > +- compatible: Must be one of the following: > > + - "infineon,pxe1610" for pxe1610 > > + - "infineon,pxe1110" for pxe1610 > > + - "infineon,pxm1310" for pxm1310 > > +- reg: I2C address > > + > > +Example: > > + > > +vr@48 { > > + compatible = "infineon,pxe1610"; > > + reg = <0x48>; > > +}; > > Wouldn't it be better to add this to > ./Documentation/devicetree/bindings/trivial-devices.txt ? > Sure, I didn't know about this file. I will add and send another patch. It is > Documentation/devicetree/bindings/trivial-devices.yaml. How do I abandon > this patch or just leave it. > When you send v2, just add the device to the trivial-devices file instead and describe the differences to v1 (ie this patch). Guenter