diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2016-10-26 10:15:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-15 07:42:56 -0500 |
commit | d40152d5ac671bba821f0bd2183f2a59de1ae326 (patch) | |
tree | eb1e25ea33c53d44bf9a460b831cd4602779792d | |
parent | 08aed6e8883d3be7a8a1578231fc3dcafd2a9df3 (diff) |
arm64: dts: mt8173: Fix auxadc node
commit a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5 upstream.
The devicetree node for mt8173-auxadc lacks the clock and
io-channel-cells property. This leads to a non-working driver.
mt6577-auxadc 11001000.auxadc: failed to get auxadc clock
mt6577-auxadc: probe of 11001000.auxadc failed with error -2
Fix these fields to get the device up and running.
Fixes: 748c7d4de46a ("ARM64: dts: mt8173: Add thermal/auxadc device
nodes")
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 1c71e256601d..6c03c1702bb3 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |||
@@ -450,6 +450,9 @@ | |||
450 | auxadc: auxadc@11001000 { | 450 | auxadc: auxadc@11001000 { |
451 | compatible = "mediatek,mt8173-auxadc"; | 451 | compatible = "mediatek,mt8173-auxadc"; |
452 | reg = <0 0x11001000 0 0x1000>; | 452 | reg = <0 0x11001000 0 0x1000>; |
453 | clocks = <&pericfg CLK_PERI_AUXADC>; | ||
454 | clock-names = "main"; | ||
455 | #io-channel-cells = <1>; | ||
453 | }; | 456 | }; |
454 | 457 | ||
455 | uart0: serial@11002000 { | 458 | uart0: serial@11002000 { |