From patchwork Fri Nov 16 23:56:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 10687145 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 8000813B5 for ; Fri, 16 Nov 2018 23:59:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EDA52CA3D for ; Fri, 16 Nov 2018 23:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 633482CA58; Fri, 16 Nov 2018 23:59:46 +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=-3.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 CA3FA2CA3D for ; Fri, 16 Nov 2018 23:59:45 +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:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uttH9vLEXcgj+WNSfxR89PA9kyu9vHsh4Sjo0bX50f0=; b=BsRsNeDvwzjtHf pVm9CUgxtk7Yo1Alqd3G+KTCgSZ0RAA3oyLndqu/DSVfzV7Bfp6ziEisAxDxzG68Zr/GqrKvLJWs2 DKOGaV3D4jZbH7QTPD3r5luOm6dgJiRz8HEXLSJQK4AzBJbvpg3TNKr0md+e4/XoCynsXXCUiXHFE rUAiRaq2QFjtDP3jmmaaaD9nC10DlU7cprn1zIU3bJARPa65fxmz4ESGZT6F/CUjYkJ5wkbOU5VMy +qgJoBivlAyPorLPIS0IpU2m1Hh3iy5Gi8eDmePnVXkjOJJF+HvirhXKoOkaMFUrmvgCjHIPMzxZV AgusO1z3RKksW98LtZJA==; 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 1gNo1V-0006Mm-Vt; Fri, 16 Nov 2018 23:59:42 +0000 Received: from mail-bn3nam04on062c.outbound.protection.outlook.com ([2a01:111:f400:fe4e::62c] helo=NAM04-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNnzN-0004MV-QP for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2018 23:57:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hu9jKEjQMvfpglDe1otU3GliSLYmUZ2vgVVdA8SiBFA=; b=r8v9oreMO2IeDyPVqe4CYpj2hsndgQlbtuv1itSHrQpW8vzsLs/XNgzVCp2x63aAIWltSo2rCaaudyu+X26REYv0Hm1kjvxuqrTNI5YMkwxhJARc/9NTqq1spPA9WQQYiwAlu0wL1ZQYJo20/WFKr/syLocO0QXvMqNttYGbD9I= Received: from BYAPR02CA0017.namprd02.prod.outlook.com (2603:10b6:a02:ee::30) by SN6PR02MB4334.namprd02.prod.outlook.com (2603:10b6:805:a4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Fri, 16 Nov 2018 23:57:16 +0000 Received: from CY1NAM02FT023.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by BYAPR02CA0017.outlook.office365.com (2603:10b6:a02:ee::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1339.21 via Frontend Transport; Fri, 16 Nov 2018 23:57:16 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT023.mail.protection.outlook.com (10.152.74.237) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1339.15 via Frontend Transport; Fri, 16 Nov 2018 23:57:14 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1gNnz7-0007TR-Jf; Fri, 16 Nov 2018 15:57:13 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1gNnz2-0006qO-FV; Fri, 16 Nov 2018 15:57:08 -0800 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id wAGNv4MQ008994; Fri, 16 Nov 2018 15:57:04 -0800 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1gNnyy-0006pL-KN; Fri, 16 Nov 2018 15:57:04 -0800 From: Jolly Shah To: , Subject: [PATCH 1/9] dt-bindings: power: Add ZynqMP power domain bindings Date: Fri, 16 Nov 2018 15:56:51 -0800 Message-ID: <1542412619-387-2-git-send-email-jollys@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542412619-387-1-git-send-email-jollys@xilinx.com> References: <1542412619-387-1-git-send-email-jollys@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(346002)(136003)(376002)(39850400004)(2980300002)(438002)(189003)(199004)(44832011)(6666004)(72206003)(356004)(51416003)(126002)(76176011)(336012)(9786002)(2906002)(36386004)(47776003)(2616005)(106002)(446003)(7696005)(107886003)(486006)(11346002)(476003)(110136005)(48376002)(36756003)(305945005)(316002)(50226002)(63266004)(186003)(16586007)(54906003)(426003)(26005)(5660300001)(77096007)(8676002)(106466001)(81156014)(478600001)(50466002)(4326008)(8936002)(81166006)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR02MB4334; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT023; 1:r7YFHhSOmdqavtCBqnvBNgZAr8Bpo40PLaQdj3lU+wDp699CB1rKWWNq7Np1SRg5lnhj98qRh9zigb9RaV/Ok7HA68LLyho8VKMvql5mx360+0gppvu0nTwjNen6jJt2 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 65c39459-091c-4470-71a2-08d64c1f3b64 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4608076)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:SN6PR02MB4334; X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4334; 3:cLFuaKaeer4nsskOh3ygFjky1N9iPe31QAwqdj8Lo4mAP3ZSfUitBAI6ETLsaoVjnTR7uQYUBFQDEhZkEYEc9bPHGu2dsc4rNCNif4r6TMP61A7Ru18iSo717Gy24YjuXGrRsM/9ifEO928nHxNHNoht2tU+P3juXm/UbwLWMFQ8CnKnJ+GIGT90Yw+wYFcA6ZP9BXv0aaus4ZMfDrNpu2G7EsBFHIeUPKSou94g4VQWl5mMNHY612+BupsJu4PgRPRgqlNFLu4ETNKqeMR7mYcUoLzjyZxYfpk3CkS5ri8jgBpZavIaXhzMqHylxWg00MN15gIqbzqgs5ovz109y9UTU7nO3cayeDvS2T+FqTA=; 25:r8pSPr3r7pA0/Z+7fwJvQTATqX+EoEAaOIElB1hnh2mPi7VizB9D1z/RUvAMSzf99PTLso0sokPuGfj+3P3lkCX1vFmFXURH8gTN73Cz4QZ0qGzjZWT1vQnbhm97x6ZIT+M27SwFdNlyYnuaPu1ZnBHRkYo36esar0eOtqg/+4WFjY/NebQdjvcVPGF1sfP6YVpXSlLogt6HVhnSrU1TGWmFNyMKrK8Wc3xs/1+R9vLeX9a3nI/dQn1dj4FqWb49/yrX7hDBqx0mTqocFdcKHKoKiHf9pGF8Sa7goq5I6xUo7WGFj+cqmRc0optle93S0JYP66fTzXhvT7TLikoFXQ== X-MS-TrafficTypeDiagnostic: SN6PR02MB4334: X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4334; 31:SJ2V2brKvIMAHaY5EcpsiK4H1XkoZS2bCgBnDn5F0REuMiqOFX8g2J4YYQMmmpcpmIoMopSI5AvnBE7UYdhj69GIJgHTX+hhlI76tLA9lJHjKTs0gYjt0onwPWjt6R9gHWCtOTrbiuQolZH2GcItsMBHvOPsbpM1/6iwOaJ7+vgC1B+5RFaha4YfE+wpDIEEn8fvWDSmijAdUiarAFGl0/hUMo2h7Bes7LJxzzJxAZQ=; 20:c7Ez6EPeZIsP41upbQsE9OvL1CV2MZyeRdSBVE/35Qc3Jpe8ih9FOYd/PXI0/oIF8h4uFADhzTUuz041kuwx2Gu41PjrGUk0e/p4i2eKzZriIrUL0Lcf0aKttcUa/gkCikR3tIRVo5CB0gsoI44V/kLDouWDfK3/HbijEME1QCp2hOt3CzC/JNryAII7ikNZtP0vGEJqM3N3eEI2ZIyyPNZzKKWcic9LSsokKmxzxYNfu2P2UiGjvDaG1cGKdpHbPdtdcaW99xpi5MW5gO0q/vurCsVrKZ1Cs88zrLQZn7kPlhCFHPOgzMU2RvqhUrxB9i/bpwgQoTyhUs3pBkvUqNTHtnuJRZd6fs7Ek4XfzcvPf2dAlsRfk8+kfPxh3ZmnzxkWtUwRxqd8jITCOQDYLTS3YgpisayaT22geSBJVIpJDEMD5w4sNvt5EtNX1h84x9A9n8UqPPDpgmm79uHz55ybzTiENqj+/ZFfXS2E3KbPA8rMv/N6hny8/IlMrtuC X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(269456686620040)(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231415)(944501410)(52105112)(93006095)(93004095)(3002001)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:SN6PR02MB4334; BCL:0; PCL:0; RULEID:; SRVR:SN6PR02MB4334; X-Microsoft-Exchange-Diagnostics: 1; SN6PR02MB4334; 4:SW1F3Sl8ctFqs85wTAIbgwS6lWa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BSY9YVERM0xXXx35QZwQsOZZVohBk7nJ5QmYWNbdZPgGxG07M/Ksz4dVqRI1bRJmyydWDIG0KsUSgF8hI28+lpyUOwUDrJU/E8jk3uOJJcsk0ZXwhCmQlP8FRd6Al/gOe7lGq2CBIiPK78Se0WHZwkLboKPVtlPkT/8WTGUpGXAX0nCIuV3aW7H2izGzj4iSSGASHMczRSvGBWJKl6r1kUS3UzgFUrDCcmrz/VFgtWCOkC12PuqYFugGg/k/NNntLJfOBNUnYfbK2PIwHp6wzg9tFlayff3GBCivfYGwGFoJPh6GA==; 5:nngTbyr3hAsAFQobZKYEVY2ZKDGQ+beyqGW49KMTr95TDK78K7Jl2f9NuFVcdvWay/a6/BQzxp5Ypk5mLNu6kw8gYTzxjdfRrGehgIpBySKicnSXiS21F9QYjk4WcEPvOUat99/kP4xO9m2MhcL1uxedzOdJDyCISoy3pDrzSVk=; 7:SakKPjIb721ruJCPCcAkK+cC0yNX+K3LZZn6j2nWeRcYPAH++p6PKfkFerq76FHWCXXoBT7Nb7p0B+caK9PxpxJ3Wv5s1oIZ6EHgd5TePA9T8dCX4tYAiaOCtt35JcPoSrjN7tBUrLkwpd4NClAyAQ== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2018 23:57:14.0201 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65c39459-091c-4470-71a2-08d64c1f3b64 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB4334 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_155729_881262_62E10433 X-CRM114-Status: GOOD ( 11.22 ) 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: devicetree@vger.kernel.org, Rajan Vaja , nava.manne@xilinx.com, michal.simek@xilinx.com, linux-kernel@vger.kernel.org, Jolly Shah , rajanv@xilinx.com, linux-arm-kernel@lists.infradead.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 From: Rajan Vaja Add documentation to describe ZynqMP power domain bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- .../bindings/power/xlnx,zynqmp-genpd.txt | 34 +++++++++++++++++++ include/dt-bindings/power/xlnx-zynqmp-power.h | 39 ++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/xlnx,zynqmp-genpd.txt create mode 100644 include/dt-bindings/power/xlnx-zynqmp-power.h diff --git a/Documentation/devicetree/bindings/power/xlnx,zynqmp-genpd.txt b/Documentation/devicetree/bindings/power/xlnx,zynqmp-genpd.txt new file mode 100644 index 0000000..3c7f237 --- /dev/null +++ b/Documentation/devicetree/bindings/power/xlnx,zynqmp-genpd.txt @@ -0,0 +1,34 @@ +----------------------------------------------------------- +Device Tree Bindings for the Xilinx Zynq MPSoC PM domains +----------------------------------------------------------- +The binding for zynqmp-power-controller follow the common +generic PM domain binding[1]. + +[1] Documentation/devicetree/bindings/power/power_domain.txt + +== Zynq MPSoC Generic PM Domain Node == + +Required property: + - Below property should be in zynqmp-firmware node. + - #power-domain-cells: Number of cells in a PM domain specifier. Must be 1. + +Power domain ID indexes are mentioned in +include/dt-bindings/power/xlnx-zynqmp-power.h. + +------- +Example +------- + +firmware { + zynqmp_firmware: zynqmp-firmware { + ... + #power-domain-cells = <1>; + ... + }; +}; + +sata { + ... + power-domains = <&zynqmp_firmware 2>; + ... +}; diff --git a/include/dt-bindings/power/xlnx-zynqmp-power.h b/include/dt-bindings/power/xlnx-zynqmp-power.h new file mode 100644 index 0000000..1bc9636 --- /dev/null +++ b/include/dt-bindings/power/xlnx-zynqmp-power.h @@ -0,0 +1,39 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 Xilinx, Inc. + */ + +#ifndef _DT_BINDINGS_ZYNQMP_POWER_H +#define _DT_BINDINGS_ZYNQMP_POWER_H + +#define PD_USB_0 0 +#define PD_USB_1 1 +#define PD_SATA 2 +#define PD_SPI_0 3 +#define PD_SPI_1 4 +#define PD_UART_0 5 +#define PD_UART_1 6 +#define PD_ETH_0 7 +#define PD_ETH_1 8 +#define PD_ETH_2 9 +#define PD_ETH_3 10 +#define PD_I2C_0 11 +#define PD_I2C_1 12 +#define PD_DP 13 +#define PD_GDMA 14 +#define PD_ADMA 15 +#define PD_TTC_0 16 +#define PD_TTC_1 17 +#define PD_TTC_2 18 +#define PD_TTC_3 19 +#define PD_SD_0 20 +#define PD_SD_1 21 +#define PD_NAND 22 +#define PD_QSPI 23 +#define PD_GPIO 24 +#define PD_CAN_0 25 +#define PD_CAN_1 26 +#define PD_PCIE 27 +#define PD_GPU 28 + +#endif