From patchwork Tue Feb 25 11:41:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 25280 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4261C20143 for ; Tue, 25 Feb 2014 11:41:52 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h3sf2119308igd.1 for ; Tue, 25 Feb 2014 03:41:51 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=EZ2YVJbtpZK4wuZ7D3PWR69m8G51MlQIiV/6y3GaY9U=; b=NOXbIcK+hRGWDRRy6smM9MP6xLcJTh+8hDXlWgtoNcNwzWGsykSTOi2uIsgFfySM74 D2dEGIhVLvcEb6ORo9bjjv1o/6XUxnVijH7xBEmlbAp6ljxcC5ysV6wkrWJLJUSWLbsV s1GnaX7hJAQaLPYaznsMIRCIBd4XiU6M5FF05EK/BucgJq/LrKTNwbJljCGgP627eZnu tfrot23KuMvmfkR6OuUcOBj29cWKm2AYVQSMZSNMPVIjvc0XuPsna/oq0xTnDANur+SQ f1uZ/qqL5nF1k3enVlRzE84rUsT9hn+iyzMVx5h4BaW1dd+6ZyKyTbXegh9DET0nU1Y0 t1FA== X-Gm-Message-State: ALoCoQlozh/S4Qfk35ChTo+Uz/JxdGFGc0ZF4QyyS8lSCp89ztG4B8IylLzDkIOsHAOqeX7vJbZ7 X-Received: by 10.182.213.5 with SMTP id no5mr442243obc.15.1393328511717; Tue, 25 Feb 2014 03:41:51 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.49 with SMTP id v46ls2413401qge.6.gmail; Tue, 25 Feb 2014 03:41:51 -0800 (PST) X-Received: by 10.220.10.2 with SMTP id n2mr747453vcn.26.1393328511595; Tue, 25 Feb 2014 03:41:51 -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 i3si6735256vcp.52.2014.02.25.03.41.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 03:41:51 -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 la4so7084741vcb.35 for ; Tue, 25 Feb 2014 03:41:51 -0800 (PST) X-Received: by 10.220.109.1 with SMTP id h1mr761768vcp.20.1393328511479; Tue, 25 Feb 2014 03:41:51 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp132435vcz; Tue, 25 Feb 2014 03:41:51 -0800 (PST) X-Received: by 10.66.136.103 with SMTP id pz7mr1164933pab.140.1393328510574; Tue, 25 Feb 2014 03:41:50 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tg2si2321551pbc.323.2014.02.25.03.41.49; Tue, 25 Feb 2014 03:41:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750999AbaBYLlt (ORCPT + 9 others); Tue, 25 Feb 2014 06:41:49 -0500 Received: from mail-wg0-f50.google.com ([74.125.82.50]:54372 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752039AbaBYLls (ORCPT ); Tue, 25 Feb 2014 06:41:48 -0500 Received: by mail-wg0-f50.google.com with SMTP id l18so260032wgh.33 for ; Tue, 25 Feb 2014 03:41:47 -0800 (PST) X-Received: by 10.194.22.129 with SMTP id d1mr24513327wjf.22.1393328507316; Tue, 25 Feb 2014 03:41:47 -0800 (PST) Received: from localhost.localdomain ([31.82.151.56]) by mx.google.com with ESMTPSA id n15sm33293519wij.3.2014.02.25.03.41.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 03:41:46 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, DCG_UPD_stlinux_kernel@list.st.com, devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 1/3] ata: ahci_st: Provide DT bindings for ST's SATA implementation Date: Tue, 25 Feb 2014 11:41:19 +0000 Message-Id: <1393328481-7251-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: devicetree@vger.kernel.org Cc: Srinivas Kandagatla Acked-by: Alexandre Torgue 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"; + };