Linux-mtd Archive on lore.kernel.org
 help / Atom feed
* [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
@ 2019-01-15  8:11 Masahiro Yamada
  2019-01-15  8:22 ` Miquel Raynal
  0 siblings, 1 reply; 11+ messages in thread
From: Masahiro Yamada @ 2019-01-15  8:11 UTC (permalink / raw)
  To: linux-mtd, Boris Brezillon, Miquel Raynal
  Cc: Masahiro Yamada, Brian Norris, linux-kernel, Marek Vasut,
	Richard Weinberger, David Woodhouse, Boris Brezillon

Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
on IP datasheet") introduced a more correct binding that requires
three named clocks.

Now that all upstream DT files migrated over to it, remove the single
anonymous clock support.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mtd/nand/raw/denali_dt.c | 27 ++++-----------------------
 1 file changed, 4 insertions(+), 23 deletions(-)

diff --git a/drivers/mtd/nand/raw/denali_dt.c b/drivers/mtd/nand/raw/denali_dt.c
index 7c6a8a4..0b5ae24 100644
--- a/drivers/mtd/nand/raw/denali_dt.c
+++ b/drivers/mtd/nand/raw/denali_dt.c
@@ -109,25 +109,17 @@ static int denali_dt_probe(struct platform_device *pdev)
 	if (IS_ERR(denali->host))
 		return PTR_ERR(denali->host);
 
-	/*
-	 * A single anonymous clock is supported for the backward compatibility.
-	 * New platforms should support all the named clocks.
-	 */
 	dt->clk = devm_clk_get(dev, "nand");
 	if (IS_ERR(dt->clk))
-		dt->clk = devm_clk_get(dev, NULL);
-	if (IS_ERR(dt->clk)) {
-		dev_err(dev, "no clk available\n");
 		return PTR_ERR(dt->clk);
-	}
 
 	dt->clk_x = devm_clk_get(dev, "nand_x");
 	if (IS_ERR(dt->clk_x))
-		dt->clk_x = NULL;
+		return PTR_ERR(dt->clk_x);
 
 	dt->clk_ecc = devm_clk_get(dev, "ecc");
 	if (IS_ERR(dt->clk_ecc))
-		dt->clk_ecc = NULL;
+		return PTR_ERR(dt->clk_ecc);
 
 	ret = clk_prepare_enable(dt->clk);
 	if (ret)
@@ -141,19 +133,8 @@ static int denali_dt_probe(struct platform_device *pdev)
 	if (ret)
 		goto out_disable_clk_x;
 
-	if (dt->clk_x) {
-		denali->clk_rate = clk_get_rate(dt->clk);
-		denali->clk_x_rate = clk_get_rate(dt->clk_x);
-	} else {
-		/*
-		 * Hardcode the clock rates for the backward compatibility.
-		 * This works for both SOCFPGA and UniPhier.
-		 */
-		dev_notice(dev,
-			   "necessary clock is missing. default clock rates are used.\n");
-		denali->clk_rate = 50000000;
-		denali->clk_x_rate = 200000000;
-	}
+	denali->clk_rate = clk_get_rate(dt->clk);
+	denali->clk_x_rate = clk_get_rate(dt->clk_x);
 
 	ret = denali_init(denali);
 	if (ret)
-- 
2.7.4

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-15  8:11 [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support Masahiro Yamada
@ 2019-01-15  8:22 ` Miquel Raynal
  2019-01-16  1:27   ` Masahiro Yamada
  0 siblings, 1 reply; 11+ messages in thread
From: Miquel Raynal @ 2019-01-15  8:22 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: linux-mtd, Boris Brezillon, Brian Norris, linux-kernel,
	Marek Vasut, Richard Weinberger, David Woodhouse,
	Boris Brezillon

Hi Masahiro,

Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
2019 17:11:34 +0900:

> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> on IP datasheet") introduced a more correct binding that requires
> three named clocks.
> 
> Now that all upstream DT files migrated over to it, remove the single
> anonymous clock support.

I would love to do that but I think this is against the "DT backward
compatibility rule". Anyway, IIRC it is accepted that this kind of
rule might be broken if decided per the arch-maintainer (in this
case, you I suppose). So if this is really what you want, I'll queue
it.


Thanks,
Miquèl

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-15  8:22 ` Miquel Raynal
@ 2019-01-16  1:27   ` Masahiro Yamada
  2019-01-21  9:11     ` Miquel Raynal
  2019-01-28 10:20     ` Miquel Raynal
  0 siblings, 2 replies; 11+ messages in thread
From: Masahiro Yamada @ 2019-01-16  1:27 UTC (permalink / raw)
  To: Miquel Raynal
  Cc: Marek Vasut, Richard Weinberger, Boris Brezillon,
	Linux Kernel Mailing List, Boris Brezillon, linux-mtd,
	Brian Norris, David Woodhouse, Dinh Nguyen

(+CC Dinh Nguyen)

On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
>
> Hi Masahiro,
>
> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> 2019 17:11:34 +0900:
>
> > Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> > on IP datasheet") introduced a more correct binding that requires
> > three named clocks.
> >
> > Now that all upstream DT files migrated over to it, remove the single
> > anonymous clock support.
>
> I would love to do that but I think this is against the "DT backward
> compatibility rule".

Yeah, I know this rule, but we break DT binding from time to time.



> Anyway, IIRC it is accepted that this kind of
> rule might be broken if decided per the arch-maintainer (in this
> case, you I suppose). So if this is really what you want, I'll queue
> it.

My platform is fine, but this driver is used by SOCFPGA boards as well.

I CCed the SOCFPGA maintainer, Dinh Nguyen.



-- 
Best Regards
Masahiro Yamada

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-16  1:27   ` Masahiro Yamada
@ 2019-01-21  9:11     ` Miquel Raynal
  2019-01-28 10:20     ` Miquel Raynal
  1 sibling, 0 replies; 11+ messages in thread
From: Miquel Raynal @ 2019-01-21  9:11 UTC (permalink / raw)
  To: Dinh Nguyen
  Cc: Boris Brezillon, Richard Weinberger, Boris Brezillon,
	Linux Kernel Mailing List, Masahiro Yamada, linux-mtd,
	Brian Norris, David Woodhouse, Marek Vasut

Hi Dinh,

Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
2019 10:27:11 +0900:

> (+CC Dinh Nguyen)
> 
> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
> >
> > Hi Masahiro,
> >
> > Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> > 2019 17:11:34 +0900:
> >  
> > > Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> > > on IP datasheet") introduced a more correct binding that requires
> > > three named clocks.
> > >
> > > Now that all upstream DT files migrated over to it, remove the single
> > > anonymous clock support.  
> >
> > I would love to do that but I think this is against the "DT backward
> > compatibility rule".  
> 
> Yeah, I know this rule, but we break DT binding from time to time.
> 
> 
> 
> > Anyway, IIRC it is accepted that this kind of
> > rule might be broken if decided per the arch-maintainer (in this
> > case, you I suppose). So if this is really what you want, I'll queue
> > it.  
> 
> My platform is fine, but this driver is used by SOCFPGA boards as well.
> 
> I CCed the SOCFPGA maintainer, Dinh Nguyen.
> 

Can you please share your thoughts on this topic please?


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-16  1:27   ` Masahiro Yamada
  2019-01-21  9:11     ` Miquel Raynal
@ 2019-01-28 10:20     ` Miquel Raynal
  2019-01-30 16:20       ` Dinh Nguyen
  2019-01-31 17:24       ` Dinh Nguyen
  1 sibling, 2 replies; 11+ messages in thread
From: Miquel Raynal @ 2019-01-28 10:20 UTC (permalink / raw)
  To: Richard Weinberger, Dinh Nguyen
  Cc: Boris Brezillon, Boris Brezillon, Linux Kernel Mailing List,
	Masahiro Yamada, linux-mtd, Brian Norris, David Woodhouse,
	Marek Vasut

Hi Dinh,

Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
2019 10:27:11 +0900:

> (+CC Dinh Nguyen)
> 
> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
> >
> > Hi Masahiro,
> >
> > Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> > 2019 17:11:34 +0900:
> >  
> > > Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> > > on IP datasheet") introduced a more correct binding that requires
> > > three named clocks.
> > >
> > > Now that all upstream DT files migrated over to it, remove the single
> > > anonymous clock support.  
> >
> > I would love to do that but I think this is against the "DT backward
> > compatibility rule".  
> 
> Yeah, I know this rule, but we break DT binding from time to time.
> 
> 
> 
> > Anyway, IIRC it is accepted that this kind of
> > rule might be broken if decided per the arch-maintainer (in this
> > case, you I suppose). So if this is really what you want, I'll queue
> > it.  
> 
> My platform is fine, but this driver is used by SOCFPGA boards as well.
> 
> I CCed the SOCFPGA maintainer, Dinh Nguyen.
> 

Gentle ping on this topic.


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-28 10:20     ` Miquel Raynal
@ 2019-01-30 16:20       ` Dinh Nguyen
  2019-01-31 17:24       ` Dinh Nguyen
  1 sibling, 0 replies; 11+ messages in thread
From: Dinh Nguyen @ 2019-01-30 16:20 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger
  Cc: Boris Brezillon, Boris Brezillon, Linux Kernel Mailing List,
	Masahiro Yamada, linux-mtd, Brian Norris, David Woodhouse,
	Marek Vasut

Hi Miquel,

Let me review this today.

Thanks,
Dinh

On 1/28/19 4:20 AM, Miquel Raynal wrote:
> Hi Dinh,
> 
> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
> 2019 10:27:11 +0900:
> 
>> (+CC Dinh Nguyen)
>>
>> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
>>>
>>> Hi Masahiro,
>>>
>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
>>> 2019 17:11:34 +0900:
>>>  
>>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
>>>> on IP datasheet") introduced a more correct binding that requires
>>>> three named clocks.
>>>>
>>>> Now that all upstream DT files migrated over to it, remove the single
>>>> anonymous clock support.  
>>>
>>> I would love to do that but I think this is against the "DT backward
>>> compatibility rule".  
>>
>> Yeah, I know this rule, but we break DT binding from time to time.
>>
>>
>>
>>> Anyway, IIRC it is accepted that this kind of
>>> rule might be broken if decided per the arch-maintainer (in this
>>> case, you I suppose). So if this is really what you want, I'll queue
>>> it.  
>>
>> My platform is fine, but this driver is used by SOCFPGA boards as well.
>>
>> I CCed the SOCFPGA maintainer, Dinh Nguyen.
>>
> 
> Gentle ping on this topic.
> 
> 
> Thanks,
> Miquèl
> 

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-28 10:20     ` Miquel Raynal
  2019-01-30 16:20       ` Dinh Nguyen
@ 2019-01-31 17:24       ` Dinh Nguyen
  2019-01-31 17:26         ` Boris Brezillon
  1 sibling, 1 reply; 11+ messages in thread
From: Dinh Nguyen @ 2019-01-31 17:24 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger
  Cc: Boris Brezillon, Boris Brezillon, Linux Kernel Mailing List,
	Masahiro Yamada, linux-mtd, Brian Norris, David Woodhouse,
	Marek Vasut



On 1/28/19 4:20 AM, Miquel Raynal wrote:
> Hi Dinh,
> 
> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
> 2019 10:27:11 +0900:
> 
>> (+CC Dinh Nguyen)
>>
>> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:
>>>
>>> Hi Masahiro,
>>>
>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
>>> 2019 17:11:34 +0900:
>>>  
>>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
>>>> on IP datasheet") introduced a more correct binding that requires
>>>> three named clocks.
>>>>
>>>> Now that all upstream DT files migrated over to it, remove the single
>>>> anonymous clock support.  
>>>
>>> I would love to do that but I think this is against the "DT backward
>>> compatibility rule".  
>>
>> Yeah, I know this rule, but we break DT binding from time to time.
>>
>>
>>
>>> Anyway, IIRC it is accepted that this kind of
>>> rule might be broken if decided per the arch-maintainer (in this
>>> case, you I suppose). So if this is really what you want, I'll queue
>>> it.  
>>
>> My platform is fine, but this driver is used by SOCFPGA boards as well.
>>
>> I CCed the SOCFPGA maintainer, Dinh Nguyen.
>>
> 
> Gentle ping on this topic.
> 

This patch looks fine to be. Feel free to add:

Tested-by: Dinh Nguyen <dinguyen@kernel.org>

Dinh

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-31 17:24       ` Dinh Nguyen
@ 2019-01-31 17:26         ` Boris Brezillon
  2019-02-05 13:18           ` Miquel Raynal
  0 siblings, 1 reply; 11+ messages in thread
From: Boris Brezillon @ 2019-01-31 17:26 UTC (permalink / raw)
  To: Dinh Nguyen
  Cc: Boris Brezillon, Richard Weinberger, Linux Kernel Mailing List,
	Masahiro Yamada, linux-mtd, Miquel Raynal, Brian Norris,
	David Woodhouse, Marek Vasut

Hi Dinh,

On Thu, 31 Jan 2019 11:24:16 -0600
Dinh Nguyen <dinguyen@kernel.org> wrote:

> On 1/28/19 4:20 AM, Miquel Raynal wrote:
> > Hi Dinh,
> > 
> > Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
> > 2019 10:27:11 +0900:
> >   
> >> (+CC Dinh Nguyen)
> >>
> >> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:  
> >>>
> >>> Hi Masahiro,
> >>>
> >>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> >>> 2019 17:11:34 +0900:
> >>>    
> >>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> >>>> on IP datasheet") introduced a more correct binding that requires
> >>>> three named clocks.
> >>>>
> >>>> Now that all upstream DT files migrated over to it, remove the single
> >>>> anonymous clock support.    
> >>>
> >>> I would love to do that but I think this is against the "DT backward
> >>> compatibility rule".    
> >>
> >> Yeah, I know this rule, but we break DT binding from time to time.
> >>
> >>
> >>  
> >>> Anyway, IIRC it is accepted that this kind of
> >>> rule might be broken if decided per the arch-maintainer (in this
> >>> case, you I suppose). So if this is really what you want, I'll queue
> >>> it.    
> >>
> >> My platform is fine, but this driver is used by SOCFPGA boards as well.
> >>
> >> I CCed the SOCFPGA maintainer, Dinh Nguyen.
> >>  
> > 
> > Gentle ping on this topic.
> >   
> 
> This patch looks fine to be. Feel free to add:
> 
> Tested-by: Dinh Nguyen <dinguyen@kernel.org>

I think Miquel is waiting for an Acked-by to confirm that you're okay
breaking backward compat with old DT.

Regards,

Boris

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-01-31 17:26         ` Boris Brezillon
@ 2019-02-05 13:18           ` Miquel Raynal
  2019-02-07 18:17             ` Dinh Nguyen
  0 siblings, 1 reply; 11+ messages in thread
From: Miquel Raynal @ 2019-02-05 13:18 UTC (permalink / raw)
  To: Boris Brezillon
  Cc: Dinh Nguyen, Richard Weinberger, Boris Brezillon,
	Linux Kernel Mailing List, Masahiro Yamada, linux-mtd,
	Brian Norris, David Woodhouse, Marek Vasut

Hi Dinh,

Boris Brezillon <bbrezillon@kernel.org> wrote on Thu, 31 Jan 2019
18:26:44 +0100:

> Hi Dinh,
> 
> On Thu, 31 Jan 2019 11:24:16 -0600
> Dinh Nguyen <dinguyen@kernel.org> wrote:
> 
> > On 1/28/19 4:20 AM, Miquel Raynal wrote:  
> > > Hi Dinh,
> > > 
> > > Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
> > > 2019 10:27:11 +0900:
> > >     
> > >> (+CC Dinh Nguyen)
> > >>
> > >> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:    
> > >>>
> > >>> Hi Masahiro,
> > >>>
> > >>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> > >>> 2019 17:11:34 +0900:
> > >>>      
> > >>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> > >>>> on IP datasheet") introduced a more correct binding that requires
> > >>>> three named clocks.
> > >>>>
> > >>>> Now that all upstream DT files migrated over to it, remove the single
> > >>>> anonymous clock support.      
> > >>>
> > >>> I would love to do that but I think this is against the "DT backward
> > >>> compatibility rule".      
> > >>
> > >> Yeah, I know this rule, but we break DT binding from time to time.
> > >>
> > >>
> > >>    
> > >>> Anyway, IIRC it is accepted that this kind of
> > >>> rule might be broken if decided per the arch-maintainer (in this
> > >>> case, you I suppose). So if this is really what you want, I'll queue
> > >>> it.      
> > >>
> > >> My platform is fine, but this driver is used by SOCFPGA boards as well.
> > >>
> > >> I CCed the SOCFPGA maintainer, Dinh Nguyen.
> > >>    
> > > 
> > > Gentle ping on this topic.
> > >     
> > 
> > This patch looks fine to be. Feel free to add:
> > 
> > Tested-by: Dinh Nguyen <dinguyen@kernel.org>  
> 
> I think Miquel is waiting for an Acked-by to confirm that you're okay
> breaking backward compat with old DT.

Yes, I am waiting for your Acked-by.


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-02-05 13:18           ` Miquel Raynal
@ 2019-02-07 18:17             ` Dinh Nguyen
  2019-02-07 22:20               ` Miquel Raynal
  0 siblings, 1 reply; 11+ messages in thread
From: Dinh Nguyen @ 2019-02-07 18:17 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon
  Cc: Marek Vasut, Masahiro Yamada, Richard Weinberger,
	Linux Kernel Mailing List, Boris Brezillon, linux-mtd,
	Brian Norris, David Woodhouse



On 2/5/19 7:18 AM, Miquel Raynal wrote:
> Hi Dinh,
> 
> Boris Brezillon <bbrezillon@kernel.org> wrote on Thu, 31 Jan 2019
> 18:26:44 +0100:
> 
>> Hi Dinh,
>>
>> On Thu, 31 Jan 2019 11:24:16 -0600
>> Dinh Nguyen <dinguyen@kernel.org> wrote:
>>
>>> On 1/28/19 4:20 AM, Miquel Raynal wrote:  
>>>> Hi Dinh,
>>>>
>>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
>>>> 2019 10:27:11 +0900:
>>>>     
>>>>> (+CC Dinh Nguyen)
>>>>>
>>>>> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:    
>>>>>>
>>>>>> Hi Masahiro,
>>>>>>
>>>>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
>>>>>> 2019 17:11:34 +0900:
>>>>>>      
>>>>>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
>>>>>>> on IP datasheet") introduced a more correct binding that requires
>>>>>>> three named clocks.
>>>>>>>
>>>>>>> Now that all upstream DT files migrated over to it, remove the single
>>>>>>> anonymous clock support.      
>>>>>>
>>>>>> I would love to do that but I think this is against the "DT backward
>>>>>> compatibility rule".      
>>>>>
>>>>> Yeah, I know this rule, but we break DT binding from time to time.
>>>>>
>>>>>
>>>>>    
>>>>>> Anyway, IIRC it is accepted that this kind of
>>>>>> rule might be broken if decided per the arch-maintainer (in this
>>>>>> case, you I suppose). So if this is really what you want, I'll queue
>>>>>> it.      
>>>>>
>>>>> My platform is fine, but this driver is used by SOCFPGA boards as well.
>>>>>
>>>>> I CCed the SOCFPGA maintainer, Dinh Nguyen.
>>>>>    
>>>>
>>>> Gentle ping on this topic.
>>>>     
>>>
>>> This patch looks fine to be. Feel free to add:
>>>
>>> Tested-by: Dinh Nguyen <dinguyen@kernel.org>  
>>
>> I think Miquel is waiting for an Acked-by to confirm that you're okay
>> breaking backward compat with old DT.
> 
> Yes, I am waiting for your Acked-by.
> 
> 

Acked-by: Dinh Nguyen <dinguyen@kernel.org>

Dinh

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support
  2019-02-07 18:17             ` Dinh Nguyen
@ 2019-02-07 22:20               ` Miquel Raynal
  0 siblings, 0 replies; 11+ messages in thread
From: Miquel Raynal @ 2019-02-07 22:20 UTC (permalink / raw)
  To: Dinh Nguyen
  Cc: Boris Brezillon, Richard Weinberger, Boris Brezillon,
	Linux Kernel Mailing List, Masahiro Yamada, linux-mtd,
	Brian Norris, David Woodhouse, Marek Vasut

Hi Dinh,

Dinh Nguyen <dinguyen@kernel.org> wrote on Thu, 7 Feb 2019 12:17:50
-0600:

> On 2/5/19 7:18 AM, Miquel Raynal wrote:
> > Hi Dinh,
> > 
> > Boris Brezillon <bbrezillon@kernel.org> wrote on Thu, 31 Jan 2019
> > 18:26:44 +0100:
> >   
> >> Hi Dinh,
> >>
> >> On Thu, 31 Jan 2019 11:24:16 -0600
> >> Dinh Nguyen <dinguyen@kernel.org> wrote:
> >>  
> >>> On 1/28/19 4:20 AM, Miquel Raynal wrote:    
> >>>> Hi Dinh,
> >>>>
> >>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Wed, 16 Jan
> >>>> 2019 10:27:11 +0900:
> >>>>       
> >>>>> (+CC Dinh Nguyen)
> >>>>>
> >>>>> On Tue, Jan 15, 2019 at 5:22 PM Miquel Raynal <miquel.raynal@bootlin.com> wrote:      
> >>>>>>
> >>>>>> Hi Masahiro,
> >>>>>>
> >>>>>> Masahiro Yamada <yamada.masahiro@socionext.com> wrote on Tue, 15 Jan
> >>>>>> 2019 17:11:34 +0900:
> >>>>>>        
> >>>>>>> Commit 6f1fe97bec34 ("mtd: rawnand: denali_dt: add more clocks based
> >>>>>>> on IP datasheet") introduced a more correct binding that requires
> >>>>>>> three named clocks.
> >>>>>>>
> >>>>>>> Now that all upstream DT files migrated over to it, remove the single
> >>>>>>> anonymous clock support.        
> >>>>>>
> >>>>>> I would love to do that but I think this is against the "DT backward
> >>>>>> compatibility rule".        
> >>>>>
> >>>>> Yeah, I know this rule, but we break DT binding from time to time.
> >>>>>
> >>>>>
> >>>>>      
> >>>>>> Anyway, IIRC it is accepted that this kind of
> >>>>>> rule might be broken if decided per the arch-maintainer (in this
> >>>>>> case, you I suppose). So if this is really what you want, I'll queue
> >>>>>> it.        
> >>>>>
> >>>>> My platform is fine, but this driver is used by SOCFPGA boards as well.
> >>>>>
> >>>>> I CCed the SOCFPGA maintainer, Dinh Nguyen.
> >>>>>      
> >>>>
> >>>> Gentle ping on this topic.
> >>>>       
> >>>
> >>> This patch looks fine to be. Feel free to add:
> >>>
> >>> Tested-by: Dinh Nguyen <dinguyen@kernel.org>    
> >>
> >> I think Miquel is waiting for an Acked-by to confirm that you're okay
> >> breaking backward compat with old DT.  
> > 
> > Yes, I am waiting for your Acked-by.
> > 
> >   
> 
> Acked-by: Dinh Nguyen <dinguyen@kernel.org>
> 
> Dinh

Applied to nand/next.


Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, back to index

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15  8:11 [PATCH] mtd: rawnand: denali_dt: remove single anonymous clock support Masahiro Yamada
2019-01-15  8:22 ` Miquel Raynal
2019-01-16  1:27   ` Masahiro Yamada
2019-01-21  9:11     ` Miquel Raynal
2019-01-28 10:20     ` Miquel Raynal
2019-01-30 16:20       ` Dinh Nguyen
2019-01-31 17:24       ` Dinh Nguyen
2019-01-31 17:26         ` Boris Brezillon
2019-02-05 13:18           ` Miquel Raynal
2019-02-07 18:17             ` Dinh Nguyen
2019-02-07 22:20               ` Miquel Raynal

Linux-mtd Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mtd/0 linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ https://lore.kernel.org/linux-mtd \
		linux-mtd@lists.infradead.org linux-mtd@archiver.kernel.org
	public-inbox-index linux-mtd


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-mtd


AGPL code for this site: git clone https://public-inbox.org/ public-inbox