From patchwork Thu Oct 18 17:25:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10647687 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 0805E181D for ; Thu, 18 Oct 2018 17:26:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE72D28CD0 for ; Thu, 18 Oct 2018 17:26:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D210E28DCD; Thu, 18 Oct 2018 17:26:45 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64D6128CD0 for ; Thu, 18 Oct 2018 17:26:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728150AbeJSB2m (ORCPT ); Thu, 18 Oct 2018 21:28:42 -0400 Received: from mail-eopbgr10080.outbound.protection.outlook.com ([40.107.1.80]:44496 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726444AbeJSB2m (ORCPT ); Thu, 18 Oct 2018 21:28:42 -0400 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=HOuqXbMNKwugWkFTV/D4/H/f9GQz6Tdu+HBdHbHI8vY=; b=dhho7jWOUS7p9V/OLTZVqSwvt+OLN9oj0cOq1bEiUjfRriz3tIv6H9dle63K2HdMIcIGsP5f34x9GXLhdt41AG9lE2ViY7Ri3eGBp10RbUX9hNOC3q31qIMC9uYIIqtgRSlQv+35whU9sMJUpfeitmROBwJf9N7Vo3RPf+r42gU= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4210.eurprd04.prod.outlook.com (52.134.126.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.23; Thu, 18 Oct 2018 17:25:57 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::25a0:3167:d718:91c1]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::25a0:3167:d718:91c1%3]) with mapi id 15.20.1228.033; Thu, 18 Oct 2018 17:25:57 +0000 From: "A.s. Dong" To: "linux-arm-kernel@lists.infradead.org" CC: "dongas86@gmail.com" , "kernel@pengutronix.de" , "shawnguo@kernel.org" , Fabio Estevam , dl-linux-imx , "rjw@rjwysocki.net" , "ulf.hansson@linaro.org" , "khilman@kernel.org" , "linux-pm@vger.kernel.org" , "A.s. Dong" , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" Subject: [PATCH V7 1/3] dt-bindings: fsl: scu: make power domain compatible string SoC specific Thread-Topic: [PATCH V7 1/3] dt-bindings: fsl: scu: make power domain compatible string SoC specific Thread-Index: AQHUZwehDfp2M42mOUmvsxtm40diug== Date: Thu, 18 Oct 2018 17:25:57 +0000 Message-ID: <1539883285-7990-2-git-send-email-aisheng.dong@nxp.com> References: <1539883285-7990-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1539883285-7990-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: HK0PR01CA0029.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::17) 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;AM0PR04MB4210;6:6VbtTKBZuHZciMTbThUT/DjCXhbme40dUss79QozNOz5oWpODTY35TQ6qnal9zlNqLdjDP90vGM/v3jIp/IfYsF3eOVlUrVQwmtV3sSLQIpJz5Z8+EhYUkc5auQtIm9t+5lfWcQP0IRnVz1rGWTxGquJwR0/kGr9iGkkMlFt2GXaNDn4fIqPuNj8KyR7sxnmdQ9jGAxx1NDor3FPl4nyibovjCOVrabuJrnck8sBT3FDMwa6/hC62weYa3JpTusChyoV0pZUOTARh723TNiFS+HEK1NB40/hveaARRcpGP7QTkMwI+w4Kd5G4AECnQKJvpe3mpMJkJG9qDl8fEGe9rjFQG9IJRiSf55CYYnp6NOxuVMwuGD3k9PxnU2inJpvszQyNjY3pZwtTPP9kic2fifQiH2wp/RX5ptLZRmpjyjp6pC3msXBJL2oCjeaeXCDppsuBKIxG8wikzEUDtcjKg==;5:ohctIyFHjY0Z72qn/iuM1yaMDJ7z702BIhNntLC7CHFM9TuW2i8ayQI+0UP5/BwtZYNLfr0zYIooE2lr5ZNJqghzN7uLFae9XsTAWjzKmArje9Rdudq4+NTKbw+rYSXlS95vIuLHpaDSBKeIHL8AVolEXm/XqYiwiAOgJena3FM=;7:JO6g4u7hAJx7cSnwOwL+4buI1HnTcC4hwkII9TCBuNgVIt35WBdwge56v16FSOsuvjx4RCaxxmIigS4dHI5vAhzkYtemvKZLbj5RHMcfWMP2X78zrbZETxrJ3BVIDDfbBStEmoyTJxLP1GKdi72+mnmFQF0RXhM/kf1znm26a3U6sf2s2Lq+VPT7FKDJHur5fkx76yrkG2bJFqJMHEbsxRSBwkUWTC2lvOFH0+t6nFePRqxTzEsrEPsIdCQFgAbx x-ms-office365-filtering-correlation-id: 9998161d-78a2-40cc-e767-08d6351ec423 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4210; x-ms-traffictypediagnostic: AM0PR04MB4210: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(269456686620040)(9452136761055)(185117386973197)(180628864354917); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:AM0PR04MB4210;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4210; x-forefront-prvs: 08296C9B35 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(136003)(39860400002)(396003)(376002)(346002)(54534003)(189003)(199004)(7736002)(5250100002)(68736007)(256004)(486006)(476003)(186003)(2906002)(508600001)(2616005)(5660300001)(2501003)(66066001)(8936002)(305945005)(2900100001)(14444005)(6916009)(36756003)(6506007)(386003)(50226002)(81166006)(86362001)(81156014)(5640700003)(6436002)(8676002)(575784001)(26005)(4326008)(53936002)(6116002)(54906003)(76176011)(14454004)(3846002)(105586002)(71200400001)(71190400001)(102836004)(7416002)(39060400002)(99286004)(316002)(11346002)(6486002)(446003)(25786009)(2351001)(106356001)(52116002)(97736004)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4210;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: k5BpSZgwLWHhg/yrYGcwfbWzrceuHq744hsjrjWKG8vYU18cQ7ZFTqKCdKAz9KsaVSJ4AaympWOcigDQqjS55hhaKv7PsXV4YtikMs2QYXzR7knL9RHr/CJWYEQ1liMklfdN/PcdM0+8hhwlTHZ2LdnOLSmdqztYQKYpkWtqOMBLk+NCsn3JVwYxITKgdtPl4lerJfoLW28fLqg7hDUZcT6WAgiKbkSGIUIsIw6lhcna24WHhIThNY9NLW8m9Oz4ufQlD5kRRupgCCir9dxaiB+FNEGyxxVp81+49gt50t7Twm7jMzifvZDXIVaIWxUqLLv4YtqCbH9mhW0cTfbBTW6TtUHGmJVwL/0DBcsV7qA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9998161d-78a2-40cc-e767-08d6351ec423 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2018 17:25:57.7953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4210 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As the power domain API might change in the future for new SoCs, although in a very low possibility, it's still better to make the compatible string more SoC specific to avoid the possible version change for new SoCs. Due to there're still no users in kernel, it's safe to update it without breaking anything. Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Cc: Rob Herring Cc: Mark Rutland Cc: devicetree@vger.kernel.org Suggested-by: Sascha Hauer Signed-off-by: Dong Aisheng Reviewed-by: Rob Herring --- ChangeLog: v6->v7: * keep "fsl,scu-pd" as fall back compatible string v5->v6: * new patch --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 46d0af1..e5f3edf 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -58,7 +58,9 @@ This binding for the SCU power domain providers uses the generic power domain binding[2]. Required properties: -- compatible: Should be "fsl,scu-pd". +- compatible: Should be one of: + "fsl,imx8qxp-scu-pd" + followed by "fsl,scu-pd" - #address-cells: Should be 1. - #size-cells: Should be 0. @@ -153,7 +155,7 @@ firmware { }; imx8qx-pm { - compatible = "fsl,scu-pd"; + compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd"; #address-cells = <1>; #size-cells = <0>;