diff mbox series

[v3,2/6] dt-bindings: clock: Add APB, DMAC, GPIO bindings for Actions S500 SoC

Message ID 67112af4f5bc0cc5e70ce8410feb369cc72972b8.1593788312.git.cristian.ciocaltea@gmail.com
State Not Applicable
Headers show
Series Add RMU and DMAC/GPIO clock support for Actions Semi S500 SoCs | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Cristian Ciocaltea July 3, 2020, 5:05 p.m. UTC
Add the missing APB, DMAC and GPIO clock bindings constants for
Actions Semi S500 SoC.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
---
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(-)

Comments

Manivannan Sadhasivam July 12, 2020, 4:56 p.m. UTC | #1
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 <cristian.ciocaltea@gmail.com>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

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
>
Rob Herring July 13, 2020, 9:39 p.m. UTC | #2
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 <cristian.ciocaltea@gmail.com>
> ---
> 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 <robh@kernel.org>
Stephen Boyd July 21, 2020, 8:52 a.m. UTC | #3
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 <cristian.ciocaltea@gmail.com>
> ---

Applied to clk-next
diff mbox series

Patch

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 */