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: 443389 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id EA71C140077 for ; Thu, 26 Feb 2015 00:38:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751286AbbBYNiT (ORCPT ); Wed, 25 Feb 2015 08:38:19 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:55177 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752775AbbBYNg1 (ORCPT ); Wed, 25 Feb 2015 08:36:27 -0500 Received: by mail-wi0-f171.google.com with SMTP id ex7so12853236wid.4 for ; Wed, 25 Feb 2015 05:36:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aBl814b8cnekM+p2DZZw1B7aRTIlV43BZAMZPJcnB2M=; b=SW7BZZj2GaVNdvi9y2RWRcd9VPQTDxruwzdmZpmM6xIapU3nXXfshdNvWNcViCNk+2 096EbB12tUfI730r2uegXmF8moGwMUqFRI8VmM7ykuRHf85zmwmhy8IQJfZrItolw8US /Fb/r3n8NUxb3/V9fKkfsGb2jojrImmiFxGw8OCTwjQ9GCMp3GQ75l5heMqtGZDG8fmd VqFXeoNfcEHUllXb3rmpyhrdqvE6hjpGMCvWntMu7ou33vHt0ohcry1Cu29vFQMX68qX 5DJH6TLeLKjNpDMakpU4R74H0Rnpd6jHtTniwFGldAJSJ7W46NbU1J3oBZG3giiRxM0D vMew== X-Gm-Message-State: ALoCoQng5rIVSw2PT7C88JkXeyBZLHAb4TOB52KLCbf+rki6UxRGUZrwLgffrIpjaQX/cOlbvtzO 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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: 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>;