Skip to content

Commit

Permalink
ARM: dts: i.MX25: add ranges to tscadc
Browse files Browse the repository at this point in the history
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: 92f651f ("ARM: dts: imx25: Add TSC and ADC support")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Martin Kaiser authored and Shawn Guo committed Aug 5, 2017
1 parent 9e01e2d commit 8317562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/imx25.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@
#address-cells = <1>;
#size-cells = <1>;
status = "disabled";
ranges;

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

0 comments on commit 8317562

Please sign in to comment.