Add the missing APB, DMAC and GPIO clock bindings constants for
Actions Semi S500 SoC.
Signed-off-by: Cristian Ciocaltea <[email protected]>
---
Changes in v3:
- Preserved the original values of the existing bindings and moved
the newly added constants bellow, as indicated by Stephen
Changes in v2:
- None
include/dt-bindings/clock/actions,s500-cmu.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/clock/actions,s500-cmu.h b/include/dt-bindings/clock/actions,s500-cmu.h
index 030981cd2d56..a250a52a6192 100644
--- a/include/dt-bindings/clock/actions,s500-cmu.h
+++ b/include/dt-bindings/clock/actions,s500-cmu.h
@@ -72,7 +72,12 @@
#define CLK_NAND 52
#define CLK_ECC 53
#define CLK_RMII_REF 54
+#define CLK_GPIO 55
-#define CLK_NR_CLKS (CLK_RMII_REF + 1)
+/* system clock (part 2) */
+#define CLK_APB 56
+#define CLK_DMAC 57
+
+#define CLK_NR_CLKS (CLK_DMAC + 1)
#endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */
--
2.27.0
On Fri, Jul 03, 2020 at 08:05:08PM +0300, Cristian Ciocaltea wrote:
> Add the missing APB, DMAC and GPIO clock bindings constants for
> Actions Semi S500 SoC.
>
> Signed-off-by: Cristian Ciocaltea <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Thanks,
Mani
> ---
> Changes in v3:
> - Preserved the original values of the existing bindings and moved
> the newly added constants bellow, as indicated by Stephen
>
> Changes in v2:
> - None
>
> include/dt-bindings/clock/actions,s500-cmu.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/include/dt-bindings/clock/actions,s500-cmu.h b/include/dt-bindings/clock/actions,s500-cmu.h
> index 030981cd2d56..a250a52a6192 100644
> --- a/include/dt-bindings/clock/actions,s500-cmu.h
> +++ b/include/dt-bindings/clock/actions,s500-cmu.h
> @@ -72,7 +72,12 @@
> #define CLK_NAND 52
> #define CLK_ECC 53
> #define CLK_RMII_REF 54
> +#define CLK_GPIO 55
>
> -#define CLK_NR_CLKS (CLK_RMII_REF + 1)
> +/* system clock (part 2) */
> +#define CLK_APB 56
> +#define CLK_DMAC 57
> +
> +#define CLK_NR_CLKS (CLK_DMAC + 1)
>
> #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */
> --
> 2.27.0
>
On Fri, 03 Jul 2020 20:05:08 +0300, Cristian Ciocaltea wrote:
> Add the missing APB, DMAC and GPIO clock bindings constants for
> Actions Semi S500 SoC.
>
> Signed-off-by: Cristian Ciocaltea <[email protected]>
> ---
> Changes in v3:
> - Preserved the original values of the existing bindings and moved
> the newly added constants bellow, as indicated by Stephen
>
> Changes in v2:
> - None
>
> include/dt-bindings/clock/actions,s500-cmu.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
Acked-by: Rob Herring <[email protected]>
Quoting Cristian Ciocaltea (2020-07-03 10:05:08)
> Add the missing APB, DMAC and GPIO clock bindings constants for
> Actions Semi S500 SoC.
>
> Signed-off-by: Cristian Ciocaltea <[email protected]>
> ---
Applied to clk-next