Bindings and Linux driver expect native-mode to be a phandle to one of
the timings node, not a boolean property. Correct the DTS to fix
dtbs_check warnings like:
imx53-m53evk.dtb: display-timings: timing-800x480p60: 'native-mode' does not match any of the regexes: 'pinctrl-[0-9]+'
This should not have actual effect for Linux kernel (no real bug
affecting choice of native-mode), because the first timing node is
chosen in absence of proper native-mode property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
pinctrl-0 = <&pinctrl_ipu_disp1>;
display-timings {
+ native-mode = <&timing0>;
timing0: timing-lw700 {
- native-mode;
clock-frequency = <33000033>;
hactive = <800>;
vactive = <480>;
pinctrl-0 = <&pinctrl_lcd>;
display-timings {
+ native-mode = <&timing0>;
timing0: timing-800x480p60 {
- native-mode;
clock-frequency = <30066000>;
hactive = <800>;
vactive = <480>;
pinctrl-0 = <&pinctrl_ipu_disp1>;
display-timings {
+ native-mode = <&timing0>;
timing0: timing-800x480p60 {
- native-mode;
clock-frequency = <31500000>;
hactive = <800>;
vactive = <480>;
power-on-delay = <10>;
display-timings {
+ native-mode = <&timing0>;
timing0: timing-480x800p57 {
- native-mode;
clock-frequency = <27000027>;
hactive = <480>;
vactive = <800>;
status = "okay";
display-timings {
+ native-mode = <&timing0>;
timing0: timing-480x800p60 {
- native-mode;
clock-frequency = <30000000>;
hactive = <480>;
vactive = <800>;
status = "okay";
display-timings {
+ native-mode = <&timing0>;
timing0: timing-800x480p60 {
- native-mode;
clock-frequency = <33246000>;
hactive = <800>;
vactive = <480>;