mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
dt-bindings: hwmon (pwm-fan) Remove dead "cooling-*-state" properties
The old "cooling-{min,max}-state" properties for thermal bindings were
ratified to "cooling-{min,max}-level" by commit eb168b70de ("of:
thermal: Fix inconsitency between cooling-*-state and cooling-*-level"),
which were later removed entirely by commit e04907dbc2 ("dt-bindings:
thermal: Remove "cooling-{min|max}-level" properties").
The pwm-fan binding, however, was apparently in-flight in parallel with
that ratification, and so managed to introduce an example of the old
properties which escaped the scope of the later cleanup and has thus
continued to be dutifully copied for new boards despite being useless.
Clean up these remaining undocumented anachronisms to minimise any
further confusion.
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
40a250ae69
commit
c8e3993dd5
|
|
@ -12,8 +12,6 @@ Optional properties:
|
|||
Example:
|
||||
fan0: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <3>;
|
||||
#cooling-cells = <2>;
|
||||
pwms = <&pwm 0 10000 0>;
|
||||
cooling-levels = <0 102 170 230>;
|
||||
|
|
|
|||
|
|
@ -34,8 +34,6 @@ led1 {
|
|||
fan0: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
pwms = <&pwm 0 10000 0>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <3>;
|
||||
#cooling-cells = <2>;
|
||||
cooling-levels = <0 102 170 230>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@ emmc_pwrseq: pwrseq {
|
|||
fan0: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
pwms = <&pwm 0 20972 0>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <3>;
|
||||
#cooling-cells = <2>;
|
||||
cooling-levels = <0 130 170 230>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,8 +44,6 @@ emmc_pwrseq: pwrseq {
|
|||
fan0: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
pwms = <&pwm 0 20972 0>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <3>;
|
||||
#cooling-cells = <2>;
|
||||
cooling-levels = <0 130 170 230>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -77,8 +77,6 @@ lvds_backlight: lvds-backlight {
|
|||
|
||||
pwm_fan: pwm-fan {
|
||||
compatible = "pwm-fan";
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <4>;
|
||||
#cooling-cells = <2>;
|
||||
pwms = <&pwm4 0 50000>;
|
||||
cooling-levels = <0 64 127 191 255>;
|
||||
|
|
|
|||
|
|
@ -57,8 +57,6 @@ fan: fan {
|
|||
pwms = <&pwm4 0 45334>;
|
||||
|
||||
cooling-levels = <0 64 128 255>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <3>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ i2c@0 {
|
|||
fan: fan@18 {
|
||||
compatible = "ti,amc6821";
|
||||
reg = <0x18>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <9>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -370,8 +370,6 @@ &i2c7 {
|
|||
fan: fan@18 {
|
||||
compatible = "ti,amc6821";
|
||||
reg = <0x18>;
|
||||
cooling-min-state = <0>;
|
||||
cooling-max-state = <9>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user