From patchwork Mon Feb 4 17:34:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 10796207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4E15913B5 for ; Mon, 4 Feb 2019 17:43:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37D382BEB9 for ; Mon, 4 Feb 2019 17:43:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A7232BEC5; Mon, 4 Feb 2019 17:43:25 +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=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ECF12BEB9 for ; Mon, 4 Feb 2019 17:43:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728020AbfBDRnY (ORCPT ); Mon, 4 Feb 2019 12:43:24 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:47677 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbfBDRnX (ORCPT ); Mon, 4 Feb 2019 12:43:23 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 2646C13F8C8; Mon, 4 Feb 2019 18:43:05 +0100 (CET) To: MSM , LKML Cc: Jeffrey Hugo , Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson From: Marc Gonzalez Subject: [PATCH v3 0/5] UFS on APQ8098/MSM8998 Message-ID: Date: Mon, 4 Feb 2019 18:34:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This series is now good enough for the limelight, IMO. Difference between, v2 and v3: - Add qcom,msm8998-qmp-ufs-phy compat string and match it in the PHY driver - Drop vdd-hba-fixed-regulator - Write the reg addresses with full 32-bit width - Set regulator-allow-set-load only on the 3 rails used by UFS. - Revert the patch introducing ufshcd_set_vccq_rail_unused Difference between v1 and v2: - New patch to add 'regulator-allow-set-load' prop to all vreg nodes - Rename rpmcc node to 'clock-controller' + Add Review tags - Drop UFS pinctrl gymnastics (not required, probably left enabled in bootloader) - Delete GCC_UFS_ICE_CORE_CLK (ICE not used upstream, I think) - Fix sizes of ufsphy register areas based on Jeffrey's feedback - Hack ufshcd_set_vccq_rail_unused into a NOP to work around lock up + reboot Marc Gonzalez (5): arm64: dts: qcom: msm8998: Add UFS nodes arm64: dts: qcom: msm8998: Allow drivers to set-load dt-bindings: phy-qcom-qmp: Add qcom,msm8998-qmp-ufs-phy phy: qcom-qmp: Add QMP UFS PHY support for msm8998 Revert "scsi: ufs: disable vccq if it's not needed by UFS device" .../devicetree/bindings/phy/qcom-qmp-phy.txt | 1 + arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 22 +++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 63 +++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp.c | 3 + drivers/scsi/ufs/ufs.h | 1 - drivers/scsi/ufs/ufshcd.c | 59 ++--------------- 6 files changed, 93 insertions(+), 56 deletions(-)