clk: sunxi-ng: sun50i-h6-r: Fix incorrect W1 clock gate register
Subsystems (2)
PATCH 1/1 clk: sunxi-ng: sun50i-h6-r: Fix incorrect W1 clock gate register
From: Ondrej Jirman <[email protected]>
The current code defines W1 clock gate to be at 0x1cc, overlaying it with the IR gate.
Clock gate for r-apb1-w1 is at 0x1ec. This fixes issues with IR receiver causing interrupt floods on H6 (because interrupt flags can't be cleared, due to IR module's bus being disabled).
--- drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c +1 -1
@@ -104,7 +104,7 @@ static SUNXI_CCU_GATE(r_apb2_i2c_clk, "r-apb2-i2c", "r-apb2", static SUNXI_CCU_GATE(r_apb1_ir_clk, "r-apb1-ir", "r-apb1", 0x1cc, BIT(0), 0); static SUNXI_CCU_GATE(r_apb1_w1_clk, "r-apb1-w1", "r-apb1", - 0x1cc, BIT(0), 0); + 0x1ec, BIT(0), 0);/* Information of IR(RX) mod clock is gathered from BSP source code */ static const char *const r_mod0_default_parents[] = {"osc32k" ,"osc24M" };
Signature · 1 line
2.21.0
Jernej Škrabec
maintainerDne torek, 04. junij 2019 ob 17:00:54 CEST je megous via linux-sunxi napisal(a):
Quoted 10 lines
From: Ondrej Jirman <[email protected]>
The current code defines W1 clock gate to be at
0x1cc, overlaying it with the IR gate.Clock gate for r-apb1-w1 is at
0x1ec. This fixes issues with IR receiver causing interrupt floods on H6 (because interrupt flags can't be cleared, due to IR module's bus being disabled).Signed-off-by Ondrej Jirman <[email protected]>
You should add Fixes tag and CC stable with this.
Best regards,
Jernej
Hi Jernej,
Quoted 7 lines · Jernej Škrabec
Dne torek, 04. junij 2019 ob 17:00:54 CEST je megous via linux-sunxi napisal(a):
Quoted 5 lines
From: Ondrej Jirman <[email protected]>
The current code defines W1 clock gate to be at
0x1cc, overlaying it with the IR gate.
Quoted 7 lines
Quoted 5 lines
Clock gate for r-apb1-w1 is at
0x1ec. This fixes issues with IR receiver causing interrupt floods on H6 (because interrupt flags can't be cleared, due to IR module's bus being disabled).Signed-off-by Ondrej Jirman <[email protected]>You should add Fixes tag and CC stable with this.
Not necessary, since H6 IR is not yet supported on mainline.
regards,
o.
Quoted 9 lines
Best regards,
Jernej_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Jernej Škrabec
maintainerHi!
Dne torek, 04. junij 2019 ob 17:31:20 CEST je 'Ondřej Jirman' via linux-sunxi napisal(a):
Quoted 16 lines
Hi Jernej,
Quoted 13 lines · Jernej Škrabec
Dne torek, 04. junij 2019 ob 17:00:54 CEST je megous via linux-sunxi
napisal(a):
Quoted 10 lines
From: Ondrej Jirman <[email protected]>
The current code defines W1 clock gate to be at
0x1cc, overlaying it with the IR gate.Clock gate for r-apb1-w1 is at
0x1ec. This fixes issues with IR receiver causing interrupt floods on H6 (because interrupt flags can't be cleared,
due to IR module's bus being disabled).
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Ondrej Jirman <[email protected]>You should add Fixes tag and CC stable with this.
Not necessary, since H6 IR is not yet supported on mainline.
Well, CCing stable is probably really not necessary, but you are fixing bug in existing driver (clk), fixes tag still apply.
Best regards,
Jernej
Quoted 13 lines
regards,
o.Quoted 9 lines
Best regards,
Jernej_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hello Jernej,
Quoted 20 lines · Jernej Škrabec
Hi!
Dne torek, 04. junij 2019 ob 17:31:20 CEST je 'Ondřej Jirman' via linux-sunxi napisal(a):
Quoted 16 lines
Hi Jernej,
Quoted 13 lines · Jernej Škrabec
Dne torek, 04. junij 2019 ob 17:00:54 CEST je megous via linux-sunxi
napisal(a):
Quoted 10 lines
From: Ondrej Jirman <[email protected]>
The current code defines W1 clock gate to be at
0x1cc, overlaying it with the IR gate.Clock gate for r-apb1-w1 is at
0x1ec. This fixes issues with IR receiver causing interrupt floods on H6 (because interrupt flags can't be cleared,
due to IR module's bus being disabled).
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Ondrej Jirman <[email protected]>You should add Fixes tag and CC stable with this.
Not necessary, since H6 IR is not yet supported on mainline.
Well, CCing stable is probably really not necessary, but you are fixing bug in existing driver (clk), fixes tag still apply.
Right, resent v2.
thank you and regards,
o.
Quoted 25 lines
Best regards,
JernejQuoted 13 lines
regards,
o.Quoted 9 lines
Best regards,
Jernej_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel