[PATCH v2 1/2] dt-bindings: clock: add video clock indices for Amlogic S4 SoC

Chuan Liu via B4 Relay posted 2 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH v2 1/2] dt-bindings: clock: add video clock indices for Amlogic S4 SoC
Posted by Chuan Liu via B4 Relay 1 month, 3 weeks ago
From: Chuan Liu <chuan.liu@amlogic.com>

Add indices for video encoder, demodulator and CVBS clocks.

Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
---
 include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h b/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
index 861a331963ac..b0fc549f53e3 100644
--- a/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
+++ b/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
@@ -232,5 +232,16 @@
 #define CLKID_HDCP22_SKPCLK_SEL		222
 #define CLKID_HDCP22_SKPCLK_DIV		223
 #define CLKID_HDCP22_SKPCLK		224
+#define CLKID_CTS_ENCL_SEL		225
+#define CLKID_CTS_ENCL			226
+#define CLKID_CDAC_SEL			227
+#define CLKID_CDAC_DIV			228
+#define CLKID_CDAC			229
+#define CLKID_DEMOD_CORE_SEL		230
+#define CLKID_DEMOD_CORE_DIV		231
+#define CLKID_DEMOD_CORE		232
+#define CLKID_ADC_EXTCLK_IN_SEL		233
+#define CLKID_ADC_EXTCLK_IN_DIV		234
+#define CLKID_ADC_EXTCLK_IN		235
 
 #endif /* _DT_BINDINGS_CLOCK_AMLOGIC_S4_PERIPHERALS_CLKC_H */

-- 
2.42.0
Re: [PATCH v2 1/2] dt-bindings: clock: add video clock indices for Amlogic S4 SoC
Posted by Chuan Liu 1 month, 3 weeks ago
Hi Rob:

On 8/14/2025 2:32 PM, Chuan Liu via B4 Relay wrote:
> [ EXTERNAL EMAIL ]
>
> From: Chuan Liu <chuan.liu@amlogic.com>
>
> Add indices for video encoder, demodulator and CVBS clocks.
>
> Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>


Compared to the previous version, some clkids have been removed. Since I'm
uncertain whether your Acked-by still applies, I've removed your tag in this
revision. Apologies if this causes any inconvenience.


> ---
>   include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h | 11 +++++++++++
>   1 file changed, 11 insertions(+)
>
> diff --git a/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h b/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
> index 861a331963ac..b0fc549f53e3 100644
> --- a/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
> +++ b/include/dt-bindings/clock/amlogic,s4-peripherals-clkc.h
> @@ -232,5 +232,16 @@
>   #define CLKID_HDCP22_SKPCLK_SEL                222
>   #define CLKID_HDCP22_SKPCLK_DIV                223
>   #define CLKID_HDCP22_SKPCLK            224
> +#define CLKID_CTS_ENCL_SEL             225
> +#define CLKID_CTS_ENCL                 226
> +#define CLKID_CDAC_SEL                 227
> +#define CLKID_CDAC_DIV                 228
> +#define CLKID_CDAC                     229
> +#define CLKID_DEMOD_CORE_SEL           230
> +#define CLKID_DEMOD_CORE_DIV           231
> +#define CLKID_DEMOD_CORE               232
> +#define CLKID_ADC_EXTCLK_IN_SEL                233
> +#define CLKID_ADC_EXTCLK_IN_DIV                234
> +#define CLKID_ADC_EXTCLK_IN            235
>
>   #endif /* _DT_BINDINGS_CLOCK_AMLOGIC_S4_PERIPHERALS_CLKC_H */
>
> --
> 2.42.0
>
>
Re: [PATCH v2 1/2] dt-bindings: clock: add video clock indices for Amlogic S4 SoC
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 14/08/2025 08:32, Chuan Liu via B4 Relay wrote:
> From: Chuan Liu <chuan.liu@amlogic.com>
> 
> Add indices for video encoder, demodulator and CVBS clocks.
> 
> Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof