devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table
@ 2023-01-25  9:08 Krzysztof Kozlowski
  2023-01-25 21:04 ` Rob Herring
  2023-01-30 14:13 ` Chanwoo Choi
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-25  9:08 UTC (permalink / raw)
  To: Chanwoo Choi, Georgi Djakov, Rob Herring, Krzysztof Kozlowski,
	Alim Akhtar, linux-pm, linux-samsung-soc, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

The opp-table can be located in the exynos-bus node which uses it, so
allow such child node.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../interconnect/samsung,exynos-bus.yaml      | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml b/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
index ad9ed596dfef..5e26e48c7217 100644
--- a/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
+++ b/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
@@ -196,6 +196,8 @@ properties:
     maxItems: 2
 
   operating-points-v2: true
+  opp-table:
+    type: object
 
   samsung,data-clock-ratio:
     $ref: /schemas/types.yaml#/definitions/uint32
@@ -227,6 +229,31 @@ examples:
         operating-points-v2 = <&bus_dmc_opp_table>;
         devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
         vdd-supply = <&buck1_reg>;
+
+        bus_dmc_opp_table: opp-table {
+            compatible = "operating-points-v2";
+
+            opp-50000000 {
+                opp-hz = /bits/ 64 <50000000>;
+                opp-microvolt = <800000>;
+            };
+            opp-100000000 {
+                opp-hz = /bits/ 64 <100000000>;
+                opp-microvolt = <800000>;
+            };
+            opp-134000000 {
+                opp-hz = /bits/ 64 <134000000>;
+                opp-microvolt = <800000>;
+            };
+            opp-200000000 {
+                opp-hz = /bits/ 64 <200000000>;
+                opp-microvolt = <825000>;
+            };
+            opp-400000000 {
+                opp-hz = /bits/ 64 <400000000>;
+                opp-microvolt = <875000>;
+            };
+        };
     };
 
     ppmu_dmc0: ppmu@106a0000 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table
  2023-01-25  9:08 [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table Krzysztof Kozlowski
@ 2023-01-25 21:04 ` Rob Herring
  2023-01-30 14:13 ` Chanwoo Choi
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-01-25 21:04 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, linux-pm, Rob Herring, linux-arm-kernel,
	Krzysztof Kozlowski, Georgi Djakov, Alim Akhtar, Chanwoo Choi,
	linux-samsung-soc


On Wed, 25 Jan 2023 10:08:49 +0100, Krzysztof Kozlowski wrote:
> The opp-table can be located in the exynos-bus node which uses it, so
> allow such child node.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../interconnect/samsung,exynos-bus.yaml      | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table
  2023-01-25  9:08 [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table Krzysztof Kozlowski
  2023-01-25 21:04 ` Rob Herring
@ 2023-01-30 14:13 ` Chanwoo Choi
  1 sibling, 0 replies; 3+ messages in thread
From: Chanwoo Choi @ 2023-01-30 14:13 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Chanwoo Choi, Georgi Djakov, Rob Herring,
	Krzysztof Kozlowski, Alim Akhtar, linux-pm, linux-samsung-soc,
	devicetree, linux-arm-kernel, linux-kernel

On 23. 1. 25. 18:08, Krzysztof Kozlowski wrote:
> The opp-table can be located in the exynos-bus node which uses it, so
> allow such child node.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../interconnect/samsung,exynos-bus.yaml      | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml b/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
> index ad9ed596dfef..5e26e48c7217 100644
> --- a/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
> +++ b/Documentation/devicetree/bindings/interconnect/samsung,exynos-bus.yaml
> @@ -196,6 +196,8 @@ properties:
>      maxItems: 2
>  
>    operating-points-v2: true
> +  opp-table:
> +    type: object
>  
>    samsung,data-clock-ratio:
>      $ref: /schemas/types.yaml#/definitions/uint32
> @@ -227,6 +229,31 @@ examples:
>          operating-points-v2 = <&bus_dmc_opp_table>;
>          devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
>          vdd-supply = <&buck1_reg>;
> +
> +        bus_dmc_opp_table: opp-table {
> +            compatible = "operating-points-v2";
> +
> +            opp-50000000 {
> +                opp-hz = /bits/ 64 <50000000>;
> +                opp-microvolt = <800000>;
> +            };
> +            opp-100000000 {
> +                opp-hz = /bits/ 64 <100000000>;
> +                opp-microvolt = <800000>;
> +            };
> +            opp-134000000 {
> +                opp-hz = /bits/ 64 <134000000>;
> +                opp-microvolt = <800000>;
> +            };
> +            opp-200000000 {
> +                opp-hz = /bits/ 64 <200000000>;
> +                opp-microvolt = <825000>;
> +            };
> +            opp-400000000 {
> +                opp-hz = /bits/ 64 <400000000>;
> +                opp-microvolt = <875000>;
> +            };
> +        };
>      };
>  
>      ppmu_dmc0: ppmu@106a0000 {

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

-- 
Best Regards,
Samsung Electronics
Chanwoo Choi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-30 14:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-25  9:08 [PATCH] dt-bindings: interconnect: samsung,exynos-bus: allow opp-table Krzysztof Kozlowski
2023-01-25 21:04 ` Rob Herring
2023-01-30 14:13 ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).