* [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation
@ 2014-11-28 18:06 Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-28 18:06 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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..a6427de45785 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 "at91sam9260", "at91sam9rl" or "at91sam9x5".
+- reg: Should contain registers location and length
+
+ sfr at f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 2/3] ARM: at91: sama5d3: Add SFR
2014-11-28 18:06 [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
@ 2014-11-28 18:06 ` Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 3/3] ARM: at91: sama5d4: " Alexandre Belloni
2014-12-03 17:06 ` [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-28 18:06 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
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 at f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
mmc1: mmc at f8000000 {
compatible = "atmel,hsmci";
reg = <0xf8000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 3/3] ARM: at91: sama5d4: Add SFR
2014-11-28 18:06 [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
@ 2014-11-28 18:06 ` Alexandre Belloni
2014-12-03 17:06 ` [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-28 18:06 UTC (permalink / raw)
To: linux-arm-kernel
The sama5d4 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>
---
Changes in v3:
- corrected a typo in the commit message
Changes in v2:
- corrected reg address
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 at f8028000 {
+ compatible = "atmel,sama5d4-sfr", "syscon";
+ reg = <0xf8028000 0x4000>;
+ };
+
mmc1: mmc at fc000000 {
compatible = "atmel,hsmci";
reg = <0xfc000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation
2014-11-28 18:06 [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 3/3] ARM: at91: sama5d4: " Alexandre Belloni
@ 2014-12-03 17:06 ` Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-12-03 17:06 UTC (permalink / raw)
To: linux-arm-kernel
Le 28/11/2014 19:06, 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>
I think that you had the Acked-by tag from Boris, hadn't you?
> ---
> 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..a6427de45785 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 "at91sam9260", "at91sam9rl" or "at91sam9x5".
Well, in the following patches you are adding "atmel,sama5d3-sfr" and
"atmel,sama5d4-sfr" so I suspect more chips must be added here...
> +- reg: Should contain registers location and length
> +
> + sfr at f0038000 {
> + compatible = "atmel,sama5d3-sfr", "syscon";
> + reg = <0xf0038000 0x4000>;
> + };
> +
Otherwise, it looks okay.
Bye,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-03 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 18:06 [PATCH v3 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-11-28 18:06 ` [PATCH v3 3/3] ARM: at91: sama5d4: " Alexandre Belloni
2014-12-03 17:06 ` [PATCH v3 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).