linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: boris.brezillon@bootlin.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM: davinci: update the nand driver names
Date: Fri, 16 Feb 2018 19:33:07 +0100	[thread overview]
Message-ID: <20180216193307.3c4372d8@bbrezillon> (raw)
In-Reply-To: <20180216164712.25898-3-brgl@bgdev.pl>

On Fri, 16 Feb 2018 17:47:08 +0100
Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> Since commit d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock
> lookup table") we can no longer correctly lookup the nand clock when
> booting in legacy mode. Said commit added a dev_id to the nand clock
> which must match and it doesn't correspond with the device name which
> is "davinci_nand" instead of "davinci-nand".
> 
> The driver name has been changed. Update the board files.

Should be squashed in patch 1, otherwise your patch series is not
bisectable.

> 
> Fixes: d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock lookup table")
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> ---
>  arch/arm/mach-davinci/board-da830-evm.c     | 2 +-
>  arch/arm/mach-davinci/board-da850-evm.c     | 2 +-
>  arch/arm/mach-davinci/board-dm355-evm.c     | 2 +-
>  arch/arm/mach-davinci/board-dm355-leopard.c | 2 +-
>  arch/arm/mach-davinci/board-dm365-evm.c     | 2 +-
>  arch/arm/mach-davinci/board-dm644x-evm.c    | 2 +-
>  arch/arm/mach-davinci/board-dm646x-evm.c    | 2 +-
>  arch/arm/mach-davinci/board-mityomapl138.c  | 2 +-
>  arch/arm/mach-davinci/board-neuros-osd2.c   | 2 +-
>  arch/arm/mach-davinci/board-sffsdr.c        | 2 +-
>  10 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c
> index f673cd7a6766..f8838c7b174b 100644
> --- a/arch/arm/mach-davinci/board-da830-evm.c
> +++ b/arch/arm/mach-davinci/board-da830-evm.c
> @@ -348,7 +348,7 @@ static struct resource da830_evm_nand_resources[] = {
>  };
>  
>  static struct platform_device da830_evm_nand_device = {
> -	.name		= "davinci_nand",
> +	.name		= "davinci-nand",
>  	.id		= 1,
>  	.dev		= {
>  		.platform_data	= &da830_evm_nand_pdata,
> diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
> index d898a94f6eae..828194045a2b 100644
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -266,7 +266,7 @@ static struct resource da850_evm_nandflash_resource[] = {
>  };
>  
>  static struct platform_device da850_evm_nandflash_device = {
> -	.name		= "davinci_nand",
> +	.name		= "davinci-nand",
>  	.id		= 1,
>  	.dev		= {
>  		.platform_data	= &da850_evm_nandflash_data,
> diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c
> index e457f299cd44..58ca7f56e112 100644
> --- a/arch/arm/mach-davinci/board-dm355-evm.c
> +++ b/arch/arm/mach-davinci/board-dm355-evm.c
> @@ -98,7 +98,7 @@ static struct resource davinci_nand_resources[] = {
>  };
>  
>  static struct platform_device davinci_nand_device = {
> -	.name			= "davinci_nand",
> +	.name			= "davinci-nand",
>  	.id			= 0,
>  
>  	.num_resources		= ARRAY_SIZE(davinci_nand_resources),
> diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
> index be997243447b..196238117f9a 100644
> --- a/arch/arm/mach-davinci/board-dm355-leopard.c
> +++ b/arch/arm/mach-davinci/board-dm355-leopard.c
> @@ -93,7 +93,7 @@ static struct resource davinci_nand_resources[] = {
>  };
>  
>  static struct platform_device davinci_nand_device = {
> -	.name			= "davinci_nand",
> +	.name			= "davinci-nand",
>  	.id			= 0,
>  
>  	.num_resources		= ARRAY_SIZE(davinci_nand_resources),
> diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
> index e75741fb2c1d..563d66df480b 100644
> --- a/arch/arm/mach-davinci/board-dm365-evm.c
> +++ b/arch/arm/mach-davinci/board-dm365-evm.c
> @@ -159,7 +159,7 @@ static struct resource davinci_nand_resources[] = {
>  };
>  
>  static struct platform_device davinci_nand_device = {
> -	.name			= "davinci_nand",
> +	.name			= "davinci-nand",
>  	.id			= 0,
>  	.num_resources		= ARRAY_SIZE(davinci_nand_resources),
>  	.resource		= davinci_nand_resources,
> diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
> index 85e6fb33b1ee..e42ae2163c75 100644
> --- a/arch/arm/mach-davinci/board-dm644x-evm.c
> +++ b/arch/arm/mach-davinci/board-dm644x-evm.c
> @@ -173,7 +173,7 @@ static struct resource davinci_evm_nandflash_resource[] = {
>  };
>  
>  static struct platform_device davinci_evm_nandflash_device = {
> -	.name		= "davinci_nand",
> +	.name		= "davinci-nand",
>  	.id		= 0,
>  	.dev		= {
>  		.platform_data	= &davinci_evm_nandflash_data,
> diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c
> index cb0a41e83582..614dd211e6fc 100644
> --- a/arch/arm/mach-davinci/board-dm646x-evm.c
> +++ b/arch/arm/mach-davinci/board-dm646x-evm.c
> @@ -108,7 +108,7 @@ static struct resource davinci_nand_resources[] = {
>  };
>  
>  static struct platform_device davinci_nand_device = {
> -	.name			= "davinci_nand",
> +	.name			= "davinci-nand",
>  	.id			= 0,
>  
>  	.num_resources		= ARRAY_SIZE(davinci_nand_resources),
> diff --git a/arch/arm/mach-davinci/board-mityomapl138.c b/arch/arm/mach-davinci/board-mityomapl138.c
> index b73ce7bae81f..bf3659a21897 100644
> --- a/arch/arm/mach-davinci/board-mityomapl138.c
> +++ b/arch/arm/mach-davinci/board-mityomapl138.c
> @@ -422,7 +422,7 @@ static struct resource mityomapl138_nandflash_resource[] = {
>  };
>  
>  static struct platform_device mityomapl138_nandflash_device = {
> -	.name		= "davinci_nand",
> +	.name		= "davinci-nand",
>  	.id		= 1,
>  	.dev		= {
>  		.platform_data	= &mityomapl138_nandflash_data,
> diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c
> index 4da210a1a110..04132494a7c9 100644
> --- a/arch/arm/mach-davinci/board-neuros-osd2.c
> +++ b/arch/arm/mach-davinci/board-neuros-osd2.c
> @@ -107,7 +107,7 @@ static struct resource davinci_ntosd2_nandflash_resource[] = {
>  };
>  
>  static struct platform_device davinci_ntosd2_nandflash_device = {
> -	.name		= "davinci_nand",
> +	.name		= "davinci-nand",
>  	.id		= 0,
>  	.dev		= {
>  		.platform_data	= &davinci_ntosd2_nandflash_data,
> diff --git a/arch/arm/mach-davinci/board-sffsdr.c b/arch/arm/mach-davinci/board-sffsdr.c
> index d85accf7f760..c8569c8aa6e3 100644
> --- a/arch/arm/mach-davinci/board-sffsdr.c
> +++ b/arch/arm/mach-davinci/board-sffsdr.c
> @@ -83,7 +83,7 @@ static struct resource davinci_sffsdr_nandflash_resource[] = {
>  };
>  
>  static struct platform_device davinci_sffsdr_nandflash_device = {
> -	.name		= "davinci_nand", /* Name of driver */
> +	.name		= "davinci-nand", /* Name of driver */
>  	.id		= 0,
>  	.dev		= {
>  		.platform_data	= &davinci_sffsdr_nandflash_data,



-- 
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

  reply	other threads:[~2018-02-16 18:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 16:47 [PATCH 0/6] ARM: davinci: remove the mach-specific aemif driver - part 1 Bartosz Golaszewski
2018-02-16 16:47 ` [PATCH 1/6] nand: davinci: rename the platform driver Bartosz Golaszewski
2018-02-16 18:31   ` Boris Brezillon
2018-02-16 19:19   ` Boris Brezillon
2018-02-16 19:22     ` David Lechner
2018-02-19 10:55       ` Bartosz Golaszewski
2018-02-16 16:47 ` [PATCH 2/6] ARM: davinci: update the nand driver names Bartosz Golaszewski
2018-02-16 18:33   ` Boris Brezillon [this message]
2018-02-16 18:41     ` Boris Brezillon
2018-02-16 19:14   ` David Lechner
2018-02-16 19:22     ` Boris Brezillon
2018-02-16 16:47 ` [PATCH 3/6] memory: aemif: don't rely on kbuild for driver's name Bartosz Golaszewski
2018-02-16 16:47 ` [PATCH 4/6] memory: aemif: add support for board files Bartosz Golaszewski
2018-02-16 16:47 ` [PATCH 5/6] ARM: davinci: add aemif & nand support to da850-lcdk in legacy mode Bartosz Golaszewski
2018-02-16 16:47 ` [PATCH 6/6] ARM: davinci: use aemif platform driver in legacy mode for da850-evm Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180216193307.3c4372d8@bbrezillon \
    --to=boris.brezillon@bootlin.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).