From patchwork Fri Nov 2 09:12:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665163 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 4402415E9 for ; Fri, 2 Nov 2018 09:13:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E5D62B98E for ; Fri, 2 Nov 2018 09:13:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22CDE2B994; Fri, 2 Nov 2018 09:13:00 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 C56F52B98E for ; Fri, 2 Nov 2018 09:12:59 +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=8z89vwFtyyalDiKgBcrW5ECfZR7wWfYfZsrzcOmzxhA=; b=GulfGva/N2lfDF WsR5AdvW/UlrvghuX+BB+6VlDYrE/Ga2A52dcAkjooPZ5kngUwErxe3DgvP2VBAE8efW4oBC01jRa 741jxYnfhg1JPucAUM7OvduSYvguDfRRJ0DnIbIAnakTfrRKcsmC1wDtU7QSt/n3Uhe64FwJpGEkU VJyZgQzi5fKK8ksCWg4Cxm/HON92LugZldRP1vQHLTPJG5pCBWdBJQeVkc6Vi3eNmKFsTiLZfE8S5 vZ6VuPVhFcOCgQhvb1X3t8QlDSYONJWLNfw1BQ2tmHxXShZ9QoeEKrVIQ/0FSCs/pxpEkfJpdrFTw zDBSISeawlqowbPl28lw==; 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 1gIVVi-0005g2-N9; Fri, 02 Nov 2018 09:12:58 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVZ-0005Uz-IM for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:12:50 +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=OCwALehHV+t0uOJLdf8Gq12CorSVGXuMXa6683nlfh8=; b=Y045U26hCD24aIJbucXHnmyz96NQB/yCpcY7ugl4G4dXUoaQN0yW8m0+rcm/7VwoQoXbBTWqSjHnISG+FnO4xeLgHOeZZH4YwwzKMivbdugFUADrUC2cT4x/bcoZ/O/gUNQnm5hZCMEYuF15//DE8rbtfoapiCddn6Hrnnn0KBM= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:12:37 +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.024; Fri, 2 Nov 2018 09:12:37 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 01/10] dt-bindings: fsl: add compatible for imx7ulp evk Thread-Topic: [PATCH V4 01/10] dt-bindings: fsl: add compatible for imx7ulp evk Thread-Index: AQHUcowyrzcQgMFZvkeTTmj9/aL4Yw== Date: Fri, 2 Nov 2018 09:12:37 +0000 Message-ID: <1541149669-10857-2-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:zWpI/R1H1QnPrtMtzn+3lpdlPpq5c3zsvk3zSuovn0W3hucCfH08idGmCGrWX91WMOcE2TAWlCv6r/fKlpDg4wxIs+e0jwrdLGg3Vki88fBExEVoe6G8IrdTYexywg/0A0NyGCNGRAevfhdBShbohBU1IOZjWIPIscKLTIDo4WGD0gCBJtAtVVghkw0yYDdw/pQFMbqHLB7I7tT7td3nhDop6yhmnXeglAWvc8e+lENErTKIzo3HGh1px7JY8nBlkmZcsRLLOyvLDcxY8C2unibyDxxuygtsTMHphOv9N9s7njOTST9h65jPrkA97lZf8CdvH5v2s3z8XxbPpWs0GUmOziMartw7+8b8gW2Er7ggSaEsZ0PGJKr1msYPmG3xwZJTcm0cvtTg/lovhAAX1qAcgyMv7wA31QDeGMH8J+iMcu7byKkv3tWLr7+uQb1WSoazevT/gZ2NCbyejaNMcw==; 5:vnYBAUOH0j8ghwNlZ+2t5LIUxCxYtPLRwdb9H9FHle9S6RpP+nOTYx4oqNAGfwBlgPuK9QKVvRMfLEOrd5qZwFHu0/E6FHzb0mUUW/OneoP4WUpggxZJuAlrycZm+ZAhGp/De4m8LaABJcmg3PaLgzECz+GbqNF5OA67v04xetQ=; 7:n2+iOZraOygIJy2+e1bnM+bVPVfcVw06kcwwLX7Z+gqKxt9p+gQpFgpy28ihzTDMOpJmR1Zh6MjMUfrbYTx/Qq35jBznOzB7KvBVS8N3bDjU+Egl5SpNybg6zjvn3ZBa4yDILe5jyRlRf7PaKTsK6Q== x-ms-office365-filtering-correlation-id: 2d9b5b24-32d1-4851-d980-08d640a3551a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: QVOrURZE3ksZg50ox+YwEzjNuLgj8rsK6uAWFFIgwurDs9fWjsdPiQ2fDeeJicpEKT6b1M5zhshXQDk3xMYXtIXPcO0ol73povJZYcVBv2Jx9p8HKS2noDAApMsGzqu+GjYBuI9ZDKOsoqCnwhWMn4lsplcf86bKfnOsw3VlW5f30BlSJqABu64KOioq5WfKDf5+FnjYyJqxN2Fo65sPlHW+q0HiiyFi/WCwh5UN4MODSGKAGl8D8fa8rbVxvSZ5EqsxbkWy/r8fAK2uIaog2swmdSp1L9AvORCq2+k+DZ1bHDJA4JvPQw27gt14d5gn6DDPD6d51CLKP28Q2a2Q0CuYznB5I407CV+vYRrcvac= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d9b5b24-32d1-4851-d980-08d640a3551a X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:12:37.5446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021249_604940_E11BDD01 X-CRM114-Status: GOOD ( 11.23 ) 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" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 Cc: devicetree@vger.kernel.org Cc: Shawn Guo Acked-by: Rob Herring Signed-off-by: Dong Aisheng --- Documentation/devicetree/bindings/arm/fsl.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt index 7b964d8..9c7c788 100644 --- a/Documentation/devicetree/bindings/arm/fsl.txt +++ b/Documentation/devicetree/bindings/arm/fsl.txt @@ -101,6 +101,10 @@ i.MX7 SabreSD Board Required root node properties: - compatible = "fsl,imx7d-sdb", "fsl,imx7d"; +i.MX7ULP Evaluation Kit +Required root node properties: + - compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; + Generic i.MX boards ------------------- @@ -123,6 +127,10 @@ i.MX6q generic board Required root node properties: - compatible = "fsl,imx6q"; +i.MX7ULP generic board +Required root node properties: + - compatible = "fsl,imx7ulp"; + Freescale Vybrid Platform Device Tree Bindings ---------------------------------------------- From patchwork Fri Nov 2 09:12:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665165 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 E8FEB15E9 for ; Fri, 2 Nov 2018 09:13:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4EBD2B98E for ; Fri, 2 Nov 2018 09:13:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8B0D2B994; Fri, 2 Nov 2018 09:13:13 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 713F32B98E for ; Fri, 2 Nov 2018 09:13:13 +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=QUJ137/T1mE8uPr8hDIwiU32AmNX9ygW2a39t35I/CY=; b=JjUbDofWVa4n8V H42vIZGjMpi6KKVIWxebwswCY1d+btuW6jyH4vF6nJRGl2H5RWD83cYM38juQOFB8koPxJu2LNd2k SKex6x1KKQ3y+Lwb905sBzp8m/gLiILwDTeRQbgVS8STL3zHWBN9AsCilQXRvou5UtWV88GWDvFgU L0qrViDnsUIL4mEsLA3HZhcrYY4nDnyS3dUaooe6IvP2U3+Y9xMDLQ8e1QP3az/8gbCuC7aHFyDt+ AAK24HYpb4M4abEem+JuTbYm23gOizEC9tmaXihLS0idQOkc4oz2PBdECKoUNlV6jKLmaIBDoegn7 o8zU4v34tOOX+23evVbQ==; 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 1gIVVu-0005xQ-CL; Fri, 02 Nov 2018 09:13:10 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVb-0005Uz-En for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:12:54 +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=8JTlta9OSDp9TQ+UFFyR0AP5/N/7ZIwHTDHUJjJeStc=; b=K8mAs7SPsQrEhQrNEDdFGlq5Md6BDQg8XcEIs3z+t02XOnvOTI64WLSU2SdfqXeGHVHksA2MD9IpVnlCuoYqrsUo+FBk3FIOQM4i0QmLfNjSWfJo+xUmfoADRtbuBlAKExhhgvqV60cXykL9hsX5sorBWGvUqCjcdbVtAwlC30M= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:12:43 +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.024; Fri, 2 Nov 2018 09:12:43 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 02/10] dt-bindings: fsl: add imx7ulp pm related components bindings Thread-Topic: [PATCH V4 02/10] dt-bindings: fsl: add imx7ulp pm related components bindings Thread-Index: AQHUcow2ns+edyBOz0WTFOzYurbIcg== Date: Fri, 2 Nov 2018 09:12:43 +0000 Message-ID: <1541149669-10857-3-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:PkXs5m+rWPhlnfsH48/5BC+2lbnwRMjtmU9GupPZtiGdJC4frviNY3WiISVbn9LVLztCbz44aXHAkb88licEpV6SpkUtPp+czN50UjpmFaxgjQJM04DOD0uR87TSIH/IMm5vXSRBinre6Sz9AQc7sLG9pZmn0B4x1ALYpfky0d9C/kD/WGOz3UeB3kePMlT+5u22Jy8R1dItSb0KEAob3JQf7aA4JGBx6g/cxlaBfgpDviBVV+gU1fgO+BifXsPaIz3GlmuytQYRthrMgoSnjqoHWchmkrabPS7In6K9h0eyMQT6e8YlnScKmlqEKl+P9Vcwbsm8xildRUzNduPhZsODPOEjfjIhZ+EpLRfu2qT3f8nF6z0nBqfqJe+svOzdk7x+sZeSnCz4twGp14f69X7OhmhgWbHXeu6tPWP+/fBJhOUiRBpd5SpHStoZ6YwXT4Lnj+2ivXrCLN3nxeePiA==; 5:3H0MLmcwZpfGVY1wXWtV72wq3YDsfKbV1vCAyubhpi/moMIT6jp6clSg6H2evQzcyxhlJE2yP1iEW6pN5oEFRNOWXbwgV3fRilMy3GcinbYSD/lY6NC0pf664+9zmViJxgpbfhvj6IjdDPL9ZRtV1Ac/1GhYdnGgauLVKyZdxp4=; 7:L74AP6Ajejt16hn1kQydT4JU1WbmP2a0e93xcbep8x4tFekgvgfYewM0dOiSl2xUzAwbhFkjH+ph9Bj6Ar21S7sxcE3qKu5dakooiGo+OHrK2h39pl7H6h9cad5YIFR5M1pfglTfVGjen0/2p13dGQ== x-ms-office365-filtering-correlation-id: 170e449a-3682-46ab-da11-08d640a3589c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(54534003)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: aggpQIqcwslvHDSmkBJTNftfEAaXnOd+t/jQJAXxVtmBcLUAoY2cEEOdxptdABu5FVgOV4K8ErpOHKtt0Ex/NWx0tpbW7eJoz5mD34hSaex7C4mMpxXJ6q4ebjYRwad4SQcYaRHCzTZuEsX6XWuS5CFe0JtKV2rjL5LN+aJkUg2qFTeURfU1bQOZtVXgdE3XxOiqf+kxyMvr+aHfFuL+8YqasRMvWxKhBQP0PcezGfjmq4IQhowHDuNOKJGfLJy8L2+OH6HtX7/MRiBFkggnKiQixEyQPoSK2F11ZdCFNR2rTFaA7r1ZJXADpRZ9MTWzvewn0ujRIpiMFccntMw74xJlLwXEPIhf5FnMDvo3wQc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 170e449a-3682-46ab-da11-08d640a3589c X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:12:43.2446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021251_733889_B77E371D X-CRM114-Status: GOOD ( 13.09 ) 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" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 Add imx7ulp pm related components bindings Cc: Shawn Guo Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Dong Aisheng --- ChangeLog: v2->v3: * no changes v1->v2: * new patch --- .../bindings/arm/freescale/fsl,imx7ulp-pm.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt new file mode 100644 index 0000000..75195be --- /dev/null +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.txt @@ -0,0 +1,23 @@ +Freescale i.MX7ULP Power Management Components +---------------------------------------------- + +The Multi-System Mode Controller (MSMC) is responsible for sequencing +the MCU into and out of all stop and run power modes. Specifically, it +monitors events to trigger transitions between power modes while +controlling the power, clocks, and memories of the MCU to achieve the +power consumption and functionality of that mode. + +The WFI or WFE instruction is used to invoke a Sleep, Deep Sleep or +Standby modes for either Cortex family. Run, Wait, and Stop are the +common terms used for the primary operating modes of Kinetis +microcontrollers. + +Required properties: +- compatible: Should be "fsl,imx7ulp-smc1". +- reg: Specifies base physical address and size of the register sets. + +Example: +smc1: smc1@40410000 { + compatible = "fsl,imx7ulp-smc1"; + reg = <0x40410000 0x1000>; +}; From patchwork Fri Nov 2 09:12:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665167 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 D97D51751 for ; Fri, 2 Nov 2018 09:13:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFF662BA03 for ; Fri, 2 Nov 2018 09:13:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF06B2BA0C; Fri, 2 Nov 2018 09:13:27 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 F0E592BA03 for ; Fri, 2 Nov 2018 09:13:26 +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=efQWJjljSHgbr4R5W1Cz7P/yVwcfiiRrvPvuxGXBWgE=; b=nLDxSIA1hwVS4K vivuForuRpCqkBVUnoONV0tTh3Eboj2nOUl2W8IbF5jUAP0W5yCWVctalWowBV9AjvNL9kbm94z4X tmVoaPmV+3Fx5AJLSuEHRX+LqYxkmmvhCty3SHdu9/adMArcah8zaEG99zAXj2/vHA/K4OJdHQr+C lQSYtrzPsEONnbeUCE0rRtJHehKwBWKGsRIfr1BWAlXhisKSgz0+xNhcC07Cn5vDTN+sVTR1ypHA1 2XHWgg1jk61fGKWh1DTCSnIzJXWR7TUE2W2kpDUBgcgqL4EQaLf+wNOOi9979P7MXaH9XohKtRf0W 1UE1U6P8WQ3Yji2gH7Gg==; 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 1gIVW9-0006IC-H0; Fri, 02 Nov 2018 09:13:25 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVe-0005Uz-Kz for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:12:58 +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=+a/JPR/N7yd4dqx7dmW9PbemOj0hclXJMZRCvnTbm9I=; b=Pm94Zm8UBZyHJu6c2BUcmbz8N+zrS7glbw5+ZfZuCEp7R8Ohw5/fH1Y1fIM3BFQQMar0VuQc2hEwVBGXtV7f3+71RYF2wpyAYUo6O5rM7QLOLK33AXl41bbXi4DUboNa+3IV9Zm1RA2kod8CSe01AgxU2o4xd8uEKlpyAst3x/8= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:12:48 +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.024; Fri, 2 Nov 2018 09:12:48 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 03/10] dt-bindings: gpio: vf610: add optional clocks property Thread-Topic: [PATCH V4 03/10] dt-bindings: gpio: vf610: add optional clocks property Thread-Index: AQHUcow5DMx8QE9ZhEallQDfl/D7ag== Date: Fri, 2 Nov 2018 09:12:48 +0000 Message-ID: <1541149669-10857-4-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:DgJxBlK2BuyqSzxcMCnQ1T/xavjAHN0JUqeOAeGbjRDFspbE2o/w9olCfkl222B0/MqwkjtDM6u3TswVGDJ2oFCiaGBanUopw622wJKK6U+a1uojHr3GKZtfH2ueyYhVJDZkm+HXprqClhCD2K5SH9L2NkvVcb3UK02cLtJ0y1i8zPsdO+FLcAM8sGx4SbpRssIUFNiMwBxypyGeQyPzrsQ/9q2wTdeew9akzmD3PJfBmoEmj+yiaLOOH7UqajeBLMJ7JwzlgCUpeK+AkUbQ+Jyd5ELBstqSd+FdoxpVDi865Y0BuB2Y6sJPfCBpYkTNdjRemHULcccJai0oTaM7hL8A9Wzy/8snE1wHLyQtD7bCyQaSVYrOtoAK464K9Z6WGX8ben4AEeRP1U6VXMUZVubxbEA+soNyZJpiZbvCbANfC3Iesy1+vcNGImVZKISEtv7OWlceUbawsXk35YU2ag==; 5:kRlFtBDa+Zm0aqjbaxm7fnfkNl48/Vx0E6Cnti4xRLoTcCQM3YHCIV/4hVaMWTLRPfXYPxD32OSh5Cr2mmqQyeKlYFM15Yb5yrwVc8eWAQ6sNBNGUe9pJ/95879EAgDDomy/fgTuGLDW2oxpBA+/n2nLwiizoxXEs+arG0+tuBQ=; 7:8C2kJ/IPlfpGcnZYMB7TmXJcgJGfa/Fx8PE5aZGn56iV30cZoou20DtCCNs4ZYaSTEUM9JK6h6yR3OxjD9bGc2f/9Q/GindjnrZg+/3HEVbw50G82KwZyTK0PghwhJvf426v2TIlKRZugEGZDTmELQ== x-ms-office365-filtering-correlation-id: dd1e405d-4246-490b-b382-08d640a35beb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(180628864354917)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(14444005)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(7416002)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: ss3BxVss2mtqYhZkErj4WjqfgtAuPnbH4FGanChIPMhPCqI1YwcqAdumxM6XsuuyiCrUYvOglLY3BCvdu3BM4MVVy061AXRMDXB4n9wpzvo6FNfMRnZzb1n9MFjKENL7Z7Uou5x2IK99VaNTTTvpWrWofeZxLAZjOuRbg66UzolFW4+qcWPTiFI07J3SzFs6LFWcpbPfbm076XB1v95Zg3tdhmmDNGo4HHGmYz1k35TgNQGB9tbXsTqXEH3vGt59sfziQb+hAwJB+UBQm3t77rgAFoPZXMXIUdiaXDm9asU16yoOzOyChfFblQFMweD7ZYvucYz4UtkurltwhLgxU5QgvZXjoNnr3nlABEBDjjk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd1e405d-4246-490b-b382-08d640a35beb X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:12:48.8486 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021255_041077_9E6658E1 X-CRM114-Status: GOOD ( 12.67 ) 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" , Mark Rutland , "dongas86@gmail.com" , "devicetree@vger.kernel.org" , Linus Walleij , "linux@armlinux.org.uk" , Stefan Agner , "linux-gpio@vger.kernel.org" , "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 On some SoCs(e.g. MX7ULP), GPIO clock is gatable and maybe disabled by default. Users have to make sure it's enabled before being able to access controller registers, otherwise an external abort error may occur. Let's add the optional clocks property to handle this case. For ULP GPIO clock, it includes two separate clocks: one is for GPIO controller Input/Output function clock while another is GPIO port control clock for interrupt function. Cc: Linus Walleij Cc: Mark Rutland Cc: Stefan Agner Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Dong Aisheng --- v2->v3: * no changes v1->v2: * new patch --- Documentation/devicetree/bindings/gpio/gpio-vf610.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.txt b/Documentation/devicetree/bindings/gpio/gpio-vf610.txt index 0ccbae4..ae254aa 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.txt @@ -24,6 +24,12 @@ Required properties for GPIO node: 4 = active high level-sensitive. 8 = active low level-sensitive. +Optional properties: +-clocks: Must contain an entry for each entry in clock-names. + See common clock-bindings.txt for details. +-clock-names: A list of clock names. For imx7ulp, it must contain + "gpio", "port". + Note: Each GPIO port should have an alias correctly numbered in "aliases" node. From patchwork Fri Nov 2 09:12:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665169 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 5D0851751 for ; Fri, 2 Nov 2018 09:13:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4844A2BA03 for ; Fri, 2 Nov 2018 09:13:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C2632BA0C; Fri, 2 Nov 2018 09:13:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 B9D222BA03 for ; Fri, 2 Nov 2018 09:13:40 +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=Kvaf5PbwDHu0BXjBttckOoP1agFi/wzLIghyi9BONUQ=; b=Dd45Bn1W+6/ll7 lHT/y9wg9CrxHj1iVAChtz/jCob3ZKwvfuONjmr6am9uGOBc9uPloDd+TU3fLUGGfXfCBq3DOnAn7 2rVX54AR1qYqKn29C19FQDYU5rKnlFE76bmXaoQASkenGkZLbcVYl6O/Om0bQLEbd7rtiLM9LiOL5 d5Xp1da2VJglbVS+6Zgp6GWqE7n9MM6BJLJLDbwXwcEhWFFBwtc2XtxgjQPWd6U8XrNxYn4tsZ7bn WpirVL7el7HAHpNuLNkDpyD9RN3uNJk7MrEw7b+ByxS2IEmd/ATjVLzAkPsa1HyWHTgQt48FS547S KG5mtrR0JLuds3ulXBjQ==; 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 1gIVWL-0006Xf-39; Fri, 02 Nov 2018 09:13:37 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVj-0005Uz-KE for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:03 +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=ZN4sieQCwosGKPOMQODlhKuvpSjWE7y6mo10PtMjMYM=; b=CBH5wx6CC4XW7fHaUdWBnph0+DjJoZNNTRPmDy0wNMww2sfU35H4abtXs5+UJqc9nxhzGaU/2HdUV70ZULqkS/YpBb3i6NJQdJh8mqZxoEwfYvYiiw7d0MFryPz3OC8hoZpS2cCxskpTv+tTJd3vDqcgZZjKwP/+SlPpDIH3M8Q= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:12:53 +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.024; Fri, 2 Nov 2018 09:12:53 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 04/10] gpio: vf610: add optional clock support Thread-Topic: [PATCH V4 04/10] gpio: vf610: add optional clock support Thread-Index: AQHUcow8qeqSLPu4H0KtZiNe8EdUQA== Date: Fri, 2 Nov 2018 09:12:53 +0000 Message-ID: <1541149669-10857-5-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:ObizvXxQnzLNSdEb9YKHi5ev8iZWvhvKm/CVVy9+2D2q1uUq4Az1UFTgj5Wsmf4cE3TEGYa0UadY8HUvjLMX9BJ6pbZemItcyRE+IUg+JKuZrpHdRKSdLnYAG1T6HSziuk9SnHb57CiDo/EtKh0wAZzFNaGuru8X3EHI/yirVXt7yPoLWdJYvev3OWLWzpo+qdDDAocNEvT5+a2beZUGwuiDmuvioOxiMQBCuu5lBIRSvSmu+/9xOevKTZjT3TPmsDvP9nS1AY9EQPyrT0ZlTpxk8Ga94fu0aO1fCB+mybvcVE+sp96X7pTiUnG2Ee3H8qTBapJYrNWhnPi5uCn2Q6at0fEs63bXdE8NXBDDS9TExFD5FK6reFuLtLGQsQcR0M0fMcFfe6cJaXQ56cjhgOMO0jP0mWjbhdkJCNf33+LZpVUC+chPLTBNjLoM1lrGjr8/KjtbhIk/Fisd3M+e7g==; 5:2340BygP1oAhfDa6+sx+ri+tcHGrJLU356YXSCvBzbATiggWHPgGjwkMghQNrl05Njt5fo7RAIboZt3qa6UOIruUXaCv0WnlDsKWmzTwd2h8VgWqIjF5Yi304rwEWR103/6HvvobGpdU4D14q+BDh9IwrMIsjY7R74R4La9o6M4=; 7:9plbroyQwRkM+zDD58lRErhfGpQPMXvooHCDsgTNheMA8O62LZo1Q7q4JcncD/K0r4rkn64XyEUHzQWyI/Si0+5Fl6FzoG8srzESqeAexD5YLWIDx6hvMRrDbfqGlLVQBuG/hvNktrvWcCqwwd497w== x-ms-office365-filtering-correlation-id: 2da1e83f-5803-4562-17f9-08d640a35e82 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: XCSHbd5bk0cA6kmQWD1MwDmCBgsbRz7EEIqkxQLkFaziwXAqt02mhwGlT727e1XOQsjUEQiMJnkXhNUSL1cwF0tooqldoathMiDljubIg0kVLEWE5WrfhmmPGTVlvUezbcsbSuYNj9JeydK+LQD6t2xWlE+R813UP2xyYQ78FmjV+v02KeDtCtJNSINoCuAApOKx+7SPI4Hes089FrJ9WY7rUjOwmvak8P+YrkSh7PCbS5cQ9VWtQ/+4NlIw4v4lxZYUqYrrxofHlDFb0GMKHk+12SyPABm2TQlORZHAnVYr5J6QTgjvewapiaL29PwOxbhF/IFZd6TtqNm9OX3liNHoI6VqQPYIYd8zwJKbiLY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2da1e83f-5803-4562-17f9-08d640a35e82 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:12:53.1796 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021300_054155_B3B83A45 X-CRM114-Status: GOOD ( 15.06 ) 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" , "dongas86@gmail.com" , Linus Walleij , "linux@armlinux.org.uk" , Stefan Agner , "linux-gpio@vger.kernel.org" , "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 Some SoCs need the gpio clock to be enabled before accessing HW registers. This patch add the optional clock handling. Cc: Linus Walleij Cc: Stefan Agner Cc: Shawn Guo Cc: linux-gpio@vger.kernel.org Signed-off-by: Dong Aisheng --- v2->v3: * error checking updated according to Russell's suggestion: ptr == ERR_PTR(-EPROBE_DEFER) * clock independently checking v1->v2: * new patch --- drivers/gpio/gpio-vf610.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index d4ad6d0..02fb7d8 100644 --- a/drivers/gpio/gpio-vf610.c +++ b/drivers/gpio/gpio-vf610.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include @@ -256,6 +257,7 @@ static int vf610_gpio_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct device_node *np = dev->of_node; + struct clk *clk_gpio, *clk_port; struct vf610_gpio_port *port; struct resource *iores; struct gpio_chip *gc; @@ -280,6 +282,28 @@ static int vf610_gpio_probe(struct platform_device *pdev) if (port->irq < 0) return port->irq; + clk_port = devm_clk_get(&pdev->dev, "port"); + if (clk_port == ERR_PTR(-EPROBE_DEFER)) + return -EPROBE_DEFER; + + clk_gpio = devm_clk_get(&pdev->dev, "gpio"); + if (clk_gpio == ERR_PTR(-EPROBE_DEFER)) + return -EPROBE_DEFER; + + if (!IS_ERR_OR_NULL(clk_port)) { + ret = clk_prepare_enable(clk_port); + if (ret) + return ret; + } + + if (!IS_ERR_OR_NULL(clk_gpio)) { + ret = clk_prepare_enable(clk_gpio); + if (ret) { + clk_disable_unprepare(clk_port); + return ret; + } + } + gc = &port->gc; gc->of_node = np; gc->parent = dev; From patchwork Fri Nov 2 09:12:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665203 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 A8B6A15E9 for ; Fri, 2 Nov 2018 09:28:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E6A42BCA2 for ; Fri, 2 Nov 2018 09:28:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DE612BCA3; Fri, 2 Nov 2018 09:28:19 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 002DF2BC8E for ; Fri, 2 Nov 2018 09:28:18 +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=W+tHbnP4+X7K0mw4h6Uu2BZLvqCLlhTNa/jF89qUxLQ=; b=ruGRNxzT6VveDQ LFcTMF7Ijrw3DL4ZriWjZ5Sd6V48ZeCjmrLl8XmWT4oHbMxoXOuKWPu88q82TgjT0Na/TcOgxSIQf /OLGpAseFEAn85jHrxfESZAeDqv7pkv25ovScl2JY8wf5n+KoKAyMIxNM2aCOWHftZe+bgB9do55s LU+N1EwXA0bj6k/kBVm0O7A54xlBX3upXSYb2mtZpXl/oApM6QUFKue4XxWlNDnADBmeYBCYovg6G +nlG2Esbq6xFVmr5PvB1NYvFyYIP7zLkHTlQJv2nLP9VfyZD2eiQVE1+vh7yNo/9yZbVbf1V0tnpy AoQ6fE5xQFrAR3sErPzA==; 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 1gIVkY-0004Z7-4C; Fri, 02 Nov 2018 09:28:18 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVo-0005Uz-Iw for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:10 +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=Bs96e4IIfzkF1qpC229XAOATQR5wRQMEOEJ+G+krhjs=; b=A6J8Eo1toMp1iKOX+Wp6I3sl2ucTH2f9T6XG5IzPpn8jdeSdzPnYPLTmdu1Q8t4Q9aTmk7X3dx2QwWiEdG5xuY125YUaiuGlGCnhP0PKwJcbnB1mf1nmwXiGPffu1TBN5jNk/DjuJWMz54CTqTlL5E/CSFREKnQXmOoNsZCvLSw= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:12:58 +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.024; Fri, 2 Nov 2018 09:12:58 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 05/10] dt-bindings: pinctrl: imx7ulp: back to imx legacy binding for consistency Thread-Topic: [PATCH V4 05/10] dt-bindings: pinctrl: imx7ulp: back to imx legacy binding for consistency Thread-Index: AQHUcow/fq0Prpq5nUKLG5MJPXYPrg== Date: Fri, 2 Nov 2018 09:12:58 +0000 Message-ID: <1541149669-10857-6-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:xazeQSP4SSBxC4TF/iIScEB3okTi8u3Ro5BnVJ7oQ7eASqsmZl6VDf0xfi0bQoCZ2ixepl2pd8Xkg3LZW1+JBjTBncudcebSf8x0PrTdh7rtg+BNsRsQm7xbqURtOll5QofbYhKznobXDzEJrVMTSQjuWjRw5ypz4lz9t4uOwHimFNiosGqTSyElbTddtFrhzdH8lKXzyI2FdFPCDpUqb6jbcHm3nATIgUcEnGEwtHbEiJO9VdsikW7R32daawOxGDQ8b1Q9JwDnh29n+3jsvUOJQQipm/Ug83w74njcdLSbTSSQ/Cgk2lSiYsHPgib9GCRUby5ocRfaebu9ts96icGR8sPQv3+8HuAqea2wHak/VkGOl7JGHyne2+mvRMjelglt19pxMF4AGVLVfsnfJO4hXEiUgOeJDq2+X1pbE3ZI/MRD1gKt8XBPSGOQSuhtQcnvz1dJfFUt6WJyilLVlA==; 5:PoS6jt03fFLxGoGofjiRcUPl5Vp6LDD0mG9DJVGUe5JCiJMBTEtBIjRHUNCSDZnlfKbtiLsBQ5lMBkxWzdc+4j5Fxe7vp05+E/VK7vpd+IK5+GdDN8syw1dcXrdwvYuTaYSRwd/ogDrbQZbcaJ+JAxA2ZHJU2XVp2lV7aQV6w5w=; 7:5CtfHvBAo+Ehc3xuvwmGLhJc/rDx9E8E0O0jp092kPAJJ/y9POyW98ce2SZlbme044zTsPTX9BgoNkbMNiCC6tAkPzUsS7avEjUC2RJh8Ke6Pvot37pWUr2a3GM6EDmW5NLjU9SOuQQuJnbVhOvUWg== x-ms-office365-filtering-correlation-id: 98bdc999-0a79-49e0-6bff-08d640a361c4 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(269456686620040)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(54534003)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(575784001)(14444005)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(7416002)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: fxKh4HV2hNFCzPduWhd91q1dY+3Yp1F47C5VLsKisfcbw2lmAsaPjHuhjq+r503tiYSSubWBICbNrygv+dGpYC2hIMU7Xwd3mGphNbzY1eLmE4nTMzEHEagjAeGgevhfo7JlX8oEllhtrGfuH8XqdkmeWjIjUVLAAaSQzFEY1ISwlBZe4F+jG2jdXiyPwlRTOihAOH7lLPf9x6Y1MwGaBLRZiGEsMbiibbB3BfDV2fSVsFQE51NRaxj0cJ89NwvkbVaDlk75Tuuj+1/CsYCborl9k5AU2IRV23m2fu/vJJoVIGz7khm+RTWgXW5F2x70uNr6BKSsEEzHnqUAoQ5bLKk2p37ZofD08hFpb4zwhfg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98bdc999-0a79-49e0-6bff-08d640a361c4 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:12:58.7846 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021304_994339_C2906E99 X-CRM114-Status: GOOD ( 17.41 ) 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" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , Linus Walleij , "linux@armlinux.org.uk" , Stefan Agner , "linux-gpio@vger.kernel.org" , "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 We already had an earlier conclusion that all new i.MX Socs will keep using the legacy i.MX Pinctrl bindings instead of generic pin config. However, MX7ULP generic pin config binding support has already been in tree before that time. Per SoC maintainers' suggestions, in order to get a better consistency for all i.MX devices, we'd like to go back to imx legacy binding for MX7ULP as well. Cc: Rob Herring Cc: Linus Walleij Cc: Shawn Guo Cc: Stefan Agner Cc: Sascha Hauer Cc: Fabio Estevam Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Dong Aisheng Acked-by: Fabio Estevam Reviewed-by: Rob Herring --- ChangeLog: v3: new patch --- .../bindings/pinctrl/fsl,imx7ulp-pinctrl.txt | 66 ++++++++++------------ 1 file changed, 29 insertions(+), 37 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt index 44ad670a..bfa3703 100644 --- a/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt @@ -7,55 +7,47 @@ Note: This binding doc is only for the IOMUXC1 support in A7 Domain and it only supports generic pin config. -Please also refer pinctrl-bindings.txt in this directory for generic pinctrl -binding. - -=== Pin Controller Node === +Please refer to fsl,imx-pinctrl.txt in this directory for common binding +part and usage. Required properties: -- compatible: "fsl,imx7ulp-iomuxc1" -- reg: Should contain the base physical address and size of the iomuxc - registers. - -=== Pin Configuration Node === -- pinmux: One integers array, represents a group of pins mux setting. - The format is pinmux = , PIN_FUNC_ID is a pin working on - a specific function. - - NOTE: i.MX7ULP PIN_FUNC_ID consists of 4 integers as it shares one mux - and config register as follows: - - - Refer to imx7ulp-pinfunc.h in in device tree source folder for all - available imx7ulp PIN_FUNC_ID. - -Optional Properties: -- drive-strength Integer. Controls Drive Strength - 0: Standard - 1: Hi Driver -- drive-push-pull Bool. Enable Pin Push-pull -- drive-open-drain Bool. Enable Pin Open-drian -- slew-rate: Integer. Controls Slew Rate - 0: Standard - 1: Slow -- bias-disable: Bool. Pull disabled -- bias-pull-down: Bool. Pull down on pin -- bias-pull-up: Bool. Pull up on pin +- compatible: "fsl,imx7ulp-iomuxc1". +- fsl,pins: Each entry consists of 5 integers which represents the mux + and config setting for one pin. The first 4 integers + are specified + using a PIN_FUNC_ID macro, which can be found in + imx7ulp-pinfunc.h in the device tree source folder. + The last integer CONFIG is the pad setting value like + pull-up on this pin. + + Please refer to i.MX7ULP Reference Manual for detailed + CONFIG settings. + +CONFIG bits definition: +PAD_CTL_OBE (1 << 17) +PAD_CTL_IBE (1 << 16) +PAD_CTL_LK (1 << 16) +PAD_CTL_DSE_HI (1 << 6) +PAD_CTL_DSE_STD (0 << 6) +PAD_CTL_ODE (1 << 5) +PAD_CTL_PUSH_PULL (0 << 5) +PAD_CTL_SRE_SLOW (1 << 2) +PAD_CTL_SRE_STD (0 << 2) +PAD_CTL_PE (1 << 0) Examples: #include "imx7ulp-pinfunc.h" /* Pin Controller Node */ -iomuxc1: iomuxc@40ac0000 { +iomuxc1: pinctrl@40ac0000 { compatible = "fsl,imx7ulp-iomuxc1"; reg = <0x40ac0000 0x1000>; /* Pin Configuration Node */ pinctrl_lpuart4: lpuart4grp { - pinmux = < - IMX7ULP_PAD_PTC3__LPUART4_RX - IMX7ULP_PAD_PTC2__LPUART4_TX + fsl,pins = < + IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 >; - bias-pull-up; }; }; From patchwork Fri Nov 2 09:13:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665205 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 0476815E9 for ; Fri, 2 Nov 2018 09:28:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBDCC2B13D for ; Fri, 2 Nov 2018 09:28:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDF722B23E; Fri, 2 Nov 2018 09:28:29 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 70D822B13D for ; Fri, 2 Nov 2018 09:28:29 +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=RydqIJ7n4c5RfH+dH94ShpMXN+UTVP4/VX7mV7Obn3k=; b=I6QBBCxC6piO3q qRVLCn6CozF3dvpfNWEg3pQn/avXT75aaEAxgb7gnot5YT75Se/iu4vUmtBReHBHZsuBSa8wR2fKj 9bIIMDPdH8LXu4QnkQyQhHPFKuIW9IG2kSLD/4cZkW5YWSaHwKCLJ+Ukcy9ncc/e6S4hVu8dgaU59 sTadZOwMQi4yh5gOR7eb+JHWztiD5c4Mar8gbn00cmluPi6dxqJjpec2roMCYrE81vfW8qYtcP/Fk 2orPWMg584rBWMbFK72R/anwq3Q12JKQki8mS0fXNMd6FTlThkr1zbMgafmfIq2inGEjBgTygEuOl Z/GNt110+ZRolIjnvgRg==; 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 1gIVkh-0004lD-S2; Fri, 02 Nov 2018 09:28:27 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVVu-0005Uz-JE for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:17 +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=9X6/X03Ex3BQZ42X04EnOUypDBGiD3iMPgyT/ZtVm18=; b=Dpdv6PhhcJX++9pn0qY/rVKmlRwwoJNSQetYjAVziy+zjfCXiapruYrPdeVoSJlDqPT0DxJ0yWd1L0Eu/Ab9m4VMBFVPw1IW6542QSBGzAzbiEbS4X3aWGiP9js/xTF+s0YweyIkOT1WtRMl0aReoRSk9pqk8UktC/zIlZDeYEE= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:13:03 +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.024; Fri, 2 Nov 2018 09:13:03 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 06/10] pinctrl: fsl: imx7ulp: change to use imx legacy binding Thread-Topic: [PATCH V4 06/10] pinctrl: fsl: imx7ulp: change to use imx legacy binding Thread-Index: AQHUcoxCtT3HMSMu70a5tkE8AtPEAg== Date: Fri, 2 Nov 2018 09:13:03 +0000 Message-ID: <1541149669-10857-7-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:W4pi12YwzS1Z75IL8lSuXkEubotvx0qNaZL7ZaB2CEZ9ZVUHQsxNWibXmMDKItYbIv2iThtlgG3OVMZOlU12Q0wU0dgd+2R36ap/6fce46yx06A3LKY9L/s8kXOn8YBqJGOmLnatpq6M5ibaVfLuyPpRwYmv2M3f5110TD5AqZsuPI9mYRVpo3f7ReAn5u7kZaXK7DQCBFEpmrkkk2xqKCRTuVw9xmk3eViU9EhrI7GuTTvLz51wvGiHMiwYBPYUnWF9zo8xZqSZPcVv1apFcbIDF6tJS+ginlGAbiZBtU/zKsMq4+BXoz44y8n1Tf8VJYt3C5jVsasBxRb1PM43DaCd2me4247/BJxzPFGYju5e+WKxW4xnW0HUl74gvTlyvjsJ+riEHCENBrI9CusJmpGAoiApkiUftJD/uqwbzJdltWnZBX8Hwf88q2CMWfgsrJs89Jj88BaNCb6crCw/kQ==; 5:PA2QemPzjXNmmt/g3n4KHLchYRSUmskLz0zlmzC47fXIx4LSad2i8aCuYGmp0FlCKggYej424HZNIwZ14YrSTB7zh1sRaYnAGKXgAMIeEqQYTMR3O+2+WYImQk4KrEh/apJ9SD7L37ta/JVke7X38Didlq7vdUyBxz7aFO8Jbag=; 7:4ubtghIRPxSeonQe6EFgtmFczb29lSbTKRLO+0D/fg6AtIdpBW1M+LlZ49QiojjIGIGhSfWfhBiU+9+C/7+DCYfNZPwvOasfIJmguza+s8SSqW2t5p6LQbEvmtmBtNlihXeDc6cbgGxJtJL1rRYbHA== x-ms-office365-filtering-correlation-id: d2248e20-dcaa-4872-39bc-08d640a36480 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(54534003)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(575784001)(14444005)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: cCnv9zU+8eImBDoD/CAsr6znwAx/kQigzDdVAqAqfuXxCcT1Nq3kQZI00oEE9IdqNeSEWDGQzqvYf9l23LmTk5CUkorN+7jupk7XBk3BOAKcr6p43TIGtqwsp/q0CoKnA+FhaRhnKc63HDbtUJX8jUmwtcw83tMdgKMQEI1/1loShDxmsqUvhJ1S7Bp32+ZONoIlYRoQWVuBeBCPhbZHwJhkAd7RsNDp/LBhqzmNkYnA4/vqSbKvmNX/pkNANWrnCacdBqduY9H4W1jaHL2V6bq5G+w2FR/+55NEw9eAL1UeN9LAedSsPpLJVjN1QOpqjh+LoQyK1KmO9TJkusDcd1eTISD6dFTTk/81KupbDbo= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d2248e20-dcaa-4872-39bc-08d640a36480 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:13:03.2267 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021311_103021_E8C53CF7 X-CRM114-Status: GOOD ( 14.08 ) 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" , "dongas86@gmail.com" , Linus Walleij , "linux@armlinux.org.uk" , Stefan Agner , "linux-gpio@vger.kernel.org" , "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 We already had an earlier conclusion that all new i.MX Socs will keep using the legacy i.MX Pinctrl bindings instead of generic pin config. However, MX7ULP generic pin config binding support has already been in tree before that time. Per SoC maintainers' suggestions, in order to get a better consistency for all i.MX devices, we'd like to go back to imx legacy binding for MX7ULP as well. Cc: Linus Walleij Cc: Shawn Guo Cc: Stefan Agner Cc: Sascha Hauer Cc: Fabio Estevam Cc: linux-gpio@vger.kernel.org Signed-off-by: Dong Aisheng --- ChangeLog: v3: new patch --- drivers/pinctrl/freescale/pinctrl-imx7ulp.c | 42 ----------------------------- 1 file changed, 42 deletions(-) diff --git a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c index f521bdb..922ff73 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx7ulp.c +++ b/drivers/pinctrl/freescale/pinctrl-imx7ulp.c @@ -256,46 +256,8 @@ static const struct pinctrl_pin_desc imx7ulp_pinctrl_pads[] = { #define BM_OBE_ENABLED BIT(17) #define BM_IBE_ENABLED BIT(16) -#define BM_LK_ENABLED BIT(15) #define BM_MUX_MODE 0xf00 #define BP_MUX_MODE 8 -#define BM_PULL_ENABLED BIT(1) - -static const struct imx_cfg_params_decode imx7ulp_cfg_decodes[] = { - IMX_CFG_PARAMS_DECODE(PIN_CONFIG_DRIVE_STRENGTH, BIT(6), 6), - IMX_CFG_PARAMS_DECODE(PIN_CONFIG_DRIVE_PUSH_PULL, BIT(5), 5), - IMX_CFG_PARAMS_DECODE(PIN_CONFIG_SLEW_RATE, BIT(2), 2), - IMX_CFG_PARAMS_DECODE(PIN_CONFIG_BIAS_DISABLE, BIT(1), 1), - IMX_CFG_PARAMS_DECODE(PIN_CONFIG_BIAS_PULL_UP, BIT(0), 0), - - IMX_CFG_PARAMS_DECODE_INVERT(PIN_CONFIG_DRIVE_OPEN_DRAIN, BIT(5), 5), - IMX_CFG_PARAMS_DECODE_INVERT(PIN_CONFIG_BIAS_PULL_DOWN, BIT(0), 0), -}; - -static void imx7ulp_cfg_params_fixup(unsigned long *configs, - unsigned int num_configs, - u32 *raw_config) -{ - enum pin_config_param param; - u32 param_val; - int i; - - /* lock field disabled */ - *raw_config &= ~BM_LK_ENABLED; - - for (i = 0; i < num_configs; i++) { - param = pinconf_to_config_param(configs[i]); - param_val = pinconf_to_config_argument(configs[i]); - - if ((param == PIN_CONFIG_BIAS_PULL_UP) || - (param == PIN_CONFIG_BIAS_PULL_DOWN)) { - /* pull enabled */ - *raw_config |= BM_PULL_ENABLED; - - return; - } - } -} static int imx7ulp_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, @@ -326,10 +288,6 @@ static const struct imx_pinctrl_soc_info imx7ulp_pinctrl_info = { .gpio_set_direction = imx7ulp_pmx_gpio_set_direction, .mux_mask = BM_MUX_MODE, .mux_shift = BP_MUX_MODE, - .generic_pinconf = true, - .decodes = imx7ulp_cfg_decodes, - .num_decodes = ARRAY_SIZE(imx7ulp_cfg_decodes), - .fixup = imx7ulp_cfg_params_fixup, }; static const struct of_device_id imx7ulp_pinctrl_of_match[] = { From patchwork Fri Nov 2 09:13:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665173 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 C42541751 for ; Fri, 2 Nov 2018 09:14:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEFA92BA63 for ; Fri, 2 Nov 2018 09:14:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2F7E2BA78; Fri, 2 Nov 2018 09:14:06 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 0FCAD2BA63 for ; Fri, 2 Nov 2018 09:14:06 +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=r7fDT4ulXhxtRk8MI/II9PWv8d7o2OuyFwb98KVAFVs=; b=s7K1nYyq9OZii7 tkLZlvDRy/8X7gaOAUIr3eR5xshqx5WIB3O5Gn8hrXRDspmVU1lzgts7XhvA4ZnADn95juIsNrhEw mO3HC+ht7t+3RsofL9o9DHgf3dwI/ec8Dug0gfKBFHRTCd0LHHTBiQPWQFrIuerSHdMZVQoLVzWdW S42aNOycGFm26OsWPr2DukRF+CC16d0HqKNE6bUu8wFL8clIavSZVrP8BmCoPIRZxhuq/AluvgVpt 1icc/Y8rou2DTl1BJMkB3DLjn6/nQYUW3LdEwE5gDHJZTAZjMo11+eI+8cEXeiSl9uRDlJ+/Q/tjL HoXzFh7lz0PCT4yNHMNw==; 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 1gIVWl-00076t-KA; Fri, 02 Nov 2018 09:14:03 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVW2-0005Uz-0R for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:51 +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=fx8kf0S6n0aqw1R/MJ26qkHYAuqxexSC1YObS3c+aZ0=; b=ux/99LYAst/rBakzSHjwx5q3Zv7g1kMWL8do5OJWqsUYbsJAvIcxjK3gHDVveOXNcDWSJsJrGbLeFCiH2L1G0EfJBIZTvwDjNuCUbWeSZM+ozpn4Qh8UgKTzaLPGahdxvLyHKB80/6sO2/BQTam+q4bpm7W8mHT2kjroc5bS1Z8= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:13:07 +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.024; Fri, 2 Nov 2018 09:13:07 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 07/10] ARM: imx: add initial support for imx7ulp Thread-Topic: [PATCH V4 07/10] ARM: imx: add initial support for imx7ulp Thread-Index: AQHUcoxEIGBkTbiBA06EiH8tq/mpLg== Date: Fri, 2 Nov 2018 09:13:07 +0000 Message-ID: <1541149669-10857-8-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:xKkyTCB3x+VDWRnfFJOoCy54LjwE168lk00laKHiM5UmHm3bFSsvzwPL5r7SyRlkxOoeJLYTZOxFiKx6xsGzZ0ckxM1TCiG4ZxNwvgvwiSAnO7cDCY8U0qFAGZ0epALICb1n0Tsaufl5FyVK0u03j9y8m/OGJZGs9JhvFQ16J6ffdhJBJGimb5R4NVMDwT+OqsllIWdiCcGn7LK+X424+Z774DwL4k2Z2bFpOS6tTyuTp5wXurITcZe/lzNG+WcXGjWmZcf1TDK36JXucGbZUcyTaaVNe5iJhyQvL3b9JoHZy8whSBpzU+gDBmysAvzFkPd0hAPREvyTUlUvstPBOPN2LnyZA1nTqUl8MO6qyjsg1aEdlr7AYVfgiphKexHvLNhvUQKRLJJD9WwMncBjM8YrV7doUQY50NHgtP/Vgrqd5Leb1NqTt+JJLVzhr/hrzbsubrGIku+TsNiBwRjguA==; 5:bLDO5pKbO/wpfKSXNakmpus/cje+kURg1an2CgEWwywhMZypCDuJI8URE2g0cb+jcsX8UO2jaHHJtO/BDAiBzUBOrSVgaFj3cowb2MF8mPppzOIzvPxXUx/wiJs0OMQk85Hx0ljIWC9fUIPzyKsDXS3qL0+iJV+Qdednjwh5mfc=; 7:se1K8XvYI2MRwIe+7S+XR2xFMeNU2ti/4S1TUHrmVd/tOybbz9+fhqA/fyPxbmjI4cwAOHS3YOp0SGNuabqYFUKBa3d7kb2vON0uucwrWLMvS6WLYJSemW8CWFyjaszq9F0fQAekJxW8azmrowkYKg== x-ms-office365-filtering-correlation-id: 5a657657-c2ef-4341-ab14-08d640a3669f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(54534003)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(575784001)(14444005)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: 6rixkMv6f6Fw8E0HiPZ4RShhhaWodXQHoTerg1XbsTNh6Qx5VfgNMc6eBZViw7indf4/ayw3AY7v7PItbiIHz7R27KdrquHEbP4ugXlGoJKeZUIXzWWOXZv+CSWRKxJiDFztSpnAkmUkK5gVELMPDVQZmlqR3F7GbSejNXGAI4WFYhhgtdRD6d2vdVBUSze0dWi7EO6URWfDtw9m6UL5ifliqe1vP65kc0oMikszCGFEn8G6qKzqBVSqyERhCsGI5NOYe4PxeQMAgej0ayquWtmWaGFdEIMiiJ+0Ct6bFLDd0nUVFf/YhmzKWqAjAs/ItjYTu5mJoNeMNHiO1kM6eCXVfe30iGO327z3cKpYchQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a657657-c2ef-4341-ab14-08d640a3669f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:13:07.2516 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021318_706409_EC8095E6 X-CRM114-Status: GOOD ( 20.53 ) 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" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 The i.MX 7ULP family of processors features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). This patch aims to add an 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 --- ChangeLog: v3->v4: * add iounmap(smc1_base) * add comments about fixed SoC version v2->v3: * no changes v1->v2: * switch to SPDX license * more description of new SOC in commit message --- 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 | 33 +++++++++++++++++++++++++++++++++ arch/arm/mach-imx/mxc.h | 1 + arch/arm/mach-imx/pm-imx7ulp.c | 29 +++++++++++++++++++++++++++++ 7 files changed, 77 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 abc3371..c12a05c 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -558,6 +558,15 @@ config SOC_IMX7D help This enables support for Freescale i.MX7 Dual processor. +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 bae179a..8af2f7e 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -83,6 +83,7 @@ obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o obj-$(CONFIG_SOC_IMX7D_CA7) += mach-imx7d.o obj-$(CONFIG_SOC_IMX7D_CM4) += mach-imx7d-cm4.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 423dd76..bc915e5 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -120,6 +120,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 c73593e..0b137ee 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -145,6 +145,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..979ad02 --- /dev/null +++ b/arch/arm/mach-imx/mach-imx7ulp.c @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Author: Dong Aisheng + */ + +#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); + /* FIXME: so far there is still no way to retrieve SoC version */ + imx_print_silicon_rev("i.MX7ULP", IMX_CHIP_REVISION_UNKNOWN); + 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 b130a53..8e72d4e 100644 --- a/arch/arm/mach-imx/mxc.h +++ b/arch/arm/mach-imx/mxc.h @@ -44,6 +44,7 @@ #define MXC_CPU_IMX6ULZ 0x6b #define MXC_CPU_IMX6SLL 0x67 #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..cf6a380 --- /dev/null +++ b/arch/arm/mach-imx/pm-imx7ulp.c @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Author: Dong Aisheng + */ + +#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); + iounmap(smc1_base); +} From patchwork Fri Nov 2 09:13:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665175 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 DB4CB15E9 for ; Fri, 2 Nov 2018 09:14:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C472E2BA63 for ; Fri, 2 Nov 2018 09:14:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8A622BA78; Fri, 2 Nov 2018 09:14:28 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 F39082BA63 for ; Fri, 2 Nov 2018 09:14:27 +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=3GZ3xPhzsQAZHAdVuYVSHEfrV6ziX1aVcTffiC+3/bw=; b=VTOWNTSLAp8/db ubrr8s5g6fm5NFdLwtvSNZfSowB20iSQo7Om+tn3GMCGV66ffD7UhtviX0jfi1AI0IsG/TlOoDkRD bDaDeBnXmmZ+c8TQ3aPsQg9OAnh4D37kfXMUFZg4pLx6ZVWxhobQ7CkemzMBwIddoA+O5UKP+blhH SzwE6uiA0UECZpwxJwGHbBXhO6Z1ib/ny8+CM0p3kmLPWyEgdtAVOg8Ok/sqPzZTxluu+cypXmpHF NRhvKkGBspckiQRGq8+lFvVgo4UTy90OrTSKqNeqoMrRPLpEh6aCSzPX7T88JwAmCOB9bvAEojIBp V4faQ8O2snjrVlwEfnGg==; 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 1gIVX6-0007aJ-Tw; Fri, 02 Nov 2018 09:14:24 +0000 Received: from mail-db5eur03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe0a::618] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVWZ-0005Uz-PM for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:14:23 +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=ifHgxsHGbYWzqkgM2vABQ0E2WDYQbO3OBmRBVf2r2c8=; b=Yhl9Yl+wngPRnUWTjfb0G73EgmTbw1eiMn5rKOnsIk6ZvaNyveBXZgd5tWnEEJUPQ3nZX+tTpwEK4LYCW3/DQQoDf4wMBCgMFAX6593zZz9YrgQCvL9fQMeccx2a7/Ih2qvey3xiASDkkZ0U30HjItKwHivJROUMBfsHH9wlVAE= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4113.eurprd04.prod.outlook.com (52.134.125.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:13:11 +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.024; Fri, 2 Nov 2018 09:13:11 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 08/10] dts: imx: add common imx7ulp dtsi support Thread-Topic: [PATCH V4 08/10] dts: imx: add common imx7ulp dtsi support Thread-Index: AQHUcoxHvT8Zus8P2EGIpkuURDS++Q== Date: Fri, 2 Nov 2018 09:13:11 +0000 Message-ID: <1541149669-10857-9-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4113; 6:AQGopQ5OVKRE79R3grZ4pKFjxDz6wP0DCvEMDOpXeCayv0SpsbbYN6lNe/ZjSziHa95q4V+xIs6Kxfd8NyjVkPPJKdrPZFuJLpd4jFe4iq/dE58XRh4NWuGGxlmplpdgyP1YEhS37rbEqp5Iqk+KrS8IFBx5ZLTtlg63Qg0lA+gCYP7gi/8RVKECWWi/QWN7zEWkljLFWnbxtV6TH77iaGxWuDZLF82sfORlQ5d/bmchfaD2Hafuu8sXPe3Kc6G4vWxFwJVknN6U1LwUWG1ppWZOKUdr9hfQ3CRldXhYsKgr0crPowyBax0rRC5B7BREdZ8EMiLdJHw+jFwIHAb6cUHMwdwhnJ6CEc6g/gWSvietQXgqvwn9tCCvQsQGyGNUvkelWnhBV//y62YyMZMxyormtvv4CyMtEdwu9o07+jGIspjNUgzynwJ3wXh1bXvUqDn602ICykddiM+MODNbgw==; 5:6uVfifAo9JyQtWhgvCwm4/QvL/HTNAvMV+OQhuP9P4VfFD2q4+L+SNKLLkykNDhfqR3zL17xxMwrAwGqVrkN83IWdh3hCPHBx+tI39iTfRAWjsHtZP2Ff7oJkHm+ri17Ae13dZZusksAsyAgazn4bTfX6xZwLn3F+jAoh5eGVpI=; 7:Ped6NFGLHMndtJ9XEM0295fMXXwCDd2vM1aeV9hrJpSgWrhHbQAJ5o983V+hRDnDMtCAlBpO0JfXZnfzYXV//XKnCRyMtW3J4xWwr296tfXHyW/NQQYmZp7yPeEVnqdHeZH72nkv78UQ7eCxtQ6+JQ== x-ms-office365-filtering-correlation-id: 91d7a68e-5fff-4548-4c64-08d640a36968 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4113; x-ms-traffictypediagnostic: AM0PR04MB4113: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4113; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4113; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(136003)(366004)(376002)(396003)(189003)(199004)(54534003)(8676002)(53936002)(11346002)(446003)(68736007)(86362001)(14444005)(99286004)(81156014)(256004)(81166006)(6436002)(106356001)(2351001)(186003)(5640700003)(2906002)(7736002)(386003)(6506007)(6116002)(102836004)(478600001)(3846002)(305945005)(6486002)(76176011)(52116002)(6512007)(4326008)(6916009)(66066001)(105586002)(2900100001)(36756003)(26005)(25786009)(71190400001)(50226002)(5660300001)(316002)(97736004)(54906003)(2501003)(14454004)(8936002)(486006)(71200400001)(39060400002)(2616005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4113; 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: w68c1wNqqPdY4WHXoO2xbwjOUvkUw9zqojGj9taSHNwr9CUjXSKg+7fl49828uyc8XQ8EoVn7CoIjxGw+KNFKwaFf6YNdY1Bn08ghSPhr1B4tX2T24mpXccrwX7J+Bynfn0p68ELSMfEKHBome/OedtvpWjl2pSGUXJZ8cgwAmpuuVpgSTWyjKRTYOe17uGSk/gLvWNrlmk2F8UGQUBLcpJdOEDq5hMxOdq30l0/uIMBnCj98iCz/6El4lT/1PaqL1+PJ1SDWMptUw+Gay5Jqu9wfxNSxmXI8ZaOZqfOgLQjvy2gaWz9/fShd5ifStT3OYShhm9jZDTTtjlDA/O3jCdfAdRcI26Vqwbm2ejXE9c= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91d7a68e-5fff-4548-4c64-08d640a36968 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:13:11.4585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4113 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_021352_215196_41F0A196 X-CRM114-Status: GOOD ( 15.49 ) 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" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 The i.MX 7ULP family of processors features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). This patch aims to add the initial support including: 1) CLK 2) GPIO PTC, PTD, PTE, PTF 3) uSDHC 1/2 4) LPUART 4/5/6/7 5) LPI2C 6/7 Cc: Rob Herring Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: Sascha Hauer Cc: Fabio Estevam Signed-off-by: Dong Aisheng --- ChangeLog: v2->v3: * change to generic node names * remove arch timer due to: 1) arch timer is fixed to 1Mhz which is lower accurate than TPM timer (3Mhz). 2) no firmware progrem CNTFREQ 3) cpuidle driver is still not in tree will may cause system hang v1->v2: * update clk part due to binding change * separate soc.dtsi from board.dts --- arch/arm/boot/dts/imx7ulp.dtsi | 314 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp.dtsi diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi new file mode 100644 index 0000000..c06fd3e --- /dev/null +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -0,0 +1,314 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Dong Aisheng + */ + +#include +#include +#include + +#include "imx7ulp-pinfunc.h" + +/ { + interrupt-parent = <&intc>; + + #address-cells = <1>; + #size-cells = <1>; + + aliases { + gpio0 = &gpio_ptc; + gpio1 = &gpio_ptd; + gpio2 = &gpio_pte; + gpio3 = &gpio_ptf; + i2c0 = &lpi2c6; + i2c1 = &lpi2c7; + mmc0 = &usdhc0; + mmc1 = &usdhc1; + serial0 = &lpuart4; + serial1 = &lpuart5; + serial2 = &lpuart6; + serial3 = &lpuart7; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "arm,cortex-a7"; + device_type = "cpu"; + reg = <0>; + }; + }; + + intc: interrupt-controller@40021000 { + compatible = "arm,cortex-a7-gic"; + #interrupt-cells = <3>; + interrupt-controller; + reg = <0x40021000 0x1000>, + <0x40022000 0x1000>; + }; + + rosc: clock-rosc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "rosc"; + #clock-cells = <0>; + }; + + sosc: clock-sosc { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "sosc"; + #clock-cells = <0>; + }; + + sirc: clock-sirc { + compatible = "fixed-clock"; + clock-frequency = <16000000>; + clock-output-names = "sirc"; + #clock-cells = <0>; + }; + + firc: clock-firc { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + clock-output-names = "firc"; + #clock-cells = <0>; + }; + + upll: clock-upll { + compatible = "fixed-clock"; + clock-frequency = <480000000>; + clock-output-names = "upll"; + #clock-cells = <0>; + }; + + mpll: clock-mpll { + compatible = "fixed-clock"; + clock-frequency = <480000000>; + clock-output-names = "mpll"; + #clock-cells = <0>; + }; + + ahbbridge0: bus@40000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x40000000 0x800000>; + ranges; + + lpuart4: serial@402d0000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x402d0000 0x1000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_LPUART4>; + clock-names = "ipg"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPUART4>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>; + assigned-clock-rates = <24000000>; + status = "disabled"; + }; + + lpuart5: serial@402e0000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x402e0000 0x1000>; + interrupts = ; + clocks = <&pcc2 IMX7ULP_CLK_LPUART5>; + clock-names = "ipg"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPUART5>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + tpm5: tpm@40260000 { + compatible = "fsl,imx7ulp-tpm"; + reg = <0x40260000 0x1000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&pcc2 IMX7ULP_CLK_LPTPM5>; + clock-names = "ipg", "per"; + }; + + usdhc0: mmc@40370000 { + compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc"; + reg = <0x40370000 0x10000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&pcc2 IMX7ULP_CLK_USDHC0>; + clock-names ="ipg", "ahb", "per"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC0>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_NIC1_DIV>; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + usdhc1: mmc@40380000 { + compatible = "fsl,imx7ulp-usdhc", "fsl,imx6sx-usdhc"; + reg = <0x40380000 0x10000>; + interrupts = ; + clocks = <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>, + <&scg1 IMX7ULP_CLK_NIC1_DIV>, + <&pcc2 IMX7ULP_CLK_USDHC1>; + clock-names ="ipg", "ahb", "per"; + assigned-clocks = <&pcc2 IMX7ULP_CLK_USDHC1>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_NIC1_DIV>; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + scg1: clock-controller@403e0000 { + compatible = "fsl,imx7ulp-scg1"; + reg = <0x403e0000 0x10000>; + clocks = <&rosc>, <&sosc>, <&sirc>, + <&firc>, <&upll>, <&mpll>; + clock-names = "rosc", "sosc", "sirc", + "firc", "upll", "mpll"; + #clock-cells = <1>; + }; + + pcc2: clock-controller@403f0000 { + compatible = "fsl,imx7ulp-pcc2"; + reg = <0x403f0000 0x10000>; + #clock-cells = <1>; + assigned-clocks = <&pcc2 IMX7ULP_CLK_LPTPM5>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>; + }; + + smc1: smc1@40410000 { + compatible = "fsl,imx7ulp-smc1"; + reg = <0x40410000 0x1000>; + }; + + pcc3: clock-controller@40b30000 { + compatible = "fsl,imx7ulp-pcc3"; + reg = <0x40b30000 0x10000>; + #clock-cells = <1>; + }; + }; + + ahbbridge1: bus@40800000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x40800000 0x800000>; + ranges; + + lpi2c6: i2c@40a40000 { + compatible = "fsl,imx7ulp-lpi2c"; + reg = <0x40a40000 0x10000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpi2c7: i2c@40a50000 { + compatible = "fsl,imx7ulp-lpi2c"; + reg = <0x40a50000 0x10000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpuart6: serial@40a60000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x40a60000 0x1000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPUART6>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPUART6>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + lpuart7: serial@40a70000 { + compatible = "fsl,imx7ulp-lpuart"; + reg = <0x40a70000 0x1000>; + interrupts = ; + clocks = <&pcc3 IMX7ULP_CLK_LPUART7>; + clock-names = "ipg"; + assigned-clocks = <&pcc3 IMX7ULP_CLK_LPUART7>; + assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; + assigned-clock-rates = <48000000>; + status = "disabled"; + }; + + iomuxc1: pinctrl@40ac0000 { + compatible = "fsl,imx7ulp-iomuxc1"; + reg = <0x40ac0000 0x1000>; + }; + + gpio_ptc: gpio@40ae0000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40ae0000 0x1000 0x400f0000 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLC>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 0 32>; + }; + + gpio_ptd: gpio@40af0000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40af0000 0x1000 0x400f0040 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLD>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 32 32>; + }; + + gpio_pte: gpio@40b00000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40b00000 0x1000 0x400f0080 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLE>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 64 32>; + }; + + gpio_ptf: gpio@40b10000 { + compatible = "fsl,imx7ulp-gpio", "fsl,vf610-gpio"; + reg = <0x40b10000 0x1000 0x400f00c0 0x40>; + gpio-controller; + #gpio-cells = <2>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + clocks = <&pcc2 IMX7ULP_CLK_RGPIO2P1>, + <&pcc3 IMX7ULP_CLK_PCTLF>; + clock-names = "gpio", "port"; + gpio-ranges = <&iomuxc1 0 96 32>; + }; + }; +}; From patchwork Fri Nov 2 09:13:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665171 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 C600A1751 for ; Fri, 2 Nov 2018 09:13:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B029D2BA63 for ; Fri, 2 Nov 2018 09:13:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A467E2BA78; Fri, 2 Nov 2018 09:13:57 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 1CDD82BA63 for ; Fri, 2 Nov 2018 09:13:57 +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=yJhzGHb5Z3cxP3JG4VIzIen+FLPabIqH9sWUMmgYmDI=; b=UteCOw3qTsptgC BnSlgtXqrJFRsqtJ6QyhUIEesSIxTB/GzU7+AZ7dNz5Dkuyjx3x7px0LConsDgT6jLfXdE/X72Y0M ddKpdJfnGh2YHYhdpmnw+dL0NIIQdFEjqZ2zlkPi3ECn2d9/UhgSVkbZ3qZZlAGsiFM0mC0yhTe7N NOeAhxbKq+lGbHaZcuCOl9AOuWrb5SafrOBABrSZzo/2Y41g8YH9RpMmJubnyuQCz6FV5rysB5GR8 0Dr0MGF5dyQAUQYNXfU7/EjZPtws3e4brvJ86PFvEBb392SfogoA2tW9R9d1RlLBO930Z3lo1uJl0 6kh361LFuvGnClmAuWvQ==; 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 1gIVWb-0006uX-Dw; Fri, 02 Nov 2018 09:13:53 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVWJ-0006V1-KT for linux-arm-kernel@bombadil.infradead.org; Fri, 02 Nov 2018 09:13:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PrM8AV+REepWcftnsdIOcJWHcLQbitr1svt5FTEcLY4=; b=exDEWMVJ67VxswhxLQjMFu6xQZ TzvdY7bphuVWpluUwtih4teByahmPXLD95uQaSegDCalUTMoDk2QULtVDyFpjxbN960Hw4H2G703e mpYIv9JaD8HHzovaa1O1Duj501+jsVSgGhQ3zwWB/oXHLy9Wa7fB/gLUPsQL3sX65MNOE5bDu8n7C BZx1pg710HEqa6nUA+uhdC0kNHHUM1rE2AvNT+lVvnflRrgm1SvuGgr7wIOH833PGEHgjbmo2wOOn 89te0y7bQEJQNdycve/bWnJm4gTIJfrsGHe8y81X/Bd647IUVUK6/G0yc4C2/aY/+TwcSKNEJcVlf BIhKGADA==; Received: from mail-eopbgr10079.outbound.protection.outlook.com ([40.107.1.79] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVWE-00041n-N4 for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:33 +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=PrM8AV+REepWcftnsdIOcJWHcLQbitr1svt5FTEcLY4=; b=wnOilPMk7sIi4NX2wQORBtu7DWqm/DrjP+h940OuHnKUeiGE4nIAioXSpIUqiYfoNuBbphTeEu8no845NyWvoyobTG42tvmOnVCMa4T5HVRw/svjZl+NB8iujImZ3VvWMU5TZQaTCRf44JsLDlDxG+DtKd75g3XjQwTxzrb0rXU= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4612.eurprd04.prod.outlook.com (52.135.149.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:13:16 +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.024; Fri, 2 Nov 2018 09:13:16 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 09/10] dts: fsl: add imx7ulp evk support Thread-Topic: [PATCH V4 09/10] dts: fsl: add imx7ulp evk support Thread-Index: AQHUcoxKUS/wTvn/uke+eVCf+5unvQ== Date: Fri, 2 Nov 2018 09:13:16 +0000 Message-ID: <1541149669-10857-10-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4612; 6:NyKSTxQm56xZdoqs5dpnJ6yzzpOiWlHb28BtN7rEh0uuXx5VhCJBa/ICjt1Q53EcZdMjF2/C97W1RE2xwPOA/ybFSkbwuVqkve+uJTPre6vsW2o/KLSyjBre33g7cImWdW6ee9A+1p3qP3s85JNPwWdGe9Lec0m69Cr4uZL+zdNbYKbuJlUBnnd3+T691/fi7XZ+1ihasdcpuHCaDgGuRXmhuV0dYuurG3claNaCYSWTjWbdZPrgTHJhrfLZ0ACOQMlVnrrqeMYA5ZxvAlc8irrcEqCTytFgk4lxXBIkS+CiXYYQHZiyehGs73JWMJop3S8pv36NSy7vGglm52peMeqR9Pet2wmT5mH9cQSTG3Gh8e3KvgrWYhU+NwgJPxDjka0zs8sm9rIlw6kV13b2wGxacGhAIjyUUE9Jil/VtoUNvL9VK/fesybTSlSlAVEziEba3YTaBzexB+6PAlNydw==; 5:y4ZS27SDn46UA3d+LMCSCD1d1j8ld9ut4PJ1A47x5D5BEADCBYetWm0O3i2WB6h4PT4VyeuIuIny43kUSt6uoBTAKfvTJ070we9sV+v4D6PUUOaA52MIthS5SacTm8mPuVcv1C/D/9xFMY9Qq6qy+Bv0cXVLKyWrLthVMwcixWM=; 7:ulclIqHee8hV6c/61xhZLfXRf5zMJTC+gYquZfVEzXHE51973ZqMv+LaJ6RAtzR4tEoDrlz8Ye59URJpJAljLRm2u3HJx5RKv1bwgiP1mpDVOJSN0nsnhZsAG2OKl8Ao17wbEGnhShtyIUSVqIFzBw== x-ms-office365-filtering-correlation-id: bce450e1-eb42-4c59-a6f8-08d640a36c5f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4612; x-ms-traffictypediagnostic: AM0PR04MB4612: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(264314650089876)(185117386973197)(9452136761055)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4612; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4612; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(39860400002)(376002)(346002)(396003)(199004)(189003)(54534003)(305945005)(81156014)(81166006)(8676002)(316002)(66066001)(2906002)(54906003)(14444005)(36756003)(7736002)(256004)(8936002)(99286004)(50226002)(52116002)(97736004)(102836004)(76176011)(6506007)(386003)(2501003)(2351001)(105586002)(106356001)(186003)(478600001)(966005)(476003)(2616005)(11346002)(446003)(486006)(2900100001)(26005)(68736007)(4326008)(14454004)(6916009)(86362001)(575784001)(6486002)(5640700003)(53936002)(25786009)(6512007)(6306002)(5660300001)(71190400001)(6116002)(71200400001)(6436002)(3846002)(39060400002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4612; H:AM0PR04MB4211.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 3pcSxXqFpgHTlTcpnIkw1vLVt+USKLtqlXtzvZjld8TWQxrpw3inB9QCWoaEEC1k4CfshEmJzr1fgMjC1c5liREUwKXRFkQyONDtp7aUoCgmUEtcUdYJPdmECSUSA8YxLjSdmibLEtmi+x7wcp/WklU9ZhYxEG1kil61/uALGnEyuq5FcJPxh5HaWDojnHGuxgIdB6pz8h6pfSaWeZ+os0TMbP2cAvE6lIjXuyYHJfdrzqIWR3tDst9e06JEyrG4SpZCcHaxLMPoXz9XIjM2SIXWIDz5jggwAvfcpS7+d61GsPIQVYMrjwQkcyLGDJNUeIEGLUrx96aNN4HHt/WfdaPWTGUpMQnqaUTUA28okmY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bce450e1-eb42-4c59-a6f8-08d640a36c5f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:13:16.4680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4612 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_091330_746689_B96639FB X-CRM114-Status: GOOD ( 22.37 ) 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" , "devicetree@vger.kernel.org" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 The NXP i.MX 7ULP Evaluation Kit (EVK) provides a platform for rapid evaluation of the i.MX 7ULP, which features NXP's advanced implementation of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D Graphics Processing Units (GPUs). The EVK enables HDMI output for simple out-of-the-box to bring up but allows reconfiguration for MIPI displays. The EVK is designed as a System-On-Module(SOM) board that connects to an associated baseboard. The SOM provides 1 GB LPDDR3, 8 MB Quad SPI flash, Micro SD 3.0 card socket, WiFi/ Bluetooth capability, USB 2.0 OTG with Type C connector and an NXP PF1550 power management IC (PMIC). The baseboard provides additional capabilities including a full SD/MMC 3.0 card socket, audio codec, multiple sensors, an HDMI connector, and an alternate MIPI display connector. Additionally, the EVK facilitates software development with the ultimate goal of faster time to market through the support of both Linux OS and AndroidTM rich operating systems, as well as FreeRTOS. This patch aims to support the preliminary booting up features as follows: GPIO LPUART FEC SD/MMC See more board details: https://www.nxp.com/products/processors-and-microcontrollers/ arm-based-processors-and-mcus/i.mx-applications-processors/ i.mx-7-processors/evaluation-kit-for-the-i.mx-7ulp-applications -processor:MCIMX7ULP-EVK Cc: Rob Herring Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: Sascha Hauer Reviewed-by: Fabio Estevam Signed-off-by: Dong Aisheng --- ChangeLog: v2->v3: * remove "Generic DT based system" * add device_type property for memory node * back to old pinctrl binding according to SoC maintainer's suggestions v1->v2: * switch to SPDX license * pad name update * fix Character '_' not recommended in node name * separate from soc.dtsi file --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx7ulp-evk.dts | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp-evk.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d7268ae..39eac9c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -573,6 +573,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \ imx7d-sdb-sht11.dtb \ imx7s-colibri-eval-v3.dtb \ imx7s-warp.dtb +dtb-$(CONFIG_SOC_IMX7ULP) += \ + imx7ulp-evk.dtb dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-moxa-uc-8410a.dtb \ ls1021a-qds.dtb \ diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts new file mode 100644 index 0000000..07796f3 --- /dev/null +++ b/arch/arm/boot/dts/imx7ulp-evk.dts @@ -0,0 +1,77 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2018 NXP + * Dong Aisheng + */ + +/dts-v1/; + +#include "imx7ulp.dtsi" + +/ { + model = "NXP i.MX7ULP EVK"; + compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; + + chosen { + stdout-path = &lpuart4; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x40000000>; + }; + + reg_vsd_3v3: regulator-vsd-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VSD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc0_rst>; + gpio = <&gpio_ptd 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +}; + +&lpuart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart4>; + status = "okay"; +}; + +&usdhc0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc0>; + cd-gpios = <&gpio_ptc 10 GPIO_ACTIVE_LOW>; + vmmc-supply = <®_vsd_3v3>; + status = "okay"; +}; + +&iomuxc1 { + pinctrl_lpuart4: lpuart4grp { + fsl,pins = < + IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 + IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 + >; + bias-pull-up; + }; + + pinctrl_usdhc0: usdhc0grp { + fsl,pins = < + IMX7ULP_PAD_PTD1__SDHC0_CMD 0x41 + IMX7ULP_PAD_PTD2__SDHC0_CLK 0x40 + IMX7ULP_PAD_PTD7__SDHC0_D3 0x41 + IMX7ULP_PAD_PTD8__SDHC0_D2 0x41 + IMX7ULP_PAD_PTD9__SDHC0_D1 0x41 + IMX7ULP_PAD_PTD10__SDHC0_D0 0x41 + IMX7ULP_PAD_PTC10__PTC10 0x1 /* CD */ + >; + }; + + pinctrl_usdhc0_rst: usdhc0-gpio-rst-grp { + fsl,pins = < + IMX7ULP_PAD_PTD0__PTD0 0x1 + >; + }; +}; From patchwork Fri Nov 2 09:13:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10665207 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 EA74215E9 for ; Fri, 2 Nov 2018 09:29:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6EC12BBCC for ; Fri, 2 Nov 2018 09:29:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEFB32BBEF; Fri, 2 Nov 2018 09:29:44 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 644B22BBCC for ; Fri, 2 Nov 2018 09:29:44 +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=E2hy2IYpYLMaASddDDEUN7l34HhericYW4tXc2chfds=; b=mYmFmsP+7dTlX4 yt4ZofAWQWHzR0hC5zpMsHMA4Pl9NuZtymprTSxsEvriirmzZSjlA61quhOKk3Y3gpazQJ18qkujI mhkdiwq2yrTAhLte8E4ike+oPiidHfkKIWSceUv8d/fnTnR37u5s826lfsIakeirVyl+dEApYFQ7H 6C6JdLZtNAhH0SuIMA0oPbTrKRz1HdE/HwgMJ7VwtWZXePeiFSxXxX6U8WIF2RuQv9n5YiaCUiNZG JSKb59b8bBO39QCCu4JMtCeDbe7ejBYl+znYcqQOsqtiH45RAvrlqn6obNXj8KV8dILsY6mqDQ586 CmB3bjKUmqVzLGHqVqnA==; 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 1gIVln-0005or-90; Fri, 02 Nov 2018 09:29:35 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVli-0005LT-0i for linux-arm-kernel@bombadil.infradead.org; Fri, 02 Nov 2018 09:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kMo2tKNRciJ+R+yddea37G/yCYzGAuhkQAVS4oi9W/8=; b=h08y5ZIBdAZtbVpw4RQSuYJp2/ 1XpxOVbzR6hoRtWW8ysJ4caGL+RuKzsvchIb0vobofwPPdUa6nRe87W1IVb4AOPFFqv4rTvb7ucbt H4U06td5Q5xvvDkIl3+XlQfbHihKR0Siiw307LvPoa75Nqg/adOP8rrSzRWeEIK6nHyTN8gAFnc/k j0kcdxwuhWV9d2ZBblmF/hEmcTBA8lb+/68WZV4ejCoQeqVzhTvIv89vh2L77sulNB599oqxp6mXi GO/k4LlakXJs7eJKTW/OMPyE4GyUiHly2wEGL0ySdz5sliL3k5Qb1J2cQ3RPZlAPSSRt5MCjTQRtU ef66zNIw==; Received: from mail-eopbgr10079.outbound.protection.outlook.com ([40.107.1.79] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIVWH-00041n-MU for linux-arm-kernel@lists.infradead.org; Fri, 02 Nov 2018 09:13:35 +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=kMo2tKNRciJ+R+yddea37G/yCYzGAuhkQAVS4oi9W/8=; b=qIlITd6YgWYvk6CzKkrzNi1cWYTDFY/hI/JXBRngeIjZHrST+vIDrUts0hwu8rHsv5cAcS54nj2NI4YPu5ieTyCJSa1OIPsFAu/ys5td0L+zoZDHE/wr3B5hRup+FPPdTCm4Lxqnf6Or1BD7IDaW/rl8gWdmo+xzs/LBGFUHRtU= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4612.eurprd04.prod.outlook.com (52.135.149.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Fri, 2 Nov 2018 09:13:20 +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.024; Fri, 2 Nov 2018 09:13:20 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" Subject: [PATCH V4 10/10] ARM: imx_v6_v7_defconfig: add imx7ulp support Thread-Topic: [PATCH V4 10/10] ARM: imx_v6_v7_defconfig: add imx7ulp support Thread-Index: AQHUcoxM119ZFERO80mwtNZJjOpn0w== Date: Fri, 2 Nov 2018 09:13:20 +0000 Message-ID: <1541149669-10857-11-git-send-email-aisheng.dong@nxp.com> References: <1541149669-10857-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1541149669-10857-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: HK0PR04CA0024.apcprd04.prod.outlook.com (2603:1096:203:36::36) 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; AM0PR04MB4612; 6:GdZskOz6t17OPa9kfBsJbdtsmT+psIEa0dK2K21RzJbvZZV0mFiGA2PRnGtCcXPBjoxHZZhQVKDAElhCwzy1gf/A6rVu2NF0cI1rFRYnONosYnS8pBq5poOfKKvD7Qroz2gKPAm7AgUrbiZlZqlxDderst2oYUjzwkExYax0484FUY8P63JG7vNufeGfepZAeh09D4OdHawWAq+BYjBYCcka3NATYa9yxLrMcVNBpqU86D/PK2aJz/0m8mRHa7m9yawNhgr2W2h+QKVnHTIJSwIX9sc9XsDgSjpY0Q3D4XsZ43yVBKepMCzc+zvi1+5SVBsb42R47qus41IFwkz8t17ofP5Ik2wT0H9LN1RsJn3uTIbwcbg1s6TtuQMqZKSY1s6+q0wmgRGo/7L4h/VkpMzDq88LJoIGGs6KxffLzZ5IXX5Cp87O02ZKhT2QuqBbntSeEu4eMi6bF2zTHHr6/A==; 5:UUVgB4pDntEaybt3oU/e8uCREu2IeP9t/K1VrbAw03+suFcOQHy0z704QecIPwjpwOL2FEopNMgiCyk1PiLPOE6a6WT2h/3jgCsxSgg0rWZ95Tu+uuOJu2GPMw/+k4mOeiO9MVv2u36e6ofYvSoemBWM6lyMRm6savJA1H9uvEI=; 7:SnthwkJLP9es0mAOnob4AtJNSLRG6NSYuKk/YCbHdFlhfmLVN2Zt9wBxwZd+35EtMVsFaFr5kT1ZTlOXSpMlrrbH9PG8jXnLlpnFKCsh5ew3pf52YhepNO3ZIohOmAbxa7HV0cPz8TKQ0p8VLQdz+w== x-ms-office365-filtering-correlation-id: a385a69f-c166-49e3-49a3-08d640a36e84 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB4612; x-ms-traffictypediagnostic: AM0PR04MB4612: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158)(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:AM0PR04MB4612; BCL:0; PCL:0; RULEID:; SRVR:AM0PR04MB4612; x-forefront-prvs: 08444C7C87 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(39860400002)(376002)(346002)(396003)(199004)(189003)(305945005)(81156014)(81166006)(8676002)(316002)(66066001)(2906002)(54906003)(36756003)(7736002)(256004)(8936002)(99286004)(50226002)(52116002)(97736004)(102836004)(76176011)(6506007)(386003)(2501003)(2351001)(105586002)(106356001)(186003)(478600001)(476003)(2616005)(11346002)(446003)(486006)(2900100001)(26005)(68736007)(4326008)(14454004)(6916009)(86362001)(6486002)(5640700003)(53936002)(25786009)(6512007)(5660300001)(71190400001)(6116002)(71200400001)(6436002)(3846002)(39060400002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB4612; H:AM0PR04MB4211.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: yHbbWkFGfTi41TO+LcaEuNyldOmEr+EIHe3QaYL5bm/QVoDacVqkao1c7sGXPiVbxwVF0cPGs7xmjpsrumo3pRSklfrhpdtbmNJLPQrUcRmARcgonDDkaeTiC5aneItqIzgMBtNLKcxmf4xDIPXLZ5Gv/SoHSxj/gVDs8sXIOXATmEmuZtMW+uLOyy/NmLLnUAKtSV8xkliXZY81EgnX2yJhQgayQvV5KhDaEOnbJqpaATdmW+lslytHloLGhWLGbaF8f4RMRjpzaNnIPTdFTgsJ+P3hevSQCCwn2p4XIAUVBGS/QUPIMomGg/QdGE5pu6Mb88idPsMIbTs127Pm30YlAsyQTIJGs0x0RoGvwW8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a385a69f-c166-49e3-49a3-08d640a36e84 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2018 09:13:20.1687 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4612 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_091333_839824_989128FE X-CRM114-Status: GOOD ( 14.68 ) 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" , "dongas86@gmail.com" , "linux@armlinux.org.uk" , "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 Select CONFIG_SOC_IMX7ULP by default. Patch generated via make ARCH=arm savedefconfig Cc: Shawn Guo Cc: Sascha Hauer Reviewed-by: Fabio Estevam Signed-off-by: Dong Aisheng --- v2->v3: * no changes v1->v2: * rebase to new version --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 1ad5736..27ee422 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -38,6 +38,7 @@ CONFIG_SOC_IMX6SLL=y CONFIG_SOC_IMX6SX=y CONFIG_SOC_IMX6UL=y CONFIG_SOC_IMX7D=y +CONFIG_SOC_IMX7ULP=y CONFIG_SOC_VF610=y CONFIG_PCI=y CONFIG_PCI_MSI=y