1 From 115d15dadcaeb1ec4ce67c655ac498b358c88fad Mon Sep 17 00:00:00 2001
2 From: Michael Shych <michaelsh@nvidia.com>
3 Date: Sat, 30 Apr 2022 14:49:04 +0300
4 Subject: [PATCH] dt-bindings: hwmon: add microchip,emc2305.yaml dt
7 Submitted to linux-hwmon mailing list at
8 https://patchwork.kernel.org/project/linux-hwmon/patch/20220430114905.53448-3-michaelsh@nvidia.com/
10 Add basic description of emc2305 driver device tree binding.
12 Signed-off-by: Michael Shych <michaelsh@nvidia.com>
13 Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
15 .../bindings/hwmon/microchip,emc2305.yaml | 54 +++++++++++++++++++
16 1 file changed, 54 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
20 +++ b/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
22 +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
26 +$id: http://devicetree.org/schemas/hwmon/emc2305.yaml#
27 +$schema: http://devicetree.org/meta-schemas/core.yaml#
29 +title: Microchip EMC2305 RPM-based PWM Fan Speed Controller
44 + emc2305,pwm-channel:
46 + Max number of pwm channels
51 + emc2305,cooling-levels:
53 + Quantity of cooling level state.
62 + - emc2305,pwm-channels
63 + - emc2305,cooling-levels
65 +additionalProperties: false
70 + emc2305,compatible = "microchip,emc2305";
71 + emc2305,pwm-min = <0>;
72 + emc2305,pwm-max = <255>;
73 + emc2305,pwm-channel = <5>
74 + emc2305,cooling-levels = <10>;