]>
Commit | Line | Data |
---|---|---|
75c6bbc2 GKH |
1 | From a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5 Mon Sep 17 00:00:00 2001 |
2 | From: Matthias Brugger <matthias.bgg@gmail.com> | |
3 | Date: Wed, 26 Oct 2016 16:15:00 +0200 | |
4 | Subject: arm64: dts: mt8173: Fix auxadc node | |
5 | ||
6 | From: Matthias Brugger <matthias.bgg@gmail.com> | |
7 | ||
8 | commit a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5 upstream. | |
9 | ||
10 | The devicetree node for mt8173-auxadc lacks the clock and | |
11 | io-channel-cells property. This leads to a non-working driver. | |
12 | ||
13 | mt6577-auxadc 11001000.auxadc: failed to get auxadc clock | |
14 | mt6577-auxadc: probe of 11001000.auxadc failed with error -2 | |
15 | ||
16 | Fix these fields to get the device up and running. | |
17 | ||
18 | Fixes: 748c7d4de46a ("ARM64: dts: mt8173: Add thermal/auxadc device | |
19 | nodes") | |
20 | Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> | |
21 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
22 | ||
23 | --- | |
24 | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 3 +++ | |
25 | 1 file changed, 3 insertions(+) | |
26 | ||
27 | --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |
28 | +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |
29 | @@ -450,6 +450,9 @@ | |
30 | auxadc: auxadc@11001000 { | |
31 | compatible = "mediatek,mt8173-auxadc"; | |
32 | reg = <0 0x11001000 0 0x1000>; | |
33 | + clocks = <&pericfg CLK_PERI_AUXADC>; | |
34 | + clock-names = "main"; | |
35 | + #io-channel-cells = <1>; | |
36 | }; | |
37 | ||
38 | uart0: serial@11002000 { |