* [PATCH v2 0/4] HDMI TX support in msm8998
@ 2024-06-04 13:44 Marc Gonzalez
2024-06-04 13:46 ` [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998 Marc Gonzalez
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Marc Gonzalez @ 2024-06-04 13:44 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, MSM, DT,
freedreno, Arnaud Vrac, Pierre-Hugues Husson
DT bits required for HDMI TX support in APQ8098 (msm8998 cousin)
$ make -j20 dtbs_check
DTC_CHK arch/arm64/boot/dts/qcom/msm8998-mtp.dtb
/home/mgonzalez/linux/arch/arm64/boot/dts/qcom/msm8998-mtp.dtb: pcie@1c00000: False schema does not allow {'compatible': ['qcom,pcie-msm8998', 'qcom,pcie-msm8996'], 'reg': [[29360128, 8192], [452984832, 3869], [452988704, 168], [454033408, 1048576]], 'reg-names': ['parf', 'dbi', 'elbi', 'config'], 'device_type': ['pci'], 'linux,pci-domain': [[0]], 'bus-range': [[0, 255]], '#address-cells': [[3]], '#size-cells': [[2]], 'num-lanes': [[1]], 'phys': [[36]], 'phy-names': ['pciephy'], 'status': ['okay'], 'ranges': [[16777216, 0, 0, 455081984, 0, 1048576], [33554432, 0, 456130560, 456130560, 0, 13631488]], '#interrupt-cells': [[1]], 'interrupts': [[0, 405, 4]], 'interrupt-names': ['msi'], 'interrupt-map-mask': [[0, 0, 0, 7]], 'interrupt-map': [[0, 0, 0, 1, 1, 0, 0, 135, 4], [0, 0, 0, 2, 1, 0, 0, 136, 4], [0, 0, 0, 3, 1, 0, 0, 138, 4], [0, 0, 0, 4, 1, 0, 0, 139, 4]], 'clocks': [[37, 94], [37, 91], [37, 92], [37, 93], [37, 95]], 'clock-names': ['pipe', 'aux', 'cfg', 'bus_master', 'bus_slave'], 'power-domains': [[37, 0]], 'iommu-map': [[256, 38, 5248, 1]], 'perst-gpios': [[39, 35, 1]], 'pcie@0': {'device_type': ['pci'], 'reg': [[0, 0, 0, 0, 0]], 'bus-range': [[1, 255]], '#address-cells': [[3]], '#size-cells': [[2]], 'ranges': True}, '$nodename': ['pcie@1c00000']}
from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
/home/mgonzalez/linux/arch/arm64/boot/dts/qcom/msm8998-mtp.dtb: pcie@1c00000: Unevaluated properties are not allowed ('#address-cells', '#interrupt-cells', '#size-cells', 'bus-range', 'device_type', 'interrupt-map', 'interrupt-map-mask', 'linux,pci-domain', 'num-lanes', 'pcie@0', 'ranges' were unexpected)
from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
/home/mgonzalez/linux/arch/arm64/boot/dts/qcom/msm8998-mtp.dtb: phy@c012000: 'vdd-supply' is a required property
from schema $id: http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#
/home/mgonzalez/linux/arch/arm64/boot/dts/qcom/msm8998-mtp.dtb: clock-controller@c8c0000: clocks: [[34, 0], [37, 178], [150, 1], [150, 0], [151, 1], [151, 0], [152], [0], [0], [0], [37, 184]] is too long
from schema $id: http://devicetree.org/schemas/clock/qcom,mmcc.yaml#
Arnaud Vrac (1):
arm64: dts: qcom: add HDMI nodes for msm8998
Marc Gonzalez (3):
dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998
dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998
arm64: dts: qcom: msm8998: add HDMI GPIOs
Documentation/devicetree/bindings/display/msm/hdmi.yaml | 26 ++++++++++-
Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 +
arch/arm64/boot/dts/qcom/msm8998.dtsi | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++-
3 files changed, 152 insertions(+), 3 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998
2024-06-04 13:44 [PATCH v2 0/4] HDMI TX support in msm8998 Marc Gonzalez
@ 2024-06-04 13:46 ` Marc Gonzalez
2024-06-05 23:55 ` Rob Herring (Arm)
2024-06-04 13:47 ` [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 Marc Gonzalez
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Marc Gonzalez @ 2024-06-04 13:46 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, MSM, DT,
freedreno, Arnaud Vrac, Pierre-Hugues Husson
HDMI PHY block embedded in the APQ8098.
Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
---
Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml
index 83fe4b39b56f4..78607ee3e2e84 100644
--- a/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml
@@ -14,6 +14,7 @@ properties:
compatible:
enum:
- qcom,hdmi-phy-8996
+ - qcom,hdmi-phy-8998
reg:
maxItems: 6
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998
2024-06-04 13:44 [PATCH v2 0/4] HDMI TX support in msm8998 Marc Gonzalez
2024-06-04 13:46 ` [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998 Marc Gonzalez
@ 2024-06-04 13:47 ` Marc Gonzalez
2024-06-06 0:02 ` Rob Herring
2024-06-04 13:47 ` [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs Marc Gonzalez
2024-06-04 13:49 ` [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998 Marc Gonzalez
3 siblings, 1 reply; 9+ messages in thread
From: Marc Gonzalez @ 2024-06-04 13:47 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, MSM, DT,
freedreno, Arnaud Vrac, Pierre-Hugues Husson
HDMI TX block embedded in the APQ8098.
Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
---
Documentation/devicetree/bindings/display/msm/hdmi.yaml | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
index 47e97669821c3..13199f1676f7c 100644
--- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
@@ -19,14 +19,15 @@ properties:
- qcom,hdmi-tx-8974
- qcom,hdmi-tx-8994
- qcom,hdmi-tx-8996
+ - qcom,hdmi-tx-8998
clocks:
minItems: 1
- maxItems: 5
+ maxItems: 8
clock-names:
minItems: 1
- maxItems: 5
+ maxItems: 8
reg:
minItems: 1
@@ -151,6 +152,27 @@ allOf:
- const: extp
hdmi-mux-supplies: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,hdmi-tx-8998
+ then:
+ properties:
+ clocks:
+ minItems: 8
+ clock-names:
+ items:
+ - const: mdp_core
+ - const: mnoc
+ - const: iface
+ - const: bus
+ - const: iface_mmss
+ - const: core
+ - const: alt_iface
+ - const: extp
+
additionalProperties: false
examples:
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs
2024-06-04 13:44 [PATCH v2 0/4] HDMI TX support in msm8998 Marc Gonzalez
2024-06-04 13:46 ` [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998 Marc Gonzalez
2024-06-04 13:47 ` [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 Marc Gonzalez
@ 2024-06-04 13:47 ` Marc Gonzalez
2024-06-04 14:54 ` Dmitry Baryshkov
2024-06-04 13:49 ` [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998 Marc Gonzalez
3 siblings, 1 reply; 9+ messages in thread
From: Marc Gonzalez @ 2024-06-04 13:47 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, MSM, DT,
freedreno, Arnaud Vrac, Pierre-Hugues Husson
MSM8998 GPIO pin controller reference design defines:
- CEC: pin 31
- DDC: pin 32,33
- HPD: pin 34
Downstream vendor code for reference:
https://git.codelinaro.org/clo/la/kernel/msm-4.4/-/blob/caf_migration/kernel.lnx.4.4.r38-rel/arch/arm/boot/dts/qcom/msm8998-pinctrl.dtsi#L2324-2400
mdss_hdmi_{cec,ddc,hpd}_{active,suspend}
Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
---
arch/arm64/boot/dts/qcom/msm8998.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index e5f051f5a92de..ba5e873f0f35f 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -1434,6 +1434,34 @@ blsp2_spi6_default: blsp2-spi6-default-state {
drive-strength = <6>;
bias-disable;
};
+
+ hdmi_cec_default: hdmi-cec-default-state {
+ pins = "gpio31";
+ function = "hdmi_cec";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ hdmi_ddc_default: hdmi-ddc-default-state {
+ pins = "gpio32", "gpio33";
+ function = "hdmi_ddc";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ hdmi_hpd_default: hdmi-hpd-default-state {
+ pins = "gpio34";
+ function = "hdmi_hot";
+ drive-strength = <16>;
+ bias-pull-down;
+ };
+
+ hdmi_hpd_sleep: hdmi-hpd-sleep-state {
+ pins = "gpio34";
+ function = "hdmi_hot";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
};
remoteproc_mss: remoteproc@4080000 {
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998
2024-06-04 13:44 [PATCH v2 0/4] HDMI TX support in msm8998 Marc Gonzalez
` (2 preceding siblings ...)
2024-06-04 13:47 ` [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs Marc Gonzalez
@ 2024-06-04 13:49 ` Marc Gonzalez
2024-06-04 14:55 ` Dmitry Baryshkov
3 siblings, 1 reply; 9+ messages in thread
From: Marc Gonzalez @ 2024-06-04 13:49 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, MSM, DT,
freedreno, Arnaud Vrac, Pierre-Hugues Husson
From: Arnaud Vrac <avrac@freebox.fr>
Port device nodes from vendor code.
Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
Signed-off-by: Marc Gonzalez <mgonzalez@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@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@2 {
+ reg = <2>;
+
+ dpu_intf3_out: endpoint {
+ remote-endpoint = <&hdmi_in>;
+ };
+ };
};
};
@@ -3045,6 +3053,96 @@ mdss_dsi1_phy: phy@c996400 {
status = "disabled";
};
+
+ hdmi: hdmi-tx@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",
+ "mnoc",
+ "iface",
+ "bus",
+ "iface_mmss",
+ "core",
+ "alt_iface",
+ "extp";
+
+ phys = <&hdmi_phy>;
+ #sound-dai-cells = <1>;
+
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&hdmi_hpd_default
+ &hdmi_ddc_default
+ &hdmi_cec_default>;
+ pinctrl-1 = <&hdmi_hpd_sleep
+ &hdmi_ddc_default
+ &hdmi_cec_default>;
+
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ hdmi_in: endpoint {
+ remote-endpoint = <&dpu_intf3_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ hdmi_out: endpoint {
+ };
+ };
+ };
+ };
+
+ hdmi_phy: hdmi-phy@c9a0600 {
+ compatible = "qcom,hdmi-phy-8998";
+ reg = <0x0c9a0600 0x18b>,
+ <0x0c9a0a00 0x38>,
+ <0x0c9a0c00 0x38>,
+ <0x0c9a0e00 0x38>,
+ <0x0c9a1000 0x38>,
+ <0x0c9a1200 0x0e8>;
+ reg-names = "hdmi_pll",
+ "hdmi_tx_l0",
+ "hdmi_tx_l1",
+ "hdmi_tx_l2",
+ "hdmi_tx_l3",
+ "hdmi_phy";
+
+ #clock-cells = <0>;
+ #phy-cells = <0>;
+
+ clocks = <&mmcc MDSS_AHB_CLK>,
+ <&gcc GCC_HDMI_CLKREF_CLK>,
+ <&rpmcc RPM_SMD_XO_CLK_SRC>;
+ clock-names = "iface",
+ "ref",
+ "xo";
+
+ status = "disabled";
+ };
};
venus: video-codec@cc00000 {
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs
2024-06-04 13:47 ` [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs Marc Gonzalez
@ 2024-06-04 14:54 ` Dmitry Baryshkov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2024-06-04 14:54 UTC (permalink / raw)
To: Marc Gonzalez
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
Bjorn Andersson, Konrad Dybcio, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, MSM, DT, freedreno, Arnaud Vrac,
Pierre-Hugues Husson
On Tue, Jun 04, 2024 at 03:47:57PM +0200, Marc Gonzalez wrote:
> MSM8998 GPIO pin controller reference design defines:
>
> - CEC: pin 31
> - DDC: pin 32,33
> - HPD: pin 34
>
> Downstream vendor code for reference:
>
> https://git.codelinaro.org/clo/la/kernel/msm-4.4/-/blob/caf_migration/kernel.lnx.4.4.r38-rel/arch/arm/boot/dts/qcom/msm8998-pinctrl.dtsi#L2324-2400
>
> mdss_hdmi_{cec,ddc,hpd}_{active,suspend}
>
> Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
> ---
> arch/arm64/boot/dts/qcom/msm8998.dtsi | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998
2024-06-04 13:49 ` [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998 Marc Gonzalez
@ 2024-06-04 14:55 ` Dmitry Baryshkov
0 siblings, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2024-06-04 14:55 UTC (permalink / raw)
To: Marc Gonzalez
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
Bjorn Andersson, Konrad Dybcio, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, MSM, DT, freedreno, Arnaud Vrac,
Pierre-Hugues Husson
On Tue, Jun 04, 2024 at 03:49:24PM +0200, Marc Gonzalez wrote:
> From: Arnaud Vrac <avrac@freebox.fr>
>
> Port device nodes from vendor code.
>
> Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
> Signed-off-by: Marc Gonzalez <mgonzalez@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@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@2 {
> + reg = <2>;
> +
> + dpu_intf3_out: endpoint {
> + remote-endpoint = <&hdmi_in>;
> + };
> + };
> };
> };
>
> @@ -3045,6 +3053,96 @@ mdss_dsi1_phy: phy@c996400 {
>
> status = "disabled";
> };
> +
> + hdmi: hdmi-tx@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@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998
2024-06-04 13:46 ` [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998 Marc Gonzalez
@ 2024-06-05 23:55 ` Rob Herring (Arm)
0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring (Arm) @ 2024-06-05 23:55 UTC (permalink / raw)
To: Marc Gonzalez
Cc: Dmitry Baryshkov, freedreno, Marijn Suijten, Thomas Zimmermann,
Bjorn Andersson, Abhinav Kumar, Konrad Dybcio, Sean Paul, DT, MSM,
Rob Clark, Maarten Lankhorst, Arnaud Vrac, Pierre-Hugues Husson,
Maxime Ripard
On Tue, 04 Jun 2024 15:46:03 +0200, Marc Gonzalez wrote:
> HDMI PHY block embedded in the APQ8098.
>
> Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
> ---
> Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998
2024-06-04 13:47 ` [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 Marc Gonzalez
@ 2024-06-06 0:02 ` Rob Herring
0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2024-06-06 0:02 UTC (permalink / raw)
To: Marc Gonzalez
Cc: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, Bjorn Andersson, Konrad Dybcio, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, MSM, DT, freedreno, Arnaud Vrac,
Pierre-Hugues Husson
On Tue, Jun 04, 2024 at 03:47:20PM +0200, Marc Gonzalez wrote:
> HDMI TX block embedded in the APQ8098.
>
> Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
> ---
> Documentation/devicetree/bindings/display/msm/hdmi.yaml | 26 ++++++++++++++++++++++++--
> 1 file changed, 24 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.yaml b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> index 47e97669821c3..13199f1676f7c 100644
> --- a/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/hdmi.yaml
> @@ -19,14 +19,15 @@ properties:
> - qcom,hdmi-tx-8974
> - qcom,hdmi-tx-8994
> - qcom,hdmi-tx-8996
> + - qcom,hdmi-tx-8998
>
> clocks:
> minItems: 1
> - maxItems: 5
> + maxItems: 8
>
> clock-names:
> minItems: 1
> - maxItems: 5
> + maxItems: 8
>
> reg:
> minItems: 1
> @@ -151,6 +152,27 @@ allOf:
> - const: extp
> hdmi-mux-supplies: false
You need 'maxItems: 5' for clocks in the prior if/then schema.
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,hdmi-tx-8998
> + then:
> + properties:
> + clocks:
> + minItems: 8
> + clock-names:
> + items:
> + - const: mdp_core
> + - const: mnoc
> + - const: iface
> + - const: bus
> + - const: iface_mmss
> + - const: core
> + - const: alt_iface
> + - const: extp
Please match the order of 8996 for the ones that are common.
Rob
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-06-06 0:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 13:44 [PATCH v2 0/4] HDMI TX support in msm8998 Marc Gonzalez
2024-06-04 13:46 ` [PATCH v2 1/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-phy-8998 Marc Gonzalez
2024-06-05 23:55 ` Rob Herring (Arm)
2024-06-04 13:47 ` [PATCH v2 2/4] dt-bindings: display/msm: hdmi: add qcom,hdmi-tx-8998 Marc Gonzalez
2024-06-06 0:02 ` Rob Herring
2024-06-04 13:47 ` [PATCH v2 3/4] arm64: dts: qcom: msm8998: add HDMI GPIOs Marc Gonzalez
2024-06-04 14:54 ` Dmitry Baryshkov
2024-06-04 13:49 ` [PATCH v2 4/4] arm64: dts: qcom: add HDMI nodes for msm8998 Marc Gonzalez
2024-06-04 14:55 ` Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).