From patchwork Wed Feb 25 13:36:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 45058 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8A8312142A for ; Wed, 25 Feb 2015 13:38:29 +0000 (UTC) Received: by wghk14 with SMTP id k14sf2928371wgh.0 for ; Wed, 25 Feb 2015 05:38:28 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=QcxOJAJ0m/Rjbd8Yky4mJgSoD0r5wUOVeTM9/Y4VhLg=; b=JO/Mwe5Sru/qwVKhTTo4EaoH9KPRxHBisALz1A1SK0EdlWICGMHjY1G39FXlZ/teV8 bKXBw1I04ecCAUWODtGTEGiwcJwMlNEOwJLLynXvoYMCQy+bI1pVUTO1RzY4OoJwoZId 7tlWJr5VKtUFvvz0tgCxigdFebXadOhDDe3eQMFaoV3GXtHWXODTYXWLqgEWIJtjp0g7 TFGBUammpj5lCDeT4eabBZaHSOdjKjborQY4pmS8k+ybNZep36Sd0unZpKf3GLZcDj+d 437EUhWPqmst9WistVNldi9d5VMMpQ/XgB0RjI/sTEUDqMW3TZUqoiu1AdmZctRDTGf5 d5Cg== X-Gm-Message-State: ALoCoQk7rshWAZRaaClz24Fo/PDY9m5dARQVdglYPfF842/gwDFTc70FDm3OWdDDtO6jmOSnG/Vl X-Received: by 10.112.159.227 with SMTP id xf3mr493294lbb.11.1424871508810; Wed, 25 Feb 2015 05:38:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.135 with SMTP id t7ls751125lag.45.gmail; Wed, 25 Feb 2015 05:38:28 -0800 (PST) X-Received: by 10.112.169.39 with SMTP id ab7mr2683424lbc.85.1424871508635; Wed, 25 Feb 2015 05:38:28 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id pd6si24227263lbc.13.2015.02.25.05.38.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 05:38:28 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by labgf13 with SMTP id gf13so3858292lab.9 for ; Wed, 25 Feb 2015 05:38:28 -0800 (PST) X-Received: by 10.152.43.51 with SMTP id t19mr2713722lal.73.1424871508359; Wed, 25 Feb 2015 05:38:28 -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.112.35.133 with SMTP id h5csp2623186lbj; Wed, 25 Feb 2015 05:38:27 -0800 (PST) X-Received: by 10.66.97.34 with SMTP id dx2mr5596758pab.104.1424871506660; Wed, 25 Feb 2015 05:38:26 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jc4si19186308pbd.12.2015.02.25.05.38.25; Wed, 25 Feb 2015 05:38:26 -0800 (PST) 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 S1753225AbbBYNiV (ORCPT + 28 others); Wed, 25 Feb 2015 08:38:21 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:48365 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752759AbbBYNg1 (ORCPT ); Wed, 25 Feb 2015 08:36:27 -0500 Received: by mail-wi0-f169.google.com with SMTP id em10so34383306wid.0 for ; Wed, 25 Feb 2015 05:36:26 -0800 (PST) X-Received: by 10.180.14.7 with SMTP id l7mr40771035wic.40.1424871385947; Wed, 25 Feb 2015 05:36:25 -0800 (PST) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id r3sm60586126wjw.7.2015.02.25.05.36.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 05:36:25 -0800 (PST) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, kishon@ti.com, balbi@ti.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 2/6] ahci: st: Update the DT example for how to obtain the PHY. Date: Wed, 25 Feb 2015 13:36:13 +0000 Message-Id: <1424871377-1795-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424871377-1795-1-git-send-email-peter.griffin@linaro.org> References: <1424871377-1795-1-git-send-email-peter.griffin@linaro.org> 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: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) 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: , The example is wrong in that the phys property should take a phandle to the phy port. Also with the changing over to generic PHY type constants we also update this as well. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- Documentation/devicetree/bindings/ata/ahci-st.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-st.txt b/Documentation/devicetree/bindings/ata/ahci-st.txt index 0574a77..1331202 100644 --- a/Documentation/devicetree/bindings/ata/ahci-st.txt +++ b/Documentation/devicetree/bindings/ata/ahci-st.txt @@ -11,7 +11,7 @@ Required properties: - 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 + - phys : The phandle for the PHY port - phy-names : Associated name must be; "ahci_phy" Example: @@ -21,7 +21,7 @@ Example: reg = <0xfe380000 0x1000>; interrupts = ; interrupt-names = "hostc"; - phys = <&miphy365x_phy MIPHY_PORT_0 MIPHY_TYPE_SATA>; + phys = <&phy_port0 PHY_TYPE_SATA>; phy-names = "ahci_phy"; resets = <&powerdown STIH416_SATA0_POWERDOWN>, <&softreset STIH416_SATA0_SOFTRESET>;