mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
ARM: dts: imx53-qsb: add support for the HDMI expander
Add support for the MCIMXHDMICARD expansion card attached to the iMX53 QSB / QSRB platforms. This enables HDMI output on those devices. Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
e7f32d8f2e
commit
eeb403df95
@ -45,7 +45,9 @@ dtb-$(CONFIG_SOC_IMX53) += \
|
||||
imx53-mba53.dtb \
|
||||
imx53-ppd.dtb \
|
||||
imx53-qsb.dtb \
|
||||
imx53-qsb-hdmi.dtb \
|
||||
imx53-qsrb.dtb \
|
||||
imx53-qsrb-hdmi.dtb \
|
||||
imx53-sk-imx53.dtb \
|
||||
imx53-sk-imx53-atm0700d4-lvds.dtb \
|
||||
imx53-sk-imx53-atm0700d4-rgb.dtb \
|
||||
@ -54,6 +56,8 @@ dtb-$(CONFIG_SOC_IMX53) += \
|
||||
imx53-tx53-x13x.dtb \
|
||||
imx53-usbarmory.dtb \
|
||||
imx53-voipac-bsb.dtb
|
||||
imx53-qsb-hdmi-dtbs := imx53-qsb.dtb imx53-qsb-hdmi.dtbo
|
||||
imx53-qsrb-hdmi-dtbs := imx53-qsrb.dtb imx53-qsb-hdmi.dtbo
|
||||
dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||
imx6dl-alti6p.dtb \
|
||||
imx6dl-apf6dev.dtb \
|
||||
|
87
arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso
Normal file
87
arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso
Normal file
@ -0,0 +1,87 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* DT overlay for MCIMXHDMICARD as used with the iMX53 QSB or QSRB boards
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
&{/} {
|
||||
/delete-node/ panel;
|
||||
|
||||
hdmi: connector-hdmi {
|
||||
compatible = "hdmi-connector";
|
||||
label = "hdmi";
|
||||
type = "a";
|
||||
|
||||
port {
|
||||
hdmi_connector_in: endpoint {
|
||||
remote-endpoint = <&sii9022_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
reg_1p2v: regulator-1p2v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "1P2V";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-always-on;
|
||||
vin-supply = <®_3p2v>;
|
||||
};
|
||||
};
|
||||
|
||||
&display0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&display0 {
|
||||
port@1 {
|
||||
display0_out: endpoint {
|
||||
remote-endpoint = <&sii9022_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
sii9022: bridge-hdmi@39 {
|
||||
compatible = "sil,sii9022";
|
||||
reg = <0x39>;
|
||||
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
interrupts-extended = <&gpio3 31 IRQ_TYPE_LEVEL_LOW>;
|
||||
iovcc-supply = <®_3p2v>;
|
||||
#sound-dai-cells = <0>;
|
||||
sil,i2s-data-lanes = <0>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
sii9022_in: endpoint {
|
||||
remote-endpoint = <&display0_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
sii9022_out: endpoint {
|
||||
remote-endpoint = <&hdmi_connector_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&tve {
|
||||
status = "disabled";
|
||||
};
|
Loading…
Reference in New Issue
Block a user