The two variants of the iW-G22D should be mutually exclusive, therefore this patch disables the RGB LCD display when the HDMI extension board is used. Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@xxxxxxxxxxxxxx> --- arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts | 13 +++++++++++++ arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts index 2aeebfc..cb76469 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm-dbhd-ca.dts @@ -108,6 +108,19 @@ }; }; +&lcd_panel { + status = "disabled"; + + /* null reference to get rid of the dtc warning */ + ports { + port@0 { + endpoint { + remote-endpoint = <0>; + }; + }; + }; +}; + &pfc { can1_pins: can1 { groups = "can1_data_b"; diff --git a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts index 878113a..444adc6 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts +++ b/arch/arm/boot/dts/r8a7745-iwg22d-sodimm.dts @@ -98,7 +98,7 @@ pinctrl-names = "default"; }; - lcd { + lcd_panel: lcd { compatible = "edt,etm043080dh6gp", "simple-panel"; power-supply = <&vccq_panel>; -- 2.7.4