Skip to contentSkip to conversation

Patch "arm64: dts: mt8173: Fix auxadc node" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 13, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

    arm64: dts: mt8173: Fix auxadc node

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     arm64-dts-mt8173-fix-auxadc-node.patch

and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a3207d644fb89e5d7d5e01f00c04dcfc6d2d44d5 Mon Sep 17 00:00:00 2001

From: Matthias Brugger <[email protected]>
Date: Wed, 26 Oct 2016 16:15:00 +0200
Subject: arm64: dts: mt8173: Fix auxadc node

From: Matthias Brugger <[email protected]>

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")

---
 arch/arm64/boot/dts/mediatek/mt8173.dtsi |    3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/mediatek/mt8173.dtsi +3 -0
@@ -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 {

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/arm64-dts-mt8173-fix-auxadc-node.patch