Skip to content

Commit 4ac56da

Browse files
committed
ARM: dts: at91: sama5d2: Add resistive touch device
Add generic resistive touch device which is connected to ADC block inside the SAMA5D2 SoC Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
1 parent 847c35b commit 4ac56da

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,6 +1486,16 @@
14861486
status = "disabled";
14871487
};
14881488

1489+
resistive_touch: resistive-touch {
1490+
compatible = "resistive-adc-touch";
1491+
io-channels = <&adc AT91_SAMA5D2_ADC_X_CHANNEL>,
1492+
<&adc AT91_SAMA5D2_ADC_Y_CHANNEL>,
1493+
<&adc AT91_SAMA5D2_ADC_P_CHANNEL>;
1494+
io-channel-names = "x", "y", "pressure";
1495+
touchscreen-min-pressure = <50000>;
1496+
status = "disabled";
1497+
};
1498+
14891499
pioA: pinctrl@fc038000 {
14901500
compatible = "atmel,sama5d2-pinctrl";
14911501
reg = <0xfc038000 0x600>;

0 commit comments

Comments
 (0)