[11/17,v1] clocksource/drivers/ixp4xx: Add DT bindings

Message ID 20190203214205.13594-12-linus.walleij@linaro.org
State Not Applicable
Headers show
Series
  • Untitled series #89782
Related show

Checks

Context Check Description
robh/checkpatch success

Commit Message

Linus Walleij Feb. 3, 2019, 9:41 p.m.
This adds device tree bindings for the Intel IXP4xx
timers.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Clocksource/timer maintainers: I am requesting an ACK for
this once you're happy with the bindings, as I intend to
merge all of this IXP4xx rework through ARM SoC.
---
 .../bindings/timer/intel,ixp4xx-timer.txt      | 18 ++++++++++++++++++
 MAINTAINERS                                    |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt

Comments

Rob Herring Feb. 18, 2019, 9:26 p.m. | #1
On Sun, Feb 3, 2019 at 3:42 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> This adds device tree bindings for the Intel IXP4xx
> timers.
>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Clocksource/timer maintainers: I am requesting an ACK for
> this once you're happy with the bindings, as I intend to
> merge all of this IXP4xx rework through ARM SoC.
> ---
>  .../bindings/timer/intel,ixp4xx-timer.txt      | 18 ++++++++++++++++++
>  MAINTAINERS                                    |  1 +
>  2 files changed, 19 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt

Same wish and comments here...

Reviewed-by: Rob Herring <robh@kernel.org>
Daniel Lezcano Feb. 18, 2019, 10:10 p.m. | #2
On 18/02/2019 22:26, Rob Herring wrote:
> On Sun, Feb 3, 2019 at 3:42 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>>
>> This adds device tree bindings for the Intel IXP4xx
>> timers.
>>
>> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
>> Cc: Thomas Gleixner <tglx@linutronix.de>
>> Cc: devicetree@vger.kernel.org
>> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
>> ---
>> Clocksource/timer maintainers: I am requesting an ACK for
>> this once you're happy with the bindings, as I intend to
>> merge all of this IXP4xx rework through ARM SoC.
>> ---
>>  .../bindings/timer/intel,ixp4xx-timer.txt      | 18 ++++++++++++++++++
>>  MAINTAINERS                                    |  1 +
>>  2 files changed, 19 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt
> 
> Same wish and comments here...
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

Thanks,

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>

Patch

diff --git a/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt
new file mode 100644
index 000000000000..5b93477bb6ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt
@@ -0,0 +1,18 @@ 
+Intel IXP4xx XScale Networking Processors Timers
+
+This timer is found in the Intel IXP4xx processors.
+
+Required properties:
+
+- compatible : Must be
+  "intel,ixp4xx-timer"
+- reg : Should contain registers location and length
+- interrupts : Should contain the two timer interrupts
+
+Example:
+
+timer@c8005000 {
+	compatible = "intel,ixp4xx-timer";
+	reg = <0xc8005000 0x100>;
+	interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
+};
diff --git a/MAINTAINERS b/MAINTAINERS
index ec318f09540c..775a623dc91d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1651,6 +1651,7 @@  M:	Krzysztof Halasa <khalasa@piap.pl>
 L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:	Maintained
 F:	Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.txt
+F:	Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt
 F:	arch/arm/mach-ixp4xx/
 F:	drivers/clocksource/timer-ixp4xx.c
 F:	drivers/gpio/gpio-ixp4xx.c