diff options
author | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2018-06-06 17:54:13 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-03 00:14:31 -0700 |
commit | 5e2e1c4fb3a6b98bd23ea5e0d5cd61714997a0c9 (patch) | |
tree | 17d0f1ac91942ee7a0b3d954410751c86229153d | |
parent | 70bd28eb4fb3f4e0ca1aaeb005e653ceb075b0dd (diff) | |
download | linux-5e2e1c4fb3a6b98bd23ea5e0d5cd61714997a0c9.tar.gz linux-5e2e1c4fb3a6b98bd23ea5e0d5cd61714997a0c9.tar.bz2 linux-5e2e1c4fb3a6b98bd23ea5e0d5cd61714997a0c9.zip |
ARM: dts: am335x-sl50: enable tsadc on SL50 board
The tsadc is used to read various voltages on the board, so enable it
to be able to read these voltages from userspace.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-sl50.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts index 442eccc3b466..38d57b89f7d3 100644 --- a/arch/arm/boot/dts/am335x-sl50.dts +++ b/arch/arm/boot/dts/am335x-sl50.dts @@ -732,3 +732,11 @@ &lcdc { status = "okay"; }; + +&tscadc { + status = "okay"; +}; + +&am335x_adc { + ti,adc-channels = <0 1 2 3 4 5 6 7>; +}; |