Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-28 Thread Michal Wilczynski
On 1/21/25 10:55, Ulf Hansson wrote: > On Mon, 20 Jan 2025 at 18:21, Michal Wilczynski > wrote: >> >> The T-Head TH1520 SoC contains multiple power islands that can be >> programmatically turned on and off using the AON (Always-On) protocol >> and a hardware mailbox [1]. The relevant mailbox dr

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-22 Thread Krzysztof Kozlowski
On 22/01/2025 12:26, Michal Wilczynski wrote: >>> >>> These power-domain constants are defined by the AON firmware protocol, >>> which dictates the exact IDs (e.g., 1 for NPU). They are not just array >>> indices; we must use these specific values to communicate with the >>> firmware correctly. Usi

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-22 Thread Michal Wilczynski
On 1/22/25 08:46, Krzysztof Kozlowski wrote: > On 21/01/2025 22:42, Michal Wilczynski wrote: >> >> >> On 1/21/25 11:02, Krzysztof Kozlowski wrote: >>> On Mon, Jan 20, 2025 at 06:20:58PM +0100, Michal Wilczynski wrote: The T-Head TH1520 SoC contains multiple power islands that can be pr

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-21 Thread Krzysztof Kozlowski
On 21/01/2025 22:42, Michal Wilczynski wrote: > > > On 1/21/25 11:02, Krzysztof Kozlowski wrote: >> On Mon, Jan 20, 2025 at 06:20:58PM +0100, Michal Wilczynski wrote: >>> The T-Head TH1520 SoC contains multiple power islands that can be >>> programmatically turned on and off using the AON (Always

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-21 Thread Michal Wilczynski
On 1/21/25 11:02, Krzysztof Kozlowski wrote: > On Mon, Jan 20, 2025 at 06:20:58PM +0100, Michal Wilczynski wrote: >> The T-Head TH1520 SoC contains multiple power islands that can be >> programmatically turned on and off using the AON (Always-On) protocol >> and a hardware mailbox [1]. The relev

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-21 Thread Krzysztof Kozlowski
On Mon, Jan 20, 2025 at 06:20:58PM +0100, Michal Wilczynski wrote: > The T-Head TH1520 SoC contains multiple power islands that can be > programmatically turned on and off using the AON (Always-On) protocol > and a hardware mailbox [1]. The relevant mailbox driver has already been > merged into the

Re: [RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-21 Thread Ulf Hansson
On Mon, 20 Jan 2025 at 18:21, Michal Wilczynski wrote: > > The T-Head TH1520 SoC contains multiple power islands that can be > programmatically turned on and off using the AON (Always-On) protocol > and a hardware mailbox [1]. The relevant mailbox driver has already been > merged into the mainline

[RFC v3 05/18] pmdomain: thead: Add power-domain driver for TH1520

2025-01-20 Thread Michal Wilczynski
The T-Head TH1520 SoC contains multiple power islands that can be programmatically turned on and off using the AON (Always-On) protocol and a hardware mailbox [1]. The relevant mailbox driver has already been merged into the mainline kernel in commit 5d4d263e1c6b ("mailbox: Introduce support for T-