kernel icon indicating copy to clipboard operation
kernel copied to clipboard

gpio-fan don't init

Open bart112233 opened this issue 5 years ago • 0 comments

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

bart112233 avatar Nov 30 '20 15:11 bart112233