Received: by 10.223.185.116 with SMTP id b49csp1046024wrg; Fri, 16 Feb 2018 11:24:51 -0800 (PST) X-Google-Smtp-Source: AH8x2261xqVA0+1qyUVhzRcLnOXXHJJdL7ejBXnvxPEHNlewlBVSoFdmOLky8LBLHeIPCLIlrkxw X-Received: by 10.98.163.207 with SMTP id q76mr2353328pfl.49.1518809091629; Fri, 16 Feb 2018 11:24:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518809091; cv=none; d=google.com; s=arc-20160816; b=F+Uf/ZJysfiYAr4kSgae0XByjsS8ROc4SnidSGqa/J5sDecVkz71PPoKzNbJeZYZa9 GIRJ2aPkuJ2Mgn51yRxpshJWMcR9QN+K6V9POKjjhMjBlqWpu+cBmU3qCYcW9pNwfG4r lrFIH6iBlNhSWYp48zZ+2gApa7h3NZ0AOM3Bn2xlQ2JTi8l6YAexirm8tTbOo7PAxGZv B8dcNIbDixVoUVcSnrJFXXdfdzoKezBbsK0+yWIJKqSNTyWVrqPTH8qfxblc8XcPT08U N23n+TnogZH13bYSsuPDm8nI6oSAOttYrjGJpn6PyBK5QumS97D4HU7uKFyvK71Ru+e5 p3eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=Dmm/IlMgwdxYLEwcyc8OkHTIdnk4FhyheRVHNIRUWMo=; b=a6udTj5nE1sM7vC97R9OC0vVxDMQQ0Q0ZwZWHOyMXzAWgEAzfT39n0zvwv5B6JBUDS WJ368NdpAMG9Q43fAhtVgGNlRT1PZQ8FiG7NRwAe3RSoK/VUWNldyFDhkfYZI/FmWlxJ 80czH90G8zzYQZ1I4YuuYTizCNgvWnLxOhvxhyBPf0tmCTsj2yOx8V8onurDisOOjftX aRDhhkYUsrrXShy0bmmpR10IDTspF3mN+pB8XWzPgNBFqVMtbStS6jAlVyMSQYkaXKKB LulApJD/w9o/nJXao7XxuqN1Ghc68QNYjFMeNwi7b64QXPG5TlNw4S6iEhhmQa3eIREj +Jfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si371196plk.706.2018.02.16.11.24.36; Fri, 16 Feb 2018 11:24:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753046AbeBPSlu (ORCPT + 99 others); Fri, 16 Feb 2018 13:41:50 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:59739 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbeBPSls (ORCPT ); Fri, 16 Feb 2018 13:41:48 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 82F6C20650; Fri, 16 Feb 2018 19:41:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.free-electrons.com (Postfix) with ESMTPSA id 10CB92039F; Fri, 16 Feb 2018 19:41:46 +0100 (CET) Date: Fri, 16 Feb 2018 19:41:46 +0100 From: Boris Brezillon To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, David Lechner , Bartosz Golaszewski Subject: Re: [PATCH 2/6] ARM: davinci: update the nand driver names Message-ID: <20180216194146.4131dc12@bbrezillon> In-Reply-To: <20180216193307.3c4372d8@bbrezillon> References: <20180216164712.25898-1-brgl@bgdev.pl> <20180216164712.25898-3-brgl@bgdev.pl> <20180216193307.3c4372d8@bbrezillon> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Feb 2018 19:33:07 +0100 Boris Brezillon wrote: > On Fri, 16 Feb 2018 17:47:08 +0100 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > 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. > Okay, after reading the commit message a second time it seems bisectability is already broken anyway :-). > > > > Fixes: d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock lookup table") > > Signed-off-by: Bartosz Golaszewski > > --- > > 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