Re: [PATCH v7 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

From
Arnd Bergmann <arnd@arndb.de>
Date
2015-03-03 09:02:12
Also in
linux-arm-kernel, linux-iio, linux-input
Reply to
Markus Pargmann, 2015-03-03
On Tuesday 03 March 2015 08:58:11 Markus Pargmann wrote:
quoted hunk ↗ jump to hunk
+Example:
+       tscadc: tscadc@50030000 {
+               compatible = "fsl,imx25-tsadc";
+               reg = <0x50030000 0xc>;
+               interrupts = <46>;
+               clocks = <&clks 119>;
+               clock-names = "ipg";
+               interrupt-controller;
+               #interrupt-cells = <1>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               tsc: tcq@50030400 {
+                       compatible = "fsl,imx25-tcq";
+                       reg = <0x50030400 0x60>;
+                       ...
+               };
+
+               adc: gcq@50030800 {
+                       compatible = "fsl,imx25-gcq";
+                       reg = <0x50030800 0x60>;
+                       ...
+               };
+       };
I wonder if we should just treat this MFD as a single IIO device
that also registers to the input layer.

Are there any other registers in the 0x50030000-0x50031000
range, or could the fsl,imx25-tcq and fsl,imx25-gcq devices
be reused outside of a fsl,imx25-tsadc device?

	Arnd
Thread (13 messages) 13 messages, 4 authors, last reply 2015-03-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help