[PATCH 1/3] media: dt-bindings: samsung,exynos4212-fimc-is: replace duplicate pmu node with phandle
Rob Herring
robh at kernel.org
Mon Jul 24 09:24:19 PDT 2023
On Sat, 22 Jul 2023 13:54:39 +0200, Krzysztof Kozlowski wrote:
> The FIMC IS camera must access the PMU (Power Management Unit) IO memory
> to control camera power. This was achieved by duplicating the PMU node
> as its child like:
>
> soc at 0 {
> system-controller at 10020000 { ... }; // Real PMU
>
> camera at 11800000 {
> fimc-is at 12000000 {
> // FIMC IS camera node
> pmu at 10020000 {
> reg = <0x10020000 0x3000>; // Fake PMU node
> };
> };
> };
> };
>
> This is not a correct representation of the hardware. Mapping the PMU
> (Power Management Unit) IO memory should be via syscon-like phandle
> (samsung,pmu-syscon, already used for other drivers), not by duplicating
> "pmu" Devicetree node inside the FIMC IS.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
> .../media/samsung,exynos4212-fimc-is.yaml | 15 ++++++++++-----
> .../devicetree/bindings/media/samsung,fimc.yaml | 5 +----
> 2 files changed, 11 insertions(+), 9 deletions(-)
>
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the linux-arm-kernel
mailing list