From: Ludovic Desroches <ludovic.desroches@microchip.com>
To: linux-input@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, nicolas.ferre@microchip.com,
alexandre.belloni@free-electrons.com,
linux-kernel@vger.kernel.org,
Ludovic Desroches <ludovic.desroches@microchip.com>
Subject: [PATCH v3 4/5] ARM: dts: at91: sama5d2: add PTC subsystem device
Date: Fri, 20 Oct 2017 15:31:20 +0200 [thread overview]
Message-ID: <20171020133121.7992-5-ludovic.desroches@microchip.com> (raw)
In-Reply-To: <20171020133121.7992-1-ludovic.desroches@microchip.com>
Add the Atmel Peripheral Touch Controller subsystem.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
---
arch/arm/boot/dts/sama5d2.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index b1a26b42d190..04e74013defb 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -840,6 +840,12 @@
atmel,clk-output-range = <0 83000000>;
};
+ ptc_clk: ptc_clk {
+ #clock-cells = <0>;
+ reg = <58>;
+ atmel,clk-output-range = <0 83000000>;
+ };
+
classd_clk: classd_clk {
#clock-cells = <0>;
reg = <59>;
@@ -1503,6 +1509,16 @@
reg = <0xfc05c000 0x20>;
};
+ ptc@fc060000 {
+ compatible = "atmel,sama5d2-ptc";
+ reg = <0x00800000 0x10000
+ 0xfc060000 0xcf>;
+ interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
+ clocks = <&ptc_clk>, <&main>, <&clk32k>;
+ clock-names = "ptc_clk", "ptc_int_osc", "slow_clk";
+ status = "disabled";
+ };
+
chipid@fc069000 {
compatible = "atmel,sama5d2-chipid";
reg = <0xfc069000 0x8>;
--
2.12.2
next prev parent reply other threads:[~2017-10-20 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-20 13:31 [PATCH v3 0/5] Introduce the Atmel PTC subsystem Ludovic Desroches
2017-10-20 13:31 ` [PATCH v3 1/5] dt-bindings: input: Add Atmel PTC subsystem bindings Ludovic Desroches
[not found] ` <20171020133121.7992-2-ludovic.desroches-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2017-10-30 23:06 ` Dmitry Torokhov
2017-11-02 9:24 ` Ludovic Desroches
2017-10-20 13:31 ` [PATCH v3 2/5] input: misc: introduce Atmel PTC driver Ludovic Desroches
2017-10-30 23:30 ` Dmitry Torokhov
2017-11-02 10:19 ` Ludovic Desroches
2017-10-20 13:31 ` [PATCH v3 3/5] MAINTAINERS: add Atmel PTC entries Ludovic Desroches
2017-10-20 13:31 ` Ludovic Desroches [this message]
2017-10-20 13:31 ` [PATCH v3 5/5] ARM: configs: at91: add PTC driver to sama5_defconfig Ludovic Desroches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171020133121.7992-5-ludovic.desroches@microchip.com \
--to=ludovic.desroches@microchip.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).