From patchwork Tue Dec 18 16:01: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: 10735937 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 1D211746 for ; Tue, 18 Dec 2018 16:01:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B3452A92B for ; Tue, 18 Dec 2018 16:01:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2F0A2A93C; Tue, 18 Dec 2018 16:01: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=-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 799442A92B for ; Tue, 18 Dec 2018 16:01:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbeLRQB1 (ORCPT ); Tue, 18 Dec 2018 11:01:27 -0500 Received: from mail-eopbgr130053.outbound.protection.outlook.com ([40.107.13.53]:64032 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727090AbeLRQB0 (ORCPT ); Tue, 18 Dec 2018 11:01:26 -0500 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=NcPw4x43eI7NqkBJZJmhUTza6OShXwUv5Cq5S2siscQ=; b=SU/mV7revYd3FTEsFR9qNA3cbKUWDCY21bg/Of4XdpabULHaQMouA3itrX1/xTQu0cZeV2nN962VnXuFzoTZiApSTanXhAPvx1QqNl1zqrf8m9p+X24aRpv2WbvEUREhQyD7v43H/16TJqRDl4OemTQJSYx+pfO7dAg41gxrAI4= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB5202.eurprd04.prod.outlook.com (20.177.42.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.19; Tue, 18 Dec 2018 16:01:20 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6%6]) with mapi id 15.20.1425.023; Tue, 18 Dec 2018 16:01:20 +0000 From: Aisheng 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" , Aisheng Dong , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" Subject: [PATCH 1/3] dt-bindings: fsl: scu: add fallback compatible string for power domain Thread-Topic: [PATCH 1/3] dt-bindings: fsl: scu: add fallback compatible string for power domain Thread-Index: AQHUlurqutx971slw0Wkld4RueG9XQ== Date: Tue, 18 Dec 2018 16:01:20 +0000 Message-ID: <1545148524-658-2-git-send-email-aisheng.dong@nxp.com> References: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1545148524-658-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: HK0PR04CA0016.apcprd04.prod.outlook.com (2603:1096:203:36::28) 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;AM0PR04MB5202;6:uUpPXNGWHfQtOJbvuA28yX3MVPw1CTyTXpqgxB0B2RHDoBECErZtCCX4jUcF9KkAx+O1rxPkYdp85zqliq/Eh1+YvoFp/YcQoptv5h3JfOLjcTGLTakbuNA9jhzQqePKb2uIbo0rCCsz/AXpX4Si//OnKHYX+8vc9wAeJ2+E4cMyT1tcViJHC7CIAbiO59aBT2oREdS4tXQ5NwliCUk1lTl3B69lsfAtRm17rbbfWSCoQqiDuh8z1EWi7PGYooHoXFgHs1MzF02NG9F9hp/qNa3b5yVNxo3HCXVX6JkG8fzmFt/xa7He/0bmklOGbfFtP7WRM3LU9iJfbg3/Dyzu31X1XPeEGD/POyyLbtPzI5wmOjSLaWCFqu8VXfyReSjMFxGw2iaHWIpcoFj7mh2dC7qLjatUJ6fNMjJle5ccNYV4tFanUunXQbs0CTMjC373M1WH52bhDaHlO7o93VDSCw==;5:ewdErl6Gq486lKmVVPb2SWTNGm2Dnvwn+6j/D7dLXYDzZKehPfN46Afk17udNv0VUHODII8jdPflsJXtOO39q296krmAiM4DrRPhM6LiRz2W0AAwLInXtGksUzFQY57FhDDunPbbQnQvO8AV1boFhfYulAlE+W+aoEwaZv8lEsE=;7:E0oYXZ8MGCRSJQhabf28swumf1W2L2YLuaF5qZlDfk21x4I4XQu+SdiLmCbUxwWNAVYTIp2OI/mxXV26cGFof2xNXSoRZPZlNC72lAB8CmwGFUV/9nY5VXFUT5N0JeslQTLdMuDL6022yvipg6cj9A== x-ms-office365-filtering-correlation-id: 00e40472-8124-4dbc-3698-08d665020ce2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB5202; x-ms-traffictypediagnostic: AM0PR04MB5202: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231475)(944501520)(52105112)(10201501046)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:AM0PR04MB5202;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB5202; x-forefront-prvs: 08902E536D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(346002)(396003)(136003)(366004)(199004)(189003)(446003)(2616005)(7736002)(11346002)(476003)(486006)(106356001)(68736007)(39060400002)(105586002)(53936002)(6512007)(97736004)(6916009)(4326008)(66066001)(256004)(14454004)(44832011)(3846002)(6116002)(6436002)(25786009)(5640700003)(8936002)(6486002)(71190400001)(71200400001)(2906002)(478600001)(305945005)(5660300001)(50226002)(7416002)(2351001)(81166006)(8676002)(81156014)(2501003)(52116002)(76176011)(386003)(186003)(36756003)(102836004)(6506007)(26005)(99286004)(54906003)(316002)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5202;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: RZ61DIAW9hPFRqrtSOTpQSQV33AV0ZHpmf7Ude1krXEQ2U8c060a3P4O6mDtwQJOBZ7KPv3AivxrjF9pqLUiSpvEqyOzn2wCnn49wDZGS1N9B6fd2A4hI+ksmQFC8C52X8fUU5uCEucjj0R8w1yuFJfXie1G5UyDYNCCM/8eFkfS3myhHSFqMeZ5CkPax2awSzHF2gs2K4QwRKFX7pfMFYwVjmZdArrSYn7GlqX+LTTVIqvCKhIF/BGf6lRmWM86tZcRA0KRDWFGbDky5XrT4Z4xyQ6USCXI/bBDCEOkfxIEkC7ox5G9CwhgwAGUykAo spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00e40472-8124-4dbc-3698-08d665020ce2 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2018 16:01:20.2651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5202 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 SCU power domain can be used in the same way by IMX8QXP and IMX8QM SoCs. Let's add a "fsl,scu-pd" fallback compatible string to allow other SoCs to reuse the common part. Cc: Ulf Hansson Cc: Rob Herring Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Dong Aisheng Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index c20f38e..849b671 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -58,7 +58,10 @@ This binding for the SCU power domain providers uses the generic power domain binding[2]. Required properties: -- compatible: Should be "fsl,imx8qxp-scu-pd". +- compatible: Should be one of: + "fsl,imx8qxp-scu-pd" + followed by "fsl,scu-pd" + - #power-domain-cells: Must be 1. Contains the Resource ID used by SCU commands. See detailed Resource ID list from: @@ -145,7 +148,7 @@ firmware { }; pd: imx8qx-pd { - compatible = "fsl,imx8qxp-scu-pd"; + compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd"; #power-domain-cells = <1>; }; }; From patchwork Tue Dec 18 16:01:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10735939 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 1068C14E5 for ; Tue, 18 Dec 2018 16:01:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F32592A92B for ; Tue, 18 Dec 2018 16:01:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6D372A93C; Tue, 18 Dec 2018 16:01:30 +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 8B9652A937 for ; Tue, 18 Dec 2018 16:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727108AbeLRQBa (ORCPT ); Tue, 18 Dec 2018 11:01:30 -0500 Received: from mail-eopbgr70084.outbound.protection.outlook.com ([40.107.7.84]:58496 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727090AbeLRQB3 (ORCPT ); Tue, 18 Dec 2018 11:01:29 -0500 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=9LnOqKKs7UXhiaxemdSE8WqTX/EK9l7hgmAKdZ4HkPM=; b=r6om3BFxNZuHBQ2xSPRIEndURZmqBpBjv9uiY3jEcQtm9WC91GuJ/UB0w5SY/qgJOT9MKVjztruqt6v0bxXfsYT1tGO5H8L1SHji1jM60jXd2rYOAfMe++aeWyUxU7U87UmJbYHodQStJB3mCMAjx8GhUz29SahENxASQ0ZqZOE= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB4084.eurprd04.prod.outlook.com (52.134.125.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.20; Tue, 18 Dec 2018 16:01:25 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6%6]) with mapi id 15.20.1425.023; Tue, 18 Dec 2018 16:01:25 +0000 From: Aisheng 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" , Aisheng Dong , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" Subject: [PATCH 2/3] dt-bindings: fsl: scu: add imx8qm scu power domain support Thread-Topic: [PATCH 2/3] dt-bindings: fsl: scu: add imx8qm scu power domain support Thread-Index: AQHUlurt40Wz50SraUOJwjQlFd5TMg== Date: Tue, 18 Dec 2018 16:01:25 +0000 Message-ID: <1545148524-658-3-git-send-email-aisheng.dong@nxp.com> References: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1545148524-658-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: HK0PR04CA0016.apcprd04.prod.outlook.com (2603:1096:203:36::28) 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;AM0PR04MB4084;6:dVZWJYzObeZRbTPDKafTlZKN5bRDecdJ/GNSrdntHW3focEmL6zei2DwEPta97KuGG1kiDm+kcaWf45vHf8dhj8q9Tf2kVduF2BQTRJ0FuZZYN9eCgy8NnMJm0+k/qnNHma5ekYDpZD91BtPYywMSzTw18D9r12bk4cQM8FWdsRRLpgEjX8dozj1J4TyN/7NdvRenQo+x+MzJClcs5RFRfuCNegsnIQpVKwo3fX3nIN/NP80ZP9hmVuUjE4uULuKu20RRjtby2Ss1tQSMqEtdT7UQuxp+IWH0qXj55pcjtvcxbJKpl9HF6EkdwyMbH1rSdCFLDMnmc/3cbMD8bGyCa54CZGdSO4TPI6IPF/Kyj0pA8IVtEUNzG0U/4nJECJoqeVUMa6xc7OQIFMXvJ+mnF7m+nHw4ualI/655T+JqY/gJkbzaizVjDVow47GWi3qzze8+S3Yx9qjoC5Io9Pr9g==;5:f4ZL//rBlGltJCxUA8PD4BctQ/hilyjCD51Rzt+qPfOoMhFMR9Qy6fVHHlhY7Z8kN0nz3Z4nfM5MXxSRmkt+tuTTvtXHNzIzyjLrNppIK0Kx6NwnyCQ5KbEhzLij6QTbQBIS0lZAg4tbTiuOxfvxc1HX4Hxxi54trWB7z6iz4cQ=;7:VMMoOrBVC0GlK3RnBUr3UFYZITVpVfcwx5TRikEMSVgyCiEbq/kuGCQaQqs2BdcIvF5C9Ib6tB4dsCOsVBjI0JY/Xgf1OHJ6LcFGQx2BeCjhY0aZ5/6aLa/XzHOLdX2v+44i14+rQGLA8th8rdJipg== x-ms-office365-filtering-correlation-id: b6b915ca-ba49-44bc-69f5-08d665020fb9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4084; x-ms-traffictypediagnostic: AM0PR04MB4084: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(5005006)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:AM0PR04MB4084;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4084; x-forefront-prvs: 08902E536D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(136003)(366004)(376002)(346002)(199004)(189003)(52116002)(14454004)(71200400001)(106356001)(6916009)(7736002)(71190400001)(11346002)(5660300001)(2616005)(97736004)(99286004)(446003)(4326008)(105586002)(76176011)(256004)(6486002)(39060400002)(36756003)(6512007)(54906003)(53936002)(316002)(25786009)(81156014)(186003)(478600001)(81166006)(2501003)(50226002)(2906002)(7416002)(8936002)(386003)(6506007)(5640700003)(102836004)(26005)(6436002)(68736007)(86362001)(486006)(66066001)(476003)(2351001)(6116002)(3846002)(8676002)(44832011)(305945005)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4084;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: bJNmhGlEgA82zgRoqb5k/a6+vATkcwxjfQESy4TSnWifJ27ELho8BjYfbCAJfFfM6+xO0DGFtFje507eGlcUhgIe2xquI4G+FDj3yeUyBjhhso42mWmhWt9NIAFY/c8qjxzwg+MzmMuWWJN8RfytpFKtorB0oIGL5r40WaQdcrAXuRr4Cw9Fbulq+ilZm++56nlPYGXhjLTH2N2sECClE8KSURr6SzYgWhUDtPHbmFR7Gw298YtVTWdG5QloTUbyj9iKiuxYcSgknSaa2KjBjsGeM6bu6Mk0QIa0XQO7l0KWFiiXQeBSct2MH1Zy5zxC spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6b915ca-ba49-44bc-69f5-08d665020fb9 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2018 16:01:25.2341 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4084 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 Add imx8qm scu power domain support Cc: Ulf Hansson Cc: Rob Herring Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Cc: Mark Rutland Cc: devicetree@vger.kernel.org Signed-off-by: Dong Aisheng Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 849b671..b9b8eb6 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -59,6 +59,7 @@ domain binding[2]. Required properties: - compatible: Should be one of: + "fsl,imx8qm-scu-pd", "fsl,imx8qxp-scu-pd" followed by "fsl,scu-pd" From patchwork Tue Dec 18 16:01:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 10735941 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 08466746 for ; Tue, 18 Dec 2018 16:01:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC5742A92B for ; Tue, 18 Dec 2018 16:01:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E07352A93C; Tue, 18 Dec 2018 16:01:35 +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 83E7E2A92B for ; Tue, 18 Dec 2018 16:01:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbeLRQBf (ORCPT ); Tue, 18 Dec 2018 11:01:35 -0500 Received: from mail-eopbgr40063.outbound.protection.outlook.com ([40.107.4.63]:1472 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727090AbeLRQBe (ORCPT ); Tue, 18 Dec 2018 11:01:34 -0500 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=n23TKsxdiAFAs1kKf5Joj8a3REbJVBEYGfj4t3yYS7U=; b=eDpNnHTJlOnjL+jMArTqwSs4+xLGjetG20I+umLz9V+K6pJ1jrcEQb6Hu8VD0y87YrxEFyARndXYlV2VxEsaBsAI6PnsGc0GOJA2dPZV4cr+C0WCutHGW2DtkpXnCuGbnqYeGkUE9nbJkIYal2tXsZy1uY+vZsZMitPaKOQTqkw= Received: from AM0PR04MB4211.eurprd04.prod.outlook.com (52.134.126.21) by AM0PR04MB5987.eurprd04.prod.outlook.com (20.178.114.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.22; Tue, 18 Dec 2018 16:01:29 +0000 Received: from AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6]) by AM0PR04MB4211.eurprd04.prod.outlook.com ([fe80::9125:e806:7303:d8e6%6]) with mapi id 15.20.1425.023; Tue, 18 Dec 2018 16:01:29 +0000 From: Aisheng 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" , Aisheng Dong , Rob Herring Subject: [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Thread-Topic: [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Thread-Index: AQHUlurwA0NDQnzmX0qXNHEGsWcFOQ== Date: Tue, 18 Dec 2018 16:01:29 +0000 Message-ID: <1545148524-658-4-git-send-email-aisheng.dong@nxp.com> References: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1545148524-658-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: HK0PR04CA0016.apcprd04.prod.outlook.com (2603:1096:203:36::28) 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;AM0PR04MB5987;6:SlrRk2vUCeJQI7zq2GQ0carQZX7x9uML/XdrO5hwuQnQ9RzeQIRE+frupJ0o4dk/Q61yZjyJ8XAKlbvgJQVGqeY08X2cUu5BnU8r0t1yeeWzAcD0MdVgsAkW74d/VTsM7Mv5ZMOLGS2cc2hG4R+s3QxkJQqLFKjHgqTYDvoEsSsA5MQZp19xaO+650is1/vwcwhFLbZrzudZ7XBWww5bRBwwJdPXTZHjFMP9EKJ2mBbUQEdKWZfvii9AUUCJOGqrpVnztt9eNBwUy6IFb2aMICfJgY6J6F/Txctlg5gw9tTpjelPig6I6on44k0YsPob3J8EapiwmbtQ6BXS1MCufwSBb74i3mw46ASr7Bjp0O8yuW802JvSENwh4iTDue1TYk3N9wUIpMPb16oc03rf43B+yI2n3FArpVwI7NUITpcEbwpi3qHJuDTFkKDuakMK9eE4+J5WzOHApavQhX2UKA==;5:D62hEASvyYJzx2FirrEm02wpwp0ig5dTv8fg4EWsx69ptNgzA5ILRM/xHLCNezR4X4troHcQpfEsY7HXqHaeV7NjkRyDylsLfmXneAxw25vdrQy1K3XnF7Bjk5x64BcvxAPPLv7DCvV310SpRo0YJn8edpkzM0tpvY2GiK4pID8=;7:+n0YgopbuLtl9FNBYRaTfL3+AyInzg5QB6FJ5uK7HTofNh5f2wd6n3RVvUk7miYsW/CebGGdCfT+qDa+8IzwZ8bK7dytrgLTATxX4Vcq/KBPq2yEbkqJ/yTZUJGlPB0CJJIoUwK6zzb8J07vX1FsvQ== x-ms-office365-filtering-correlation-id: 3d6bcdb8-5f70-427a-8b11-08d66502125e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB5987; x-ms-traffictypediagnostic: AM0PR04MB5987: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:AM0PR04MB5987;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB5987; x-forefront-prvs: 08902E536D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(39860400002)(376002)(346002)(396003)(189003)(199004)(6116002)(39060400002)(4326008)(3846002)(44832011)(476003)(486006)(2616005)(6506007)(386003)(76176011)(102836004)(25786009)(52116002)(2501003)(5640700003)(68736007)(6512007)(36756003)(99286004)(6436002)(54906003)(316002)(53936002)(14454004)(6486002)(6916009)(186003)(26005)(446003)(256004)(11346002)(2906002)(305945005)(478600001)(71190400001)(71200400001)(7736002)(8936002)(8676002)(81156014)(81166006)(86362001)(66066001)(50226002)(97736004)(2351001)(106356001)(5660300001)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5987;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: lmu0rzvXuFYQIba2BgdeL/kEheXseYVFdUdoags79wltscGG+W/UEazVnP8D0tbsRQgJHID0z0Y6YNAlBiSyPEarYc8nIDLQvD3F9LBDMmbsAkIqGLTZbLhpj2IeGttKypMfBDSE2IVIqEwHSHBI+6byfRSunOC5odZnigQwQo9Jn90wbdR/snHa6pQ6NvzB6sBlvtlzQ4yym96MGUVqRFYXnlV6hBkopXlJ0d7lFcoGMiZyIJIJl1bbdmCvaOYuOafd+mWajZo2w8JPtw9SQIPpnzrOKh3kOIVTgpaWoKK2EcyWA6ULaFNdVXIj8pv8 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d6bcdb8-5f70-427a-8b11-08d66502125e X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2018 16:01:29.7498 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5987 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 SCU power domain can be used in the same way by IMX8QXP and IMX8QM SoCs. Make the driver support the fallback compatible string "fsl,scu-pd" to allow other SoCs to reuse the common part. Cc: Ulf Hansson Cc: Rob Herring Cc: Shawn Guo Cc: Sascha Hauer Cc: Fabio Estevam Cc: "Rafael J. Wysocki" Cc: Kevin Hilman Cc: linux-pm@vger.kernel.org Signed-off-by: Dong Aisheng --- drivers/firmware/imx/scu-pd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 407245f..1aaae98 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -321,6 +321,7 @@ static int imx_sc_pd_probe(struct platform_device *pdev) } static const struct of_device_id imx_sc_pd_match[] = { + { .compatible = "fsl,scu-pd", &imx8qxp_scu_pd}, { .compatible = "fsl,imx8qxp-scu-pd", &imx8qxp_scu_pd}, { /* sentinel */ } };