* [PATCH 1/2] dt-bindings: display: rockchip, inno-hdmi: Fix ref clk Document of RK3036 compatible
@ 2025-03-24 10:33 Andy Yan
2025-03-24 10:33 ` [PATCH 2/2] ARM: dts: rockchip: Add ref clk for hdmi Andy Yan
2025-03-24 20:12 ` [PATCH 1/2] dt-bindings: display: rockchip,inno-hdmi: Fix ref clk Document of RK3036 compatible Rob Herring (Arm)
0 siblings, 2 replies; 3+ messages in thread
From: Andy Yan @ 2025-03-24 10:33 UTC (permalink / raw)
To: heiko
Cc: conor+dt, krzk+dt, robh, hjc, devicetree, dri-devel,
linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan
From: Andy Yan <andy.yan@rock-chips.com>
The RK3036 HDMI DDC bus requires it's PHY's reference clock to be enabled
first before normal DDC communication can be carried out.
Therefore, both RK3036 and RK3128 HDMI require two identical clocks.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---
.../bindings/display/rockchip/rockchip,inno-hdmi.yaml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
index 5b87b0f1963e1..9d1e7f894ea54 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
@@ -23,13 +23,11 @@ properties:
maxItems: 1
clocks:
- minItems: 1
items:
- description: The HDMI controller main clock
- description: The HDMI PHY reference clock
clock-names:
- minItems: 1
items:
- const: pclk
- const: ref
@@ -87,11 +85,6 @@ allOf:
const: rockchip,rk3128-inno-hdmi
then:
- properties:
- clocks:
- minItems: 2
- clock-names:
- minItems: 2
required:
- power-domains
@@ -106,8 +99,8 @@ examples:
compatible = "rockchip,rk3036-inno-hdmi";
reg = <0x20034000 0x4000>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cru PCLK_HDMI>;
- clock-names = "pclk";
+ clocks = <&cru PCLK_HDMI>, <&cru SCLK_LCDC>;
+ clock-names = "pclk", "ref";
pinctrl-names = "default";
pinctrl-0 = <&hdmi_ctl>;
#sound-dai-cells = <0>;
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: dts: rockchip: Add ref clk for hdmi
2025-03-24 10:33 [PATCH 1/2] dt-bindings: display: rockchip, inno-hdmi: Fix ref clk Document of RK3036 compatible Andy Yan
@ 2025-03-24 10:33 ` Andy Yan
2025-03-24 20:12 ` [PATCH 1/2] dt-bindings: display: rockchip,inno-hdmi: Fix ref clk Document of RK3036 compatible Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Andy Yan @ 2025-03-24 10:33 UTC (permalink / raw)
To: heiko
Cc: conor+dt, krzk+dt, robh, hjc, devicetree, dri-devel,
linux-arm-kernel, linux-kernel, linux-rockchip, Andy Yan
From: Andy Yan <andy.yan@rock-chips.com>
The RK3036 HDMI DDC bus requires it's PHY's reference clock to be
enabled first before normal DDC communication can be carried out.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
---
arch/arm/boot/dts/rockchip/rk3036.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi
index 6039a0908af1c..22685cd23a708 100644
--- a/arch/arm/boot/dts/rockchip/rk3036.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi
@@ -403,8 +403,8 @@ hdmi: hdmi@20034000 {
compatible = "rockchip,rk3036-inno-hdmi";
reg = <0x20034000 0x4000>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cru PCLK_HDMI>;
- clock-names = "pclk";
+ clocks = <&cru PCLK_HDMI>, <&cru SCLK_LCDC>;
+ clock-names = "pclk", "ref";
pinctrl-names = "default";
pinctrl-0 = <&hdmi_ctl>;
#sound-dai-cells = <0>;
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: rockchip,inno-hdmi: Fix ref clk Document of RK3036 compatible
2025-03-24 10:33 [PATCH 1/2] dt-bindings: display: rockchip, inno-hdmi: Fix ref clk Document of RK3036 compatible Andy Yan
2025-03-24 10:33 ` [PATCH 2/2] ARM: dts: rockchip: Add ref clk for hdmi Andy Yan
@ 2025-03-24 20:12 ` Rob Herring (Arm)
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-03-24 20:12 UTC (permalink / raw)
To: Andy Yan
Cc: linux-arm-kernel, Andy Yan, krzk+dt, devicetree, dri-devel,
conor+dt, hjc, linux-kernel, heiko, linux-rockchip
On Mon, 24 Mar 2025 18:33:27 +0800, Andy Yan wrote:
> From: Andy Yan <andy.yan@rock-chips.com>
>
> The RK3036 HDMI DDC bus requires it's PHY's reference clock to be enabled
> first before normal DDC communication can be carried out.
>
> Therefore, both RK3036 and RK3128 HDMI require two identical clocks.
>
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> ---
>
> .../bindings/display/rockchip/rockchip,inno-hdmi.yaml | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-24 20:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 10:33 [PATCH 1/2] dt-bindings: display: rockchip, inno-hdmi: Fix ref clk Document of RK3036 compatible Andy Yan
2025-03-24 10:33 ` [PATCH 2/2] ARM: dts: rockchip: Add ref clk for hdmi Andy Yan
2025-03-24 20:12 ` [PATCH 1/2] dt-bindings: display: rockchip,inno-hdmi: Fix ref clk Document of RK3036 compatible Rob Herring (Arm)
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).