From patchwork Thu Oct 4 21:23:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 10626763 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 E16E713BB for ; Thu, 4 Oct 2018 21:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF9332961F for ; Thu, 4 Oct 2018 21:26:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C369B29631; Thu, 4 Oct 2018 21:26:42 +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=BAD_ENC_HEADER,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 35E1C2961F for ; Thu, 4 Oct 2018 21:26:42 +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=fZexSjuy8nzobt 9Uu8bnA1y9gu1xOo1IcaCGDpAYl4zNnFh8FZeRURJvRIy2tfkt77VFZ9XuzVjSvRRaHGZpxwPKqMk Lpq0WMDTApeg+9SZVBa+DAeBbgLpX17gdOqWO14bw4odUa6/z0800ljTJ/MX+qbePsigkCjJVVa6z Vw3fpdlCLizEtQBXTcHIhUShDdtnZH+ymXcQHP7Hk8w/a7I+tOH9KAhfE3D8AiHHkVSBni/cPPyUn W4nIOJh8YEuLm1/W9UKeD4J3rgYAc9qr7h6vzc3gNNSVq7IuIWQN5XDBK35rCS4uCuja+NR7ql+KF UxrTlVMeSifp6+256q1A==; 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 1g8B8f-0008V8-NV; Thu, 04 Oct 2018 21:26:29 +0000 Received: from mail-bn3nam01on0082.outbound.protection.outlook.com ([104.47.33.82] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8B6Z-0006EV-WC for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2018 21:26:06 +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=2g/Yso+ZcbaV0SAiag6OXUhNa7s4c4RyTc+A5WGJ2SRI6WdRP6JzUBsSHT8VjsJI9wo+qHt5ftNfXlTZKqhpxlVlg6pI9qp6ppE3Rh1CkXrY0fY3/gckuvmrV6TcotiR9Q+KpsaAmfnFyA4Hf/g3b0zHv8IKASCwwirJpeoKof0= Received: from MWHPR02CA0028.namprd02.prod.outlook.com (2603:10b6:301:60::17) by BL0PR02MB4755.namprd02.prod.outlook.com (2603:10b6:208:5d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.18; Thu, 4 Oct 2018 21:24:06 +0000 Received: from CY1NAM02FT054.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::202) by MWHPR02CA0028.outlook.office365.com (2603:10b6:301:60::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1207.18 via Frontend Transport; Thu, 4 Oct 2018 21:24:05 +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 CY1NAM02FT054.mail.protection.outlook.com (10.152.74.100) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1207.19 via Frontend Transport; Thu, 4 Oct 2018 21:24:04 +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 1g8B6J-0003dW-RQ; Thu, 04 Oct 2018 14:24:03 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1g8B6E-0001wm-Nm; Thu, 04 Oct 2018 14:23:58 -0700 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 w94LNubk006250; Thu, 4 Oct 2018 14:23:57 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1g8B6C-0001w6-Oa; Thu, 04 Oct 2018 14:23:56 -0700 From: Jolly Shah To: , , , , , , , , , Subject: [PATCH v3 1/4] dt-bindings: power: Add ZynqMP power domain bindings Date: Thu, 4 Oct 2018 14:23:38 -0700 Message-ID: <1538688221-9823-2-git-send-email-jollys@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538688221-9823-1-git-send-email-jollys@xilinx.com> References: <1538688221-9823-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)(39860400002)(136003)(376002)(346002)(2980300002)(438002)(189003)(199004)(476003)(126002)(110136005)(106466001)(72206003)(63266004)(106002)(54906003)(305945005)(44832011)(478600001)(107886003)(7416002)(2616005)(36756003)(356003)(16586007)(486006)(316002)(4326008)(2906002)(39060400002)(2201001)(50226002)(36386004)(426003)(47776003)(8936002)(9786002)(48376002)(5660300001)(7696005)(76176011)(50466002)(81156014)(81166006)(51416003)(8676002)(336012)(26005)(77096007)(446003)(6666003)(186003)(11346002)(107986001)(921003)(2101003)(83996005)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR02MB4755; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT054; 1:WaRDq9iIRlNCyVCdE1f9LJzC4COePCkbUNXiX+b9dQlp6ahJv5VT6JK+vE3CB+f3vKDz/HsbV8Jx+JFUnuLzgsIhiVkBLWwXLKmaKcYKGCEWgXgimz3Rb8k2GZ4AflIu MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8b08b4b9-da7c-4b27-fbfd-08d62a3fb63b X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060); SRVR:BL0PR02MB4755; X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4755; 3:GBadNZT9EPMeUDURO66onnxmMgGm6wwKDe+xSYynKuwceGTIgYZ6j6rrHDrjjG6RbLBcm9xCAVk2uee2YzXTo6snBstN+r+ZRndda7mmMCLnWKu7P8JJI28CKoF1xJIerXag+PEZbFQVc9Mf/K/02UcgnThshOpN3hoIlTIHCoDUmqXc8zf7GCvOj79mzI1DchbwkLgFD0iUBHU3Wflx6bJXwT5gklPdFnwjAO5TD928jNBrtU+ATqjelY+ynza0z/W1eMdfep0EsJv9leFWD8+xiZMdfG874CGamDcm/7mckWoHwM/61BUd1oHwVG7RAo7vkauGR3POFXeyJZgYvgOEYnVvp1abxqqrVt1MoCk=; 25:+4/fJ29DkeN5srz76AaBSumwN9D1BoNIrvZ5+r3Vs1OI8bdWLR4UPhkQZuc6jIsR5tsBY0WzgYT3ANftAGAUuGh8u/YnGpltZOCeukIaZDS97X1Fe6+iJOs96iPs0jYRaxwysj9OB31IvBxXz221EABIZajQuYNzNvM8a67rA+968AO7oDjWIwrYvf4Y3btzz1rIb/34BGV3s/KezsF3sRIdMWz4s/vM/pP5W5jov1t02yOYeEGtzlsZEHOL8cwcxfQR0aZB36jZgMpZs0tkbeTMm6e28aD1hgLVYZuj0AzRMm4zvE7RDuYsFDyGB4mYhaCzp/Scbc955Y9WLVkjoQ== X-MS-TrafficTypeDiagnostic: BL0PR02MB4755: X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4755; 31:Euu+bNNLCHTM2DVzb8NTLZ3ETJik2n6JOUNp+q3ZmER/u5+JS9gyNwtHu+m38i2VeicjV1MfLwK5z8Wu+OQ908VJXFlrkEun4NJl1WtqbvsO5mQfFYzV7QTETM4PlYFBuaqDHbNA642+/wNLYoPFKjNojMIgtSD0toEP5Dc8lO9Z/xkdivfT/QkFvMfzVtmFg0uh5l0Im5Jm5bcDi2sa8zc+8c6ZgorK6tfc2b6I0WA=; 20:1OBVmwcabii553J7ooNXBzL/Y97T639iI8kvcEJmcVKmhTlT19v9e4anrknnOUmb/7px4tda+rep8RlXGQGjDkrA1KERAC2yPDubiJIVwZFUNiVvRka5+kjgrnuQdybcXf862kUizkcqv0mEdm6VSskRdY/gFEIP77LAXkKydi8CNbHfzw/0R4MSizSHmayOJRaYfIkheEFw6vwwXETvqiZTyJMvZ6hOhN2n2HpSyVyskhG3qkMe6Nzk/SjTAhg+t0yCUX7s9y5K08nKw1BQ67GhqlfOk+Efz0ebCMrLtDDs8sqFiP+6qPEKBEC+ra6mGtbDVUqISmTqbapPG027NpceD7tkWL5AyglCqtWV0gFHOTB337fTCr6GHO0wDPLqtTCfu6/du2nF26mlgHcY35pDr6a43nhBNlRqyTWmERQ6sZEi+sd5aJo3jeNlZ2pK+nqwESHqYZTKE0ZIJ2h4k6KV3KDycOEuPg/hMmbMwcnedndvbnCWcNYgLr+kEpeV 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)(3231355)(944501410)(52105095)(93006095)(93004095)(10201501046)(3002001)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991048); SRVR:BL0PR02MB4755; BCL:0; PCL:0; RULEID:; SRVR:BL0PR02MB4755; X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4755; 4:fMsovgBbMTmNjjWUhu3RECfB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A2kIvIXYBzGzq02gGIacPL5Nha43Ixh1pe2s83j/naSxmruH5t2x4Ki+d92wohaFd2dSFPp9WQ8J9h0GHgOKxxDo3OfQvMqUZaMe/sN9sNh3F9GoyzmUx0ufGBC9TfB/ciRfE61vAEVmx1JsPiYXGOGOxvfNXBTIl2S2zKF5porQpdRA9gT0it9KYcPH+UJjUVMHNmo1mzoPjYi0+M7aR/z4e296ohORiwgGSf8qtAFnFcECOLp7nzONfWJQwcCPC4K05No06WW4hiJOKX8/pCFz4vVdwZ7jRt40ANHHlVuAhTZKPVP19LNi2DNCBkExso8hhVQKjPi7CKUJTx3MRaeI4gRpT9soc8I97WRYUAbwDfyh3MeAHIb47/hlWWFNWqppI4mCCJjU9dLT+F/EQUvaIQ/kAIkzLLEmNzj8nGF8OSS9l4PYzBS1D333hSsKsWOoCNcH/6WSvDwg==; 5:lFv6q0q79wGH9ckynpFGF6LKVe97E11mt+NW1Cwdcg80kbv54kd/Q5bUKUEolsc7IhptIIzoCZ4YwjC7J9RhJPNaoMGnKbPxEMBrh4oHs8151Cdf3J/jMIfRsLaLgQWQ3KhjymoC0Pg8B4rmB5GGpe41ZLSB/0dqdOMpbLPG8K0=; 7:+Fhca//GlSFGI6KZg/EwNka9jyiqwcZpi6uT7jxZ1nHG17nFrnyGCRyDHjvIHpI9v/sXLPnItfKfyUGNPiDa+SAWPWI64M8jde+wpASVLRdFRMrVghwJc57KdzwrvwtlIxrlJLRDysYBrHDV1AW1I8x/J1XJSrAM7MN6n6KDicupAnND5jpG+DKjZuN+Nw/Vt/ts5ceaII7/Wp43n/lyz/UoUA+ogGtlUG82UfgkhdvR51Il8UCU7XMe88zVck70 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2018 21:24:04.3506 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8b08b4b9-da7c-4b27-fbfd-08d62a3fb63b 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: BL0PR02MB4755 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181004_142420_145873_DC138C2F X-CRM114-Status: GOOD ( 11.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: devicetree@vger.kernel.org, Rajan Vaja , 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