Re: [PATCH v1 2/2] dt-bindings: hwmon: add adi,ltc4271

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 11, 2023 at 7:24 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On 8/11/23 01:32, Lothar Felten wrote:
> > Add dt-bindings for Analog Devices LTC4271 PoE PSE.
> >
> > Signed-off-by: Lothar Felten <lothar.felten@xxxxxxxxx>
> > ---
> >   .../bindings/hwmon/adi,ltc4271.example.dts    | 28 ++++++++++
> >   .../bindings/hwmon/adi,ltc4271.yaml           | 51 +++++++++++++++++++
> >   MAINTAINERS                                   |  1 +
> >   3 files changed, 80 insertions(+)
> >   create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc4271.example.dts
> >   create mode 100644 Documentation/devicetree/bindings/hwmon/adi,ltc4271.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc4271.example.dts b/Documentation/devicetree/bindings/hwmon/adi,ltc4271.example.dts
> > new file mode 100644
> > index 000000000..829f7c5a9
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc4271.example.dts
> > @@ -0,0 +1,28 @@
> > +// SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> > +/dts-v1/;
> > +/plugin/; // silence any missing phandle references
> > +
> > +/{
> > +     compatible = "foo";
> > +model = "foo";
> > +     #address-cells = <1>;
> > +     #size-cells = <1>;
> > +
> > +     example-0 {
> > +             #address-cells = <1>;
> > +             #size-cells = <1>;
> > +
> > +             i2c {
> > +                     #address-cells = <1>;
> > +                     #size-cells = <0>;
> > +
> > +                     ltc4271@20 {
> > +                             compatible = "adi,ltc4271";
> > +                             reg = <0x20>;
> > +                             shunt-resistor-micro-ohms = <250000>;
> > +                     };
> > +             };
> > +
> > +     };
> > +};
> > +
>
> Is that something new ? I don't recall seeing similar .example files.

That's the intermediate file with the extracted example.

Please use get_maintainers.pl and send your patches to the
lists/people it gives you.

Rob




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux