rk3328-roc-cc 如何将gpio 注册至leds-gpio驱动框架下 其dts文件如何编写
修改kernel/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts将系统自带的 ir leds打开编译,出现如下错误,
ir {
status = "disabled";
gpios = <&gpio2 GPIO_C2 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "ir";
default-state = "off";
mode = <0x00>;
};
make: 'include/generated/vdso-offsets.h' is up to date.
CHK include/generated/compile.h
DTC arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dtb
Error: arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts:224.20-21 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:299: recipe for target 'arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dtb' failed
make: *** Error 1
scripts/Makefile.build:484: recipe for target 'arch/arm64/boot/dts/rockchip' failed
make: *** Error 2
arch/arm64/Makefile:127: recipe for target 'dtbs' failed
make: *** Error 2
make: *** Waiting for unfinished jobs....
MAKE KERNEL IMAGE FAILED.
求解?
页:
[1]