diff mbox

[1/4] ARM: shmobile: r8a7791: add IIC0/1 clock macros

Message ID 1393159224-14377-1-git-send-email-wsa@the-dreams.de (mailing list archive)
State Changes Requested
Headers show

Commit Message

Wolfram Sang Feb. 23, 2014, 12:40 p.m. UTC
From: Wolfram Sang <wsa@sang-engineering.com>

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
---
 include/dt-bindings/clock/r8a7791-clock.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Laurent Pinchart Feb. 23, 2014, 10:13 p.m. UTC | #1
Hi Wolfram,

Thank you for the patch.

On Sunday 23 February 2014 13:40:21 Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
> 
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
> ---
>  include/dt-bindings/clock/r8a7791-clock.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/dt-bindings/clock/r8a7791-clock.h
> b/include/dt-bindings/clock/r8a7791-clock.h index 30f82f2..9aa60f4 100644
> --- a/include/dt-bindings/clock/r8a7791-clock.h
> +++ b/include/dt-bindings/clock/r8a7791-clock.h
> @@ -55,6 +55,8 @@
>  #define R8A7791_CLK_CMT1		29
>  #define R8A7791_CLK_USBDMAC0		30
>  #define R8A7791_CLK_USBDMAC1		31
> +#define R8A7791_CLK_IIC0		18
> +#define R8A7791_CLK_IIC1		23

Could you please keep the entries sorted by value ?

>  /* MSTP5 */
>  #define R8A7791_CLK_THERMAL		22
Wolfram Sang Feb. 24, 2014, 10:33 a.m. UTC | #2
On Sun, Feb 23, 2014 at 11:13:42PM +0100, Laurent Pinchart wrote:
> Hi Wolfram,
> 
> Thank you for the patch.
> 
> On Sunday 23 February 2014 13:40:21 Wolfram Sang wrote:
> > From: Wolfram Sang <wsa@sang-engineering.com>
> > 
> > Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
> > ---
> >  include/dt-bindings/clock/r8a7791-clock.h | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/include/dt-bindings/clock/r8a7791-clock.h
> > b/include/dt-bindings/clock/r8a7791-clock.h index 30f82f2..9aa60f4 100644
> > --- a/include/dt-bindings/clock/r8a7791-clock.h
> > +++ b/include/dt-bindings/clock/r8a7791-clock.h
> > @@ -55,6 +55,8 @@
> >  #define R8A7791_CLK_CMT1		29
> >  #define R8A7791_CLK_USBDMAC0		30
> >  #define R8A7791_CLK_USBDMAC1		31
> > +#define R8A7791_CLK_IIC0		18
> > +#define R8A7791_CLK_IIC1		23
> 
> Could you please keep the entries sorted by value ?

Ehrm, yes, sure. Very weird, I am pretty sure I looked for the sorting
and thought I found a chornological one. Will fix.
diff mbox

Patch

diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index 30f82f2..9aa60f4 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -55,6 +55,8 @@ 
 #define R8A7791_CLK_CMT1		29
 #define R8A7791_CLK_USBDMAC0		30
 #define R8A7791_CLK_USBDMAC1		31
+#define R8A7791_CLK_IIC0		18
+#define R8A7791_CLK_IIC1		23
 
 /* MSTP5 */
 #define R8A7791_CLK_THERMAL		22