diff mbox series

[v2,5/6] dt-bindings: clock: Add NIC and ETHERNET bindings for Actions S500 SoC

Message ID b76ceb8849370943e675e5ea1a34a25cb513faec.1622119892.git.cristian.ciocaltea@gmail.com
State Superseded
Headers show
Series Improve clock support for Actions S500 SoC | expand

Commit Message

Cristian Ciocaltea May 27, 2021, 1:16 p.m. UTC
Add the missing NIC and ETHERNET clock bindings constants for Actions
Semi Owl S500 SoC.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
---
Changes in v2:
 - Added Acked-by from Rob

 include/dt-bindings/clock/actions,s500-cmu.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Manivannan Sadhasivam June 10, 2021, 2:34 p.m. UTC | #1
On Thu, May 27, 2021 at 04:16:43PM +0300, Cristian Ciocaltea wrote:
> Add the missing NIC and ETHERNET clock bindings constants for Actions

> Semi Owl S500 SoC.

> 

> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>

> Acked-by: Rob Herring <robh@kernel.org>


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


Thanks,
Mani

> ---

> Changes in v2:

>  - Added Acked-by from Rob

> 

>  include/dt-bindings/clock/actions,s500-cmu.h | 6 ++++--

>  1 file changed, 4 insertions(+), 2 deletions(-)

> 

> diff --git a/include/dt-bindings/clock/actions,s500-cmu.h b/include/dt-bindings/clock/actions,s500-cmu.h

> index a250a52a6192..a237eb26accb 100644

> --- a/include/dt-bindings/clock/actions,s500-cmu.h

> +++ b/include/dt-bindings/clock/actions,s500-cmu.h

> @@ -74,10 +74,12 @@

>  #define CLK_RMII_REF		54

>  #define CLK_GPIO		55

>  

> -/* system clock (part 2) */

> +/* additional clocks */

>  #define CLK_APB			56

>  #define CLK_DMAC		57

> +#define CLK_NIC			58

> +#define CLK_ETHERNET		59

>  

> -#define CLK_NR_CLKS		(CLK_DMAC + 1)

> +#define CLK_NR_CLKS		(CLK_ETHERNET + 1)

>  

>  #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */

> -- 

> 2.31.1

>
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 a250a52a6192..a237eb26accb 100644
--- a/include/dt-bindings/clock/actions,s500-cmu.h
+++ b/include/dt-bindings/clock/actions,s500-cmu.h
@@ -74,10 +74,12 @@ 
 #define CLK_RMII_REF		54
 #define CLK_GPIO		55
 
-/* system clock (part 2) */
+/* additional clocks */
 #define CLK_APB			56
 #define CLK_DMAC		57
+#define CLK_NIC			58
+#define CLK_ETHERNET		59
 
-#define CLK_NR_CLKS		(CLK_DMAC + 1)
+#define CLK_NR_CLKS		(CLK_ETHERNET + 1)
 
 #endif /* __DT_BINDINGS_CLOCK_S500_CMU_H */