Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030719AbbD1PQd (ORCPT ); Tue, 28 Apr 2015 11:16:33 -0400 Received: from mail-bl2on0061.outbound.protection.outlook.com ([65.55.169.61]:35622 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030691AbbD1PQK (ORCPT ); Tue, 28 Apr 2015 11:16:10 -0400 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; codeaurora.org; dkim=none (message not signed) header.d=none; Authentication-Results: codeaurora.org; dkim=none (message not signed) header.d=none; From: To: , CC: , , , , , , , , , Dinh Nguyen Subject: [PATCHv2 4/4] Documentation: DT bindings: document the clocks for Arria10 Date: Tue, 28 Apr 2015 10:10:16 -0500 Message-ID: <1430233816-32635-5-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1430233816-32635-1-git-send-email-dinguyen@opensource.altera.com> References: <1430233816-32635-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BY2PR06CA049.namprd06.prod.outlook.com (10.141.250.167) To BN3PR03MB1368.namprd03.prod.outlook.com (25.163.34.154) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1368;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB155; X-Microsoft-Antispam-PRVS: X-Forefront-Antispam-Report-Untrusted: BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(53416004)(33646002)(40100003)(66066001)(92566002)(19580405001)(19580395003)(48376002)(62966003)(50466002)(47776003)(5001770100001)(86152002)(50986999)(50226001)(2950100001)(87976001)(46102003)(86362001)(122386002)(229853001)(77156002)(42186005)(76176999)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB1368;H:linux-builds1.altera.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(5002010)(3002001);SRVR:BN3PR03MB1368;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1368;BCL:0;PCL:0;RULEID:(601004)(5005006)(5002010)(3002001);SRVR:BN1PR03MB155;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB155; X-Forefront-PRVS: 0560A2214D X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1368 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BN1BFFO11FD051.protection.gbl X-Forefront-Antispam-Report: CIP:66.35.236.236;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(339900001)(199003)(189002)(53416004)(50986999)(47776003)(16796002)(64706001)(76176999)(66066001)(48376002)(85426001)(46102003)(33646002)(40100003)(19580405001)(19580395003)(106466001)(229853001)(50226001)(105606002)(86152002)(122386002)(87936001)(6806004)(92566002)(50466002)(86362001)(77156002)(62966003)(5001770100001)(2950100001)(7099027)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR03MB155;H:sj-itexedge04.altera.priv.altera.com;FPR:;SPF:Fail;MLV:ovrnspm;A:0;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Forefront-PRVS: 0560A2214D X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2015 15:16:06.3946 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.236];Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB155 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2740 Lines: 56 From: Dinh Nguyen Update the bindings document for the clocks on the SoCFPGA Arria10 platform. Also fix up a spelling error for the "altr,socfpga-perip-clk". Signed-off-by: Dinh Nguyen --- .../devicetree/bindings/clock/altr_socfpga.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/altr_socfpga.txt b/Documentation/devicetree/bindings/clock/altr_socfpga.txt index f72e80e..317e9cc 100644 --- a/Documentation/devicetree/bindings/clock/altr_socfpga.txt +++ b/Documentation/devicetree/bindings/clock/altr_socfpga.txt @@ -7,11 +7,15 @@ This binding uses the common clock binding[1]. Required properties: - compatible : shall be one of the following: "altr,socfpga-pll-clock" - for a PLL clock - "altr,socfpga-perip-clock" - The peripheral clock divided from the + "altr,socfpga-perip-clk" - The peripheral clock divided from the PLL clock. "altr,socfpga-gate-clk" - Clocks that directly feed peripherals and can get gated. - + "altr,socfpga-a10-pll-clock" - for a PLL clock on the Arria10. + "altr,socfpga-a10-perip-clk" - The peripheral clock divided from the + PLL clock on the Arria10. + "altr,socfpga-a10-gate-clk" - Clocks that directly feed peripherals and + can be gated. - reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. - clocks : shall be the input parent clock phandle for the clock. This is either an oscillator or a pll output. @@ -19,10 +23,11 @@ Required properties: Optional properties: - fixed-divider : If clocks have a fixed divider value, use this property. -- clk-gate : For "socfpga-gate-clk", clk-gate contains the gating register - and the bit index. -- div-reg : For "socfpga-gate-clk" and "socfpga-periph-clock", div-reg contains - the divider register, bit shift, and width. +- clk-gate : For "socfpga-gate-clk" and "altr,socfpga-a10-gate-clk", clk-gate + contains the gating register and the bit index. +- div-reg : For "socfpga-gate-clk", "socfpga-perip-clk", + "altr,socfpga-a10-gate-clk", and "altr,socfpga-a10-perip-clk", div-reg + contains the divider register, bit shift, and width. - clk-phase : For the sdmmc_clk, contains the value of the clock phase that controls the SDMMC CIU clock. The first value is the clk_sample(smpsel), and the second value is the cclk_in_drv(drvsel). The clk-phase is used to enable the correct -- 2.2.1 -- 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/