mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 12:59:33 -04:00
arm64: dts: rockchip: make dts use gpio-fan matrix instead of array
No functional changes. Adjust to comply with dt-schema requirements and make possible to validate values. Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: David Heidelberg <david@ixit.cz> Link: https://lore.kernel.org/r/20231209171653.85468-2-david@ixit.cz Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
committed by
Heiko Stuebner
parent
998513442c
commit
c87847cfc1
@@ -44,7 +44,7 @@ dc_12v: dc-12v {
|
||||
fan0: gpio-fan {
|
||||
#cooling-cells = <2>;
|
||||
compatible = "gpio-fan";
|
||||
gpio-fan,speed-map = <0 0 3000 1>;
|
||||
gpio-fan,speed-map = <0 0>, <3000 1>;
|
||||
gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -31,8 +31,9 @@ gmac1_clkin: external-gmac1-clock {
|
||||
fan: gpio_fan {
|
||||
compatible = "gpio-fan";
|
||||
gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = <0 0
|
||||
4500 1>;
|
||||
gpio-fan,speed-map =
|
||||
< 0 0>,
|
||||
<4500 1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fan_en_h>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
Reference in New Issue
Block a user