Hi there,
I’m trying to disable backlight in Colibri iMX7D, but I can’t figure out how to do this changes in device tree.
The definition of backlight is in “imx7-colibri.dtsi”:
bl: backlight {
compatible = "pwm-backlight";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_bl_on>;
pwms = <&pwm1 0 5000000 0>;
enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
};
In my device tree, basically a copy of “imx7d-colibri-eval-v3.dts”, I tried using:
/delete-node/backlight;
But then, I have a syntax error in this line.
What is the correct procedure to delete a device-tree node?
Best regards,
Luan