From patchwork Mon Feb 17 12:56:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 24767 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6F951202B2 for ; Mon, 17 Feb 2014 12:57:16 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id y10sf34008767pdj.11 for ; Mon, 17 Feb 2014 04:57:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=EuAv8OZ4K0aA1woIoyvtwvg5/ikghZXWbNVXwoUC69o=; b=Oo97UcdQawrqojKB5r6J8AC1ILVotXaOVejj9oOldpvHsJTg6jDbQ0WhMRVqEoYhr2 SSa9BGepp9umE0Srn01JWnbTQ0U8i/vHMhP1lr9j//ji/lr5eqie6BJjor9aaHEmRYg+ 0psYm818TaZYifo6/eGhDReZkGIRS2aRD8eq+pd/v2cXnc7gcT1V0d5Xk/a4AFuuiVy7 bTvj4k+EBFVgw4ZapO9vWqD/EBAFdFOziWO3i82vGjhvasrAq9s6ywk9OawzERG4xFOQ G2Lro8hR9UR8H2vbIGxYxsY2qFQNXHxfCd5AF/2bgM/aAwrmt4kIBDB+QJG3k1tbIqXn nfog== X-Gm-Message-State: ALoCoQk3Nd0t8YgWCJHdFpcXFjvbgXm1ZuPCHoT4E7CH3KGNBOdAZyOAdSQbhUDgW1f1mYLcyHp1 X-Received: by 10.68.197.137 with SMTP id iu9mr10261170pbc.3.1392641835518; Mon, 17 Feb 2014 04:57:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.134 with SMTP id u6ls903514qge.79.gmail; Mon, 17 Feb 2014 04:57:15 -0800 (PST) X-Received: by 10.52.22.105 with SMTP id c9mr4448vdf.57.1392641835374; Mon, 17 Feb 2014 04:57:15 -0800 (PST) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id ec3si4437155vcb.122.2014.02.17.04.57.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id la4so11473969vcb.21 for ; Mon, 17 Feb 2014 04:57:15 -0800 (PST) X-Received: by 10.52.156.232 with SMTP id wh8mr10925353vdb.23.1392641835226; Mon, 17 Feb 2014 04:57:15 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp136078vcz; Mon, 17 Feb 2014 04:57:14 -0800 (PST) X-Received: by 10.194.219.132 with SMTP id po4mr17402053wjc.7.1392641830847; Mon, 17 Feb 2014 04:57:10 -0800 (PST) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx.google.com with ESMTPS id l14si10547323wjq.66.2014.02.17.04.57.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:10 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.46 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.46; Received: by mail-wg0-f46.google.com with SMTP id x13so2199190wgg.25 for ; Mon, 17 Feb 2014 04:57:10 -0800 (PST) X-Received: by 10.194.119.230 with SMTP id kx6mr15773960wjb.13.1392641830391; Mon, 17 Feb 2014 04:57:10 -0800 (PST) Received: from localhost.localdomain ([80.76.198.141]) by mx.google.com with ESMTPSA id fm3sm32159841wib.8.2014.02.17.04.57.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:09 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: alexandre.torgue@st.com, Lee Jones , devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/3] ahci: st: Provide DT bindings for ST's SATA implementation Date: Mon, 17 Feb 2014 12:56:56 +0000 Message-Id: <1392641818-23419-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: devicetree@vger.kernel.org Cc: Srinivas Kandagatla Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/ata/ahci-st.txt | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/ahci-st.txt diff --git a/Documentation/devicetree/bindings/ata/ahci-st.txt b/Documentation/devicetree/bindings/ata/ahci-st.txt new file mode 100644 index 0000000..1b69fa9 --- /dev/null +++ b/Documentation/devicetree/bindings/ata/ahci-st.txt @@ -0,0 +1,31 @@ +STMicroelectronics STi SATA controller + +This binding describes a SATA device. + +Required properties: + - compatible : Must be "st,ahci" + - reg : Physical base addresses and length of register sets + - interrupts : Interrupt associated with the SATA device + - interrupt-names : Associated name must be; "hostc" + - resets : The power-down and soft-reset lines of SATA IP + - reset-names : Associated names must be; "pwr-dwn" and "sw-rst" + - clocks : The phandle for the clock + - clock-names : Associated name must be; "ahci_clk" + - phys : The phandle for the PHY device + - phy-names : Associated name must be; "ahci_phy" + +Example: + + sata0: sata@fe380000 { + compatible = "st,ahci"; + reg = <0xfe380000 0x1000>; + interrupts = ; + interrupt-names = "hostc"; + phys = <&miphy365x_phy MIPHY_PORT_0 MIPHY_TYPE_SATA>; + phy-names = "ahci_phy"; + resets = <&powerdown STIH416_SATA0_POWERDOWN>, + <&softreset STIH416_SATA0_SOFTRESET>; + reset-names = "pwr-dwn", "sw-rst"; + clocks = <&CLK_S_ICN_REG_0>; + clock-names = "ahci_clk"; + };