From patchwork Tue Apr 10 19:38:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 10333781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 85611601A0 for ; Tue, 10 Apr 2018 19:54:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7075128173 for ; Tue, 10 Apr 2018 19:54:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63D0328249; Tue, 10 Apr 2018 19:54:54 +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 autolearn=unavailable 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 D095528173 for ; Tue, 10 Apr 2018 19:54:53 +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=srSvZz/hEWqd4w86abvUJHy6Rc57Qcz31LDnqQ/M0gc=; b=DpUm/3bUh2/SEp NqZc2cnQptHjmLyXLbdcP9ZgW3TsB+iNbBFdl+khuHGbW9bUq0h4KO0H4zTahTj/uUg905vR8tSBt C8lIEeUkJB62li9ksK93O5Qujx2Ntr5RUOK963IzxeXU0ZwB9GcgGKOF/XOJN4rf7/gNtvE6VF4tr 7+ZHGSjVFmWRghDA8rpjrOPWig9aC0peKbJ13z0VDtX7xWWBzQF41sc9YUfbowJpisFVceUlvfIKD QeON3th9ygwsaqZRI59flFUTnh+X3co0Y8+EU4Lpa3YMFV1eL58HydBJ+l/UEQigdtCYR0KwTJZO/ okQRP4wg13S1r92oKMng==; 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 1f5zLv-0002qH-Tn; Tue, 10 Apr 2018 19:54:51 +0000 Received: from mail-by2nam01on0065.outbound.protection.outlook.com ([104.47.34.65] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f5z7G-0001k8-DD for linux-arm-kernel@lists.infradead.org; Tue, 10 Apr 2018 19:39:44 +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; bh=mNm2CuYOrppGLsJyQmMBuKpOI+UA1ttyYaFDF2U/Is4=; b=ux/gOWLfCLJwQW+xaZpu6bUj2JyF7ipo9B2/ijkWryANB5WfXmNpb8RLnNvBc+p4J6xXsbFYOoplZ46HhmkeI5B27faCtN2BC7DpnjNtKMfwC5LCA3m2BNsVTpmIRA8f+qPfOAH1JVORya7vTuVdFBKsmXHYZ1PcpRuPOx4w2MA= Received: from BL0PR02CA0025.namprd02.prod.outlook.com (2603:10b6:207:3c::38) by MW2PR02MB3706.namprd02.prod.outlook.com (2603:10b6:907:2::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Tue, 10 Apr 2018 19:39:29 +0000 Received: from SN1NAM02FT049.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::203) by BL0PR02CA0025.outlook.office365.com (2603:10b6:207:3c::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.675.9 via Frontend Transport; Tue, 10 Apr 2018 19:39:29 +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 SN1NAM02FT049.mail.protection.outlook.com (10.152.72.166) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.653.8 via Frontend Transport; Tue, 10 Apr 2018 19:39:28 +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 1f5z71-0008Be-Ru; Tue, 10 Apr 2018 12:39:27 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1f5z6w-0006GI-O7; Tue, 10 Apr 2018 12:39:22 -0700 Received: from xsj-pvapsmtp01 (smtp2.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w3AJdGJm030935; Tue, 10 Apr 2018 12:39:16 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1f5z6q-0006FF-9u; Tue, 10 Apr 2018 12:39:16 -0700 From: Jolly Shah To: , , , , , , , , , , , , , Subject: [PATCH v6 10/11] dt-bindings: clock: Add bindings for ZynqMP clock driver Date: Tue, 10 Apr 2018 12:38:46 -0700 Message-ID: <1523389127-14243-11-git-send-email-jollys@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523389127-14243-1-git-send-email-jollys@xilinx.com> References: <1523389127-14243-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)(39380400002)(39860400002)(346002)(396003)(376002)(2980300002)(438002)(189003)(199004)(2201001)(575784001)(126002)(446003)(81166006)(476003)(2616005)(106466001)(81156014)(39060400002)(59450400001)(8676002)(336012)(426003)(26005)(77096007)(7696005)(486006)(76176011)(72206003)(36386004)(51416003)(2906002)(186003)(5660300001)(16586007)(356003)(9786002)(63266004)(50226002)(11346002)(478600001)(316002)(110136005)(48376002)(106002)(6666003)(305945005)(36756003)(54906003)(50466002)(47776003)(107886003)(8936002)(7416002)(4326008)(107986001)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:MW2PR02MB3706; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT049; 1:9sqd/bQVHarJGQqkg2jiiL6xdv8oyeflSjRQVcndGXNCXRLdJ1HeURRMZuQ+Vm3BGRJllnQaMsuorlOwmP+mG4Ytj7T1ctGxYDz781FF7FG/rSk1k7pSgAU0tMthuIz2 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:MW2PR02MB3706; X-Microsoft-Exchange-Diagnostics: 1; MW2PR02MB3706; 3:KGM3Dnao1xQE7shy8SACRPhpjrh0z6qfffRx+Gjmpp8+vo6/Prvj9PTgcM3gZ0v/wCsu62Nl/+532GP8xAwnrg/P3+Rgb7RKsoZpi5P+q/7gD5wUC1ZrO9xEDBESECYhca3Q0O9gvfElLtGebuHz2PeF7Fmub0K3IS+j+ASXWW5gn4yN7hG3rykve3hZHgoDHLAKSUzWiPVm8f94oFnnZ83u7MsMNZpjU41+UqQfdoshOk/29n0AWuwpD98N3n8N1kGBzYnpK+BAk7tml9h0janOH08d8gLOibYBUdr7UHyqLL7Sf3yEvqAjMMucPIgphuUxl7Lv7QpRgrKNQfACY7lz+rJL7vuNnNDFqI5Z8cY=; 25:iUjxtdl/yfMLDlt2HprpI4UEGP0yvfU4tRs5tZ8d/i282XK/VEMhHnoDvNOYCYUSuWMtWWSziHxkxqTDYG6Eqv+IuHNE+oCdr1U32q0p9Dx9sQPQTtPA4viE91ncT1v8v0Ue1J/zSvmJ4TbXK8Hoqrf7D2Es+A+0qA4QDnYTPa5px4ttzYSlwBXJtJGQHCWhKZ2ABMZrgzg5ics8yMX90QahKjGxuUcWyL8cXOw5ADy2HwtGoSdeP2ZdGjlwhrrD3ArDCIGvH2T3XzKba8/Qapx9ZA3TcG+AxsB9mlpq0twu0OT11Vb+YQqe2nkDOE//nHYJfrhvQiTGOFMtvgzGLQ== X-MS-TrafficTypeDiagnostic: MW2PR02MB3706: X-Microsoft-Exchange-Diagnostics: 1; MW2PR02MB3706; 31:HU+ttL2rNtLDxHENeRVK7MLdQ3amH4WgmvoZlZoCvRZ4jCH/TL8O5qmFNLoLXE26IHrhQlH2gRRtGAheYzPjN8wF+P1FCyxKtHB+kfhWfowwo46dUv+ayHpCgxmjKJxOzJ+nk2hQlQT2e47gvXG8IJier7i2OXVpS5W2hp71m/ZOQ9wgEeZH4kZjtoCGMNGH0pcdCcj7J/QAD746Y8NSqTQNflyl6hBhg+oFN2ZV8HU=; 20:l8iVsGV3vi0miGTklt4CqykEXC8CzMcLbkSH3zYqydJL5Mfmo0JxaSJ6rS+YWcSBaNBXQTOemAVxxQKou1YLv+Npf/8f88GJP0gRXyTqoQs1JKC1cY06YR3JZZJ502W4Tit+OaFhnaSnC2JARIfXL85yMeo2xmBUfohHLQAU+T+NkEzQddS0SrhDaoqncemUwXKYnb3KbmbPVkqgxRfZNk2VACB9F6brrZS62syV0mbgN+PGEd9FP3VljMELI0q03SJ+2CojsCrqONSgohx4Or+0G0s2uy2tnO22qHoSNWbu9hu+9sdxYqZHzEptcmg89sEyzE/f8LsBy+N9aYOCOmLSEn4v/k2mIjhB6LTTLB1llXa01CHC+uHQ6iB2EWPYNK1U+AEJXT1rSUxgsj0p7CTIk5Bb8b5WTe5BdBTnI0HFDb4+kIC8ZtTChkAL2KEExbJ9UD+Lw7sMGbfZ9kAnUGqqkEI8jmMasK7IcIVkNG6RpdQjyIqmyXo2Se/Lqo0C X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:MW2PR02MB3706; BCL:0; PCL:0; RULEID:; SRVR:MW2PR02MB3706; X-Microsoft-Exchange-Diagnostics: 1; MW2PR02MB3706; 4:Iw+ndyBN2xFIqVs728dMKB6wrH9qjeYHYCyxyy1YfEJxvID+w1OnL1utfxpBL/+WpG5CROteyXkn+TVP8MeOF0BjfQSdK51qOb/IU2yDbMM3fE57x3l6soArR0kAYz1dDKC4Dp/+z7bqTQ0RiZYA6PxcyRrI4UilaxsObasYhVViORmRW7bwL7INUAdJRXILTb3FvD/6fWLnG0ZwFWr7P+Rc7l0KDrpSPGbbHAITBILxWbgo/bWzDefVomuchm/hMm7MOLKCYfQGgfU4YExVvyMr3gffXN+PQVhppR+acxxeh1aisPACWyxZcwkC4GQ4 X-Forefront-PRVS: 0638FD5066 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MW2PR02MB3706; 23:wb2GiB0TQ4m/wUgRtPBfc2dDYdj+j74IU+TTL+QQM?= =?us-ascii?Q?WOn4HUGTnY6BoO2APgLBLExWXP3Sj/0yxkv95bi+JX8ULWukuQjPgfYDmvBX?= =?us-ascii?Q?NTRbKoquBSfrK4CDFatMxYrmf+moKtJ891eGRZZ7SVJr9AJx7Y/Il2yi3gKL?= =?us-ascii?Q?UbxTWgpEK+Cz2CCRl1Um1Dw2OeZhwW/J8BW9pP9RYfOl/LPbB9wq5jtMMkTt?= =?us-ascii?Q?7J4SPQjQlk6aqWFTbyDsk4UNd5vY19u+0LLv2jfxsTbwAzBn8ii+UyKLRO+S?= =?us-ascii?Q?MP7LlbtYY3VEZU4DWPCp1l4S8JpeKL/8iime5GznO/elNIwBYuIy9nIKIDf3?= =?us-ascii?Q?tnLznYmADzQwo10WbOEvWcmnWyOAJi7pCm9uN7DtgcTDhpIiPUeyK/TEFWXf?= =?us-ascii?Q?5sU5umJNZfj2cH2Bxl/9i370O/z1vm9Mewl8+jivmDjOuYFvl7qC0gq3tQsP?= =?us-ascii?Q?BtgpA5Xbr1pr4S4fPW865OquzClnG839MQaJ+9qhuudRGzVGIVeRJ3F5ExIK?= =?us-ascii?Q?J7lek5aDyR9K88v+s61auiptH7AzJY5EE1AvHcI75y00AizVkdtml03av+IR?= =?us-ascii?Q?U5Ws63z3NoueHRhjf0/00KzhRpFUVMXP88rigifsAiyh6dTMqWAL5RkCFO9m?= =?us-ascii?Q?iyAXIfcn27+MYMRjKU67PBetZDsAEdHtjgJ8D3mR8B+hnUCHB9oU+bva0rAW?= =?us-ascii?Q?is06vLwiYcNOWYzw6U3Qk+xmHsTiwdBpg+xZkvFzOT6Q3YSy/LVinBKuGrYP?= =?us-ascii?Q?IDMHa7qsdvk0jBBbS40g8TnYbEMc9xnpSLt6/PAx0aObK6MqzE4aK6HQyZpq?= =?us-ascii?Q?7y+NzJyaN04x4PMCiBVb9e94k6gB8urpL902Ja+pldAvG3CBzHt0JNYqTLjA?= =?us-ascii?Q?jM0x4DagbK2PJ443OjSuM7lBqHQhUKcE77n6nagw/hMMoevalSvm5ATTnoP/?= =?us-ascii?Q?1dciMJWcgAwoennkLF70RHWsaOQ5QTkSmC4OmR99N/htyYfdN0Y4ONh7eUt4?= =?us-ascii?Q?TSexosPdUhcAu4dZG3uDx0Gq6Z168PHYE6jRRK8Q/twlpPkFmooKSkPqMse7?= =?us-ascii?Q?5iUHwm6J0iDnf7qLJ/3momD0LihG5+CrXWzB+5DdzL7nN971z471oeJBV6SK?= =?us-ascii?Q?pmVlP/wKmYXkpXG8j/sZXs8zZtdQM7703FOqngNgkFuaySXlguTCEWc53pkV?= =?us-ascii?Q?b3Xwu91jxYSloeBeRwmBf2pRv3b3+Sj3k5TeeN+StBp2HTbpM3v6taq1AhDn?= =?us-ascii?Q?03Vg34bshIaacMVKKOl3BwbktseNbZBZzQo/llzAoBJvF/XGozyBz2jwxoCD?= =?us-ascii?B?dz09?= X-Microsoft-Antispam-Message-Info: KpPxHDNgeiHSa3YtPXlomK6z5730oIcf1PbAEU7qi6UHCK8dPHLE9BSSsibh8KNGfUWzcQuin/wLmhe5YM8IfybyPu3XngcyFFkljpXQ/SMvr3lbwJUMKX5uZj/Th4/6BjMjnOrcgtHfKP1B2LlsexRoyqyUQaCiBalQ/CS/OlHfdoh8Oj/IcjOf5I0j4nC4 X-Microsoft-Exchange-Diagnostics: 1; MW2PR02MB3706; 6:hHKMZfREJ8xQgPXfL/dPDY4txD+HMFrsiu6hK42CGP2kxVjz/WuSdBSdbGv1I0mhw5iKz+4pWaFvZRh+HNiYQ/GoPPkDZA8igKFsDdtcgJpCDYSWhUO+Us3B6yvx4zeP3M6IpnDk7P37AaVBkJy/W4g4s/5EbINfdTsNFwmdt0Vb16rHK3hWlWze78M4CxPI2gQtBeAeyCIDaet841sA/m1M93bklLFeiqqZCzAuS/y9ooW9avyQtByLyZCwrbxBMiqdiRtT9dS3mA8x96mfP/V5Hc92WWBxN0WSebbrQ51h/D6T9mwzbwbJwG3XxkxPbagMO+wm8CwD5qjZKyYSomvkhIzawNOpWFXGULWZ5qopU0kiolcyGsJH1Q39YmIWyMiSGdUUdRG1MTTOnep+3mE318OibFxYRrQp7APy+loH10Q6yIt/0+xNfvy2uoUbnLKTgIP51IJ9z21N6O3UVw==; 5:rcQ2BjQpaDNGa1RJ05TFQjGmd78c8cj5vmDPuu6iY01BknORtbl9kIB8dlyEHzC0Yojoutw5uYA5eGjuuMOo/AIMJ6hyWF+iqRohgKF4p3UBy6wDFEcrag2Ty7rZYl9EpSEsGGLBjD+iN4qSGK2O+CG7OAuYRI67iCQ7PAtCpOM=; 24:ehy8jfqnHx93Bj07uF45xDeykS75fx3yt5NBba24BNjXGlRiPG1BegA8J351/3UsvmBiEwzX0gx0pQJNE/W9S1TWPO3Q/e4voFFjueYBlP8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MW2PR02MB3706; 7:KZ+n3GKGoHFdOJalPN83XMZUFPc/xmItrJK5l9XCLR1D1wxb6e9PiuMvHnrCCi+ngt6gg26YJcjhXDnyo72/W8b6ExlZi12sxDb+DLkkmgJ5ZyPq8Vl+lsAt09oUbS8VBKsKvO8cu73d6OiSbmaqkoFxBIjKv/5bvKW7ymQg/pxaRP4VOXKFW52ta4whL0ZhMlE6JdsMEX1DeEgOoxUMtvGY8R3tRTOtucpKsx+Wh94vs/00rof2qg8ElX6MIdoj X-MS-Office365-Filtering-Correlation-Id: a70d67c3-8ca4-4e45-0a58-08d59f1ac662 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2018 19:39:28.2666 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a70d67c3-8ca4-4e45-0a58-08d59f1ac662 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: MW2PR02MB3706 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180410_123942_667062_1594708C X-CRM114-Status: GOOD ( 13.06 ) 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, rajanv@xilinx.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jolly Shah 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 Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++++++++++ include/dt-bindings/clock/xlnx,zynqmp-clk.h | 116 +++++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 include/dt-bindings/clock/xlnx,zynqmp-clk.h diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt index 1b431d9..ee8d0b0 100644 --- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt @@ -17,6 +17,53 @@ Required properties: - "smc" : SMC #0, following the SMCCC - "hvc" : HVC #0, following the SMCCC +-------------------------------------------------------------------------- +Device Tree Clock bindings for the Zynq Ultrascale+ MPSoC controlled using +Zynq MPSoC firmware interface +-------------------------------------------------------------------------- +The clock controller is a h/w block of Zynq Ultrascale+ MPSoC clock +tree. It reads required input clock frequencies from the devicetree and acts +as clock provider for all clock consumers of PS clocks. + +See clock_bindings.txt for more information on the generic clock bindings. + +Required properties: + - #clock-cells: Must be 1 + - compatible: Must contain: "xlnx,zynqmp-clk" + - clocks: List of clock specifiers which are external input + clocks to the given clock controller. Please refer + the next section to find the input clocks for a + given controller. + - clock-names: List of clock names which are exteral input clocks + to the given clock controller. Please refer to the + clock bindings for more details. + +Input clocks for zynqmp Ultrascale+ clock controller: + +The Zynq UltraScale+ MPSoC has one primary and four alternative reference clock +inputs. These required clock inputs are: + - pss_ref_clk (PS reference clock) + - video_clk (reference clock for video system ) + - pss_alt_ref_clk (alternative PS reference clock) + - aux_ref_clk + - gt_crx_ref_clk (transceiver reference clock) + +The following strings are optional parameters to the 'clock-names' property in +order to provide an optional (E)MIO clock source: + - swdt0_ext_clk + - swdt1_ext_clk + - gem0_emio_clk + - gem1_emio_clk + - gem2_emio_clk + - gem3_emio_clk + - mio_clk_XX # with XX = 00..77 + - mio_clk_50_or_51 #for the mux clock to gem tsu from 50 or 51 + + +Output clocks are registered based on clock information received +from firmware. Output clocks indexes are mentioned in +include/dt-bindings/clock/xlnx,zynqmp-clk.h. + ------- Example ------- @@ -25,5 +72,11 @@ firmware { zynqmp_firmware: zynqmp-firmware { compatible = "xlnx,zynqmp-firmware"; method = "smc"; + clk: clk { + #clock-cells = <1>; + compatible = "xlnx,zynqmp-clk"; + clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>, <&aux_ref_clk>, <>_crx_ref_clk>; + clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk","aux_ref_clk", "gt_crx_ref_clk"; + }; }; }; diff --git a/include/dt-bindings/clock/xlnx,zynqmp-clk.h b/include/dt-bindings/clock/xlnx,zynqmp-clk.h new file mode 100644 index 0000000..4aebe6e --- /dev/null +++ b/include/dt-bindings/clock/xlnx,zynqmp-clk.h @@ -0,0 +1,116 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Xilinx Zynq MPSoC Firmware layer + * + * Copyright (C) 2014-2018 Xilinx, Inc. + * + */ + +#ifndef _DT_BINDINGS_CLK_ZYNQMP_H +#define _DT_BINDINGS_CLK_ZYNQMP_H + +#define IOPLL 0 +#define RPLL 1 +#define APLL 2 +#define DPLL 3 +#define VPLL 4 +#define IOPLL_TO_FPD 5 +#define RPLL_TO_FPD 6 +#define APLL_TO_LPD 7 +#define DPLL_TO_LPD 8 +#define VPLL_TO_LPD 9 +#define ACPU 10 +#define ACPU_HALF 11 +#define DBF_FPD 12 +#define DBF_LPD 13 +#define DBG_TRACE 14 +#define DBG_TSTMP 15 +#define DP_VIDEO_REF 16 +#define DP_AUDIO_REF 17 +#define DP_STC_REF 18 +#define GDMA_REF 19 +#define DPDMA_REF 20 +#define DDR_REF 21 +#define SATA_REF 22 +#define PCIE_REF 23 +#define GPU_REF 24 +#define GPU_PP0_REF 25 +#define GPU_PP1_REF 26 +#define TOPSW_MAIN 27 +#define TOPSW_LSBUS 28 +#define GTGREF0_REF 29 +#define LPD_SWITCH 30 +#define LPD_LSBUS 31 +#define USB0_BUS_REF 32 +#define USB1_BUS_REF 33 +#define USB3_DUAL_REF 34 +#define USB0 35 +#define USB1 36 +#define CPU_R5 37 +#define CPU_R5_CORE 38 +#define CSU_SPB 39 +#define CSU_PLL 40 +#define PCAP 41 +#define IOU_SWITCH 42 +#define GEM_TSU_REF 43 +#define GEM_TSU 44 +#define GEM0_REF 45 +#define GEM1_REF 46 +#define GEM2_REF 47 +#define GEM3_REF 48 +#define GEM0_TX 49 +#define GEM1_TX 50 +#define GEM2_TX 51 +#define GEM3_TX 52 +#define QSPI_REF 53 +#define SDIO0_REF 54 +#define SDIO1_REF 55 +#define UART0_REF 56 +#define UART1_REF 57 +#define SPI0_REF 58 +#define SPI1_REF 59 +#define NAND_REF 60 +#define I2C0_REF 61 +#define I2C1_REF 62 +#define CAN0_REF 63 +#define CAN1_REF 64 +#define CAN0 65 +#define CAN1 66 +#define DLL_REF 67 +#define ADMA_REF 68 +#define TIMESTAMP_REF 69 +#define AMS_REF 70 +#define PL0_REF 71 +#define PL1_REF 72 +#define PL2_REF 73 +#define PL3_REF 74 +#define WDT 75 +#define IOPLL_INT 76 +#define IOPLL_PRE_SRC 77 +#define IOPLL_HALF 78 +#define IOPLL_INT_MUX 79 +#define IOPLL_POST_SRC 80 +#define RPLL_INT 81 +#define RPLL_PRE_SRC 82 +#define RPLL_HALF 83 +#define RPLL_INT_MUX 84 +#define RPLL_POST_SRC 85 +#define APLL_INT 86 +#define APLL_PRE_SRC 87 +#define APLL_HALF 88 +#define APLL_INT_MUX 89 +#define APLL_POST_SRC 90 +#define DPLL_INT 91 +#define DPLL_PRE_SRC 92 +#define DPLL_HALF 93 +#define DPLL_INT_MUX 94 +#define DPLL_POST_SRC 95 +#define VPLL_INT 96 +#define VPLL_PRE_SRC 97 +#define VPLL_HALF 98 +#define VPLL_INT_MUX 99 +#define VPLL_POST_SRC 100 +#define CAN0_MIO 101 +#define CAN1_MIO 102 + +#endif