From patchwork Mon Aug 15 12:17:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9280881 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2602C607FD for ; Mon, 15 Aug 2016 12:20:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15C8428C75 for ; Mon, 15 Aug 2016 12:20:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AA1928C77; Mon, 15 Aug 2016 12:20:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9CA1D28C75 for ; Mon, 15 Aug 2016 12:20:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZGre-00033k-9W; Mon, 15 Aug 2016 12:19:34 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZGqh-0002Sw-2K for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2016 12:18:36 +0000 Received: by mail-wm0-x235.google.com with SMTP id q128so86708058wma.1 for ; Mon, 15 Aug 2016 05:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=imeeoDaIUjb5PeHiMo6RLnAkuG0gk2Mm1INtuYiVKfg=; b=HZPwODhgaDovspQaHbzek7LTkOmmEkGpseUEhKb6OL6TQjbgqeEEfSxXiy+nrnWILe 1J5gvAlv5x6WoOD6/ytT68w5SrwZoTlypcETOss9Xk3b1z9CAY+PDPkFUxjfBuZh08HA kHVhc5Hq5/7vdXZNIaEofzt7uSFP8lytQw/nU= 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=imeeoDaIUjb5PeHiMo6RLnAkuG0gk2Mm1INtuYiVKfg=; b=KCckQxV1OJCl606U6gqUQmyuob/OGpeQYRPY5jmIpghLraHNYOafFC/a+LaRqNqV9i zi6Re740717BSoVGXIQWFUN86VzEz4Ud4islbC7W3Rey3yVqCrW8tTCDpUvuHfFnjz0W wpg7vn2ddsd5e4FzN5xVMYUC7WakCqWIOGUNOrZfMlM5jwNfl9vTzvdOSmjPmRJ6ACco nKCCxZCfi70z2eyK8QkiYA6keRdO2GXKKM0ZIjlXOSlNssvnx23AhnDvv/ow2Fb3AIKX PrwY7p6QjQyteSm9/OPKZ0P2SkxqlbadF1Ip5VNTDu8vy8dovJx7HzUOI3xQF5yKaTQf d6xg== X-Gm-Message-State: AEkoous/UTD0reXYXwFKoN9So1J5yB2H4kwpiS9MHB2AR4cDjDRhBS+swI+Gl/vOhVbiq1D7 X-Received: by 10.28.29.211 with SMTP id d202mr13782421wmd.64.1471263495591; Mon, 15 Aug 2016 05:18:15 -0700 (PDT) Received: from localhost.localdomain (host81-129-169-93.range81-129.btcentralplus.com. [81.129.169.93]) by smtp.gmail.com with ESMTPSA id za2sm21228031wjb.34.2016.08.15.05.18.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Aug 2016 05:18:15 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] ARM: dts: STiH407-family: Add ports-implemented property in sata nodes Date: Mon, 15 Aug 2016 13:17:39 +0100 Message-Id: <20160815121740.29515-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160815121740.29515-1-lee.jones@linaro.org> References: <20160815121740.29515-1-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160815_051835_436318_FF241203 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arm@kernel.org, Lee Jones , kernel@stlinux.com, patrice.chotard@st.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Patrice Chotard Despite ST AHCI version = 1.3, reading HOST_PORTS_IMPL returns 0. So force HOST_PORTS_IMPL to 1 by using ports-implemented DT property. Signed-off-by: Patrice Chotard Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 59fea05..55ecfbe 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -607,6 +607,8 @@ clock-names = "ahci_clk"; clocks = <&clk_s_c0_flexgen CLK_ICN_REG>; + ports-implemented = <0x1>; + status = "disabled"; }; @@ -630,6 +632,8 @@ clock-names = "ahci_clk"; clocks = <&clk_s_c0_flexgen CLK_ICN_REG>; + ports-implemented = <0x1>; + status = "disabled"; };