From patchwork Tue Apr 29 07:09:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 29296 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 522BA202FE for ; Tue, 29 Apr 2014 07:09:34 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ij19sf16351994vcb.1 for ; Tue, 29 Apr 2014 00:09:34 -0700 (PDT) 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=GuiHuNp6OUhAKBYVBCA2yJBM2onTwNbu394CM6v9Seg=; b=VJpVWj53EyQDryaoX2Dpy4X8+eFaUDl5mIj8aC2buzxQhjg8S3Bteyv5DvLPR6PXsn gF/olGx/94HSfOoQ3dz2jDK5qO4HHRV9iiHIJZRvCSEuuVn1EEUr/D+CD11pIuJcgH99 fzAz68oOpt+H0r48GxxxVHNFT3oyxXMkrHKakggkpPue83wMBS52mOsqM/GVHgnSBk6i 9Fi4RBrKHp5Mm2Ou4saXZfKIekGJ4gTIPPntoQP49jbvVPinRJd+jakoFGV/1ofZ8/bA 9yAvZyuyj0qKXlU63zEHsIOlgfIM0OIU0QzQVayvNLbpWs7iGaMoqR17fIumBazqRPlt LjWg== X-Gm-Message-State: ALoCoQlm9EM9cY75jIfOOxpJbUg0RpUQ+7HOJ2dGUVqGpcim4CN1O3H3ExPHKmdR/7Oknxj3hovU X-Received: by 10.236.85.131 with SMTP id u3mr12357481yhe.40.1398755374034; Tue, 29 Apr 2014 00:09:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.163 with SMTP id a32ls3051527qgf.73.gmail; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) X-Received: by 10.52.249.105 with SMTP id yt9mr244832vdc.34.1398755373931; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id fn10si4297906vdc.9.2014.04.29.00.09.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 00:09:33 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id jw12so9132129veb.23 for ; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) X-Received: by 10.52.166.102 with SMTP id zf6mr23828267vdb.2.1398755373852; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) 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.221.72 with SMTP id ib8csp174278vcb; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) X-Received: by 10.67.24.1 with SMTP id ie1mr13784357pad.133.1398755373164; Tue, 29 Apr 2014 00:09:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zp5si8593276pac.311.2014.04.29.00.09.32; Tue, 29 Apr 2014 00:09:32 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755886AbaD2HJY (ORCPT + 28 others); Tue, 29 Apr 2014 03:09:24 -0400 Received: from mail-we0-f179.google.com ([74.125.82.179]:46946 "EHLO mail-we0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752930AbaD2HJX (ORCPT ); Tue, 29 Apr 2014 03:09:23 -0400 Received: by mail-we0-f179.google.com with SMTP id x48so7454164wes.10 for ; Tue, 29 Apr 2014 00:09:22 -0700 (PDT) X-Received: by 10.180.187.225 with SMTP id fv1mr19159350wic.14.1398755361912; Tue, 29 Apr 2014 00:09:21 -0700 (PDT) Received: from lee--X1.home (host109-148-238-223.range109-148.btcentralplus.com. [109.148.238.223]) by mx.google.com with ESMTPSA id vc2sm17023795wjc.2.2014.04.29.00.09.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 00:09:20 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tj@kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/1] ahci: st: Provide DT bindings for ST's SATA implementation Date: Tue, 29 Apr 2014 08:09:11 +0100 Message-Id: <1398755351-31794-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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"; + };