也查看了其它的dtsi文件,都再没有出现pg11的定义和引用,咋回事呢?
pitft: pitft@0{
compatible = "sitronix,st7789v";
reg = <0>;
status = "disabled";
spi-max-frequency = <50000000>;
rotate = <90>;
fps = <33>;
buswidth = <8>;
dc-gpios = <&pio 0 1 GPIO_ACTIVE_HIGH>; /* PA1 */
/*reset-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; */
/*PG11*/
led-gpios = <&pio 0 0 GPIO_ACTIVE_LOW>; /* PA0 */
debug = <0x0>;
};
错误提示如下:
40.183249] sun8i-h3-pinctrl 1c20800.pinctrl: pin PG11 already requested by leds; cannot claim for mytestleds
[ 40.193749] sun8i-h3-pinctrl 1c20800.pinctrl: pin-203 (mytestleds) status -22
[ 40.201243] sun8i-h3-pinctrl 1c20800.pinctrl: could not request pin 203 (PG11) from group PG11 on device 1c20800.pinctrl
[ 40.212667] mytest-led mytestleds: Error applying setting, reverse things back
[ 40.232025] mytest-led: probe of mytestleds failed with error -22
离线
我已经搞定了。错误在 by leds 这个地方,把leds屏蔽即可。谢谢。 请管理员帮我删帖,谢谢。
离线