dt-bindings: hwmon: fan: Add fan binding to schema
authorNaresh Solanki <naresh.solanki@9elements.com>
Wed, 21 Feb 2024 10:40:23 +0000 (18:40 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 7 Mar 2024 18:44:34 +0000 (10:44 -0800)
commit3b0ac1f90c44178b295432e1bf7ef05c2ca20014
tree2dae7f0394f4730748956adafe6fafb5be4e8aa1
parentc71d2502edf0a22684928ed3fdae8e1617609985
dt-bindings: hwmon: fan: Add fan binding to schema

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

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20240221104025.1306227-2-billy_tsai@aspeedtech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/fan-common.yaml [new file with mode: 0644]