Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758007AbcCaRcE (ORCPT ); Thu, 31 Mar 2016 13:32:04 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37155 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757993AbcCaRb7 (ORCPT ); Thu, 31 Mar 2016 13:31:59 -0400 From: Srinivas Kandagatla To: Tejun Heo , linux-ide@vger.kernel.org Cc: Rob Herring , Andy Gross , Hans de Goede , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jmaggard10@gmail.com, Srinivas Kandagatla Subject: [PATCH v2 3/3] ARM: dts: apq8064: add ahci ports-implemented mask Date: Thu, 31 Mar 2016 18:31:40 +0100 Message-Id: <1459445500-9071-4-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459445500-9071-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1459445500-9071-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 995 Lines: 33 This patch adds new ports-implemented mask, which is required to get achi working on the mainline. Without this patch value read from PORTS_IMPL register which is zero would not enable any ports for software to use. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 252b310..71d6fcb 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -696,7 +696,7 @@ }; sata0: sata@29000000 { - compatible = "generic-ahci"; + compatible = "generic-ahci", "qcom,apq8064-ahci"; status = "disabled"; reg = <0x29000000 0x180>; interrupts = ; @@ -718,6 +718,7 @@ phys = <&sata_phy0>; phy-names = "sata-phy"; + ports-implemented = <0x1>; }; /* Temporary fixed regulator */ -- 2.5.0