* [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node @ 2016-03-17 16:04 Ludovic Desroches [not found] ` <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Ludovic Desroches @ 2016-03-17 16:04 UTC (permalink / raw) To: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 Cc: plagnioj-sclMFOaUSTBWk0Htik3J/w, cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, Ludovic Desroches From: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> This SFR node is looked up by the I2S controller driver to tune the SFR_I2SCLKSEL register. Signed-off-by: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- arch/arm/boot/dts/sama5d2.dtsi | 5 +++++ include/soc/at91/atmel-sfr.h | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 include/soc/at91/atmel-sfr.h diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt index 7fd64ec..550fd66 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt @@ -155,7 +155,7 @@ elsewhere. required properties: - compatible: Should be "atmel,<chip>-sfr", "syscon". - <chip> can be "sama5d3" or "sama5d4". + <chip> can be "sama5d3", "sama5d4" or "sama5d2". - reg: Should contain registers location and length sfr@f0038000 { diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 78996bd..36bb29c 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -973,6 +973,11 @@ status = "disabled"; }; + sfr: sfr@f8030000 { + compatible = "atmel,sama5d2-sfr", "syscon"; + reg = <0xf8030000 0x98>; + }; + flx0: flexcom@f8034000 { compatible = "atmel,sama5d2-flexcom"; reg = <0xf8034000 0x200>; diff --git a/include/soc/at91/atmel-sfr.h b/include/soc/at91/atmel-sfr.h new file mode 100644 index 0000000..2f9bb98 --- /dev/null +++ b/include/soc/at91/atmel-sfr.h @@ -0,0 +1,18 @@ +/* + * Atmel SFR (Special Function Registers) register offsets and bit definitions. + * + * Copyright (C) 2016 Atmel + * + * Author: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef _LINUX_MFD_SYSCON_ATMEL_SFR_H +#define _LINUX_MFD_SYSCON_ATMEL_SFR_H + +#define AT91_SFR_I2SCLKSEL 0x90 /* I2SC Register */ + +#endif /* _LINUX_MFD_SYSCON_ATMEL_SFR_H */ -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 4+ messages in thread
[parent not found: <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>]
* Re: [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node [not found] ` <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> @ 2016-03-17 16:06 ` Alexandre Belloni 2016-03-20 0:18 ` Rob Herring 2016-03-23 11:24 ` Nicolas Ferre 2 siblings, 0 replies; 4+ messages in thread From: Alexandre Belloni @ 2016-03-17 16:06 UTC (permalink / raw) To: Ludovic Desroches Cc: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w, plagnioj-sclMFOaUSTBWk0Htik3J/w, cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 On 17/03/2016 at 17:04:00 +0100, Ludovic Desroches wrote : > From: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > > This SFR node is looked up by the I2S controller driver to tune the > SFR_I2SCLKSEL register. > > Signed-off-by: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Acked-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> > --- > Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- > arch/arm/boot/dts/sama5d2.dtsi | 5 +++++ > include/soc/at91/atmel-sfr.h | 18 ++++++++++++++++++ > 3 files changed, 24 insertions(+), 1 deletion(-) > create mode 100644 include/soc/at91/atmel-sfr.h > > diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt > index 7fd64ec..550fd66 100644 > --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt > +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt > @@ -155,7 +155,7 @@ elsewhere. > > required properties: > - compatible: Should be "atmel,<chip>-sfr", "syscon". > - <chip> can be "sama5d3" or "sama5d4". > + <chip> can be "sama5d3", "sama5d4" or "sama5d2". > - reg: Should contain registers location and length > > sfr@f0038000 { > diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi > index 78996bd..36bb29c 100644 > --- a/arch/arm/boot/dts/sama5d2.dtsi > +++ b/arch/arm/boot/dts/sama5d2.dtsi > @@ -973,6 +973,11 @@ > status = "disabled"; > }; > > + sfr: sfr@f8030000 { > + compatible = "atmel,sama5d2-sfr", "syscon"; > + reg = <0xf8030000 0x98>; > + }; > + > flx0: flexcom@f8034000 { > compatible = "atmel,sama5d2-flexcom"; > reg = <0xf8034000 0x200>; > diff --git a/include/soc/at91/atmel-sfr.h b/include/soc/at91/atmel-sfr.h > new file mode 100644 > index 0000000..2f9bb98 > --- /dev/null > +++ b/include/soc/at91/atmel-sfr.h > @@ -0,0 +1,18 @@ > +/* > + * Atmel SFR (Special Function Registers) register offsets and bit definitions. > + * > + * Copyright (C) 2016 Atmel > + * > + * Author: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#ifndef _LINUX_MFD_SYSCON_ATMEL_SFR_H > +#define _LINUX_MFD_SYSCON_ATMEL_SFR_H > + > +#define AT91_SFR_I2SCLKSEL 0x90 /* I2SC Register */ > + > +#endif /* _LINUX_MFD_SYSCON_ATMEL_SFR_H */ > -- > 2.5.0 > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node [not found] ` <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 2016-03-17 16:06 ` Alexandre Belloni @ 2016-03-20 0:18 ` Rob Herring 2016-03-23 11:24 ` Nicolas Ferre 2 siblings, 0 replies; 4+ messages in thread From: Rob Herring @ 2016-03-20 0:18 UTC (permalink / raw) To: Ludovic Desroches Cc: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, plagnioj-sclMFOaUSTBWk0Htik3J/w, cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 On Thu, Mar 17, 2016 at 05:04:00PM +0100, Ludovic Desroches wrote: > From: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > > This SFR node is looked up by the I2S controller driver to tune the > SFR_I2SCLKSEL register. > > Signed-off-by: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > --- > Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- > arch/arm/boot/dts/sama5d2.dtsi | 5 +++++ > include/soc/at91/atmel-sfr.h | 18 ++++++++++++++++++ > 3 files changed, 24 insertions(+), 1 deletion(-) > create mode 100644 include/soc/at91/atmel-sfr.h Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node [not found] ` <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 2016-03-17 16:06 ` Alexandre Belloni 2016-03-20 0:18 ` Rob Herring @ 2016-03-23 11:24 ` Nicolas Ferre 2 siblings, 0 replies; 4+ messages in thread From: Nicolas Ferre @ 2016-03-23 11:24 UTC (permalink / raw) To: Ludovic Desroches, alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 Cc: plagnioj-sclMFOaUSTBWk0Htik3J/w, cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8 Le 17/03/2016 17:04, Ludovic Desroches a écrit : > From: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > > This SFR node is looked up by the I2S controller driver to tune the > SFR_I2SCLKSEL register. > > Signed-off-by: Cyrille Pitchen <cyrille.pitchen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > Signed-off-by: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> I'll queue it in our upcoming at91-4.7-dt branch. Thanks! Bye, > --- > Documentation/devicetree/bindings/arm/atmel-at91.txt | 2 +- > arch/arm/boot/dts/sama5d2.dtsi | 5 +++++ > include/soc/at91/atmel-sfr.h | 18 ++++++++++++++++++ > 3 files changed, 24 insertions(+), 1 deletion(-) > create mode 100644 include/soc/at91/atmel-sfr.h > > diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt > index 7fd64ec..550fd66 100644 > --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt > +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt > @@ -155,7 +155,7 @@ elsewhere. > > required properties: > - compatible: Should be "atmel,<chip>-sfr", "syscon". > - <chip> can be "sama5d3" or "sama5d4". > + <chip> can be "sama5d3", "sama5d4" or "sama5d2". > - reg: Should contain registers location and length > > sfr@f0038000 { > diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi > index 78996bd..36bb29c 100644 > --- a/arch/arm/boot/dts/sama5d2.dtsi > +++ b/arch/arm/boot/dts/sama5d2.dtsi > @@ -973,6 +973,11 @@ > status = "disabled"; > }; > > + sfr: sfr@f8030000 { > + compatible = "atmel,sama5d2-sfr", "syscon"; > + reg = <0xf8030000 0x98>; > + }; > + > flx0: flexcom@f8034000 { > compatible = "atmel,sama5d2-flexcom"; > reg = <0xf8034000 0x200>; > diff --git a/include/soc/at91/atmel-sfr.h b/include/soc/at91/atmel-sfr.h > new file mode 100644 > index 0000000..2f9bb98 > --- /dev/null > +++ b/include/soc/at91/atmel-sfr.h > @@ -0,0 +1,18 @@ > +/* > + * Atmel SFR (Special Function Registers) register offsets and bit definitions. > + * > + * Copyright (C) 2016 Atmel > + * > + * Author: Ludovic Desroches <ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free Software Foundation. > + */ > + > +#ifndef _LINUX_MFD_SYSCON_ATMEL_SFR_H > +#define _LINUX_MFD_SYSCON_ATMEL_SFR_H > + > +#define AT91_SFR_I2SCLKSEL 0x90 /* I2SC Register */ > + > +#endif /* _LINUX_MFD_SYSCON_ATMEL_SFR_H */ > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-23 11:24 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-03-17 16:04 [RESEND PATCH] ARM: at91/dt: sama5d2: add SFR node Ludovic Desroches [not found] ` <1458230640-26049-1-git-send-email-ludovic.desroches-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> 2016-03-17 16:06 ` Alexandre Belloni 2016-03-20 0:18 ` Rob Herring 2016-03-23 11:24 ` Nicolas Ferre
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).