Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83175620 authored by Martin Kaiser's avatar Martin Kaiser Committed by Shawn Guo
Browse files

ARM: dts: i.MX25: add ranges to tscadc



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: default avatarMartin Kaiser <martin@kaiser.cx>
Fixes: 92f651f3 ("ARM: dts: imx25: Add TSC and ADC support")
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 9e01e2d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -297,6 +297,7 @@
				#address-cells = <1>;
				#size-cells = <1>;
				status = "disabled";
				ranges;

				adc: adc@50030800 {
					compatible = "fsl,imx25-gcq";