Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755448AbbHNPQ3 (ORCPT ); Fri, 14 Aug 2015 11:16:29 -0400 Received: from mail-by2on0086.outbound.protection.outlook.com ([207.46.100.86]:62784 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754456AbbHNPQ2 (ORCPT ); Fri, 14 Aug 2015 11:16:28 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; towertech.it; dkim=none (message not signed) header.d=none; From: Suneel Garapati To: , , CC: Alexandre Belloni , , , Alessandro Zummo , Suneel Garapati Subject: [PATCH v3 1/3] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Date: Fri, 14 Aug 2015 20:31:01 +0530 Message-ID: <1439564462-21252-1-git-send-email-suneel.garapati@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21744.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11OLC003;1:UmtYj15yLdQzPBoRRvGcWb4azqzw9B78Mp1eYf+0Sa6cCy+5P1+gwRCFccTGUXB2U47lMByCFkewA8Xlqp4m2afhb1xssVPk/FSEV2eWo2p72e29Bwb7gRWd9dCMnuo95vHwjYE1nc1IGUkzzUA0tEVUSPnpRUS62EcKOuuaiNMgoXftR5PTYFzf4T8LOBU/BxClxRZ9P5fYiBFMsd+uu5Vsz3nM9qgK0KxaTP9cjN5aINAz8ZcPqhjKIpfeGzhfkm2QnquVuWYRoGIoOhjgbugIOkLcm8Gdb1tVyIt6YfPTIylBCQZhAoxNo3DWjzK/kq2WU/8sNXe6n0Dlegol6GXgfbQ9lBstdy5bC7PAbFY/gXcohEZrSxW25ybjaGiA X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(6009001)(2980300002)(438002)(3050300001)(189002)(199003)(5001770100001)(5001830100001)(63266004)(106466001)(48376002)(50466002)(107886002)(5001960100002)(5003940100001)(87936001)(2201001)(86362001)(50986999)(19580395003)(6806004)(64706001)(47776003)(19580405001)(62966003)(77156002)(77096005)(36386004)(5001860100001)(4001540100001)(5003600100002)(81156007)(36756003)(229853001)(50226001)(33646002)(46102003)(189998001)(92566002)(107986001)(5001870100001)(4001430100001)(2101003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1AFFO11HUB006;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11HUB006;2:PPFz1KYrnEMr0tdS/TcHmHESyn6+r4RHYWIuCZp1z0kkYTk4S4CG+EI8vMjztqZxCZOXeq6WzPZR4fCkJCH06APWa9wHFtZJYaqYleEHCpFzMaKKZTMWPbi94Zx0XT84LReSoz6ChVz/ddSN7D8Vv4+Me/37xAixNfkXrVoLAzE=;3:uREMojkjHwfshCIxU5sKaClRrsk3981lVDAm2Lc7eNuVBoHI3J1NyuwRIupk4/IZQicevJ+N8BKrAL5VEPF180DiS5gQWPV8X43n0uWAAaaYe9pFmwXlE0jHm3sXiqke5s2xgOJObiJzJMt8VCbqd3ZsbtXwiIa4fV7yPdVenzzxTHaCxjt45pkNMC/wf50wfMSnDmgGyFk5Mgne0L2552KdTBYnftU+cOPrY6W8Cg0xwlOesYyi4Qep9j+zxADq;25:y7HgR+EBBdrHAq7tSF5XUCAbJkMPcHjxkLxrrYqcFVWT/gNosAgMAp3kVH7Bp9y5VuomGQfMQrzGFWu/lfDgQI08/qJJWMRgkDlKZPi+ebqr8YqOzN8eK4rronegg7qIcfpY2bnFXIvEXiSweV9RumVbzjtnYb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hc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(8121501024)(8121501016)(5005006)(3002001);SRVR:BN1AFFO11HUB006;BCL:0;PCL:0;RULEID:;SRVR:BN1AFFO11HUB006; X-Forefront-PRVS: 066898046A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1AFFO11HUB006;23:2uZ6g8o9B3graNFYz7Mae4LtSPeU0RUC9q0chzm?= =?us-ascii?Q?r9fFoVvk1b80fIB7cyrTrrG27lwcnbEoLxbX/FoUJazA3u1IwnQ2uXG//4/N?= =?us-ascii?Q?6iy9SIwZacVxOHco5iTP8dNqnc6O7V9dm6r4YOXeAKx4Zm8yg25dhl5fA8BJ?= =?us-ascii?Q?p4O3fEtfT6R4+7xXN15JQknnKYbpQwgX7W1UwcRnqF45fGprDFWziLWCoORY?= =?us-ascii?Q?pP6SMGkPaUwMZUTrAhe4LtFle7qLLd4ZbwH1yLNlFsYOVvgl0pOi4vwIpKWz?= =?us-ascii?Q?IlrnWkfrtyQmRvokhyjDYcHZHbgtxbRfNWR1OY50MniT+E737MpGVC+2k+PV?= =?us-ascii?Q?33+x/LYPwClx9nsPYURN2kyjt9H7pE8L6tDlLYlxky0hZmPSMZ5hYyjsvMVD?= =?us-ascii?Q?8DDNs17az8e2eIHJQRPyADbu6pLDFBRNlZcwNUkRYj+H7OLuS+uG3ex0N2eO?= =?us-ascii?Q?vlPdAIHYxMUmJxOS1ERIGBbpJiDrYLZe6TlE6ucGPazlqN20gGORMCz9q9Y3?= =?us-ascii?Q?PuhGhcu3UGgLeEe1k9+CavcLbFjw9TW1gVikKBWYKpEeANwuLnkAJ1P/XIvC?= =?us-ascii?Q?wZ3IYbbzSSHlMmLUYpRV5nEb0Xc58sDpsexxXsHT8xd0uWOO7p4PA9dIlEda?= =?us-ascii?Q?9AvMeuIh4/4zcnRKwEXRYhllH0Mv7RcGs8sb1cG3j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5I5w= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2015 15:01:17.5072 (UTC) 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.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1AFFO11HUB006 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1710 Lines: 54 adds file for description on device node bindings for RTC found on Xilinx Zynq Ultrascale+ MPSoC. Signed-off-by: Suneel Garapati --- Changes v3 - none Changes v2 - add examples for interrupt-names - change alm to alarm --- Documentation/devicetree/bindings/rtc/xlnx-rtc.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt new file mode 100644 index 0000000..0df6f01 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt @@ -0,0 +1,25 @@ +* Xilinx Zynq Ultrascale+ MPSoC Real Time Clock + +RTC controller for the Xilinx Zynq MPSoC Real Time Clock +Separate IRQ lines for seconds and alarm + +Required properties: +- compatible: Should be "xlnx,zynqmp-rtc" +- reg: Physical base address of the controller and length + of memory mapped region. +- interrupts: IRQ lines for the RTC. +- interrupt-names: interrupt line names eg. "sec" "alarm" + +Optional: +- calibration: calibration value for 1 sec period which will + be programmed directly to calibration register + +Example: +rtc: rtc@ffa60000 { + compatible = "xlnx,zynqmp-rtc"; + reg = <0x0 0xffa60000 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 26 4>, <0 27 4>; + interrupt-names = "alarm", "sec"; + calibration = <0x198233>; +}; -- 2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/