Add video reset to aspeed-clk
Subsystems (3)
v2 cover Add video reset to aspeed-clk
Add missing video reset to aspeed clock controller drivers.
v2 changes:
- Add patch for drivers/clk/clk-aspeed.c
- Update index of ASPEED_RESET_VIDEO
Jammy Huang (2):
dt-bindings: clock: aspeed: Add VIDEO reset definition
clk: aspeed: Add reset for HACE/VIDEO
drivers/clk/clk-aspeed.c | 2 ++ include/dt-bindings/clock/aspeed-clock.h | 1 + 2 files changed, 3 insertions(+)
base-commit: 7f7072574127c9e971cad83a0274e86f6275c0d5
Signature · 1 line
2.25.1
PATCH v2 1/2 dt-bindings: clock: aspeed: Add VIDEO reset definition
ASPEED clock controller provides a couple of resets. Add the define of video to allow referring to it.
---
v2 changes:
- Update index of ASPEED_RESET_VIDEO
--- include/dt-bindings/clock/aspeed-clock.h | 1 + 1 file changed, 1 insertion(+)
include/dt-bindings/clock/aspeed-clock.h +1 -0
@@ -53,5 +53,6 @@#define ASPEED_RESET_AHB 8#define ASPEED_RESET_CRT1 9#define ASPEED_RESET_HACE 10 +#define ASPEED_RESET_VIDEO 11#endif
Signature · 1 line
2.25.1
Re: [PATCH v2 1/2] dt-bindings: clock: aspeed: Add VIDEO reset definition
Quoted 7 lines · Jammy Huang
ASPEED clock controller provides a couple of resets. Add the define of video to allow referring to it.
Signed-off-by Jammy Huang <[email protected]>---
v2 changes:
- Update index ofASPEED_RESET_VIDEO
Ah, so here is the next version. I don't see how this can be correct if 21 was correct before. Was 21 wrong?
Quoted 18 lines
--- include/dt-bindings/clock/aspeed-clock.h | 1 + 1 file changed, 1 insertion(+)include/dt-bindings/clock/aspeed-clock.h +1
-0@@ -53,5 +53,6 @@#define ASPEED_RESET_AHB 8#define ASPEED_RESET_CRT1 9#define ASPEED_RESET_HACE 10 +#define ASPEED_RESET_VIDEO 11#endif Signature · 1 line
2.25.1
Conor Dooley
Acked-byRe: [PATCH v2 1/2] dt-bindings: clock: aspeed: Add VIDEO reset definition
Quoted 11 lines · Conor Dooley
Quoted 7 lines · Jammy Huang
ASPEED clock controller provides a couple of resets. Add the define of video to allow referring to it.
Signed-off-by Jammy Huang <[email protected]>---
v2 changes:
- Update index ofASPEED_RESET_VIDEOAh, so here is the next version. I don't see how this can be correct if 21 was correct before. Was 21 wrong?
Given the driver has mappings, I guess this is actually correct.
Quoted 18 lines
Quoted 18 lines
--- include/dt-bindings/clock/aspeed-clock.h | 1 + 1 file changed, 1 insertion(+)include/dt-bindings/clock/aspeed-clock.h +1
-0@@ -53,5 +53,6 @@#define ASPEED_RESET_AHB 8#define ASPEED_RESET_CRT1 9#define ASPEED_RESET_HACE 10 +#define ASPEED_RESET_VIDEO 11#endif Signature · 1 line
2.25.1
Re: [PATCH v2 1/2] dt-bindings: clock: aspeed: Add VIDEO reset definition
In reply to Jammy HuangQuoting Jammy Huang (2025-10-02 18:58:44)
Quoted 5 lines
ASPEED clock controller provides a couple of resets. Add the define of video to allow referring to it.
Signed-off-by Jammy Huang <[email protected]>---
Applied to clk-next
PATCH v2 2/2 clk: aspeed: Add reset for HACE/VIDEO
In reply to Jammy HuangAdd mappings of reset per hw's definition.
--- drivers/clk/clk-aspeed.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/clk-aspeed.c +2 -0
@@ -278,6 +278,8 @@ static const u8 aspeed_resets[] = { [ASPEED_RESET_PECI] = 10, [ASPEED_RESET_I2C] = 2, [ASPEED_RESET_AHB] = 1, + [ASPEED_RESET_HACE] = 4, + [ASPEED_RESET_VIDEO] = 6,/* * SCUD4 resets start at an offset to separate them from
Signature · 1 line
2.25.1
Re: [PATCH v2 2/2] clk: aspeed: Add reset for HACE/VIDEO
Quoting Jammy Huang (2025-10-02 18:58:45)
Quoted 4 lines
Add mappings of reset per hw's definition.
Signed-off-by Jammy Huang <[email protected]>---
Applied to clk-next