* [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation
@ 2014-12-18 9:45 Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-12-18 9:45 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Josh Wu, Jean-Christophe Plagniol-Villard, Boris Brezillon,
linux-kernel, linux-arm-kernel, Alexandre Belloni
The special function registers gather some registers that allow to tweak
features provided by IPs controlled through another register range.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
Changes in v4:
- corrected the chip list
Documentation/devicetree/bindings/arm/atmel-at91.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
index 562cda9d86d9..f39e312531f0 100644
--- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
@@ -136,3 +136,20 @@ Example:
compatible = "atmel,at91sam9260-rstc";
reg = <0xfffffd00 0x10>;
};
+
+Special Function Registers (SFR)
+
+Special Function Registers (SFR) manage specific aspects of the integrated
+memory, bridge implementations, processor and other functionality not controlled
+elsewhere.
+
+required properties:
+- compatible: Should be "atmel,<chip>-sfr", "syscon".
+ <chip> can be "sama5d3" or "sama5d4".
+- reg: Should contain registers location and length
+
+ sfr@f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v4 2/3] ARM: at91: sama5d3: Add SFR
2014-12-18 9:45 [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
@ 2014-12-18 9:45 ` Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 3/3] ARM: at91: sama5d4: " Alexandre Belloni
2014-12-18 13:39 ` [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-12-18 9:45 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Josh Wu, Jean-Christophe Plagniol-Villard, Boris Brezillon,
linux-kernel, linux-arm-kernel, Alexandre Belloni
The sama5d3 has Special Function Registers that allow to manage OHCI, EBI and
the UTMI clock.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 5f4144d1e3a1..499b59f48055 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -217,6 +217,11 @@
status = "disabled";
};
+ sfr: sfr@f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
mmc1: mmc@f8000000 {
compatible = "atmel,hsmci";
reg = <0xf8000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v4 3/3] ARM: at91: sama5d4: Add SFR
2014-12-18 9:45 [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
@ 2014-12-18 9:45 ` Alexandre Belloni
2014-12-18 13:39 ` [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-12-18 9:45 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Josh Wu, Jean-Christophe Plagniol-Villard, Boris Brezillon,
linux-kernel, linux-arm-kernel, Alexandre Belloni
The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI
and AIC interrupt redirection.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
arch/arm/boot/dts/sama5d4.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index e0157b0f075c..9e281e22d591 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -826,6 +826,11 @@
status = "disabled";
};
+ sfr: sfr@f8028000 {
+ compatible = "atmel,sama5d4-sfr", "syscon";
+ reg = <0xf8028000 0x4000>;
+ };
+
mmc1: mmc@fc000000 {
compatible = "atmel,hsmci";
reg = <0xfc000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation
2014-12-18 9:45 [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 3/3] ARM: at91: sama5d4: " Alexandre Belloni
@ 2014-12-18 13:39 ` Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-12-18 13:39 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Josh Wu, Jean-Christophe Plagniol-Villard, Boris Brezillon,
linux-kernel, linux-arm-kernel
Le 18/12/2014 10:45, Alexandre Belloni a écrit :
> The special function registers gather some registers that allow to tweak
> features provided by IPs controlled through another register range.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
It seems okay. For the whole series:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
And stacked on top of at91-3.20-dt.
But I will modify the size of the reg property to 0x60.
Thanks, bye.
> ---
> Changes in v4:
> - corrected the chip list
>
> Documentation/devicetree/bindings/arm/atmel-at91.txt | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> index 562cda9d86d9..f39e312531f0 100644
> --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
> +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> @@ -136,3 +136,20 @@ Example:
> compatible = "atmel,at91sam9260-rstc";
> reg = <0xfffffd00 0x10>;
> };
> +
> +Special Function Registers (SFR)
> +
> +Special Function Registers (SFR) manage specific aspects of the integrated
> +memory, bridge implementations, processor and other functionality not controlled
> +elsewhere.
> +
> +required properties:
> +- compatible: Should be "atmel,<chip>-sfr", "syscon".
> + <chip> can be "sama5d3" or "sama5d4".
> +- reg: Should contain registers location and length
> +
> + sfr@f0038000 {
> + compatible = "atmel,sama5d3-sfr", "syscon";
> + reg = <0xf0038000 0x4000>;
> + };
> +
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-18 13:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-18 9:45 [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-12-18 9:45 ` [PATCH v4 3/3] ARM: at91: sama5d4: " Alexandre Belloni
2014-12-18 13:39 ` [PATCH v4 1/3] ARM: at91: Add Special Function Registers binding documentation 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).