diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-08-14 12:53:38 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-29 20:29:14 +0100 |
commit | 05a6a629f0e104aca6371d81dbe6ad56b0cea188 (patch) | |
tree | 0e70d9c260c5fb0a0b143186ff0642868ca21510 /arch/arm/boot/dts/tegra30-colibri.dtsi | |
parent | Merge branch 'for-5.5/dt-bindings' (diff) | |
download | linux-05a6a629f0e104aca6371d81dbe6ad56b0cea188.tar.xz linux-05a6a629f0e104aca6371d81dbe6ad56b0cea188.zip |
ARM: tegra: Add stmpe-adc DT node to Toradex T30 modules
Add the stmpe-adc DT node as found on Toradex T30 modules
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra30-colibri.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30-colibri.dtsi | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index 35af03ca9e90..1f9198bb24ff 100644 --- a/arch/arm/boot/dts/tegra30-colibri.dtsi +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi @@ -845,11 +845,18 @@ id = <0>; blocks = <0x5>; irq-trigger = <0x1>; + /* 3.25 MHz ADC clock speed */ + st,adc-freq = <1>; + /* 12-bit ADC */ + st,mod-12b = <1>; + /* internal ADC reference */ + st,ref-sel = <0>; + /* ADC converstion time: 80 clocks */ + st,sample-time = <4>; + /* forbid to use ADC channels 3-0 (touch) */ stmpe_touchscreen { compatible = "st,stmpe-ts"; - /* 3.25 MHz ADC clock speed */ - st,adc-freq = <1>; /* 8 sample average control */ st,ave-ctrl = <3>; /* 7 length fractional part in z */ @@ -859,17 +866,16 @@ * current limit value */ st,i-drive = <1>; - /* 12-bit ADC */ - st,mod-12b = <1>; - /* internal ADC reference */ - st,ref-sel = <0>; - /* ADC converstion time: 80 clocks */ - st,sample-time = <4>; /* 1 ms panel driver settling time */ st,settling = <3>; /* 5 ms touch detect interrupt delay */ st,touch-det-delay = <5>; }; + + stmpe_adc { + compatible = "st,stmpe-adc"; + st,norequest-mask = <0x0F>; + }; }; /* |