Re: [PATCH 1/6] dt-bindings: power: pd-samsung: Add Exynos850 support
From: Krzysztof Kozlowski
Date: Thu Mar 09 2023 - 04:15:32 EST
On 09/03/2023 00:09, Sam Protsenko wrote:
> Document the compatible string for Exynos850 power domains controller.
> Also add power domain indices which can be used in "samsung,pd-index"
There is no such property...
> property to specify a particular power domain in the device tree.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@xxxxxxxxxx>
> ---
> .../devicetree/bindings/power/pd-samsung.yaml | 1 +
> MAINTAINERS | 1 +
> .../dt-bindings/power/samsung,exynos850-power.h | 17 +++++++++++++++++
> 3 files changed, 19 insertions(+)
> create mode 100644 include/dt-bindings/power/samsung,exynos850-power.h
>
> diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> index 9c2c51133457..a353a705292c 100644
> --- a/Documentation/devicetree/bindings/power/pd-samsung.yaml
> +++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml
> @@ -21,6 +21,7 @@ properties:
> enum:
> - samsung,exynos4210-pd
> - samsung,exynos5433-pd
> + - samsung,exynos850-pd
>
> reg:
> maxItems: 1
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 8d5bc223f305..53e11e48639c 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2720,6 +2720,7 @@ F: drivers/pwm/pwm-samsung.c
> F: drivers/soc/samsung/
> F: drivers/tty/serial/samsung*
> F: include/clocksource/samsung_pwm.h
> +F: include/dt-bindings/power/samsung,*
> F: include/linux/platform_data/*s3c*
> F: include/linux/serial_s3c.h
> F: include/linux/soc/samsung/
> diff --git a/include/dt-bindings/power/samsung,exynos850-power.h b/include/dt-bindings/power/samsung,exynos850-power.h
> new file mode 100644
> index 000000000000..a8d877b5515a
> --- /dev/null
> +++ b/include/dt-bindings/power/samsung,exynos850-power.h
Filename matching compatible, so samsung,exynos850-pd.h... but I
actually wonder why do we need it. How power domains are organized in
Exynos850?
Best regards,
Krzysztof