From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751232AbdAMTZj (ORCPT ); Fri, 13 Jan 2017 14:25:39 -0500 Received: from vern.gendns.com ([206.190.152.46]:47397 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbdAMTZh (ORCPT ); Fri, 13 Jan 2017 14:25:37 -0500 Subject: Re: [PATCH 03/10] devicetree: bindings: add bindings for ahci-da850 To: Bartosz Golaszewski , Kevin Hilman , Sekhar Nori , Patrick Titiano , Michael Turquette , Tejun Heo , Rob Herring , Mark Rutland , Russell King References: <1484311084-31547-1-git-send-email-bgolaszewski@baylibre.com> <1484311084-31547-4-git-send-email-bgolaszewski@baylibre.com> Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: David Lechner Message-ID: <35ff358d-9b17-b2be-38d8-6a51cdddc1a1@lechnology.com> Date: Fri, 13 Jan 2017 13:25:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1484311084-31547-4-git-send-email-bgolaszewski@baylibre.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/13/2017 06:37 AM, Bartosz Golaszewski wrote: > Add DT bindings for the TI DA850 AHCI SATA controller. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/ata/ahci-da850.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ata/ahci-da850.txt > > diff --git a/Documentation/devicetree/bindings/ata/ahci-da850.txt b/Documentation/devicetree/bindings/ata/ahci-da850.txt > new file mode 100644 > index 0000000..d07c241 > --- /dev/null > +++ b/Documentation/devicetree/bindings/ata/ahci-da850.txt > @@ -0,0 +1,21 @@ > +Device tree binding for the TI DA850 AHCI SATA Controller > +--------------------------------------------------------- > + > +Required properties: > + - compatible: must be "ti,da850-ahci" > + - reg: physical base addresses and sizes of the controller's register areas > + - interrupts: interrupt specifier (refer to the interrupt binding) > + > +Optional properties: > + - clocks: clock specifier (refer to the common clock binding) > + - da850,clk_multiplier: the multiplier for the reference clock needed > + for 1.5GHz PLL output A clock multiplier property seems redundant if you are specifying a clock. It should be possible to get the rate from the clock to determine which multiplier is needed. > + > +Example: > + > + sata: ahci@0x218000 { > + compatible = "ti,da850-ahci"; > + reg = <0x218000 0x2000>, <0x22c018 0x4>; > + interrupts = <67>; > + da850,clk_multiplier = <7>; > + }; >