From patchwork Wed May 17 15:50:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 763684 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wSf1g5VG7z9s7F for ; Thu, 18 May 2017 01:51:19 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SmrvJisL"; dkim-atps=neutral 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:References:In-Reply-To: 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=gVTUBiP04wbMMPE78J2l28umzSsg9njTFSmDnOqCEKI=; b=SmrvJisLbeWHMk sypbDuIR+q+ctQGvPSOB98XiJ8Y6AL0lN82ZHH0LmMnGg4tYTrTu3dszsnZXHt4qCLoV4l79jhHnn 0SW2nTqFFHnARyfO1Bwoo0BW5ejjdeiVA8YZVcdrD2fIbPdB80dutK2wXFyd4MTxgsGXmQ9Xl2RH3 qTqJiUTLX2ATBocEoiAwr5Tb7pLcahG1+syfGFLhGTHS2VqPB6DV+1apaFD5mygK9mtlPhB2Z/4KD DHsfmw7OeXuDdYsSwT1viXBlmvazC/c1s+OhGnO8fJCytfsn02sZnwzyv/EseJuEGE9l8XbqWmNYC MRMjvbACoQmJw4aqtoeA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dB1EK-000888-4d; Wed, 17 May 2017 15:51:16 +0000 Received: from mail-by2nam03on0068.outbound.protection.outlook.com ([104.47.42.68] helo=NAM03-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dB1Dr-0007ZO-Ay for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2017 15:50:50 +0000 Received: from BN3PR03CA0100.namprd03.prod.outlook.com (10.174.66.18) by BN1PR03MB171.namprd03.prod.outlook.com (10.255.200.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Wed, 17 May 2017 15:50:24 +0000 Received: from BL2FFO11FD018.protection.gbl (2a01:111:f400:7c09::152) by BN3PR03CA0100.outlook.office365.com (2603:10b6:400:4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14 via Frontend Transport; Wed, 17 May 2017 15:50:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.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 BL2FFO11FD018.mail.protection.outlook.com (10.173.161.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Wed, 17 May 2017 15:50:24 +0000 Received: from b29396-OptiPlex-7040.ap.freescale.net (b29396-OptiPlex-7040.ap.freescale.net [10.192.242.182]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v4HFoFcP027883; Wed, 17 May 2017 08:50:21 -0700 From: Dong Aisheng To: Subject: [PATCH 2/4] ARM: imx: add initial support for imx7ulp Date: Wed, 17 May 2017 23:50:15 +0800 Message-ID: <1495036217-20049-3-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495036217-20049-1-git-send-email-aisheng.dong@nxp.com> References: <1495036217-20049-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131395098243069176; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39840400002)(39410400002)(39400400002)(39850400002)(39380400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(5660300001)(36756003)(76176999)(2906002)(33646002)(50986999)(106466001)(305945005)(189998001)(4326008)(47776003)(105606002)(86362001)(575784001)(54906002)(39060400002)(85426001)(5003940100001)(498600001)(104016004)(50466002)(53936002)(38730400002)(8656002)(110136004)(2351001)(6306002)(6666003)(356003)(966005)(69596002)(6916009)(48376002)(8936002)(8676002)(81166006)(77096006)(50226002)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB171; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD018; 1:F2E1Py8uLdJDmtIiGEew5yaXVcO4FgyrojUxrDR80h6vRHjv9FQLxWLWv+j8spk6hgT8GkFjdMyTjQODQU1dN17wNNqI+I7Z/PcaEsY3HSEWm0wE/B7SV/wRxP1by1Segp7SECrrnD+7NK1o7qCVjVXSB4YUcwxuc6cQWbrdAUE9moG+ZWqbY/7DJ1RtKWxTNPKBXL5GLhE5c6O+DIbEAhU/zzcUpFPoT7AiiBbg6ZJQotsYr1pawx4sezi7+OWUFKunA4SRRjiEmpDJd4jatabOOtxzguu959IXrJtMr502hqG/+4TchCn6KANbTqOsPyBRwJmLW6KSrLVrOfAsy1LjZYtk7e3OH7bE2M9XM904ml/brZb6UT3s5I8ItfVfSzGNj8MLbYjtzKtwKDIPXWvLChEyA7NonKNInRGYlYwHGMgWfnmVdfc3FcX8pbKNBE5CDRiiYvGgEg4Rliwh2DqYoGgNWPy0Aw9QuwSUD26UiANDqnOtNu5uU+hsTP8T6hcbxa/1Fv5UCZubB3k1IYRJMr3LbNnNxuCAYzD3G/CYqDyydUP3o7xZG0INiAyvJJ91cM9lmLvcC2MgqPwPGBQ+1ksqcURBDM3JCz60NH81Q4XR4zX8JlIgEvHZeqVNFPltxk+LZHGSepIpnIxqQrmeB7dbsUu8DBlmRTeTzgqI6P0POnnwKYiZvCD+CaJWdJkHBUB4k3jKYIP5KfsNy/ZBFDiPVBuiIASiSqDfML0= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PR03MB171: X-MS-Office365-Filtering-Correlation-Id: a526c3ad-6968-411e-74f8-08d49d3c6e78 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN1PR03MB171; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB171; 3:/Iwt2F886VFjju7nnx2bDdJV4y0ZbzJGFsw1b+6hL0w4B0qwdbiv+TQpeQ+kXPhN1b941seftLxMQrY7LrwVSnY65oDSZetYKhi5TwTp1gEgeMUWvzOS/6VZKhrT+Fnfs6oMKEgo8pCxJLsuPWoWuxmIS507JCZwJocsX6s3xbhm03Fu/V+bbd5ihxFG4NqXQihEewh/0+OdCbtA4/lGjOfxCvm38LNCVNBTHuUwAxp119eWObZg6Zgb3RkilFk0lnM22xEyUdhqLhCm1NKTRwwtkX/uMl+BsxdWb1rKxmSxBPSFWaO7+ZMm8jA6uiU45NjELtiJ5H+/JufSK/2jDBFgdH50fLWoww2N6Y4erkgFMU2CFDnfNe3+VXEeeXIcA6VM6iPnaOLX9K39hb7Em3ttOEsUzo3SKQyQekrb//d+okzQocJVADVG5tNTNeqh; 25:SiPlX1+LligPcCIrxlNDGTO3ZyQRRAaWo+LCEBPB3d3Yv90dkWZPIub5qV29yOlaKvTiuNGOCbCosrppCRxU6vM4LkqrgtdKshbkFaV0YeQJdn5IWBWBKXLDBx+VlAB38x+8Lc/7fJQsTlnwCAQbikfE9nYmJmQdSTXqY8AcUxXHjD6TwohWCZ6CtQhMnV60tUhoSeCx0EgafbK6d4m+XIDDBJbndxYOlOJ4J4yntVC+7pSV02AmBbKZxtoWFHHZUO3QPcDVVHmEUQMs/H8VlaydjMBbNyrI4dRP8nTBeFDZJMGEcymC9Jy3FCCFTeuo1fkTeaxQVl/YxXbJnkpBWzp31wiQGv64KLLqTPyQkwdoybfQdPr4klBtxIhatSc2VNoN/8SUjedJhzwnYKHRTIEYhFdFMq+eSIx/mfSR2lOEJpLB/eKGB2BC88z6p3g+pAylzQwTbYvgml8R8BdCRh5GfSO/CCLKVZ5C2XapJfY= X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB171; 31:ZzM/nIIFwz/cwd1v78ZDkYCZrbVz+Aptb9gyaOn1DIQUOTX4d3lfOM39aoKkZTAI60KrIsk7G4XCF8SuZXrJGerxOEW/Dcfg4zGKIwxY/U1WTXOMsL6mdAu8zTE3lMgln3I6Y56F6AVB9oHe0pGcIP2LHcgU3UpTw7eXBSoZwgqczUHob1KIdSsHUiK2PQ7m9kMYM5S1tbG3wRHieqHLGEd3EnVTV55HTCnIJ39LK5NzdSIiVVfH28OxzN4dXMOZV8o+8vNv7rRwk8YjFlCqNg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(250305191791016)(22074186197030)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13023025)(8121501046)(13018025)(13024025)(5005006)(13017025)(13015025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123561025)(20161123556025)(20161123563025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150); SRVR:BN1PR03MB171; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB171; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR03MB171; 4:00PAw8OPJy/gCLidwYbiLRAne+vGNflZxzesx/4W+WP?= =?us-ascii?Q?y5yLYTCYudDIGFOTA5qNyCOd0vW8FQIEToNZ5vOL5SY2A0X18+vdA/ShYsTz?= =?us-ascii?Q?wgHOaU5BAZnhE76Y8Tj8qRKIgOdCyRCebfYn0ztGmTyVmYJW1ab846K1EpeR?= =?us-ascii?Q?1bCArDlEh5nDpRIBNWpAHepC8H35UbrosnIc3jKsETB+pMDnLSjYl4XZi9YM?= =?us-ascii?Q?jyRaxK9AkzSWS+TbDigeivdbB6NN55/GWGA54j/e1j5uqwDqSGt4nYvZWg0u?= =?us-ascii?Q?m+Nr5CQYGwMdB4l+Lxu7wiLP6IK5L/ea16AzGnyvwtG/KS4l02qUvJAPr1qv?= =?us-ascii?Q?Hvi/2vT2gBceEdpHXfz7ckVXPSGMBFg6vdSmGTw+Dxsuh9PVz3YGsWHUl9gB?= =?us-ascii?Q?3B52inx0McdKKD7ugiMlPzkr1mFcIckV50ibD2tSnhWBZGmmUmokFJ1/3u04?= =?us-ascii?Q?pM0cWTOLyFgU1mpv7T2btHLwS4Q5fge2uO/TDXHCkrSObmWqSRAIMaEzV7Th?= =?us-ascii?Q?MgCkwZyJwwaogJQkt+v41ZSBdP/pxjUOTIJbDGYS3dyQzuTsR/ym8IJJQGZ4?= =?us-ascii?Q?uLyJVdfBwM+KpXr6jjtPNPprTJvSGwBKYORUqhWHnrKjn8yTXWyNAV8QyErk?= =?us-ascii?Q?OQbhjuZYMvBe7QPuMiC0tQLQoO8raWbq0Ch8bqa48dnpUi5/EVOY6eC2o2Lb?= =?us-ascii?Q?7SleSMVwz61CpshaXasVCs8LJuVaRz0hWFmdTUh9/+jVWBRDm+mXudVn1mhf?= =?us-ascii?Q?bcrVb35LUt6c25b3uVVp8mURF6vnzmNgDxVQ3CdseYeHyA0Hw/FQj03ToPCK?= =?us-ascii?Q?09b1ZBpGvDuCGVue76gOxCtDLSlTOMrMPQZ7uyi14YQHSt0H7lLL/hky4eSc?= =?us-ascii?Q?3LCBPwNOB/HM8ZI88PwXpCVOXQL8REDLUd7l6NdVEKDzQmD/T9muAgioOpkf?= =?us-ascii?Q?5iuoyjwe2ii4DPTULoDjwds+9B4DtpDhPlFGmG3JkqhTo/3JR6+n8F7nhMyo?= =?us-ascii?Q?qmNIdhTqzaCXP/VgP8hfPo4Fbrt/zKlrCDB/oR4j6Fg=3D=3D?= X-Forefront-PRVS: 0310C78181 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR03MB171; 23:TWULQ+0ZdDbsbvOavw4BB2tfL7tZApRiZ3zHaIjWvo?= =?us-ascii?Q?od0Pk4kNR2gRb2uM23gjhzvdjUfcVIqQZW0j1VAzWcETYvtkTq/bQ8BQSFEH?= =?us-ascii?Q?m0YXzKQiI+4Xn1LKVHdSjsUtt+zKsYRP5X4Yhh8l/xY3lb/SkqYMqK06KKW8?= =?us-ascii?Q?k1QM00lzof9+4zxxltrjwtEARhRIV1K722vP4FXDMWsaWc5GzR8DkA1eQynD?= =?us-ascii?Q?iAFPpie9tFtxba0EIK7kOHI5udN0Pb9VsBJo8PLgRjfocAv+Z0e4KZNTKEKL?= =?us-ascii?Q?MeJU2VedguOPpk8JuHqiLGhomiSWH6OVRoRSQb9Sxyn+QqyewydULP2x3hSu?= =?us-ascii?Q?1HFNWcDDrLjMlhgzMx9FVglQXrG7St4NlCvsgYTRIwVcVzXlCPT9OVoedbco?= =?us-ascii?Q?Uo3P89+7AeDWD0LzvV/FPWlO1d7hSpQ2S8TqZfv1iBrE4BSRGsT2/da/sS42?= =?us-ascii?Q?x3mi4lIxXj+Zaxvv5ok0MarGPrp0o1729CXlDQDkAAfj7kAjBshzuksuVgO8?= =?us-ascii?Q?kMcZNAMj/DAbhu+fPq5Rm0CKxib1RtSrm9ZO0+LZYdsaf0trpi4N76kIOjgI?= =?us-ascii?Q?/GpMUJdvfAoaIQOTHmko+cAZQiYk73WQSKEFCJcV6dH0R4dgFlgIxsVPkjV8?= =?us-ascii?Q?Kpr2HVaf+WmOwpox6P4Nmib7boyr1TaneLIRtpUsOg6d/5cVxO8k9wgnv/5R?= =?us-ascii?Q?Zwd8zHpdOe2C/7RP46Y38oiF+MuniOVVHJRCHG+xCZukVrBKUD5HeMf2XcU6?= =?us-ascii?Q?XGMsxeWy870weg7HTyb02aENQL/UzmigC274QfOEZiDfCTsPRrI1qQ1XOOPd?= =?us-ascii?Q?L3iqfSY/4u00QomKHsiFgPCIwgRksySZaYG85Xk6+Eg4OYGp7p/TNtUmg3ZB?= =?us-ascii?Q?zfTgoD52qTVoVwgu1QExR/Hjyq2CwtPxLGWRpW5ocrdD6PHCyAdr1rX7RYo2?= =?us-ascii?Q?DboEOOgWYRct7ksD5RYX7kHY9+JZusMWvjPVSgblG9d98dfXVnXgwEkCHwp6?= =?us-ascii?Q?2Fwk0bK5IsBtj4rJSs3bcAvu7tVv0CC+zdyUObd34GqCfZ+VirJiuH76GX8I?= =?us-ascii?Q?qGzCyB9kFgJMaz/cjvtuGlUamIDQQgcjrM7I6+YdMOQ0fV6dJFzXBxKkBMbr?= =?us-ascii?Q?nqLtX6x0lw5G20lPZpw/dr8Ltk3TwetEiMjRM6CtEhR8kwq9i6VwAhwHqJlQ?= =?us-ascii?Q?H09A+9sT0mrgLlOaBVCsFTiLJ86xEYbq0N0tKhnrqhf1wsrnoeUoluOWUObf?= =?us-ascii?Q?0O/XBplqYsnMQNiYuK4y7e1uTZTxbFaUjAdqjQStdnUQXdZrsfVIzwATLQOi?= =?us-ascii?Q?bp9CGqKm4sMpPNcujI284k8s/SGhZ9BQ1hpguUMWsBENBewBs2ngBOmP70jJ?= =?us-ascii?Q?QjTg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB171; 6:e+7aIdcZlGAM0B3f3YCpiLn1ROTXa968c/9l4rSDdp1VlYq11v1dAW4NJRTsFFlRVF4MjbkzVS5lefgmiWi/77jelAK05BQPC2wLrUpG2PSbeH6Dy51Ca7uTPZmZl8nSN2b4ICVMwfDfbETpXCfIxHQ773vE5niALt3jnR/rgL4En5ZD0IHlc0MNG8HyMigfFWnH0S6uxM1YCeVKxxiMqCd+OntIGhrSrqWrBma1NBhWT+1+FQWgEKCBh6BiZPjzJvqoDBFS6ssqhuO9bTW30irmSxAVspwlmpIB502a6w9K8utjUbKLTV+CXM+cQmMCjBofgbrpJDmueVyjfph1jtZwKwp2y8BZ7Dp7YBI1LlLNkQmUHFfjsJeNYZfWiXddauYHj2upT1LytnAvPrOoNaW+23i2+0TPlwcXNFi1VlA2N6YEenPr/IrZGZAd3vuPLYi984MRZkilC+YNLVnRzR4tq/nTU0RPgWj51+p42SZxafmt70nywM490tSfrftVBwF2ZPp93HIhfEidhfUs4A==; 5:+nA9eU/u3xKzUDj0JlF4/vHMzX6xPaUQM3kQRpE6GixmADrCsdAP9AVFPJbBxgCreQa/CQAU4iP5x/wB+LyF/lJ4aA1JAXHKE7F6ZB8Xp7U6oPFh2tH8KUtHc/oW8zMziw+dv86G9PkS1KD58ytBJiJmvbH8baP9ra3YU5wr34K68l6wjxq91HB5CaLjG4fE; 24:3NDzew5uZpkwWvaflzAFDyTkBNGlw21iUIHit+ceJX04MiqRr5n4RNkNxb37FSyN7d8dACCvNetqC/eYphv8u7s93CTNN1j0PLP6HG2+zy4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB171; 7:cP4VBsgWIVJJ6OQ3X7MoqFdNCA5DnaT9VQnnwYlRzCcMeElfRu7qG/5O0fQ8e+5Dup1JkJpqdG9iUhVlZ83/c1EkDtQ4PWQAZC+yJrQu38iKM0e64lN3fwyMyt3uwDpUR17OCQSBhh3+aEZTpBFXBBVtfkw/53x81wejriRh4uQ7fmezG+cFsoljYQYl1QPZ625YPyME2mmp5AvrvAOORGW4/jHYOvCdI90E5P2s9OJkgU2s7DsRjpUTXig1KfnKvj/zyIlNZVdCRTvEtZgo3CN6PWGIL34bLLmeqghxPbt9+fZPbA0P6q4HWaEIt8XIgb0RY80lG3Xfo2dSwOc1+Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2017 15:50:24.0729 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB171 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170517_085047_623855_AACEC9E3 X-CRM114-Status: GOOD ( 17.47 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [104.47.42.68 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [104.47.42.68 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dong Aisheng , shawnguo@kernel.org, dongas86@gmail.com, kernel@pengutronix.de, Anson.Huang@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Add initial support for imx7ulp. Note that we need configure power mode to Partial Stop mode 3 with system/bus clock enabled first as the default enabled STOP mode will gate off system/bus clock when execute WFI in MX7ULP SoC. And there's still no MXC_CPU_IMX7ULP IDs read from register as ULP has no anatop as before. So we encode one with 0xff in reverse order in case new ones will be in the future. Cc: Shawn Guo Signed-off-by: Dong Aisheng --- arch/arm/mach-imx/Kconfig | 9 +++++++++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/common.h | 1 + arch/arm/mach-imx/cpu.c | 3 +++ arch/arm/mach-imx/mach-imx7ulp.c | 37 +++++++++++++++++++++++++++++++++++++ arch/arm/mach-imx/mxc.h | 1 + arch/arm/mach-imx/pm-imx7ulp.c | 33 +++++++++++++++++++++++++++++++++ 7 files changed, 85 insertions(+) create mode 100644 arch/arm/mach-imx/mach-imx7ulp.c create mode 100644 arch/arm/mach-imx/pm-imx7ulp.c diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 936c59d..a07081d 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -553,6 +553,15 @@ comment "Cortex-A/Cortex-M asymmetric multiprocessing platforms" if ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M +config SOC_IMX7ULP + bool "i.MX7ULP support" + select ARM_GIC + select CLKSRC_IMX_TPM + select HAVE_ARM_ARCH_TIMER + select PINCTRL_IMX7ULP + help + This enables support for Freescale i.MX7 Ultra Low Power processor. + config SOC_VF610 bool "Vybrid Family VF610 support" select ARM_GIC if ARCH_MULTI_V7 diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index cab1289..c5948b7 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -80,6 +80,7 @@ obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o +obj-$(CONFIG_SOC_IMX7ULP) += mach-imx7ulp.o pm-imx7ulp.o ifeq ($(CONFIG_SUSPEND),y) AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index b09a2ec..b0e85df 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -128,6 +128,7 @@ void imx6dl_pm_init(void); void imx6sl_pm_init(void); void imx6sx_pm_init(void); void imx6ul_pm_init(void); +void imx7ulp_pm_init(void); #ifdef CONFIG_PM void imx51_pm_init(void); diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index b3347d3..3867e7f 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -134,6 +134,9 @@ struct device * __init imx_soc_device_init(void) case MXC_CPU_IMX7D: soc_id = "i.MX7D"; break; + case MXC_CPU_IMX7ULP: + soc_id = "i.MX7ULP"; + break; default: soc_id = "Unknown"; } diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c new file mode 100644 index 0000000..9f7a25c --- /dev/null +++ b/arch/arm/mach-imx/mach-imx7ulp.c @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright (C) 2017 NXP + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +#include +#include +#include + +#include "common.h" +#include "hardware.h" + +static void __init imx7ulp_init_machine(void) +{ + imx7ulp_pm_init(); + + mxc_set_cpu_type(MXC_CPU_IMX7ULP); + imx_print_silicon_rev("i.MX7ULP", IMX_CHIP_REVISION_1_0); + of_platform_default_populate(NULL, NULL, imx_soc_device_init()); +} + +static const char *const imx7ulp_dt_compat[] __initconst = { + "fsl,imx7ulp", + NULL, +}; + +DT_MACHINE_START(IMX7ulp, "Freescale i.MX7ULP (Device Tree)") + .init_machine = imx7ulp_init_machine, + .dt_compat = imx7ulp_dt_compat, +MACHINE_END diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h index 34f2ff6..3dfb09c 100644 --- a/arch/arm/mach-imx/mxc.h +++ b/arch/arm/mach-imx/mxc.h @@ -40,6 +40,7 @@ #define MXC_CPU_IMX6Q 0x63 #define MXC_CPU_IMX6UL 0x64 #define MXC_CPU_IMX7D 0x72 +#define MXC_CPU_IMX7ULP 0xff #define IMX_DDR_TYPE_LPDDR2 1 diff --git a/arch/arm/mach-imx/pm-imx7ulp.c b/arch/arm/mach-imx/pm-imx7ulp.c new file mode 100644 index 0000000..df5d6b6 --- /dev/null +++ b/arch/arm/mach-imx/pm-imx7ulp.c @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright (C) 2017 NXP + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +#include +#include +#include + +#define SMC_PMCTRL 0x10 +#define BP_PMCTRL_PSTOPO 16 +#define PSTOPO_PSTOP3 0x3 + +void __init imx7ulp_pm_init(void) +{ + struct device_node *np; + void __iomem *smc1_base; + + np = of_find_compatible_node(NULL, NULL, "fsl,imx7ulp-smc1"); + smc1_base = of_iomap(np, 0); + WARN_ON(!smc1_base); + + /* Partial Stop mode 3 with system/bus clock enabled */ + writel_relaxed(PSTOPO_PSTOP3 << BP_PMCTRL_PSTOPO, + smc1_base + SMC_PMCTRL); +}