diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2016-10-26 16:15:00 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-10-31 01:14:43 +0100 |
commit | a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5 (patch) | |
tree | 09db8066b8d2319a96e7590e4e7d70b31a3d5ee1 /arch/arm64/boot/dts | |
parent | 3e96c653372d8852c45dcd3bd856975157a0fd6a (diff) | |
download | talos-obmc-linux-a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5.tar.gz talos-obmc-linux-a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5.zip |
arm64: dts: mt8173: Fix auxadc node
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>
Diffstat (limited to 'arch/arm64/boot/dts')
-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 @@ auxadc: auxadc@11001000 { compatible = "mediatek,mt8173-auxadc"; reg = <0 0x11001000 0 0x1000>; + clocks = <&pericfg CLK_PERI_AUXADC>; + clock-names = "main"; + #io-channel-cells = <1>; }; uart0: serial@11002000 { |