[PATCH 2/4] dt-bindings: mfd: syscon: allow two reg regions for gs101-pmu
Krzysztof Kozlowski
krzk at kernel.org
Sun Dec 22 04:06:50 PST 2024
On 13/12/2024 17:44, Peter Griffin wrote:
> To avoid dtschema warnings allow google,gs101-pmu to have
> two reg regions.
>
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> ---
> I don't really like this patch, but also didn't want to submit the series
> with a dtschema warning ;-)
>
> Possibly a better solution is when Robs patch
> `mfd: syscon: Allow syscon nodes without a "syscon" compatible` [1]
PMU which spans over two blocks is not a simple syscon. These would be
two syscon devices.
If you request regmap from such syscon, which regmap you get?
I am not sure whether the PMU is really split here. Usually the main PMU
was only one and additional blocks called PMU were somehow specialized
per each IP block.
Maybe you have here two devices, maybe only one. If it is only one, then
it is not a syscon anymore, IMO.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list