Skip to content

Commit 2566543

Browse files
ldesrochesCodrin Ciubotariu
authored andcommitted
dt-bindings: input: Add Atmel PTC subsystem bindings
Add description of the Atmel PTC subsystem bindings. Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com> Acked-by: Rob Herring <robh@kernel.org>
1 parent e318512 commit 2566543

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Atmel PTC Subsystem
2+
3+
The Atmel Peripheral Touch Controller subsystem offers built-in hardware
4+
for capacitive touch measurement on sensors that function as buttons, sliders
5+
and wheels.
6+
7+
Required properties:
8+
- compatible: Must be "atmel,sama5d2-ptc"
9+
- reg: Address, length of the shared memory and ppp registers location
10+
and length.
11+
- clocks: Phandlers to the clocks.
12+
- clock-names: Must be "ptc_clk", "ptc_int_osc", "slow_clk".
13+
14+
Example:
15+
ptc@fc060000 {
16+
compatible = "atmel,sama5d2-ptc";
17+
reg = <0x00800000 0x10000
18+
0xfc060000 0xcf>;
19+
interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
20+
clocks = <&ptc_clk>, <&main>, <&clk32k>;
21+
clock-names = "ptc_clk", "ptc_int_osc", "slow_clk";
22+
};

0 commit comments

Comments
 (0)