From patchwork Fri Apr 1 07:52:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8721581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1356E9F38C for ; Fri, 1 Apr 2016 07:55:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E5432039E for ; Fri, 1 Apr 2016 07:55:27 +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 6A5142039D for ; Fri, 1 Apr 2016 07:55:26 +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 1altu2-0005cp-KK; Fri, 01 Apr 2016 07:53:58 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1alttc-0005JQ-7y for linux-arm-kernel@lists.infradead.org; Fri, 01 Apr 2016 07:53:33 +0000 Received: by mail-wm0-x235.google.com with SMTP id p65so14536126wmp.1 for ; Fri, 01 Apr 2016 00:53:11 -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=wOR2p/GYV2j2fR4wj45Bi17acXh7vwPKTD45vGftpAM=; b=J5W6+aStl0XwmGpYgr8Sfi7o1n9NegovnUFBhzwY1DTBFxm3sKDwMQAoVQ8AhqIuyK Wj3+QD/bstPR7VlRceEnfkhhLYRymNcduCxHqIh2VH8z1Cuc3JZMjB79U8GJZSHpSx1H LsvuiQlrM4CI2o1m8OgwUIMYrtTeAelbFIFJk= 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=wOR2p/GYV2j2fR4wj45Bi17acXh7vwPKTD45vGftpAM=; b=Rn+JfidjKi1xWjShWyv9AeV9NGuVy36x+MzisOZkNoQChSGwT0Qwb6ac6LUJXe0XOq +ShnPqgnrQ4+pOlRKYOpesYF/mhhYLEQmcHQWor2EzGn03feC90m3Hc2TOlmFIZam6mA lv0POHlBtLeGr0sJUTG2xym3UdeZGI1ebQGRIxfZbuHedah169oIf76XsEB9EShdlGoM 0LqLoMzZ6EdLOmPmDotPxuXWsGJe0qTuzIF/xtOGv/ihLe08lLnLsDNKo/ajy/hnzjpJ 9ngXxZqn3z553jZJMMGyJN8j2adoURnJXIjVjkRe6BEtzhIClRlcpCL/IkS2kL81uT9j pT3A== X-Gm-Message-State: AD7BkJLLamW0+fuASa4m6CV4vuz+aweoLxpCIZ6s8Ro5kFmBUp9Og+PnkUyB6YTk43ej6mlb X-Received: by 10.28.88.81 with SMTP id m78mr2294880wmb.58.1459497190765; Fri, 01 Apr 2016 00:53:10 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id x203sm13169192wmg.23.2016.04.01.00.53.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Apr 2016 00:53:10 -0700 (PDT) From: Srinivas Kandagatla To: Tejun Heo , linux-ide@vger.kernel.org Subject: [PATCH v3 3/3] ARM: dts: apq8064: add ahci ports-implemented mask Date: Fri, 1 Apr 2016 08:52:58 +0100 Message-Id: <1459497178-31090-4-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459497178-31090-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1459497178-31090-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160401_005332_650817_E66194A0 X-CRM114-Status: GOOD ( 13.43 ) 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 Reviewed-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..36e058c 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 = "qcom,apq8064-ahci", "generic-ahci"; status = "disabled"; reg = <0x29000000 0x180>; interrupts = ; @@ -718,6 +718,7 @@ phys = <&sata_phy0>; phy-names = "sata-phy"; + ports-implemented = <0x1>; }; /* Temporary fixed regulator */