linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc: restrict opp-table to objects
@ 2022-08-17  7:10 Krzysztof Kozlowski
  2022-08-18  1:29 ` Peng Fan
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-17  7:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, Peng Fan,
	linux-kernel, devicetree, linux-arm-kernel

Simple 'opp-table:true' accepts a boolean property as opp-table, so
restrict it to object to properly enfoerce real OPP table nodes.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Changes since v1:
1. Correct typo in subject.
---
 .../devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml
index 445e46feda69..fc2e7de10331 100644
--- a/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml
@@ -47,7 +47,8 @@ properties:
       - const: apb
 
   operating-points-v2: true
-  opp-table: true
+  opp-table:
+    type: object
 
 required:
   - reg
-- 
2.34.1


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

* RE: [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc: restrict opp-table to objects
  2022-08-17  7:10 [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc: restrict opp-table to objects Krzysztof Kozlowski
@ 2022-08-18  1:29 ` Peng Fan
  2022-08-18  6:08   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Peng Fan @ 2022-08-18  1:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, dl-linux-imx,
	linux-kernel, devicetree, linux-arm-kernel

> Subject: [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc:
> restrict opp-table to objects
> 
> Simple 'opp-table:true' accepts a boolean property as opp-table, so restrict
> it to object to properly enfoerce real OPP table nodes.

enfoerce->enforce?


> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Acked-by: Peng Fan <peng.fan@nxp.com>
> 
> ---
> 
> Changes since v1:
> 1. Correct typo in subject.
> ---
>  .../devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/memory-
> controllers/fsl/imx8m-ddrc.yaml
> b/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-
> ddrc.yaml
> index 445e46feda69..fc2e7de10331 100644
> --- a/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-
> ddrc.yaml
> +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-
> ddr
> +++ c.yaml
> @@ -47,7 +47,8 @@ properties:
>        - const: apb
> 
>    operating-points-v2: true
> -  opp-table: true
> +  opp-table:
> +    type: object
> 
>  required:
>    - reg
> --
> 2.34.1


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

* Re: [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc: restrict opp-table to objects
  2022-08-18  1:29 ` Peng Fan
@ 2022-08-18  6:08   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-18  6:08 UTC (permalink / raw)
  To: Peng Fan, Rob Herring, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, dl-linux-imx,
	linux-kernel, devicetree, linux-arm-kernel

On 18/08/2022 04:29, Peng Fan wrote:
>> Subject: [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc:
>> restrict opp-table to objects
>>
>> Simple 'opp-table:true' accepts a boolean property as opp-table, so restrict
>> it to object to properly enfoerce real OPP table nodes.
> 
> enfoerce->enforce?

Thanks, indeed.


Best regards,
Krzysztof

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

end of thread, other threads:[~2022-08-18  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17  7:10 [PATCH v2] dt-bindings: memory-controllers: fsl,imx8m-ddrc: restrict opp-table to objects Krzysztof Kozlowski
2022-08-18  1:29 ` Peng Fan
2022-08-18  6:08   ` Krzysztof Kozlowski

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).