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: 10426301 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 84228602D8 for ; Fri, 25 May 2018 04:03:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 682312857F for ; Fri, 25 May 2018 04:03:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BA3B28565; Fri, 25 May 2018 04:03:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D54FB28565 for ; Fri, 25 May 2018 04:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=FPFxu26n7enHGA4ZXnnc8beRnhlHyhPlwsog60IIVfI=; b=lUx nmoAhRAVQTKavaqTGCv5mSUT74iLaFbi/BMZHpHYA1Z2n544vb5LuoZvCK4l5gQIVv6KibQsFe2DK m+jAYPJUWFmIeclSpC/dcTUAp+PiVoKLmWmjYQd7eC9W+lv03BCaR1GzzkXWjHngErTBRfHAHDfMn aW7AmewApFOR4TmaGmNsEEtEKa/g+tdD/i2AJiapgedt5eX2rexxQgTX74cu4fAGaFQdzfZ0oBMym cL3VaHaqMX/7KSG/skft7Jg+Nk3Q8FNbnpDLYKWhdPx6RhLgfkIXRiWgUaBxVEpKvrAblTiFELSXL ic48k2hgO8eVuTs40PezxwNzSdVXgKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM3wW-0008GR-Ga; Fri, 25 May 2018 04:03:04 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fM3wT-0008Fl-AF for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 04:03:02 +0000 Received: by mail-pg0-x243.google.com with SMTP id w3-v6so1695796pgv.12 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=nNsoNP8wwdFaOkygr/3p6kxBYST0If5+xQ8bhmeJLUVLNBITd1jGxDXLoMCvUh0L9J jSSRZ5Fv7rAnrnLcHQAHxVm6sQLdIjTCix7BPzgOPQAfcDRJDqdUcfc+LEbD8+DkBUYo I0KbHQYZtqu7uWBfupYIMu/Dc6NEUmfSzQyoEYwzjFgZPmw0CZhNNEtStwXihNKv1KB6 xfXNivYt9TCe/MASSN8FUwK7xmrbnBiKqPXD4bZZ3GyZHDunkO80ywGOKkkCt/7upFwX MQRGdKg55gGB4IKGZxfgqPsB+J78fX5u+nkOyVPv8bbTuBKwBv3wbGJR1PxTxMsfSxi5 ZsPg== X-Gm-Message-State: ALKqPweEh+V4uzWiEcK93VlROgbUUlIz6YP+FsprPBtvjquu3F4IZl3P //glqt0LqU6WRsOSTbGKLAxfmw== X-Google-Smtp-Source: AB8JxZq+jeE5vZT6759hEWOyO/cC7mPvp1P9Efe3ic6MMIgbp3+HRmHsUJOXao+Krg9gB2DNj6oaLQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180524_210301_362579_9BA91B71 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@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-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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