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>; }; };