From patchwork Thu Oct 15 06:47:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "bhupesh.sharma@freescale.com" X-Patchwork-Id: 7403061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A034BEEA4 for ; Thu, 15 Oct 2015 07:05:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6AA6B20681 for ; Thu, 15 Oct 2015 07:05:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DE2720675 for ; Thu, 15 Oct 2015 07:05:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmcaD-0006xA-Dd; Thu, 15 Oct 2015 07:04:13 +0000 Received: from mail-bn1bon0146.outbound.protection.outlook.com ([157.56.111.146] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zmca9-0006p9-7G for linux-arm-kernel@lists.infradead.org; Thu, 15 Oct 2015 07:04:10 +0000 Received: from BN3PR0301CA0058.namprd03.prod.outlook.com (10.160.152.154) by CY1PR0301MB1305.namprd03.prod.outlook.com (10.161.212.15) with Microsoft SMTP Server (TLS) id 15.1.300.14; Thu, 15 Oct 2015 07:03:46 +0000 Received: from BN1AFFO11FD023.protection.gbl (2a01:111:f400:7c10::118) by BN3PR0301CA0058.outlook.office365.com (2a01:111:e400:401e::26) with Microsoft SMTP Server (TLS) id 15.1.300.14 via Frontend Transport; Thu, 15 Oct 2015 07:03:45 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD023.mail.protection.outlook.com (10.58.52.83) with Microsoft SMTP Server (TLS) id 15.1.293.9 via Frontend Transport; Thu, 15 Oct 2015 07:03:45 +0000 Received: from localhost.localdomain ([10.214.249.140]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t9F726jp013518; Thu, 15 Oct 2015 00:03:38 -0700 From: Bhupesh Sharma To: , , , , , Subject: [PATCH v3 01/12] arm64: Use generic Layerscape SoC family naming Date: Thu, 15 Oct 2015 12:17:41 +0530 Message-ID: <1444891672-32117-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1444891672-32117-1-git-send-email-bhupesh.sharma@freescale.com> References: <1444891672-32117-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD023; 1:fzLEkkyhat4NMedd9j9Faq2iLdf48SteuJG85zekdp4ZqFOQQDjjI10ZzZmaRn1jVJ4sPoKCmUhkfF3X8VvvogIDafANy8pwLVutOMz9r77AvEVL8+xuZ5VtY29AOsrCBJYFJ4k5axF7U5FwxaMrv1b17rABIrfoo4qcSmru1TL8qLysQZYmkqqTnmrTT4HJjBOnIw8rjyjmeyBVv7/Gv5pPAMjBh69dpDBoSKEFzQU18eVxLeTLvyujLMmH4T0i91jfSVFu/0UM5DsxYWPhXgnAmNEhmlagCg4nEeFrG3DS0gZyRgN7SxMW8BJYvi4ci811FR0LsOm+hXXpmbztjVAI/m/7VkvpE/wiaDcQMhP/v/ueVBd3xQOrXnT/pYfQwV0pbotWEfPDmbH648zD9w== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(229853001)(86362001)(2201001)(5003940100001)(107886002)(49486002)(5001770100001)(85426001)(76176999)(189998001)(81156007)(87936001)(33646002)(6806005)(5001960100002)(50986999)(104016004)(5007970100001)(77096005)(2950100001)(11100500001)(92566002)(106466001)(5008740100001)(97736004)(50226001)(48376002)(50466002)(19580395003)(47776003)(46102003)(36756003)(64706001)(105606002)(19580405001)(69596002)(41533002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1305; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1305; 2:3bJZFS5OB5y/XWApRt8JyHbWT0YVOgvkTsN6G3tb5DIJ+OLTG6/1FYiy26MzbcAVW3Y+oHlKfqU6bpr+R8pidLHeVNxW56VtjD9rz8/Wbrr++X6DM3V1kd7gB7bt4yt7i6/vs5yv1HsshT9+oXvbIlx6dACwNRweAcxSSv3V8RA=; 3:fv03QPyeggw8LiovUDEHAEvxLOZjU/EzK1trGXkq8LruY1EEZga05PNbo4GoGkJH9SNgenp9EBTu6uvmGvtKAnWUnb3Lhvc554GGadOhUr6ZElZNmgaGQUldj3TtLx77Qkw7VmM58N7YTbNhmfVRzrkeQJMHqc3C7filVpO8NA3xZTP38mjpeGXWFAD25oTFtzQ4Kv761mdUi8Vf3JDmrCl+3fjS9HZHvlpzguhGqYM=; 25:U+0nwaXhD8dJ+po0/T8GIXs0mR1rMS3SmOPOZHyNhZH/PWWJ5/5eQXjTQ56Sg8a+VT/sHKcy2z56o0Dr/1pYnrow8Wi3M0vmOBusE1HvYPrzqjvAku2kXTlovVyrYRy5AIsFVJYPySiPUmTLB2p5VCr2gUQZ6q0vUIWoYLIQ4ywx3yC5fLjaq+yLhH3eym6Fw5FfahbdUDoYUIplNxVwiv2CRc9EE0mt6HH8aC25lIFoulBEedyMh86uQwHm4ee6B9vTYqObzXWyD/swJaGXPQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1305; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1305; 20:PZuDfaGBL+vcBJCkgfArxwcupPFi7wS8XWw47fSal54mc0luDgSBDUUO3oSxppJaeoIiXDJOSHBPRrPZ5ds9XmFWfrZrmNsSaSC7mXReTTYeatImMuyZHetCbW4HPidNv2DUOkXoU/W6WIZKDg4yQRsywaDXhvvYXAXJuumPsvNW0HhRi5sqS8lwJ8vbrvU7k09G22QLXfhwbwwrwR+FenPR3DxfcPyfa9cVbBk+1StCc1aF10D8KjYLa514Ch2Rx5kXveGqsNPewWeHKpmEbDqGe7GsTTWjlVO0JNrBVRe6DF1G9y+zjK27egyYoMq3CKAhxm9AmthVUldKSeIZj6aukVLTw5U9m0Q1brgtKbc=; 4:cAkCid2LhnYACe7r78TKi/jzHVkcdBqikETG6itfJCn05MX4oASEk408W5c8yNEWjKag0q49FnD728f53HcICeNIUmAzOPwIafg+CWM6GC+E2I175QhsYKd+RoDEJoZU8lPXRY/3cE2XjmMCWmTsp1Rk74G5klrU+gosgB9Jj6xlwav429StW4d4GOlmZqs7zHI4MiHuvL+Jxa/PRuR8UjBTn784seIv0eneELvKeMqgYopy/9J+NHpHXG2c3edUlfFs6GaHz/D42I7ooBMzLHQicszzqLBgq5x6BY6zt7Ad+sNhai59cy0ytVqytef4+FPvIuof4QcUsZFBJtBQv8MzFXRC53Mp6ZGrI5RUwOk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:CY1PR0301MB1305; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1305; X-Forefront-PRVS: 0730093765 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB1305; 23:RbdEvUNEDGh3WkMHqEDug/1VpwCq5Syo55mjylu?= =?us-ascii?Q?AetWFK87+85f8pFM9OyQrw1Cf4r0Uh6GsLyJwu2zR6/H/6JNC39iv45Lw3Zp?= =?us-ascii?Q?UuAmVOQMIJPinv0i3cYfezckDN+xkuKp2CZK5nPa4LnyzRELpwrSo4I80WHm?= =?us-ascii?Q?B/sg6CffrMCB1D9DO9iVIn5rESBUbVmhFwbTtKJKlhND2ktKBn59KZNkbIx/?= =?us-ascii?Q?XH4V4lZfJw+WnU48RLqHBUhqWhpqB0cjWdqbxbv76ZZTXhx7OGXFdgKd6hSZ?= =?us-ascii?Q?nexxgFiZW59NCqC8JjM/Txz+Rr/xy8xudq7RvKeOOkpytrDdfCIRAlEOraWF?= =?us-ascii?Q?SMIz3WbQvFW1Y8Nn7tKTMBbQNmDZlpxIJisuEz2b3EKgoSBZZ64xhhjQRb/C?= =?us-ascii?Q?zGYsHIts8rdQYAOF1J9TkYZtKI6YixRn6BU1Ar6I0iDD8rndVUysVf30O7+H?= =?us-ascii?Q?S1CsPVmbenwWbUSduEqOXAkSGdOSgW5gA+IU89Xt7Dwg4UFic91XoH5RC7NG?= =?us-ascii?Q?93kkW6ZGl4PUfDzBJhJjszVGay6prHdQgge2wm2apq8UPMeAzRgGUknBAp8T?= =?us-ascii?Q?9SHpo6Owv/LbgYmF+jHaqw8vTqlF+DDKsYl5AtZCfIWWynMqalkW43fILJ30?= =?us-ascii?Q?C1p4h53oW1hZKZjoTeCtPI1vrM4UFsrggjK/ibWGTkfsISdixxA70uPxR5RK?= =?us-ascii?Q?V8IWs5KGMJeKscR4mHHodklBVEfFHKfjURryxt3jqo4YGhkf3mEVHPy8oXdJ?= =?us-ascii?Q?rl6djRw6dAgPZaPAvc+MxgoWbmSqjJLpZtU+jYtmx/IAJNk1oL71JI5Gg33w?= =?us-ascii?Q?Ux7wi4CIWDrzaIVBBgT6opchUT3gAuuYUMnUme5tucwZoRngwuFhsbtTyI4s?= =?us-ascii?Q?UQoXhBzEMgblPSRVWZkN6pp60+O0rwQ8tcXITyCWZAggm1MPTl3vkmDaYgJP?= =?us-ascii?Q?8f0kVHEDg3RBgxC56b53zDHTQIchPmL8OHWSlKxPI0LyuzWfWl07A8Cw2hs0?= =?us-ascii?Q?2AaXe7NosZfn1yuql0/47AgR+5EJPVsT02KugKDjEBF6aOvAT2RdcCwvsEDn?= =?us-ascii?Q?s3VWEJ2FNh3aGaq/PQNnOnKc6S6CVM0qt+uwjdI5T8jwv1aHvormRm0pBMEn?= =?us-ascii?Q?HDX/p58zGIMoDosYUbxy8jBKVt5z/1oHnjdqRxm512wHXHJZJtlAipR4786g?= =?us-ascii?Q?OYDMl12l7ejVBoleBXTwkGRrjytK7ZueWBu1d?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1305; 5:RXTu+TAkz8e1Oxp5m4oQxfzShcjx+VRxq6Y5qvFKgrNfA+ToMpUHD4gfRu+qoDNvt27MmYLtEMDjfA8Ht6RgFvyAGpkxPNOpkPXnXVdPP4dSUFTM099t9a+S9ZlxDixQbbPmb3RaNHcJ1qQeIzHtYw==; 24:Awjgn/HkC+MtgvHbikb4Iserp/CXint8UjeJZlQ1Re4KN8w8XEoftRtXOtqhi/lu5nWsCmAegzh7Ml30W6PiS9SErOyUEE4zS5V2QUX9pbo=; 20:17C/Uv6nhYjpVYnuW2H7bgjlLbf5qily/EDCchznxeGI2mApCPl43p3qPpDRk085uSYiIMXR91rcvEo7uG2/hg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2015 07:03:45.0492 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1305 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151015_000409_607313_AC6822AE X-CRM114-Status: GOOD ( 14.09 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LeoLi@freescale.com, bhupesh.sharma@freescale.com, Catalin.Marinas@arm.com, will.deacon@arm.com, stuart.yoder@freescale.com, scottwood@freescale.com, bhupesh.linux@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Freescale will be a spinning-out a set of ARMv8 based SoCs which will be based on a similar overall SoC architecture. So, this patch converts the existing infrastructure in the arm64/dts, arm64/Kconfig and arm64/configs to use the generic convention ARCH_LAYERSCAPE in place of the more specific FSL_LS2085A, to save code duplication later-on. Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/arm/fsl.txt | 4 ++-- arch/arm64/Kconfig.platforms | 6 +++--- arch/arm64/boot/dts/freescale/Makefile | 2 +- arch/arm64/configs/defconfig | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index 2a3ba73..744b4de 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -128,8 +128,8 @@ Example: reg = <0x0 0x1ee0000 0x0 0x10000>; }; -Freescale LS2085A SoC Device Tree Bindings ------------------------------------------- +Freescale ARMv8 based Layerscape SoC family Device Tree Bindings +---------------------------------------------------------------- LS2085A ARMv8 based Simulator model Required root node properties: diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 967571d..4043c35 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -29,10 +29,10 @@ config ARCH_EXYNOS7 help This enables support for Samsung Exynos7 SoC family -config ARCH_FSL_LS2085A - bool "Freescale LS2085A SOC" +config ARCH_LAYERSCAPE + bool "ARMv8 based Freescale Layerscape SoC family" help - This enables support for Freescale LS2085A SOC. + This enables support for the Freescale Layerscape SoC family. config ARCH_HISI bool "Hisilicon SoC Family" diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 4f2de3e7..fc6fca3c 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -1,4 +1,4 @@ -dtb-$(CONFIG_ARCH_FSL_LS2085A) += fsl-ls2085a-simu.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2085a-simu.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fc97b84..49f416a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -34,7 +34,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_ARCH_BCM_IPROC=y CONFIG_ARCH_BERLIN=y CONFIG_ARCH_EXYNOS7=y -CONFIG_ARCH_FSL_LS2085A=y +CONFIG_ARCH_LAYERSCAPE=y CONFIG_ARCH_HISI=y CONFIG_ARCH_MEDIATEK=y CONFIG_ARCH_ROCKCHIP=y