Skip to contentSkip to conversation

ARM: sun6i: Fix the APB2 clock gates register size

PATCH New Maxime Ripard 1 participant 2 messages Sep 25, 2013 – Oct 5, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sun6i: Fix the APB2 clock gates register size

The APB2 clocks gates are only a 32 bits register wide, and not 2 as set currently in the DTSI.

---
 arch/arm/boot/dts/sun6i-a31.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun6i-a31.dtsi +1 -1
index f244f5f..c1751a6 100644
@@ -175,7 +175,7 @@
 		apb2_gates: apb2_gates at 01c2006c {
 			#clock-cells = <1>;
 			compatible = "allwinner,sun6i-a31-apb2-gates-clk";
-			reg = <0x01c2006c 0x8>;
+			reg = <0x01c2006c 0x4>;
 			clocks = <&apb2>;
 			clock-output-names = "apb2_i2c0", "apb2_i2c1",
 					"apb2_i2c2", "apb2_i2c3", "apb2_uart0",
Signature · 1 line
1.8.4
author Applied
#1 lore raw

PATCH 1/1 ARM: sun6i: Fix the APB2 clock gates register size

Quoted 4 lines · Maxime Ripard

The APB2 clocks gates are only a 32 bits register wide, and not 2 as set currently in the DTSI.

Applied to my sunxi/fixes-for-3.12 branch.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131005/115a6da2/attachment.sig>