kernel
kernel copied to clipboard
gpio-fan don't init
I'm try to use gpio-fan module on rk3399 board. Added this to my boad .dts file:
/ {
...
fan0: gpio_fan {
compatible = "gpio-fan";
gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
gpio-fan,speed-map = <0 0>,
<3000 1>;
#cooling-cells = <2>; /* min followed by max */
status = "okay";
};
....
But module don't init and has error in dmesg:
[ 2.207328] gpio-fan fan0: Invalid operating-points
[ 2.207413] gpio-fan: probe of fan0 failed with error -22