All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
@ 2023-05-05 10:12 haibo.chen
  2023-05-05 17:47 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 8+ messages in thread
From: haibo.chen @ 2023-05-05 10:12 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson, linux-mmc, robh+dt,
	krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: linux-imx, haibo.chen, kernel, festevam, cniedermaier,
	devicetree, kernel

From: Haibo Chen <haibo.chen@nxp.com>

Driver do not use this property, so remove it here.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index fbfd822b9270..e34b4fb4778a 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -96,11 +96,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  fsl,wp-controller:
-    description: |
-      boolean, if present, indicate to use controller internal write protection.
-    type: boolean
-
   fsl,delay-line:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: |
@@ -190,7 +185,6 @@ examples:
         compatible = "fsl,imx51-esdhc";
         reg = <0x70004000 0x4000>;
         interrupts = <1>;
-        fsl,wp-controller;
     };
 
     mmc@70008000 {
-- 
2.34.1


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

* Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-05 10:12 [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller" haibo.chen
@ 2023-05-05 17:47 ` Krzysztof Kozlowski
  2023-05-06  2:37   ` Bough Chen
  0 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-05 17:47 UTC (permalink / raw)
  To: haibo.chen, adrian.hunter, ulf.hansson, linux-mmc, robh+dt,
	krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: linux-imx, kernel, festevam, cniedermaier, devicetree, kernel

On 05/05/2023 12:12, haibo.chen@nxp.com wrote:
> From: Haibo Chen <haibo.chen@nxp.com>
> 
> Driver do not use this property, so remove it here.

That's not true, it uses. I got only patch #3 and nothing else.

> 
> Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
>  1 file changed, 6 deletions(-)


Best regards,
Krzysztof


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

* RE: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-05 17:47 ` Krzysztof Kozlowski
@ 2023-05-06  2:37   ` Bough Chen
  2023-05-06  6:36     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 8+ messages in thread
From: Bough Chen @ 2023-05-06  2:37 UTC (permalink / raw)
  To: Krzysztof Kozlowski, adrian.hunter, ulf.hansson, linux-mmc,
	robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: dl-linux-imx, kernel, festevam, cniedermaier, devicetree, kernel

> -----Original Message-----
> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Sent: 2023年5月6日 1:48
> To: Bough Chen <haibo.chen@nxp.com>; adrian.hunter@intel.com;
> ulf.hansson@linaro.org; linux-mmc@vger.kernel.org; robh+dt@kernel.org;
> krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org;
> s.hauer@pengutronix.de
> Cc: dl-linux-imx <linux-imx@nxp.com>; kernel@pengutronix.de;
> festevam@gmail.com; cniedermaier@dh-electronics.com;
> devicetree@vger.kernel.org; kernel@dh-electronics.com
> Subject: Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property
> "fsl,wp-controller"
> 
> On 05/05/2023 12:12, haibo.chen@nxp.com wrote:
> > From: Haibo Chen <haibo.chen@nxp.com>
> >
> > Driver do not use this property, so remove it here.
> 
> That's not true, it uses. I got only patch #3 and nothing else.

This v2 patch only fix a dt-check error, for patch1,2,4, still not get comments, so I do not send out to avoid noise.

Here is the patch to remove "fsl,wp-controller" in driver:
https://patchwork.kernel.org/project/linux-mmc/patch/20230505084955.238940-2-haibo.chen@nxp.com/

Best Regards
Haibo Chen
> 
> >
> > Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
> > ---
> >  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
> >  1 file changed, 6 deletions(-)
> 
> 
> Best regards,
> Krzysztof


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

* Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-06  2:37   ` Bough Chen
@ 2023-05-06  6:36     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-06  6:36 UTC (permalink / raw)
  To: Bough Chen, adrian.hunter, ulf.hansson, linux-mmc, robh+dt,
	krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: dl-linux-imx, kernel, festevam, cniedermaier, devicetree, kernel

On 06/05/2023 04:37, Bough Chen wrote:
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> Sent: 2023年5月6日 1:48
>> To: Bough Chen <haibo.chen@nxp.com>; adrian.hunter@intel.com;
>> ulf.hansson@linaro.org; linux-mmc@vger.kernel.org; robh+dt@kernel.org;
>> krzysztof.kozlowski+dt@linaro.org; shawnguo@kernel.org;
>> s.hauer@pengutronix.de
>> Cc: dl-linux-imx <linux-imx@nxp.com>; kernel@pengutronix.de;
>> festevam@gmail.com; cniedermaier@dh-electronics.com;
>> devicetree@vger.kernel.org; kernel@dh-electronics.com
>> Subject: Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property
>> "fsl,wp-controller"
>>
>> On 05/05/2023 12:12, haibo.chen@nxp.com wrote:
>>> From: Haibo Chen <haibo.chen@nxp.com>
>>>
>>> Driver do not use this property, so remove it here.
>>
>> That's not true, it uses. I got only patch #3 and nothing else.
> 
> This v2 patch only fix a dt-check error, for patch1,2,4, still not get comments, so I do not send out to avoid noise.

So while sending a patchset of 4 patches you skipped 1+2+4? This does
not make sense. Send entire patchset.

The patch by itself, without context, is incorrect and not justified.

Best regards,
Krzysztof


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

* Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-23  2:03     ` Peng Fan
@ 2023-06-08 17:44       ` Rob Herring
  0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2023-06-08 17:44 UTC (permalink / raw)
  To: Peng Fan
  Cc: Krzysztof Kozlowski, haibo.chen, adrian.hunter, ulf.hansson,
	linux-mmc, krzysztof.kozlowski+dt, shawnguo, s.hauer, linux-imx,
	kernel, festevam, cniedermaier, devicetree, kernel

On Tue, May 23, 2023 at 10:03:08AM +0800, Peng Fan wrote:
> 
> 
> On 5/6/2023 6:59 PM, Krzysztof Kozlowski wrote:
> > Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button
> > 
> > 
> > On 06/05/2023 09:40, haibo.chen@nxp.com wrote:
> > > From: Haibo Chen <haibo.chen@nxp.com>
> > > 
> > > Driver do not use this property, so remove it here.
> > 
> > You still need to expand the commit msg and justify why this property is
> > being removed. "Driver" is vague, as it can be BSD driver which also
> > might use this binding. Instead describe why this property should be
> > removed, so we can understand also ABI implications.
> 
> The better approach would be mark it as deprecated.

Sure, but still need to say why.

Rob

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

* Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-06 10:59   ` Krzysztof Kozlowski
@ 2023-05-23  2:03     ` Peng Fan
  2023-06-08 17:44       ` Rob Herring
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Fan @ 2023-05-23  2:03 UTC (permalink / raw)
  To: Krzysztof Kozlowski, haibo.chen, adrian.hunter, ulf.hansson,
	linux-mmc, robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: linux-imx, kernel, festevam, cniedermaier, devicetree, kernel



On 5/6/2023 6:59 PM, Krzysztof Kozlowski wrote:
> Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button
> 
> 
> On 06/05/2023 09:40, haibo.chen@nxp.com wrote:
>> From: Haibo Chen <haibo.chen@nxp.com>
>>
>> Driver do not use this property, so remove it here.
> 
> You still need to expand the commit msg and justify why this property is
> being removed. "Driver" is vague, as it can be BSD driver which also
> might use this binding. Instead describe why this property should be
> removed, so we can understand also ABI implications.

The better approach would be mark it as deprecated.

Regards,
Peng.

> 
>>
>> Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
>>
>> ---
>> v2:
>> -fix dt-binding-check issue, also remove "fsl,wp-controller" in examples.
>> ---
>>   Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
>>   1 file changed, 6 deletions(-)
> 
> Best regards,
> Krzysztof
> 

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

* Re: [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-06  7:40 ` [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller" haibo.chen
@ 2023-05-06 10:59   ` Krzysztof Kozlowski
  2023-05-23  2:03     ` Peng Fan
  0 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-06 10:59 UTC (permalink / raw)
  To: haibo.chen, adrian.hunter, ulf.hansson, linux-mmc, robh+dt,
	krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: linux-imx, kernel, festevam, cniedermaier, devicetree, kernel

On 06/05/2023 09:40, haibo.chen@nxp.com wrote:
> From: Haibo Chen <haibo.chen@nxp.com>
> 
> Driver do not use this property, so remove it here.

You still need to expand the commit msg and justify why this property is
being removed. "Driver" is vague, as it can be BSD driver which also
might use this binding. Instead describe why this property should be
removed, so we can understand also ABI implications.

> 
> Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
> 
> ---
> v2:
> -fix dt-binding-check issue, also remove "fsl,wp-controller" in examples.
> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
>  1 file changed, 6 deletions(-)

Best regards,
Krzysztof


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

* [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller"
  2023-05-06  7:40 [PATCH v2 0/4] cd/wp code clean up for i.MX USDHC haibo.chen
@ 2023-05-06  7:40 ` haibo.chen
  2023-05-06 10:59   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 8+ messages in thread
From: haibo.chen @ 2023-05-06  7:40 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson, linux-mmc, robh+dt,
	krzysztof.kozlowski+dt, shawnguo, s.hauer
  Cc: linux-imx, haibo.chen, kernel, festevam, cniedermaier,
	devicetree, kernel

From: Haibo Chen <haibo.chen@nxp.com>

Driver do not use this property, so remove it here.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>

---
v2:
-fix dt-binding-check issue, also remove "fsl,wp-controller" in examples.
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index fbfd822b9270..e34b4fb4778a 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -96,11 +96,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  fsl,wp-controller:
-    description: |
-      boolean, if present, indicate to use controller internal write protection.
-    type: boolean
-
   fsl,delay-line:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: |
@@ -190,7 +185,6 @@ examples:
         compatible = "fsl,imx51-esdhc";
         reg = <0x70004000 0x4000>;
         interrupts = <1>;
-        fsl,wp-controller;
     };
 
     mmc@70008000 {
-- 
2.34.1


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

end of thread, other threads:[~2023-06-08 17:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 10:12 [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller" haibo.chen
2023-05-05 17:47 ` Krzysztof Kozlowski
2023-05-06  2:37   ` Bough Chen
2023-05-06  6:36     ` Krzysztof Kozlowski
2023-05-06  7:40 [PATCH v2 0/4] cd/wp code clean up for i.MX USDHC haibo.chen
2023-05-06  7:40 ` [PATCH v2 3/4] dt-bindings: mmc: fsl-imx-esdhc: remove property "fsl,wp-controller" haibo.chen
2023-05-06 10:59   ` Krzysztof Kozlowski
2023-05-23  2:03     ` Peng Fan
2023-06-08 17:44       ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.