[PATCH v3 1/3] dt-bindings: hwmon: fan: Add fan binding to schema

Ban Feng baneric926 at gmail.com
Tue Jan 9 20:00:17 AEDT 2024


On Thu, Jan 4, 2024 at 8:15 AM Rob Herring <robh at kernel.org> wrote:
>
> On Fri, Dec 22, 2023 at 09:33:50AM +0800, baneric926 at gmail.com wrote:
> > From: Naresh Solanki <naresh.solanki at 9elements.com>
> >
> > Add common fan properties bindings to a schema.
> >
> > Bindings for fan controllers can reference the common schema for the
> > fan
> >
> > child nodes:
> >
> >   patternProperties:
> >     "^fan@[0-2]":
> >       type: object
> >       $ref: fan-common.yaml#
> >       unevaluatedProperties: false
> >
> > Signed-off-by: Naresh Solanki <naresh.solanki at 9elements.com>
> > Signed-off-by: Billy Tsai <billy_tsai at aspeedtech.com>
> > Signed-off-by: Ban Feng <kcfeng0 at nuvoton.com>
> > ---
> >  .../devicetree/bindings/hwmon/fan-common.yaml | 76 +++++++++++++++++++
> >  1 file changed, 76 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/hwmon/fan-common.yaml
>
> Please implement my comments on v10.
>

Hi Rob,

I saw Aspeed Billy has already added enum to below patch:
https://patchwork.kernel.org/project/linux-hwmon/patch/20240108074348.735014-2-billy_tsai@aspeedtech.com/

Thanks,
Ban


More information about the openbmc mailing list