Received: by 10.223.185.116 with SMTP id b49csp1041083wrg; Fri, 16 Feb 2018 11:19:00 -0800 (PST) X-Google-Smtp-Source: AH8x225yQL4OSgeHJnUAyxd/yi30ngsLvdBRdC/gwQuS8t7aZPVDCc8pINbRPJY5+NMP5DTj8khI X-Received: by 2002:a17:902:7148:: with SMTP id u8-v6mr6517980plm.91.1518808740138; Fri, 16 Feb 2018 11:19:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808740; cv=none; d=google.com; s=arc-20160816; b=QzIBjcTAlVPJ+m64sif/CHa8dqXrFzotxxSe7fqsYQ1eHKrPs48nGoxkuibnDDVnO8 Fa0PVTZCKKZmkR9HworjAmJWPZsJ1cpRXZ08ZPQ8+i05eXkukLKuDgdKm9lQdAx4uUcp VUCvwlCQoOHvsnvvXQ+Sq8JKeqUWikW9SJFt7r8aocTwekfJVH1F3kNo8G1iAH6MqkxC 8am3LP7YtXQW3ukLSyCaZMvWXCjHHAlwrfPad51OHWx/ULy8B9qo96EJogxiPSdiBic8 XfO8n5j4HRvOY2gWFVPpkQu2l4tfc0+NifSmZski7gp1otL2CsRPfuKykhZDvz7+ge5w vesg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=zVzsxksJMKkLiWWL0LnBnEt1UVda9iYvosNFKsvw7mU=; b=aqDhJh9ih1s1F6NFI3kUzJX3rx22y/TzWYr7eM3nwSr8VtFfcAjLZVQ8+wlCYF1FLD HLXzh08T9GTqntFquZkOCJ1+7B/j9yAJNugEO2X0r08s9pSq2m2lKnnAAMzLfSY0vBUW otq0FyX7i90LjDugf+aIoc2vOkprWSK1JZBQFtHxaqBu/dIRqpZ3wgUfPetABCno1Ksa dB6cGLpeacguu3Ti+L8xVqpTVbuKHTf1O/lFzj4p5+bF6CGUWhw5LxC9rm7/Pe9sXmE+ On4reIV/HiaYzTGm1GPQO70m8y8bB4qIRtrlxPu2Q0+hFnRVi15JB+Td9GMVNm3ca6fQ u/0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=QFWVsXCH; 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 126si2370648pfd.48.2018.02.16.11.18.44; Fri, 16 Feb 2018 11:19:00 -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; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=QFWVsXCH; 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 S1161319AbeBPQs6 (ORCPT + 99 others); Fri, 16 Feb 2018 11:48:58 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53805 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161063AbeBPQrW (ORCPT ); Fri, 16 Feb 2018 11:47:22 -0500 Received: by mail-wm0-f65.google.com with SMTP id t74so4265269wme.3 for ; Fri, 16 Feb 2018 08:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zVzsxksJMKkLiWWL0LnBnEt1UVda9iYvosNFKsvw7mU=; b=QFWVsXCHxwQAL6ARYYyoImHEEQ63mvXxzRvhpVBfrmLlTWuiXkhe8Jev69xoEDXHkW 8nVbqK1Gc7sCT7wrA37k6sX2mlsxtifvAm7ziVRJU1y5YH6VOyrymd6YAZwpaSOYznhX 8CdvurTBlmaJ2YGGjeP0CMw9oayd1qs5hVMVzicCIxXRJc+3AoADQrBWPbJyx7YamChb krWiVln2d6k3WtEmlI1M645nG+9Rv+WapiJCRHP2sHwTaV4agLNkx+xc2p+lxNwGQzez sRH21ZSGLLVEUOXClzV1FRJe4QszohP5xXZog39FStlcLwszMt+krmRj06v+4yVwpTRq Oifw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zVzsxksJMKkLiWWL0LnBnEt1UVda9iYvosNFKsvw7mU=; b=h/ExhdwEh8zbBHPQDvcsUPwcXgWBXdkHX0hlhrFNgScd6NaKCsxtInPQncY3odctZH q8GRO6sZgaTjtrMLCeiDFzZF+z/fhPZiuAM37dHcLSOXMRjVhh12iOE9PxzFKlLvzO05 BSfFnBarzC94mknlB03eVKFFoYfvrs5OSwtmbW6C7XUa05lSY/E6+7LaUz3+/osiCT3e Nwuv0EIe5B0exfcr4u991f7111FPp008Dc0FVUvTGm0kQbhKUvWplqdl8ANFSgwfOkiN aO2XGZYq6CQHxvWQfEd1coEiyQM0lG/2RDmcw4MTtLzXT0UFFB2tRdYZQtJPmcfeml+P 9ZHQ== X-Gm-Message-State: APf1xPDrXXHqlNM4ULpfrpISHYxu9U3heMcH9s5r+H+OpjdBOMoTZJJo R4RgUPqzmEgzngaFLR3zhu33BA== X-Received: by 10.28.135.142 with SMTP id j136mr5676601wmd.33.1518799641013; Fri, 16 Feb 2018 08:47:21 -0800 (PST) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 90sm7832826wrp.2.2018.02.16.08.47.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Feb 2018 08:47:20 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, David Lechner , Bartosz Golaszewski Subject: [PATCH 2/6] ARM: davinci: update the nand driver names Date: Fri, 16 Feb 2018 17:47:08 +0100 Message-Id: <20180216164712.25898-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180216164712.25898-1-brgl@bgdev.pl> References: <20180216164712.25898-1-brgl@bgdev.pl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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, -- 2.16.1