From patchwork Fri May 25 04:02:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 136771 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3056266lji; Thu, 24 May 2018 21:02:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo61BQHJppsMeC0KEVVN8VP7lBoLkF8nkuLC2yRTogKgo4Uf5tSRZ80RhXw78UQGezOcbdZ X-Received: by 2002:a62:845:: with SMTP id c66-v6mr811950pfd.189.1527220974477; Thu, 24 May 2018 21:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527220974; cv=none; d=google.com; s=arc-20160816; b=jfEQkYMEiLfNdrqj6j7MfGa3zpJbA87cUyZ7Y6NpgNhhx3P1U8SKhjPJr+3B+P3EaA NprIb/CFLZl3TnGfglJSl81LgLyc6amxZ0MxUt3pWdWUDAUqCnhUqmiJBJa04O+tLELQ iYsumsiMI1bLHIldojfrUZZ5O5hVat+Jf5Z/gO5a/0RByzInZc+XXfAa2zOzZCX4PzXk pvvph86c5N7fk65Tf5h0E9Cv786Y6WFsfAwBEdIVNI83D3MUduMZdfo+VhoAQI+D3N/z 3BCJAov0BQUOupsjBCLCClLU46cvg+VIgG4E32S/X4kiNEdO0jZFJodMMQJ/VNd3TBpI ri/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=CGZzhKMvpkVT00by5TPulWFI9i2+QZSc1woApbrbApw=; b=mCkDb3ECPwnMNz512cQG3nF7qifOaAjaZhAgDsFO3pdAvhGcI5netSuISSTu5T0Q3P yyQ6dRYzc86OJRqbIK89BN+4Srq8sqsMGbcWR4jbDlZm5fnsLLUbx2wUbiU0bJak+L3w 6Y+gcQhHJvI1JkMRqCeA5soKbtTWIEx95Crr/3tK+wQDWSsF63svWNjJ+Gc1aDrU/VUs 6vBUyLRR5Fj7Kxj1sEmp3ibtdUVWiO+9MWVx426UOmgMNycXVNG4f5puqn1xkvDcM0mN QqqQOScKcLNHF8kTTZOAqeZ7A8ZsmzjoYSVJzKQnkM1cuKY+SYJjojJed9d2mxEIAocg 6DEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dSJ2VjeV; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11-v6si11970479pgp.331.2018.05.24.21.02.54; Thu, 24 May 2018 21:02:54 -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 header.s=google header.b=dSJ2VjeV; 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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751950AbeEYECw (ORCPT + 30 others); Fri, 25 May 2018 00:02:52 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35622 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbeEYECu (ORCPT ); Fri, 25 May 2018 00:02:50 -0400 Received: by mail-pf0-f195.google.com with SMTP id x9-v6so1916859pfm.2 for ; Thu, 24 May 2018 21:02:50 -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; bh=CGZzhKMvpkVT00by5TPulWFI9i2+QZSc1woApbrbApw=; b=dSJ2VjeVDthPoYprENKVlgeMg4pf9RGDezhWZHGo+qx2ioeb3Q55UwY1GS0hu8bEaz mUFzJedyjODyttdF5G7d8dTLWXO7Jrg+S48/VRFauGwEGC1I8kCJ1G0GNhepRHYMdgbJ aJWpwjv+vkY8SrICz5kRJXq+L3Jc5k8vFca6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CGZzhKMvpkVT00by5TPulWFI9i2+QZSc1woApbrbApw=; b=pU1O3LYWEVZIk2OFSmROH2YlDffFFxJii0Fhz6CkFQAtY20Zb2yTw8sa6hJyY/1N23 vCZnYALado8HrbhvxfLi9dE/2uZHZXFxPjxFnZKUM/PAKgwcY+e/OEDERTI8toApH857 7JTn4eqdJ10oieIJ/Z3Bqwjmq+q9aJ8fq1AwvU2FHd94RCgSpUqj1DI3kGvOES5TIZyK HHrlrkwx7dErIGOeHyZAHE6j+7f/mT5ENw+pLlLc3HgWdYFkvp8lv5AphnrOynVZvl1p Q8r1CkOjlrOYw7QmzHkhggl8Bm+cKduu3eb+AWc9TEHClbwp/plidiMhmU4lMK91N/sf /FcA== X-Gm-Message-State: ALKqPwfrmlSDkdH1cnNqSpNZ8S70jx8W4mnLkBcgTDi0Wd328xtHzHdL idjz7wO/MH24C9kiTGvmJEjxkmzc8i8= X-Received: by 2002:a63:af13:: with SMTP id w19-v6mr661172pge.47.1527220970162; Thu, 24 May 2018 21:02:50 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d72-v6sm44844126pfe.150.2018.05.24.21.02.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 21:02:49 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: defconfig: Enable UFS on msm8996 Date: Thu, 24 May 2018 21:02:46 -0700 Message-Id: <20180525040246.12104-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable GLINK RPM so that we get RPM regulators and clocks and enable the UFS host controller driver and the Qualcomm UFS platform driver. The UFS phy is selected by the Qualcomm UFS driver. The simple ondemand devfreq governor must be builtin, as there's no mechanism for automatically loading it, causing UFS HCD initialization to fail. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+) -- 2.17.0 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 329950545603..895b2d92124d 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -191,6 +191,9 @@ CONFIG_BLK_DEV_SD=y CONFIG_SCSI_SAS_ATA=y CONFIG_SCSI_HISI_SAS=y CONFIG_SCSI_HISI_SAS_PCI=y +CONFIG_SCSI_UFSHCD=m +CONFIG_SCSI_UFSHCD_PLATFORM=m +CONFIG_SCSI_UFS_QCOM=m CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_SATA_AHCI_PLATFORM=y @@ -574,6 +577,7 @@ CONFIG_TEGRA_IOMMU_SMMU=y CONFIG_ARM_SMMU=y CONFIG_ARM_SMMU_V3=y CONFIG_QCOM_IOMMU=y +CONFIG_RPMSG_QCOM_GLINK_RPM=y CONFIG_RPMSG_QCOM_SMD=y CONFIG_RASPBERRYPI_POWER=y CONFIG_QCOM_SMEM=y @@ -585,6 +589,7 @@ CONFIG_ARCH_TEGRA_132_SOC=y CONFIG_ARCH_TEGRA_210_SOC=y CONFIG_ARCH_TEGRA_186_SOC=y CONFIG_ARCH_TEGRA_194_SOC=y +CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y CONFIG_EXTCON_USB_GPIO=y CONFIG_EXTCON_USBC_CROS_EC=y CONFIG_MEMORY=y