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: 64831 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp588903lbc; Fri, 1 Apr 2016 00:53:22 -0700 (PDT) X-Received: by 10.98.71.156 with SMTP id p28mr28656117pfi.139.1459497202321; Fri, 01 Apr 2016 00:53:22 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si19721649pfi.81.2016.04.01.00.53.22; Fri, 01 Apr 2016 00:53:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758637AbcDAHxP (ORCPT + 29 others); Fri, 1 Apr 2016 03:53:15 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36811 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754661AbcDAHxM (ORCPT ); Fri, 1 Apr 2016 03:53:12 -0400 Received: by mail-wm0-f50.google.com with SMTP id 127so10553926wmu.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=SgVPJWdSlt+X69S9B+Pg9ZqaXHlzkjEVbs09F1dFGV/fQCsLGQuSG9WGdcmqpSdLPe KZ/0HLwN8nmzln+npXTr+IUCWT3d+fBNs9hud1LAIcL5nGImOQ59Nzkid8ARiJSwup0x VAK2nNv1NabTH0sIoXN1gwU7pvLfMRCaZsUaDC3RmnPCvbJG9ibp7r7fhzYzW+Vnn3DV BsI0IhdvqAjXQZjiwOVQq3CqnjwBeiQG0EXWdLH6OHsGZpw1Ftq8BMb8Emr0kS3B0Mrv y3OnAy/Jazxv0WqZwVWPZT7PzKq3iy6NF5XK/nWvDzHbKnj28sdW4GnTH1bj78+RbgBk jnFg== X-Gm-Message-State: AD7BkJLLxyCUyvHJF9vBSyNnILQcSXieXvr0TehXFGJ9UEFWo2yfuq8lU/odGoTyqCqP9J8F 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 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 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.5.0 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 */