]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: i.MX25: add ranges to tscadc
authorMartin Kaiser <martin@kaiser.cx>
Wed, 2 Aug 2017 20:06:11 +0000 (22:06 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 5 Aug 2017 05:22:32 +0000 (13:22 +0800)
Add a ranges; line to the tscadc node. This creates a 1:1 mapping between
the addresses used by tscadc and those in its child nodes (adc, tsc).

Without such a mapping, the reg = ... lines in the tsc and adc nodes do
not create a resource. Probing the fsl-imx25-tcq and fsl-imx25-tsadc
drivers will then fail since there's no IORESOURCE_MEM.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Fixes: 92f651f39b42 ("ARM: dts: imx25: Add TSC and ADC support")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx25.dtsi

index dfcc8e00cf1c53a753dc753c2c5598b220b480a1..0ade3619f3c3f1332b8d89c8d06ed4a67f29025b 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
                                status = "disabled";
+                               ranges;
 
                                adc: adc@50030800 {
                                        compatible = "fsl,imx25-gcq";