From patchwork Mon Mar 30 15:17:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 46527 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 153642159A for ; Mon, 30 Mar 2015 15:18:53 +0000 (UTC) Received: by lajy8 with SMTP id y8sf10634595laj.3 for ; Mon, 30 Mar 2015 08:18:52 -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: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=X6SHV+aY2DteYPhWwipux2AfMPuysWj8X3ewlI0LGCw=; b=ErWN/nz/PQ14ieQX/i/9ciw9sVmzuHo1xO+vgKqIEAZdl0IQOe3VFkeDFk9WZKXJh7 9bu3x+8Jz9BqAbBMWsfRh3cs87+WIaNnP5Clg5zKJEuhvhw+TD8+6/4rW+KFdLz5Ug5+ m8DtTgh5Xu2SEeL5XV4678ZLBSAsHGv9rwi5XlAiPX0mIDB9dADeDatbbgoyjKID6WHD hDq78RolooKhhr5zz9ESdp9ErFyFNVxpY9ynHlnGKT9WvE1ZrFaMuXiqgh6gPmNdq7lO J6NNBx/2hGWVuQYkqjwpacA8EHSZlz6jM56XEijfYV+h/xD3bAVxQVMyCysCagxSFDat TRVQ== X-Gm-Message-State: ALoCoQko7W/yv9vFeVtGr02QZSvJLGT6jo91b+lBEjMfFhe5uviOMlDPJl7k0H5B3DRn8M36O5j9 X-Received: by 10.152.23.7 with SMTP id i7mr501359laf.1.1427728732025; Mon, 30 Mar 2015 08:18:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.15 with SMTP id bc15ls215270lab.48.gmail; Mon, 30 Mar 2015 08:18:51 -0700 (PDT) X-Received: by 10.152.8.161 with SMTP id s1mr18232791laa.41.1427728731623; Mon, 30 Mar 2015 08:18:51 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id t5si7219225lbj.163.2015.03.30.08.18.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 08:18:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbcmq2 with SMTP id mq2so97700604lbc.0 for ; Mon, 30 Mar 2015 08:18:51 -0700 (PDT) X-Received: by 10.112.185.66 with SMTP id fa2mr26588176lbc.117.1427728731205; Mon, 30 Mar 2015 08:18:51 -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.112.57.201 with SMTP id k9csp1218025lbq; Mon, 30 Mar 2015 08:18:50 -0700 (PDT) X-Received: by 10.66.221.34 with SMTP id qb2mr59709003pac.42.1427728729317; Mon, 30 Mar 2015 08:18:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yw3si15146695pbc.227.2015.03.30.08.18.48; Mon, 30 Mar 2015 08:18:49 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1753272AbbC3PSr (ORCPT + 5 others); Mon, 30 Mar 2015 11:18:47 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:35348 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbbC3PRW (ORCPT ); Mon, 30 Mar 2015 11:17:22 -0400 Received: by wicne17 with SMTP id ne17so35670636wic.0 for ; Mon, 30 Mar 2015 08:17:20 -0700 (PDT) X-Received: by 10.194.87.65 with SMTP id v1mr64216962wjz.2.1427728640789; Mon, 30 Mar 2015 08:17:20 -0700 (PDT) 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 gt4sm16121494wib.21.2015.03.30.08.17.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 08:17:20 -0700 (PDT) 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, robherring2@gmail.com Subject: [PATCH v2 2/6] ahci: st: Update the DT example for how to obtain the PHY. Date: Mon, 30 Mar 2015 16:17:08 +0100 Message-Id: <1427728632-10846-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> References: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> 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: 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.217.171 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 that as well. Signed-off-by: Peter Griffin Acked-by: Rob Herring 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>;