1 From 09ea7bdac6000a6ef53cffae3015f1390dac8240 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 0370/1085] 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 dtbindings: Fixup microchip,emc2305.yaml bindings
17 The bindings submitted to mainline had some issues, so fix them up.
19 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
21 .../bindings/hwmon/microchip,emc2305.yaml | 54 +++++++++++++++++++
22 1 file changed, 54 insertions(+)
23 create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
26 +++ b/Documentation/devicetree/bindings/hwmon/microchip,emc2305.yaml
28 +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
32 +$id: http://devicetree.org/schemas/hwmon/emc2305.yaml#
33 +$schema: http://devicetree.org/meta-schemas/core.yaml#
35 +title: Microchip EMC230[1|2|3|5] RPM-based PWM Fan Speed Controller
50 + emc2305,pwm-channel:
52 + Max number of pwm channels
57 + emc2305,cooling-levels:
59 + Quantity of cooling level state.
68 + - emc2305,pwm-channels
69 + - emc2305,cooling-levels
71 +additionalProperties: false
76 + compatible = "microchip,emc2305";
77 + emc2305,pwm-min = <0>;
78 + emc2305,pwm-max = <255>;
79 + emc2305,pwm-channel = <5>
80 + emc2305,cooling-levels = <10>;