From patchwork Fri Oct 23 19:31:50 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: 7478141 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 A7A63BEEA4 for ; Fri, 23 Oct 2015 19:55:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1B6A209D0 for ; Fri, 23 Oct 2015 19:55:07 +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 D583520769 for ; Fri, 23 Oct 2015 19:55:06 +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 1ZpiPD-0005mi-7p; Fri, 23 Oct 2015 19:53:39 +0000 Received: from mail-bn1bon0139.outbound.protection.outlook.com ([157.56.111.139] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZpiOw-0005cE-Hq for linux-arm-kernel@lists.infradead.org; Fri, 23 Oct 2015 19:53:25 +0000 Received: from BN3PR0301CA0019.namprd03.prod.outlook.com (10.160.180.157) by BN3PR0301MB1299.namprd03.prod.outlook.com (10.161.210.154) with Microsoft SMTP Server (TLS) id 15.1.306.13; Fri, 23 Oct 2015 19:53:01 +0000 Received: from BY2FFO11FD035.protection.gbl (2a01:111:f400:7c0c::184) by BN3PR0301CA0019.outlook.office365.com (2a01:111:e400:4000::29) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Fri, 23 Oct 2015 19:53:01 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD035.mail.protection.outlook.com (10.1.14.220) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Fri, 23 Oct 2015 19:53:00 +0000 Received: from localhost.localdomain ([10.214.249.245]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t9NJpab0005311; Fri, 23 Oct 2015 12:52:54 -0700 From: Bhupesh Sharma To: , , , , , Subject: [PATCH v4 01/12] arm64: Use generic Layerscape SoC family naming Date: Sat, 24 Oct 2015 01:01:50 +0530 Message-ID: <1445628721-10483-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1445628721-10483-1-git-send-email-bhupesh.sharma@freescale.com> References: <1445628721-10483-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD035; 1:KZ+9g1Ch7ws8pTfopPNzFMqls4QxrQwsT08V5ogURe5M+yAxUCpl0eaVSc3GVGAvs2xviYjIb7x57cqkfR+1/lDu/0h+5vYuCIu4Xft76y+3EnBUGCgvoyrrq3pJAVORJP/NcF1fAJyQ2QdFGB5ZaHRRDjh3rd1xRhmS92N+xJE8EwVDNX8HgbyNoBIYhHP1zPHrcWIrb4tQXZ3/FFiqrrX+7Hlo6erUB02t5iRtHsVNovMFFuvTootdBu4ea+KbNXuc9tfI73mcyVuxaHcKLi8QaSzKqO4cHeLzXFL8JBRwZWl4fDmTI/D3Hm5SezhlWPCnyXpSUHYjfssV1zcAc2WrWoMPpXY7808mEgVvnJBhWRd3mQfu+8+b3SOW+27C7boPsmxJWgn1DOhRSSBuXA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(33646002)(86362001)(2950100001)(107886002)(77096005)(189998001)(5001960100002)(105606002)(76176999)(48376002)(19580405001)(47776003)(19580395003)(50466002)(229853001)(106466001)(50986999)(36756003)(5001770100001)(11100500001)(81156007)(85426001)(5001920100001)(5003940100001)(97736004)(5008740100001)(5007970100001)(2201001)(50226001)(49486002)(104016004)(92566002)(6806005)(87936001)(41533002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1299; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1299; 2:Kog2fa7KRWuMSxvPGekQ33mUiGVJTiEoft4XQiSjkIUSpVGqu3lAX2UZiPB3g9+68vibMRCeB5YjFfA7oLoa6ANCVLwZIBhTykcZT/Zsj83nTLLdW443UUt91GRuwEbbgRPH0/opPZPzCUXYdIE5ne2rmdZF39L0GELCfz8/HJM=; 3:AUaTqERs2jE854KK0F0naiKfrCoBk6EiAKqMZNq+whYJPGAgmC9eIN57gKpYF6NS11gmSxNoiXKVxiuWJShhpuwrhp7Xb0FRBdnkbVMv0eukseTbskLmYQkcyCQ0ZMV1ejglwSCXjOJpwY8Vc0l18aIZoTwiaOBmHNhUI5m1pBxrZ/GJu8wCkebLgY/VQMgeNdQyl+4svIr4fVsPhshiTWjuKoaqOn0HJBnwFJu7MG4=; 25:N3sYfcUAgBLEAYlzA1/XWD/J0NFs+DLA26cMZwAFw7zX1Uq1CO4RlCvbx3WCnLvg0zzYYxNJpLSaVoPa+VGuic++sYTwq9jz4xXIectzOtZNUNbrlRMO57Gz83QMXu0VzSrOtigvqnnZSFkVCKI5U5w9b/EY5xv4kqGclU42OMHlZzrONBvxjk0DqRxiDcCdfaWsW2GRhF1MBjcLZAUGry/95vaKVQSzqaHGshmmvts5ZTilWareKLK8B5udj7id6VFn1rAGTGMNmTe1IoaIYQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1299; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1299; 20:RYZhbLAQyAyzoesU8h9suxpP+u7pvRpNN76wx3yme0SAf9F3XxHyqAq4IATZ8ISAWAeheJjusgcZYAxvZ+/+nqF9rAObxQZOYFzHbwpC323T+Elj874+hiJDK2d0NYEiU0JrQUzm+hyfybQfTlytEvJuaLw98hz5NO6vogC581n6KxXpseMQCXe7ghHfrorhBuxCO42+7YGu0XBoApHKz3orM8kH18QxTwBmLyzTEHZRUCK58fQ7RgQ2pDyYQxUkaslAmcJT3XFZJGnaHfhBMrhFPLuwBxarrty19cQGA111kcI4QrJInoUbGGKmYUu0TcZcfI7s0Zi0WDqVLxTVIIIOXFQsWlui5FY+R6AVpBQ=; 4:gE8LFe07gdAwbh7zsyIdEA+trpnpIG2lc2K9EKj9FJbrWkzKF9t8z2xI5HrzZ81VuNqaV2HCOZ7mOSHdW+OazFnuZIfjti5u7vMh+W33BWp2dlB4CFIdOebVL2tP9A7cC515/WvJfPLFMkZw/9fLhPTYkq3IKdxOLvn4ERMWHKDP6fNy25ni3KZgHxMqvKPxv3P6MUjzghgJEBDxfljC2ooCdmbUeTL2Cd0M5sngSd/wh6iB5gaKrpDMuN8z5+tPxsL6FmSGv5spVDtyDA9nzuen3sXQYPejP+IWtW8gadE9zXN21aXA8cmT1dlLJfmZT6U3f+UpY6iLLbJW7y7nBX/vTTX+RaVAU3C0BuTC0M2b4yO+WLV5JzLsXewC/H9x X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(102215026); SRVR:BN3PR0301MB1299; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1299; X-Forefront-PRVS: 0738AF4208 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1299; 23:UfIgQYvl+64THJkLSSz5uE9RpeyNRRAQKimulpk?= =?us-ascii?Q?8FdKgSUb35XXI5xZ/fe5kaBurEQ2J2R3xx4RI+HYQbWow7GmA0kb2aD/aKux?= =?us-ascii?Q?lUBWxwOmCIgQgOSOegAglV6qpXREiO5IaRRRGUMlPYKbM/Pva/pv4pdndPfH?= =?us-ascii?Q?6PVSCn1IDMsIWJcmHPyxXJ+psIhmOB8X0HbnJ6iGOZQnO87VV1z0mNf99LA7?= =?us-ascii?Q?pEVVmhiKyxBn3nB/ZO0nvVDfO0q/TkwZJBM6+9rMEkCXoh3wJIEBU4WctS4h?= =?us-ascii?Q?utCUOkpW/PjWgWU5EjGfTRiqClEstkL6oK3k1rSuv11UCdDeExD1AMUKF4eg?= =?us-ascii?Q?279QW8C7t/8LSjYclQVVmDZ1I+kZjIcWf7hOZAszyTpX3sopG9GJE7ZzUwbH?= =?us-ascii?Q?sp0GEpffo4g8eLX+Sx/pIhQMlUSvWmIGvWowmEr+dXnQK3nbNTPZjwQtjd/i?= =?us-ascii?Q?ct4P5hRoWGINaLt1NngElJdlCLxgFnxsjQ9UeJGmMqWAlpanViw9dw5Og62x?= =?us-ascii?Q?htz7QRXGFYc+IqR8ph748g8rlZPPhJ1RDhr9UK/Ps7ng2FjTV8eaUst2TD+F?= =?us-ascii?Q?yuWN6JW5ZsZjKvWR8OpXV4m7YYLFOuE1hsTwh4vVEUzKBMQQ74sN/bRQWeRk?= =?us-ascii?Q?dXNFvfvVSSR6lJCIRGcaRFN76zGwX39P2HUf5aPgGw9GtiywS8SaJZEKP+e+?= =?us-ascii?Q?gfsfbGw/NLqojeLFiahTplwzBTPP58eB0HAkjhqw8Qlg2EGxChxX5bDGvyPw?= =?us-ascii?Q?Gtut5tP0db4lUry7bScavYSo1QCyCtw4zDafCrm8eceEO5B8aj+y4aQMibu1?= =?us-ascii?Q?Jh5mwFvWBJVybNj+A8uZ+BEsbmSC4Ditb1BaySV+vhFuri/ph0C7mqEcu7/p?= =?us-ascii?Q?e52N4VhTG+7xlj0no/l9LTCjAEwczxdji2MrCbVTolbV/6/kUtOj/0kBcCiW?= =?us-ascii?Q?kwa5Tw0gkiuBiQaSSS8vsmqcboMI6Fi5EBNEnvnBaNuxN4YeCare+IB7A1wY?= =?us-ascii?Q?PGwaJEo4wNMRzCz45UzFev++wLH+JG7qd+JL/3ya9kUaNQdloF/MiJyQY5pL?= =?us-ascii?Q?+4xjTj5GZO5mzrXXKByowUQ9RhbPRFLzW9OkOJzR1CqFdzJzsangtoRRrFKs?= =?us-ascii?Q?wUwOFFO5QReJpEGm0mxaeShd+MGr8OlAvLS1DihHR0QlVjkw9D1CqPjOtBJl?= =?us-ascii?Q?YF3IAX5dNLFmvAd8=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1299; 5:r3L2Rlt6rElW4bFi6bX9iD/aGH+lfNUAPgAoCGKdZT7zkCorPj6+CwryMmdmnBoWe3SfRejeMjaAz+M8s4XmwG/u17SeJWWxfeZioRSHfwpKYwfV1pnvH6+FR6mAFyt9AuuzPNQtHwvnyMG+yywgSw==; 24:oj3UTgOd0C6bpAcyF6gmjSz4TGfh/LEhDr1Hsty1JwCOAs80ELFuEMF3KWJIYcTPZ1mgBaTxOGo2wcdQztKI/JIsYbdRYDY1aa1hHA3MOj0=; 20:tRrCZtnELCSg0gM6jgtC7aSqugEkw64stmgzhz+hQLrizuJSFUPS59Mq72GrSuM8i1rtC3VOjpGo99JTcbnwrg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2015 19:53:00.5387 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1299 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151023_125322_975684_68A35F54 X-CRM114-Status: GOOD ( 17.51 ) 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, 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