diff options
author | Olof Johansson <olof@lixom.net> | 2015-04-03 13:44:28 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-04-03 13:44:28 -0400 |
commit | aabab880c5441cd39aef75fc1ecaa3125efb7a89 (patch) | |
tree | fa16a997164b3445bb3db233e229c56f9919ac49 /Documentation | |
parent | 4580cb8a9812c3acc7a1663064d2a2800b3541bd (diff) | |
parent | 8590ca655a19f9e124b52bfbf28f14eb16a05bec (diff) |
Merge tag 'at91-cleanup3' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91 into next/drivers
Merge "at91: cleanup for 4.1 #3" from Nicolas Ferre:
Third batch of cleanup for 4.1:
- System Timer (ST) for at91rm9200 re-work (syscon/regmap):
- watchdog
- restart handler
- timer as a proper clocksource
=> remove mach dependency + cleanup
* tag 'at91-cleanup3' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91: (54 commits)
ARM: at91: remove useless include
clocksource: atmel-st: remove mach/hardware dependency
clocksource: atmel-st: use syscon/regmap
ARM: at91: time: move the system timer driver to drivers/clocksource
ARM: at91: properly initialize timer
ARM: at91: at91rm9200: remove deprecated arm_pm_restart
watchdog: at91rm9200: implement restart handler
watchdog: at91rm9200: use the system timer syscon
mfd: syscon: Add atmel system timer registers definition
ARM: at91/dt: declare atmel,at91rm9200-st as a syscon
ARM: at91: remove old setup
ARM: at91: sama5d4: remove useless map_io
ARM: at91: sama5 use SoC detection infrastructure
ARM: at91: at91sam9: use SoC detection infrastructure
ARM: at91: at91rm9200 use SoC detection infrastructure
ARM: at91: add soc detection infrastructure
ARM: at91/dt: introduce atmel,<chip>-dbgu
ARM: at91: remove unused _matrix.h headers
ARM: at91: remove unused at91_ioremap_matrix and header
ARM: at91: remove NEED_MACH_IO_H
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/atmel-at91.txt | 4 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/atmel-usart.txt | 3 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/atmel-wdt.txt | 5 |
3 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt index ad319f84f560..2e99b5b57350 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt | |||
@@ -46,10 +46,12 @@ PIT Timer required properties: | |||
46 | shared across all System Controller members. | 46 | shared across all System Controller members. |
47 | 47 | ||
48 | System Timer (ST) required properties: | 48 | System Timer (ST) required properties: |
49 | - compatible: Should be "atmel,at91rm9200-st" | 49 | - compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" |
50 | - reg: Should contain registers location and length | 50 | - reg: Should contain registers location and length |
51 | - interrupts: Should contain interrupt for the ST which is the IRQ line | 51 | - interrupts: Should contain interrupt for the ST which is the IRQ line |
52 | shared across all System Controller members. | 52 | shared across all System Controller members. |
53 | Its subnodes can be: | ||
54 | - watchdog: compatible should be "atmel,at91rm9200-wdt" | ||
53 | 55 | ||
54 | TC/TCLIB Timer required properties: | 56 | TC/TCLIB Timer required properties: |
55 | - compatible: Should be "atmel,<chip>-tcb". | 57 | - compatible: Should be "atmel,<chip>-tcb". |
diff --git a/Documentation/devicetree/bindings/serial/atmel-usart.txt b/Documentation/devicetree/bindings/serial/atmel-usart.txt index a6391e70a8fd..90787aa2e648 100644 --- a/Documentation/devicetree/bindings/serial/atmel-usart.txt +++ b/Documentation/devicetree/bindings/serial/atmel-usart.txt | |||
@@ -1,9 +1,10 @@ | |||
1 | * Atmel Universal Synchronous Asynchronous Receiver/Transmitter (USART) | 1 | * Atmel Universal Synchronous Asynchronous Receiver/Transmitter (USART) |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: Should be "atmel,<chip>-usart" | 4 | - compatible: Should be "atmel,<chip>-usart" or "atmel,<chip>-dbgu" |
5 | The compatible <chip> indicated will be the first SoC to support an | 5 | The compatible <chip> indicated will be the first SoC to support an |
6 | additional mode or an USART new feature. | 6 | additional mode or an USART new feature. |
7 | For the dbgu UART, use "atmel,<chip>-dbgu", "atmel,<chip>-usart" | ||
7 | - reg: Should contain registers location and length | 8 | - reg: Should contain registers location and length |
8 | - interrupts: Should contain interrupt | 9 | - interrupts: Should contain interrupt |
9 | - clock-names: tuple listing input clock names. | 10 | - clock-names: tuple listing input clock names. |
diff --git a/Documentation/devicetree/bindings/watchdog/atmel-wdt.txt b/Documentation/devicetree/bindings/watchdog/atmel-wdt.txt index f90e294d7631..a4d869744f59 100644 --- a/Documentation/devicetree/bindings/watchdog/atmel-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/atmel-wdt.txt | |||
@@ -26,6 +26,11 @@ Optional properties: | |||
26 | - atmel,disable : Should be present if you want to disable the watchdog. | 26 | - atmel,disable : Should be present if you want to disable the watchdog. |
27 | - atmel,idle-halt : Should be present if you want to stop the watchdog when | 27 | - atmel,idle-halt : Should be present if you want to stop the watchdog when |
28 | entering idle state. | 28 | entering idle state. |
29 | CAUTION: This property should be used with care, it actually makes the | ||
30 | watchdog not counting when the CPU is in idle state, therefore the | ||
31 | watchdog reset time depends on mean CPU usage and will not reset at all | ||
32 | if the CPU stop working while it is in idle state, which is probably | ||
33 | not what you want. | ||
29 | - atmel,dbg-halt : Should be present if you want to stop the watchdog when | 34 | - atmel,dbg-halt : Should be present if you want to stop the watchdog when |
30 | entering debug state. | 35 | entering debug state. |
31 | 36 | ||