diff options
Diffstat (limited to 'patches/linux-3.8.13/0370-Update-iio-helper-with-more-channels.patch')
-rw-r--r-- | patches/linux-3.8.13/0370-Update-iio-helper-with-more-channels.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/linux-3.8.13/0370-Update-iio-helper-with-more-channels.patch b/patches/linux-3.8.13/0370-Update-iio-helper-with-more-channels.patch new file mode 100644 index 0000000..55e2f15 --- /dev/null +++ b/patches/linux-3.8.13/0370-Update-iio-helper-with-more-channels.patch @@ -0,0 +1,40 @@ +From: Pantelis Antoniou <panto@antoniou-consulting.com> +Date: Thu, 21 Mar 2013 14:34:24 +0200 +Subject: [PATCH] Update iio helper with more channels + +Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> +--- + firmware/capes/cape-bone-iio-00A0.dts | 18 ++++++++++++++++-- + 1 file changed, 16 insertions(+), 2 deletions(-) + +diff --git a/firmware/capes/cape-bone-iio-00A0.dts b/firmware/capes/cape-bone-iio-00A0.dts +index 3165702..f1cf814 100644 +--- a/firmware/capes/cape-bone-iio-00A0.dts ++++ b/firmware/capes/cape-bone-iio-00A0.dts +@@ -21,10 +21,24 @@ + #address-cells = <1>; + #size-cells = <1>; + ++ tscadc { ++ compatible = "ti,ti-tscadc"; ++ reg = <0x44e0d000 0x1000>; ++ ++ interrupt-parent = <&intc>; ++ interrupts = <16>; ++ ti,hwmods = "adc_tsc"; ++ status = "okay"; ++ ++ adc { ++ ti,adc-channels = <0 1 2 3 4 5 6 7>; ++ }; ++ }; ++ + test_helper: helper { + compatible = "bone-iio-helper"; +- vsense-name = "AIN6"; +- vsense-scale = <100>; ++ vsense-name = "AIN0", "AIN1", "AIN2", "AIN3", "AIN4", "AIN5", "AIN6", "AIN7"; ++ vsense-scale = <100 100 100 100 100 100 100 100>; + status = "okay"; + }; + }; |