[PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Tue Jun 4 14:55:17 UTC 2024
On Tue, Jun 04, 2024 at 03:49:24PM +0200, Marc Gonzalez wrote:
> From: Arnaud Vrac <avrac at freebox.fr>
>
> Port device nodes from vendor code.
>
> Signed-off-by: Arnaud Vrac <avrac at freebox.fr>
> Signed-off-by: Marc Gonzalez <mgonzalez at freebox.fr>
> ---
> arch/arm64/boot/dts/qcom/msm8998.dtsi | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 99 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> index ba5e873f0f35f..f65a76da61ea8 100644
> --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
> @@ -2785,7 +2785,7 @@ mmcc: clock-controller at c8c0000 {
> <&mdss_dsi0_phy 0>,
> <&mdss_dsi1_phy 1>,
> <&mdss_dsi1_phy 0>,
> - <0>,
> + <&hdmi_phy 0>,
> <0>,
> <0>,
> <&gcc GCC_MMSS_GPLL0_DIV_CLK>;
> @@ -2890,6 +2890,14 @@ dpu_intf2_out: endpoint {
> remote-endpoint = <&mdss_dsi1_in>;
> };
> };
> +
> + port at 2 {
> + reg = <2>;
> +
> + dpu_intf3_out: endpoint {
> + remote-endpoint = <&hdmi_in>;
> + };
> + };
> };
> };
>
> @@ -3045,6 +3053,96 @@ mdss_dsi1_phy: phy at c996400 {
>
> status = "disabled";
> };
> +
> + hdmi: hdmi-tx at c9a0000 {
> + compatible = "qcom,hdmi-tx-8998";
> + reg = <0x0c9a0000 0x50c>,
> + <0x00780000 0x6220>,
> + <0x0c9e0000 0x2c>;
> + reg-names = "core_physical",
> + "qfprom_physical",
> + "hdcp_physical";
> +
> + interrupt-parent = <&mdss>;
> + interrupts = <8>;
> +
> + clocks = <&mmcc MDSS_MDP_CLK>,
> + <&mmcc MNOC_AHB_CLK>,
> + <&mmcc MDSS_AHB_CLK>,
> + <&mmcc MDSS_AXI_CLK>,
> + <&mmcc MISC_AHB_CLK>,
> + <&mmcc MDSS_HDMI_CLK>,
> + <&mmcc MDSS_HDMI_DP_AHB_CLK>,
> + <&mmcc MDSS_EXTPCLK_CLK>;
> + clock-names =
> + "mdp_core",
Nit: usually there is no line wrap here, but it's fine from my POV.
> + "mnoc",
> + "iface",
> + "bus",
> + "iface_mmss",
> + "core",
> + "alt_iface",
> + "extp";
> +
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list