From patchwork Sat Nov 10 15:48:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10677309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6078013BF for ; Sat, 10 Nov 2018 15:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DE202C4D3 for ; Sat, 10 Nov 2018 15:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41FE22C50E; Sat, 10 Nov 2018 15:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 595BE2C4D3 for ; Sat, 10 Nov 2018 15:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tvw4S17lxciInbcU7IMsuiRnztK3k7eOhew+kGYM6Is=; b=n4YLPrLlZqji1k h4Rg/xmEuCKgTTj5uMYDJrZEnkuJ5ndGiVXK6rI+09KW3sbJj/k1cjV3mCNotZ0cTmnoZmeYsgdCN a1a1OH0T9/iLiyYzyncdDvuQxzyzAm8MONxy32QyzVjyWbgApzPLOFb4qO4ynRzgNEXf4X/YJH29L tb88Htrk69a5HtHwxjkBTB6cN5tYTe74kfY0A0rOr5jflo5M5hyMjcWU/zeXePTx+Mr03ARmzx41r 1Z5nyh2/m81jZGDS2yjYUIe+RcKG8iodtcC88OTnNTv/4+mYj2VUbypguQUxQyo3oRtEdFVm6Z7OG iRj+82d1tpIVezWE9MZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLVVC-0005gQ-PE; Sat, 10 Nov 2018 15:48:50 +0000 Received: from mail-db5eur03on0619.outbound.protection.outlook.com ([2a01:111:f400:fe0a::619] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLVUo-0005CJ-DL for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2018 15:48:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+VhRd4wEa7H2ErHq2LHRvAAlmIx0t/cc0a1x3CZk/YU=; b=eXBGKSEHKp3+2XLcrQMUVMmxzNwqKeZTIoY5f77iesJlchbGS8H5/MHP19pS1qL1GW9zz/JawtbkH90nSIkHTxyGwNgIuvEKxCSAdLm5oCXwsd006TV3rjRDQ6ZXNERAXSrO98/U4cunIMwCy7yRk0kMXv5a+urikihM/BNVReQ= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB5492.eurprd04.prod.outlook.com (20.178.115.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.20; Sat, 10 Nov 2018 15:48:15 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::797a:f972:9281:6d10%2]) with mapi id 15.20.1294.039; Sat, 10 Nov 2018 15:48:15 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 2/5] arm64: imx: add imx8qxp support Thread-Topic: [PATCH V4 2/5] arm64: imx: add imx8qxp support Thread-Index: AQHUeQzK1ci+laa+T0WR57D/P+hTLg== Date: Sat, 10 Nov 2018 15:48:14 +0000 Message-ID: <1541864596-15958-3-git-send-email-aisheng.dong@nxp.com> References: <1541864596-15958-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541864596-15958-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR01CA0033.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::21) To AM0PR04MB4211.eurprd04.prod.outlook.com (2603:10a6:208:66::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=aisheng.dong@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR04MB5492; 6:We6/V5Xit3ZDRxombzAaOBABLJbo7t8Mx3O9dtv/8SPvvDztifGhXI8QuVmkUPrxngWkamPihDppmnJboHyA+7AZVja25UtUNSVrjdEzo07u4IzrOVzNviPiikaa7b0sRoQ4XaTzLzpJlajiMtp0dSkK4tcg6EjQyePD3GkTECMc6Hbt1qyFathmGCbEAtfN7GwNN1V5Y97BSS7EcZa81rvoJCtPKIJiIyFd976kHqduRDXIPBLNwJaJJks5/tQADbO74zDP64M9DkY/RQHgQkKJoxBAy7o94Q96L25K5/nPc7N9JzBojZU4HvDKHFlgxJ7Zwl4B2yz4Y2iHM1vwA6MPyQ++GUBlF/Ikp0FT6EGupwzOSIibqz8mrcbHtD02uPJMt+fJEseHcSkkB7pOuyfGEd/YvEfUkVRxM6kNe71UPEasC6U5E3KbiddDN6EsYJ42TERzTf4rhzALkMV15w==; 5:l6KsM0pN1rEaAWS1YiXaoRqwPwU3Gb1hNMSzVMAj8Amw5krrkegWF2JUQ3hBEQ58kHtRj98M0OHrRUuLN84PRx8z+BTZ0Z2b6zrdLKXyaab2D23N2lfEs4UNVGAW+Qaz5Frk7lA37sGrwkQa7gcibgwMhWVeouByO389pHwIt6U=; 7:LeRWCfT1GAxXTgaxjqz45x4gPyoFEITunJRdi4YodTy4UuYR8Md8PFbxoyaLPsWvh50HGp9SRRxrOFvDRfd6GbfOjpCeX4/LxDAsWxketGAVgmYWTGC02h2mzrOusSbbJZPuZHzIK2IcqWgjyway3A== x-ms-office365-filtering-correlation-id: dfee1f81-a10b-420b-20ae-08d64723ed25 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5492; x-ms-traffictypediagnostic: AM0PR04MB5492: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(264314650089876)(185117386973197)(180628864354917)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231382)(944501410)(52105095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB5492; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB5492; x-forefront-prvs: 0852EB6797 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(136003)(396003)(39860400002)(189003)(199004)(2616005)(446003)(6306002)(476003)(11346002)(5640700003)(6486002)(5660300001)(68736007)(6512007)(486006)(6436002)(478600001)(2900100001)(39060400002)(2906002)(3846002)(6116002)(6916009)(8676002)(2351001)(54906003)(50226002)(81166006)(4326008)(25786009)(81156014)(106356001)(105586002)(8936002)(2501003)(6506007)(305945005)(186003)(26005)(14444005)(256004)(386003)(36756003)(102836004)(7736002)(99286004)(76176011)(66066001)(316002)(71200400001)(86362001)(97736004)(966005)(52116002)(71190400001)(53936002)(14454004)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5492; H:AM0PR04MB4211.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: hSNRRlFIsoX5mjDvP7lFq3AZJUoEqqBk08SZCqt0mjzk9oASY6uNri/C3Hl1OfBTmctz7S1qfrPPfBj3nuYbT1qmzjy8bvpttPIN7eeR4qQoPlPo9lErCkzE+43w94eCWErFZHJlwYAYp1mvZXRrIwf1Jy8jO8rHC+MYv8fFHlIcwcrs07GJE+AcoUNy4PzKT+MkJa3u2FqzrSnTnOtKRsAcWZ+I68BOcuNvdald6t7N5pPwYF+R07AaMPMjV9p7TlOSnGIw+n5XLqpTGT8X4zQ/RFugYu9DLc32a8mAk6MkNEN4O2z8Ha15QbjyjeoAyGmEy1LxqCz320zQEVAz2eIKdk55A8HtuySHu6P31Zs= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dfee1f81-a10b-420b-20ae-08d64723ed25 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2018 15:48:14.9916 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5492 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_074826_455854_FA5E01CA X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "A.s. Dong" , Fabio Estevam , "dongas86@gmail.com" , "catalin.marinas@arm.com" , Linus Walleij , "will.deacon@arm.com" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "shawnguo@kernel.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX 8QuadXPlus is a quad (4x) Cortex-A35 proccessor. The Cortex-A35 provides full 64-bit ARMv8-A support while maintaining seamless backwards compatibility with 32-bit ARMv7-A software. Graphics processing is handled by a dedicated Graphics Processing Unit (GPU) supporting latest graphic APIs. Video is managed by a dedicated video engine decoding formats, H.265 HEVC (Main Profile) up to 4K30 and H.264 up to 1080p60, as well as encoding up to 1080p30. The memory interface supports 32-bit LP-DDR4 without ECC (Error Correcting Code) protection at 1200 MHz, 40-bit DDR3L with ECC protection at 933 MHz, two FlexSPI , eMMC 5.1, RAW NAND and SD 3.0. A wide range of peripheral I/Os such as CAN, parallel or MIPI CSI camera input, Gigabit Ethernet, ADC, USB 2.0 OTG, USB 3.0 and PCIe 3.0 provide wide flexibility. More information: https://www.nxp.com/docs/en/fact-sheet/IMX8XFAMFS.pdf Cc: Catalin Marinas Cc: Will Deacon Cc: Linus Walleij Cc: Shawn Guo Cc: Fabio Estevam Signed-off-by: Dong Aisheng --- v1->v2: * update CONFIG option name --- arch/arm64/Kconfig.platforms | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 393d2b5..c7324b1 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -139,6 +139,28 @@ config ARCH_MVEBU - Armada 7K SoC Family - Armada 8K SoC Family +config ARCH_MXC + bool "ARMv8 based NXP i.MX SoC family" + select GPIOLIB + select PINCTRL + select PM + select PM_GENERIC_DOMAINS + select SOC_BUS + help + This enables support for the ARMv8 based SoCs in the + NXP i.MX family. + +config SOC_IMX8QXP + bool "i.MX8QXP" + depends on ARCH_MXC + select IMX_MBOX + select IMX_SCU + select IMX_SCU_PD + select MXC_CLK_SCU + select PINCTRL_IMX8QXP + help + This enables support for NXP i.MX8QXP SoC. + config ARCH_QCOM bool "Qualcomm Platforms" select GPIOLIB