linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property
@ 2022-12-12  5:51 Marek Vasut
  2022-12-12  6:45 ` Liu Ying
  2022-12-12 12:54 ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2022-12-12  5:51 UTC (permalink / raw)
  To: devicetree
  Cc: Marek Vasut, Krzysztof Kozlowski, Fabio Estevam,
	Krzysztof Kozlowski, Liu Ying, Lucas Stach, NXP Linux Team,
	Rob Herring, Shawn Guo, linux-arm-kernel

The power-domains property is mandatory on i.MX8M Mini, Nano, Plus
and i.MX6SX, i.MX6SL. Document the property and mark it as required
on the aforementioned variants of the IP, present in those SoCs.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Liu Ying <victor.liu@nxp.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
To: devicetree@vger.kernel.org
---
V2: - Add AB from Krzysztof
    - Add mx6sx power domain into the list
V3: - Update commit message
    - Add i.MX6SL
    - Update example
---
 .../devicetree/bindings/display/fsl,lcdif.yaml  | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
index 876015a44a1e6..1f17be501749b 100644
--- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
+++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
@@ -52,6 +52,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  power-domains:
+    maxItems: 1
+
   port:
     $ref: /schemas/graph.yaml#/properties/port
     description: The LCDIF output port
@@ -87,6 +90,19 @@ allOf:
           maxItems: 1
         clock-names:
           maxItems: 1
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - fsl,imx6sl-lcdif
+              - fsl,imx6sx-lcdif
+              - fsl,imx8mm-lcdif
+              - fsl,imx8mn-lcdif
+              - fsl,imx8mp-lcdif
+    then:
+      required:
+        - power-domains
 
 examples:
   - |
@@ -101,6 +117,7 @@ examples:
                  <&clks IMX6SX_CLK_LCDIF_APB>,
                  <&clks IMX6SX_CLK_DISPLAY_AXI>;
         clock-names = "pix", "axi", "disp_axi";
+        power-domains = <&pd_disp>;
 
         port {
             endpoint {
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property
  2022-12-12  5:51 [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property Marek Vasut
@ 2022-12-12  6:45 ` Liu Ying
  2022-12-12 12:54 ` Rob Herring
  1 sibling, 0 replies; 5+ messages in thread
From: Liu Ying @ 2022-12-12  6:45 UTC (permalink / raw)
  To: Marek Vasut, devicetree
  Cc: Krzysztof Kozlowski, Fabio Estevam, Krzysztof Kozlowski,
	Lucas Stach, NXP Linux Team, Rob Herring, Shawn Guo,
	linux-arm-kernel

On Mon, 2022-12-12 at 06:51 +0100, Marek Vasut wrote:
> The power-domains property is mandatory on i.MX8M Mini, Nano, Plus
> and i.MX6SX, i.MX6SL. Document the property and mark it as required
> on the aforementioned variants of the IP, present in those SoCs.
> 
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> Cc: Liu Ying <victor.liu@nxp.com>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: NXP Linux Team <linux-imx@nxp.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org
> To: devicetree@vger.kernel.org
> ---
> V2: - Add AB from Krzysztof
>     - Add mx6sx power domain into the list
> V3: - Update commit message
>     - Add i.MX6SL
>     - Update example
> ---
>  .../devicetree/bindings/display/fsl,lcdif.yaml  | 17
> +++++++++++++++++
>  1 file changed, 17 insertions(+)

Reviewed-by: Liu Ying <victor.liu@nxp.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property
  2022-12-12  5:51 [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property Marek Vasut
  2022-12-12  6:45 ` Liu Ying
@ 2022-12-12 12:54 ` Rob Herring
  2022-12-13  7:57   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 5+ messages in thread
From: Rob Herring @ 2022-12-12 12:54 UTC (permalink / raw)
  To: Marek Vasut
  Cc: devicetree, Krzysztof Kozlowski, Fabio Estevam,
	Krzysztof Kozlowski, Liu Ying, Lucas Stach, NXP Linux Team,
	Shawn Guo, linux-arm-kernel

On Sun, Dec 11, 2022 at 11:51 PM Marek Vasut <marex@denx.de> wrote:
>
> The power-domains property is mandatory on i.MX8M Mini, Nano, Plus
> and i.MX6SX, i.MX6SL. Document the property and mark it as required
> on the aforementioned variants of the IP, present in those SoCs.
>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Marek Vasut <marex@denx.de>
> ---
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> Cc: Liu Ying <victor.liu@nxp.com>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: NXP Linux Team <linux-imx@nxp.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Shawn Guo <shawnguo@kernel.org>
> Cc: linux-arm-kernel@lists.infradead.org
> To: devicetree@vger.kernel.org
> ---
> V2: - Add AB from Krzysztof
>     - Add mx6sx power domain into the list
> V3: - Update commit message
>     - Add i.MX6SL
>     - Update example
> ---
>  .../devicetree/bindings/display/fsl,lcdif.yaml  | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> index 876015a44a1e6..1f17be501749b 100644
> --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> @@ -52,6 +52,9 @@ properties:
>    interrupts:
>      maxItems: 1
>
> +  power-domains:
> +    maxItems: 1
> +

This conflicts with adding 'power-domains' for i.MX8MP in my tree.

>    port:
>      $ref: /schemas/graph.yaml#/properties/port
>      description: The LCDIF output port
> @@ -87,6 +90,19 @@ allOf:
>            maxItems: 1
>          clock-names:
>            maxItems: 1
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            enum:
> +              - fsl,imx6sl-lcdif
> +              - fsl,imx6sx-lcdif
> +              - fsl,imx8mm-lcdif
> +              - fsl,imx8mn-lcdif
> +              - fsl,imx8mp-lcdif
> +    then:
> +      required:
> +        - power-domains
>
>  examples:
>    - |
> @@ -101,6 +117,7 @@ examples:
>                   <&clks IMX6SX_CLK_LCDIF_APB>,
>                   <&clks IMX6SX_CLK_DISPLAY_AXI>;
>          clock-names = "pix", "axi", "disp_axi";
> +        power-domains = <&pd_disp>;
>
>          port {
>              endpoint {
> --
> 2.35.1
>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property
  2022-12-12 12:54 ` Rob Herring
@ 2022-12-13  7:57   ` Krzysztof Kozlowski
  2022-12-13 13:04     ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-13  7:57 UTC (permalink / raw)
  To: Rob Herring, Marek Vasut
  Cc: devicetree, Fabio Estevam, Krzysztof Kozlowski, Liu Ying,
	Lucas Stach, NXP Linux Team, Shawn Guo, linux-arm-kernel

On 12/12/2022 13:54, Rob Herring wrote:
> On Sun, Dec 11, 2022 at 11:51 PM Marek Vasut <marex@denx.de> wrote:
>>
>> The power-domains property is mandatory on i.MX8M Mini, Nano, Plus
>> and i.MX6SX, i.MX6SL. Document the property and mark it as required
>> on the aforementioned variants of the IP, present in those SoCs.
>>
>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> ---
>> Cc: Fabio Estevam <festevam@gmail.com>
>> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
>> Cc: Liu Ying <victor.liu@nxp.com>
>> Cc: Lucas Stach <l.stach@pengutronix.de>
>> Cc: NXP Linux Team <linux-imx@nxp.com>
>> Cc: Rob Herring <robh+dt@kernel.org>
>> Cc: Shawn Guo <shawnguo@kernel.org>
>> Cc: linux-arm-kernel@lists.infradead.org
>> To: devicetree@vger.kernel.org
>> ---
>> V2: - Add AB from Krzysztof
>>     - Add mx6sx power domain into the list
>> V3: - Update commit message
>>     - Add i.MX6SL
>>     - Update example
>> ---
>>  .../devicetree/bindings/display/fsl,lcdif.yaml  | 17 +++++++++++++++++
>>  1 file changed, 17 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>> index 876015a44a1e6..1f17be501749b 100644
>> --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>> +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>> @@ -52,6 +52,9 @@ properties:
>>    interrupts:
>>      maxItems: 1
>>
>> +  power-domains:
>> +    maxItems: 1
>> +
> 
> This conflicts with adding 'power-domains' for i.MX8MP in my tree.

Yes, this is a duplicated patch.

Please either check for already submitted works in lore (dfn:) or use
linux-next as your base...

Unack.

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property
  2022-12-13  7:57   ` Krzysztof Kozlowski
@ 2022-12-13 13:04     ` Marek Vasut
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2022-12-13 13:04 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring
  Cc: devicetree, Fabio Estevam, Krzysztof Kozlowski, Liu Ying,
	Lucas Stach, NXP Linux Team, Shawn Guo, linux-arm-kernel

On 12/13/22 08:57, Krzysztof Kozlowski wrote:
> On 12/12/2022 13:54, Rob Herring wrote:
>> On Sun, Dec 11, 2022 at 11:51 PM Marek Vasut <marex@denx.de> wrote:
>>>
>>> The power-domains property is mandatory on i.MX8M Mini, Nano, Plus
>>> and i.MX6SX, i.MX6SL. Document the property and mark it as required
>>> on the aforementioned variants of the IP, present in those SoCs.
>>>
>>> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>> ---
>>> Cc: Fabio Estevam <festevam@gmail.com>
>>> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
>>> Cc: Liu Ying <victor.liu@nxp.com>
>>> Cc: Lucas Stach <l.stach@pengutronix.de>
>>> Cc: NXP Linux Team <linux-imx@nxp.com>
>>> Cc: Rob Herring <robh+dt@kernel.org>
>>> Cc: Shawn Guo <shawnguo@kernel.org>
>>> Cc: linux-arm-kernel@lists.infradead.org
>>> To: devicetree@vger.kernel.org
>>> ---
>>> V2: - Add AB from Krzysztof
>>>      - Add mx6sx power domain into the list
>>> V3: - Update commit message
>>>      - Add i.MX6SL
>>>      - Update example
>>> ---
>>>   .../devicetree/bindings/display/fsl,lcdif.yaml  | 17 +++++++++++++++++
>>>   1 file changed, 17 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>>> index 876015a44a1e6..1f17be501749b 100644
>>> --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>>> +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
>>> @@ -52,6 +52,9 @@ properties:
>>>     interrupts:
>>>       maxItems: 1
>>>
>>> +  power-domains:
>>> +    maxItems: 1
>>> +
>>
>> This conflicts with adding 'power-domains' for i.MX8MP in my tree.
> 
> Yes, this is a duplicated patch.
> 
> Please either check for already submitted works in lore (dfn:) or use
> linux-next as your base...

Understood, I only used linux-next 20221208 , which was the latest 
available at that point.

If I rebase on today's next-20221213 , I see the only duplicate part is

"
+  power-domains:
+    maxItems: 1
+
"

The rest of this patch is still valid.

> Unack.

I see

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-12-13 13:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  5:51 [PATCH v3] dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property Marek Vasut
2022-12-12  6:45 ` Liu Ying
2022-12-12 12:54 ` Rob Herring
2022-12-13  7:57   ` Krzysztof Kozlowski
2022-12-13 13:04     ` Marek Vasut

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