From patchwork Thu Mar 31 17:31:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8715201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CA979C0553 for ; Thu, 31 Mar 2016 17:36:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D04B202AE for ; Thu, 31 Mar 2016 17:36:29 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 409D920295 for ; Thu, 31 Mar 2016 17:36:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1algUv-0001Q6-DN; Thu, 31 Mar 2016 17:35:09 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1algSC-0007Je-As for linux-arm-kernel@lists.infradead.org; Thu, 31 Mar 2016 17:32:26 +0000 Received: by mail-wm0-x234.google.com with SMTP id f198so10743655wme.0 for ; Thu, 31 Mar 2016 10:31:59 -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=fAktnjZK86MtcKE7XkbVEpy/uFHKqLhFtNJmRf9eebE=; b=MZnRhqn1jh4cpJlKvgk5Wfcb7kRjmrBQAsVnT2Cc/rib5a3TlpP5UCgxcVaVdPNtv1 CgZzXbcDPquQcj52dSGNxyMKDirrUTdsu0I9WC0bghbAVPqFPvRsm5n9/9gB/QIuiLHg r84P4kPjmW/ZsDWZvykwBZ1yvJV52I2sgVUwM= 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=fAktnjZK86MtcKE7XkbVEpy/uFHKqLhFtNJmRf9eebE=; b=Gh5SN0n6qzzr4wzggegGGljaePV9Rg4fmuiKy9Nt87722D89td0oormhPE0upxbEq2 XPO45Yhx4j1MQ0KpI1AHN5fCjFvN25QqlBwM+t1jCsywINBtDvjabnPgw1ZaNpns8xyC E5Foyh/Vl9oueGSBMhKXE7oD+KOCPfs+22gk3uzZKYHquIx8xJr0s2A/1IQElfG4bzHC 9yJAfoXpYLNuIIuePigN1LpT7e3ixFpu7TMT2L2JCf/KUg+s8jz1hzFOl3vl3ogvItek FThxAV+1ueH13anEN7z9/gq1ASA8Ifg4wlyzsF6dH5mogbppzCQDQg+qOPlDRKelKHEV pu8w== X-Gm-Message-State: AD7BkJJw8Aw0wakJSExSWgHkHVLN9KniWlCoC1bW0MIOvEMrO4ZpCjmtfr0q/td1nEjSNzQI X-Received: by 10.194.234.101 with SMTP id ud5mr115855wjc.34.1459445518456; Thu, 31 Mar 2016 10:31:58 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id gb9sm10024236wjb.26.2016.03.31.10.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Mar 2016 10:31:57 -0700 (PDT) From: Srinivas Kandagatla To: Tejun Heo , linux-ide@vger.kernel.org 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160331_103220_822646_15ABE349 X-CRM114-Status: GOOD ( 13.48 ) X-Spam-Score: -2.7 (--) 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: devicetree@vger.kernel.org, jmaggard10@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Hans de Goede , Rob Herring , Srinivas Kandagatla , Andy Gross , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Andy Gross --- 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 */