Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753373AbbHSJxt (ORCPT ); Wed, 19 Aug 2015 05:53:49 -0400 Received: from mail-by2on0067.outbound.protection.outlook.com ([207.46.100.67]:47392 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751299AbbHSJxm (ORCPT ); Wed, 19 Aug 2015 05:53:42 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.83) 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/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Date: Wed, 19 Aug 2015 15:23:21 +0530 Message-ID: <1439978002-12157-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-21756.000 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD007;1:FageRjY6XrvH2n/L//DLFJF+wyPWeXaLDXxYJpa9buAuVa5Iqx0dA4xU0bNsUt4K/XslC7pmk1YDQfKyz6usphnganRS86km/Y67gmOHYXUAEMh2wbGbmzjP2NBTs/D8NVMHvmBGC4nB5ofzrdKZHnEjfGAc7XNYxvY50s1Tnsz+YXV61xNzsuI+QmQru7zukF8Rila+5N9AQUaEvTNnMzZvCcxqoZPvSrtxQRiUO3Zt3fsXaq/IdYOAsCZeqUPCkpS9b67YnWwcTJSZBsgVpWU8awKXWO353wFkKMSCPNdwWMXmJ2/zWr+oJLDD1YEpMU8waXcZR3GuKhf7VBK9g9bm5gQbfkDIRmdhB8g/Qyn8ErTg/rb6C0r5aoUHuv5f X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(3050300001)(199003)(189002)(81156007)(36386004)(4001540100001)(5003940100001)(64706001)(5001830100001)(5001770100001)(33646002)(19580405001)(5001860100001)(6806004)(19580395003)(77156002)(5003600100002)(50466002)(50986999)(77096005)(36756003)(47776003)(107886002)(50226001)(5001960100002)(62966003)(189998001)(48376002)(63266004)(2201001)(86362001)(87936001)(229853001)(46102003)(106466001)(92566002)(107986001)(4001430100001)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1BFFO11HUB021;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB021;2:xgpc4IxR3Y0NK5KEyLKQujAMgbKohUTTv/eG/poG4kVnnJswVP9quX6nMJQkNUMUcNa9e94iBUQXfyRgEGNwKxfUo69UljV8FEJCfLFHPIVWdICT/nDMIeXiJIbRofnyDO/Yta0asxo4QIlzV+HY6m48WGyed8kRysf6dWwNPpk=;3:Utcotu31P8kBkjeOMo1DCSEH5exW4Sq5JBPzKHrCBOaIrx2/1Fci7T9QdbGEBG/a3hBScZYNPwKFVl4b/ecSxV2ovkKrGTd4+iVJdhNibL89EDgroNbIBCa3qgOyr65cqm/ErpVwHiKPll/PjHLrqxF03bXbfORzTwok2xBIiYFfPMxWwBlMX6MWRTL3czhUkJZR8P5yS30HklNt/HJjRePMb0yFyZ3HbnZ4n9KlAKc=;25:tDy1PYPRSmd2nZO0usd2LvcoAH7D2ZkVEzMGtGwa4i+EW08nHP0xD+q7gLKNhWwl3f8YAG9d0xzFa7uVVyIVGwLJ60oV/6Q2HX1xASW0dIeF8pb1VVZn9cSdAdyFokYgS0Lz0F7XHgZ5wNQTqM9fpLkkoQgeC3jbM1deKhNJacax7wIbwjnhwhtu2IGAGQt+TnAiYENgFm/vRvLrDMVMYblEiY6/rj1JZXGj8gARbervd1fIQhD9xuMfOQoh6MzE X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB021; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB021;20:9klx/+5PtboWpCkaRSTXZPKj74dRYqtZVeuHFxAFOwTtxUKd6wYniF/l8eytcnm90JwZiGdsyDOh2IwcwACVRADvK1aas1LBXuE8PRN1UYP84/acYj91kqf6S8pLTVSwsiql5n04STFhCqlIsnvDAuR3aD8kykzAV2svSnvXHCctaVMdrvixZ+YWO0pcfipd07whF+G2v9T/VbaS9THblbYw7bIStSpXCpkCZFt5DSJSbLewjPoqwjZtbArOVc5YLGbbLhvM4+QxVUWpMSrcnjvah3iwgRHfNXmhvHKdQiahzpb5iDSBTLdpKRkMHD3x1dwIZnlMugrE03yVQfF2xOM+d0uzyIfW7a+ruvgzli0SmKgu+bYMYw5Vav55vAaFLwz1fpY5D9QijQ4Lo3l4MRr9ye/jhFKQJ3BFOTc3kqmJTV1XMMgl5ki4kDBo5MOkUB/+GIe869XOqUEgUb8bL04W0dEIROyedgUNKjnNG612qdbpM7UYDQtUOnJgmR4g;4:QO1M/CnyD7QlzeF+IMakheCC6FDtjvq/wqDSlZWxJDfj/Gb/3KC1DtWA+AbCjyNifazFsAeDMneKwER/m+BRI52QyoKoedQ0mJrHr3UokWQDuvYtQjc/BlpjzaCvO5XIGX2foRcegRhAFWtwX/nVhPJRPfcZbwIq8kHcUBJUvz1Ua1XFGzsbAGrZrqiBwEYUSQk/HYmyQyB9MwhJeGevlzK57tbAkqAHO9p2g0at+F2cnNH+JF8rCxCgpHAz5EU/XwUK3MFSXEmDTGFs84T6OUgZPuXPWcAAFNNWELdCjRw6P4TGMExc/LqRCey4YBupzLTZCuEbV6GeVXMLMkMmiU0JUXdqHvMgPOo25BdQ/Lw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(8121501027)(8121501046)(5005006)(3002001);SRVR:BN1BFFO11HUB021;BCL:0;PCL:0;RULEID:;SRVR:BN1BFFO11HUB021; X-Forefront-PRVS: 0673F5BE31 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1BFFO11HUB021;23:Jgy0p2wUQOlD/npkvin3wUzeNNkWe6dWP4elDwi?= =?us-ascii?Q?nwnfu3p+QWBE5isczVnD0O0WwDsGmbq73zX0z5jVTai8a2uSbmzLx0PEZfEv?= =?us-ascii?Q?VXgS4BAeaOm0NTQDXdtT9dhIIvjr+YK+j9ZeXKTOkz/RFtz1rysyFXKRRlKD?= =?us-ascii?Q?0J8GamhKz1ABYsYnPQFfpwQFosmx4CNBQTCPf6ikw7MEmtz7gDY9MJvjVhqN?= =?us-ascii?Q?LDqq4xAuzetXpBeliQMcDaDfikhmt6VruTYzcD7Ksnm2uNDynkZU/tYyh09Y?= =?us-ascii?Q?1jW09Lx4kqgDXsr0g2T8Cx6MrwZEJ4wrwTttS9nOZGf1ljBjMyjR0II4Npjn?= =?us-ascii?Q?uRrzggn/GZcQB+inr9w7VDUPi2Qjan3RVmcNqF7p2gY8n9/5dUTpGtRQVFT1?= =?us-ascii?Q?Z2hPrG+NBsVphoxQvVtOtwKbeDkAjYvxC6vYFFUQIe9qvfXrSj62iqwwT/V2?= =?us-ascii?Q?C5YFeS8sn0Rd1yLPMB8WmCB3Bzqon+LzWg5qai5sCNHA0wCVP7IrQ2Wb/qTd?= =?us-ascii?Q?cCs/tbvHA5oM6Q7ysJUbAkdCXTQR8w0VzCIKYvM+KyKjZVKzgcnAlNay2My5?= =?us-ascii?Q?Qbbb5GyJ3O/NFvycZ7M7Rq0jIByE9xkKnpqfP0onkJVQ9tWEamROYykeamIM?= =?us-ascii?Q?EKXv/fhQRF+49r3lJz00T++74wCI7Z5D2g9O7c6eyaea8D9MGs3HqB4Ecnlk?= =?us-ascii?Q?L1xMO75T4LxThRw/5YAqe9GMxSypJt9avdQ5/Hop72PYzeOveAjvfq89MvYV?= =?us-ascii?Q?//czpqqalkkPr+gcGL0NwMBcu/iYC4eQx02N57dLD0RpDkYzEBARs5xISQMD?= =?us-ascii?Q?nb6EHbX69vZlmzSTEj6QkwhBg41rVEOuIA0WRluARnBuiLzDXObR17PRz2ts?= =?us-ascii?Q?M3tDUTWQh7OhP0m3G3HOAup8fjSpEZe3skmpjduuudQuCC0Hz46IWHqlB5p0?= =?us-ascii?Q?9RZYlQKPsnt+lm/ovrtJb5WCMEX8/swC2XYQGZr9wJ6XJJP1TMz8ZnoCH/Xo?= =?us-ascii?Q?IgiKVg2t6EoHhIsjoe+wsqvNFr9B5VXA8qKOXc1piLZ86qc7ovd373yujbGe?= =?us-ascii?Q?3aNHEzrNb6XGt1pkbLLtSeQ8bW8MyFDhfjKygnyvLLTdAIter1cxZcdak2OY?= =?us-ascii?Q?GuwliecdB0dM2Nz0hsM0C9KvdkzUAZBlwCoS1XoVv8QJEe8sRBGxWzA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11HUB021;5:hUAH+oMdhBw0/tWnbU5SAdfBn8A5wJUnqR26IqDourTKonXrsMJftY5d+Nd0pDMj7jvE7x0eYQWpPspUCMuO2TkuzHkEq/o1YbvB3CFVFEWH6xLuefEHIvgYug9ADgV5kEaB5o3hsq4YUihFCXh+VQ==;24:KRnXllmf9h/UIhijhiIZRZSkSmzXrEIqsY/ZPeYFqSuXLn8CiZ2cbykVRSZM+sG8/bD3OyvqelKo/MdwRY2ecgD7a+knf+26hrEjzQzeMt4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2015 09:53:39.3871 (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.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1BFFO11HUB021 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1712 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/