[RESEND,v5,1/4] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.

Message ID 20210308233858.24741-1-daniel.lezcano@linaro.org
State New
Headers show
Series
  • [RESEND,v5,1/4] dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.
Related show

Commit Message

Daniel Lezcano March 8, 2021, 11:38 p.m.
From: Enric Balletbo i Serra <enric.balletbo@collabora.com>


The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU
general register files to know the DRAM type, so add a phandle to the
syscon that manages these registers.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

Acked-by: Rob Herring <robh@kernel.org>

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>

Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1

Comments

Daniel Lezcano March 8, 2021, 11:42 p.m. | #1
On 09/03/2021 00:38, Daniel Lezcano wrote:
> From: Enric Balletbo i Serra <enric.balletbo@collabora.com>

> 

> The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU

> general register files to know the DRAM type, so add a phandle to the

> syscon that manages these registers.

> 

> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

> Acked-by: Rob Herring <robh@kernel.org>

> Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>

> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---

>  Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> index a10d1f6d85c6..a41bcfef95c8 100644

> --- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> +++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> @@ -12,6 +12,8 @@ Required properties:

>  			 for details.

>  - center-supply:	 DMC supply node.

>  - status:		 Marks the node enabled/disabled.

> +- rockchip,pmu:		 Phandle to the syscon managing the "PMU general register

> +			 files".


For the record, https://lkml.org/lkml/2020/6/30/367



-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Chanwoo Choi March 9, 2021, 10:15 a.m. | #2
On 3/9/21 8:38 AM, Daniel Lezcano wrote:
> From: Enric Balletbo i Serra <enric.balletbo@collabora.com>

> 

> The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU

> general register files to know the DRAM type, so add a phandle to the

> syscon that manages these registers.

> 

> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

> Acked-by: Rob Herring <robh@kernel.org>

> Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>

> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>

> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---

>  Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> index a10d1f6d85c6..a41bcfef95c8 100644

> --- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> +++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt

> @@ -12,6 +12,8 @@ Required properties:

>  			 for details.

>  - center-supply:	 DMC supply node.

>  - status:		 Marks the node enabled/disabled.

> +- rockchip,pmu:		 Phandle to the syscon managing the "PMU general register

> +			 files".

>  

>  Optional properties:

>  - interrupts:		 The CPU interrupt number. The interrupt specifier

> 


Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

Patch

diff --git a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
index a10d1f6d85c6..a41bcfef95c8 100644
--- a/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
+++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt
@@ -12,6 +12,8 @@  Required properties:
 			 for details.
 - center-supply:	 DMC supply node.
 - status:		 Marks the node enabled/disabled.
+- rockchip,pmu:		 Phandle to the syscon managing the "PMU general register
+			 files".
 
 Optional properties:
 - interrupts:		 The CPU interrupt number. The interrupt specifier