On Wed, Mar 04, 2026 at 11:34:17AM +0000, Laurentiu Palcu wrote:
> The ITE IT6263 based NXP LVDS to HDMI converter can be attached to the
> i.MX943 EVK board LVDS port using the mini-SAS connector. Since this is

Since the LVDS to HDMI converter can be attached or detached to the EVK
board, it would be appropriate to use a DT overlay instead?

> the default configuration for the EVK, add support for it here.
> 
> Signed-off-by: Laurentiu Palcu <[email protected]>
> ---
>  arch/arm64/boot/dts/freescale/imx943-evk.dts | 86 
> ++++++++++++++++++++++++++++
>  1 file changed, 86 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx943-evk.dts 
> b/arch/arm64/boot/dts/freescale/imx943-evk.dts
> index c8ceabe3d9239..0b69450566159 100644
> --- a/arch/arm64/boot/dts/freescale/imx943-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx943-evk.dts
> @@ -55,6 +55,36 @@ dmic: dmic {
>               #sound-dai-cells = <0>;
>       };
>  
> +     hdmi-connector {
> +             compatible = "hdmi-connector";
> +             label = "hdmi";
> +             type = "a";
> +
> +             port {
> +                     hdmi_connector_in: endpoint {
> +                             remote-endpoint = <&it6263_out>;
> +                     };
> +             };
> +     };
> +
> +     reg_1v8_ext: regulator-1v8-ext {
> +             compatible = "regulator-fixed";
> +             regulator-name = "1V8_EXT";
> +             regulator-min-microvolt = <1800000>;
> +             regulator-max-microvolt = <1800000>;
> +             regulator-boot-on;
> +             regulator-always-on;
> +     };
> +
> +     reg_3v3_ext: regulator-3v3-ext {
> +             compatible = "regulator-fixed";
> +             regulator-name = "3V3_EXT";
> +             regulator-min-microvolt = <3300000>;
> +             regulator-max-microvolt = <3300000>;
> +             regulator-boot-on;
> +             regulator-always-on;
> +     };
> +
>       reg_m2_pwr: regulator-m2-pwr {
>               compatible = "regulator-fixed";
>               regulator-name = "M.2-power";
> @@ -179,6 +209,10 @@ memory@80000000 {
>       };
>  };
>  
> +&dcif {
> +     status = "okay";
> +};
> +
>  &enetc1 {
>       clocks = <&scmi_clk IMX94_CLK_MAC4>;
>       clock-names = "ref";
> @@ -217,6 +251,21 @@ &flexcan4 {
>       status = "okay";
>  };
>  
> +&ldb {
> +     assigned-clocks = <&scmi_clk IMX94_CLK_LDBPLL_VCO>,
> +                       <&scmi_clk IMX94_CLK_LDBPLL>;
> +     assigned-clock-rates = <4158000000>, <1039500000>;
> +     status = "okay";
> +
> +     ports {
> +             port@1 {
> +                     lvds_out: endpoint {
> +                             remote-endpoint = <&it6263_in>;
> +                     };
> +             };
> +     };
> +};
> +
>  &lpi2c3 {
>       clock-frequency = <400000>;
>       pinctrl-0 = <&pinctrl_lpi2c3>;
> @@ -258,6 +307,43 @@ i2c@3 {
>                       reg = <3>;
>                       #address-cells = <1>;
>                       #size-cells = <0>;
> +
> +                     lvds-to-hdmi-bridge@4c {

Maybe, change the node name to be "hdmi" to align with the nodes in
imx8mp-evk-lvds{0,1}-imx-lvds-hdmi-common.dtsi.

> +                             compatible = "ite,it6263";
> +                             reg = <0x4c>;
> +                             data-mapping = "jeida-24";
> +                             reset-gpios = <&pcal6416_i2c3_u171 8 
> GPIO_ACTIVE_HIGH>;
> +                             ivdd-supply = <&reg_1v8_ext>;
> +                             ovdd-supply = <&reg_3v3_ext>;
> +                             txavcc18-supply = <&reg_1v8_ext>;
> +                             txavcc33-supply = <&reg_3v3_ext>;
> +                             pvcc1-supply = <&reg_1v8_ext>;
> +                             pvcc2-supply = <&reg_1v8_ext>;
> +                             avcc-supply = <&reg_3v3_ext>;
> +                             anvdd-supply = <&reg_1v8_ext>;
> +                             apvdd-supply = <&reg_1v8_ext>;
> +
> +                             ports {
> +                                     #address-cells = <1>;
> +                                     #size-cells = <0>;
> +
> +                                     port@0 {
> +                                             reg = <0>;
> +
> +                                             it6263_in: endpoint {
> +                                                     remote-endpoint = 
> <&lvds_out>;
> +                                             };
> +                                     };
> +
> +                                     port@2 {
> +                                             reg = <2>;
> +
> +                                             it6263_out: endpoint {
> +                                                     remote-endpoint = 
> <&hdmi_connector_in>;
> +                                             };
> +                                     };
> +                             };
> +                     };
>               };
>  
>               i2c@4 {
> 

-- 
Regards,
Liu Ying

Reply via email to