Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1239683ybl; Fri, 13 Dec 2019 11:54:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxj/ljBCEOeLSZNv6S0K4qYybA+jL5lz7mjxbNcRnPu6yyv2n7MRf3AOQ5VVBg7E+WRBMSQ X-Received: by 2002:a05:6808:3c5:: with SMTP id o5mr7953228oie.142.1576266852175; Fri, 13 Dec 2019 11:54:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576266852; cv=none; d=google.com; s=arc-20160816; b=M5TmmfIPlluo0WkykAz5f7LkOnM6TbbAD2X1uswp+4K+wxLTQ2clOxqCivmwoPwN75 uT/lmbO6YegHwg7ZiBS+rpPuPoLBEfel/ssQo+lCzeGi6AF/87+fCIur2/Hlps6o2TQ8 7NnHsEW+xQpxzaXnaS+6iL5V/3UoNRGKOvgWxLPthz5nX2pK+nxLvN9DxVoJPuiKfF9N HOYGgHHbYS8mt/HQS4GPp9sl0y5EXquOjyrbs+lxEGxrxIkmcBzF3T5KKTg6N0XC+uBe rydALZJIrwq/4yHp4Ut21o9ZX/76bapwvupdx/+ZSXFXwIpY2Zkjdd2MT5u8FJ07w7db m1Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LUyMz6kQuofRI0IuH2BvhvOA6mSu4eEqr0p1RAXMOGY=; b=GXvRgVemMWOOdMchdZPrRKXhK7P/sHgReI0xFj8p8eAucdOSzyIVjonpwueR5WOEX+ sMSK6lzSW6Z1R9YgbZkFlC/f2kukKCO1WT+eAvhCU++ATg2bxUI7ukiINyNutFVdWjBb Lx06x7KSBIrcKdcXS1JRcJLy2D1I7svNuEK0X6z7Lz+VbMzj5UBgk2dizV0BmmHeYGZl Lt+eedsY6Gezelo9Z5Q4AwmoSHzyepaZOLdSsHufWqbq+Xg69zBJCJ+4Q7fYjO8Sx9nr O4CUEPju6IF4BfkZ+J6AC0PWmnL3w69yzK0Lhy293HOW1j339Mp4n7RtXF58jNONED4v bCAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c66si5561532oig.265.2019.12.13.11.54.01; Fri, 13 Dec 2019 11:54:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728985AbfLMTwL (ORCPT + 99 others); Fri, 13 Dec 2019 14:52:11 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39835 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728896AbfLMTwL (ORCPT ); Fri, 13 Dec 2019 14:52:11 -0500 Received: by mail-oi1-f194.google.com with SMTP id a67so1759690oib.6; Fri, 13 Dec 2019 11:52:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LUyMz6kQuofRI0IuH2BvhvOA6mSu4eEqr0p1RAXMOGY=; b=eYMGKB0MslDUGgWyJa13ZY9AebtKcXFs1OI6QKl2IVo3u2VXGtx4xhCGLcscOiGoYe Jq7m//hSONkRHNFEEWfOztGW6zE6FxT1F512rIMw82r8w7FNdtnNwcwHNaF4hDC/kiCy urzM/mGXpyiHH6d00vyVLtMzF2UbbjrVGVFmI3r959rCr2CKhAsQi/sJ00KQ4pyipUTL +wwn/mv14O7bLwrKyrb8v+Mm4UyqcXmwBCkD1GZ/hJh8jpXjJ3Y55bh0Q8M7bwtZGCQK 9okgWxUozFqCW/gv8Wu3gyuRybncDH9A7/f99c1OVEu0OQhqTm9gXbKJEL5R5Zc/GPiV PzYQ== X-Gm-Message-State: APjAAAXUgH7yRMmrskIBg9wPv0PDFDXpxFE5J8qt3FXxTa7mNv2Uytud crRTOovjKZSa+M85br1gnZJoTa0= X-Received: by 2002:aca:815:: with SMTP id 21mr8045671oii.52.1576266730462; Fri, 13 Dec 2019 11:52:10 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f142sm3637418oig.48.2019.12.13.11.52.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 11:52:09 -0800 (PST) Date: Fri, 13 Dec 2019 13:52:08 -0600 From: Rob Herring To: shubhrajyoti.datta@gmail.com Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, mturquette@baylibre.com, sboyd@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, soren.brinkmann@xilinx.com, Shubhrajyoti Datta Subject: Re: [PATCH v3 01/10] dt-bindings: add documentation of xilinx clocking wizard Message-ID: <20191213195208.GB13693@bogus> References: <54f8c5ce9c84265437734943f68e3ee4c2458bd5.1574922435.git.shubhrajyoti.datta@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54f8c5ce9c84265437734943f68e3ee4c2458bd5.1574922435.git.shubhrajyoti.datta@xilinx.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 28, 2019 at 12:06:08PM +0530, shubhrajyoti.datta@gmail.com wrote: > From: Shubhrajyoti Datta > > Add the devicetree binding for the xilinx clocking wizard. > > Signed-off-by: Shubhrajyoti Datta > --- > .../bindings/clock/xlnx,clocking-wizard.txt | 32 ++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.txt New bindings should be in DT schema format. > > diff --git a/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.txt b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.txt > new file mode 100644 > index 0000000..aedac84 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/xlnx,clocking-wizard.txt > @@ -0,0 +1,32 @@ > +Binding for Xilinx Clocking Wizard IP Core > + > +This binding uses the common clock binding[1]. Details about the devices can be > +found in the product guide[2]. > + > +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt > +[2] Clocking Wizard Product Guide > +http://www.xilinx.com/support/documentation/ip_documentation/clk_wiz/v5_1/pg065-clk-wiz.pdf > + > +Required properties: > + - compatible: Must be 'xlnx,clocking-wizard' That's not very specific. Is there only 1 version of this h/w? > + - #clock-cells: Number of cells in a clock specifier. Should be 1 > + - reg: Base and size of the cores register space > + - clocks: Handle to input clock > + - clock-names: Tuple containing 'clk_in1' and 's_axi_aclk' > + - clock-output-names: Names for the output clocks You have to define the values. > + > +Optional properties: > + - speed-grade: Speed grade of the device (valid values are 1..3) > + > +Example: > + clock-generator@40040000 { > + #clock-cells = <1>; > + reg = <0x40040000 0x1000>; > + compatible = "xlnx,clocking-wizard"; > + speed-grade = <1>; > + clock-names = "clk_in1", "s_axi_aclk"; > + clocks = <&clkc 15>, <&clkc 15>; > + clock-output-names = "clk_out0", "clk_out1", "clk_out2", > + "clk_out3", "clk_out4", "clk_out5", > + "clk_out6", "clk_out7"; Don't really need this to be in DT given all the names are the same except for the index. Rob