From patchwork Fri Apr 22 13:21:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 565581 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D474C433F5 for ; Fri, 22 Apr 2022 13:22:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234076AbiDVNYw (ORCPT ); Fri, 22 Apr 2022 09:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234104AbiDVNYu (ORCPT ); Fri, 22 Apr 2022 09:24:50 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370C557B27 for ; Fri, 22 Apr 2022 06:21:57 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id i63so7303980pge.11 for ; Fri, 22 Apr 2022 06:21:57 -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:mime-version :content-transfer-encoding; bh=zF0nX3s3N6IwcPGME9n4tmBcuFVHyEKtz0zQOLiN7XU=; b=KuW9QMCsD9egy7UVKqnRR+9C1Zclk2AmmkgDRZIrU9XsIt3mSpYiApeH6tsQAF8zNx SovhEeYx52032GXDc8mY/tIb/IYnkycwm0hJstpkMTYSdSk7/Uc3YBEH+acwc17XKtNN MY52ObTt9w8PCTqoGFRpaPQbgRh4cmYk5OBhctY5f+dUKcIqTSBZY3f6SekWgX2iAXbb XeGmgJU6etFP8AcQeR0SmrucTCz+i96dcGzeXv5NTFLmxtLxF2Nm5o3/jNVBEWcKyTRe VSYoGtAKj1W+o2sqC2/EXcVGqymo1Mwczzlcr99O1I/KCtvKJGqf/tLlMCUqo9XLqqbG DcnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zF0nX3s3N6IwcPGME9n4tmBcuFVHyEKtz0zQOLiN7XU=; b=DMwUKFiu6opjJvkrjhEyP4sUMvu2JQrnBuTFcovpbaqF4n0BNxSKVY4GLjVdntSn39 0O4AAp14DGm6o0+/lzpFYl6d/HKGv8pxe26LCaoAqzjKvZUZFNKqKzsVRy3N1ehgSnL+ XaFiicdPToG3LiVsQ5++YVF4dNoHerKZvxKaNBpvANx+e+dskJQqkbj4cPWWKYOgHndf N3m7OvpNm8PkX1TRnlhOWqfjq0hiZe/7qMPDXwmt4+6RFxGRnCkkBgyOk+sARh3IdVNW z/o4QApxKvYBWiv9cYyvC8S2Gtk5uqHzjhCQmgJN11wKkHLs/9ZpWZErsM67Z8SaE6HO EHtQ== X-Gm-Message-State: AOAM532I4swPBiCtFWd+DJEL4NtR57R3Tn27P/ZCLFjFook1GQ1xPdAn i5nar5bepNCABjr/OzlJ8hae X-Google-Smtp-Source: ABdhPJwGBdH1kJzOwxticugXo7nn+HgwWgTys7PUHRPSPiw/RGwuym1yyWo1xpGANGN/w+FJ66KIOQ== X-Received: by 2002:a05:6a00:1781:b0:50a:94f0:661d with SMTP id s1-20020a056a00178100b0050a94f0661dmr4980663pfg.10.1650633716680; Fri, 22 Apr 2022 06:21:56 -0700 (PDT) Received: from localhost.localdomain ([117.207.28.196]) by smtp.gmail.com with ESMTPSA id g13-20020a62520d000000b0050a923a7754sm2586840pfb.119.2022.04.22.06.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 06:21:55 -0700 (PDT) From: Manivannan Sadhasivam To: martin.petersen@oracle.com, jejb@linux.ibm.com Cc: avri.altman@wdc.com, alim.akhtar@samsung.com, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, quic_asutoshd@quicinc.com, quic_cang@quicinc.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 0/5] Qcom UFS driver updates Date: Fri, 22 Apr 2022 18:51:35 +0530 Message-Id: <20220422132140.313390-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi, This series has some cleanups and updates to the Qcom UFS driver. There is also a patch that removes the redundant wmb() from ufshcd_send_command() in ufshcd driver. All these patches are tested on Qualcomm Robotics RB3 platform. Thanks, Mani Manivannan Sadhasivam (5): scsi: ufs: qcom: Fix acquiring the optional reset control line scsi: ufs: qcom: Simplify handling of devm_phy_get() scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled scsi: ufs: core: Remove redundant wmb() in ufshcd_send_command() scsi: ufs: qcom: Enable RPM_AUTOSUSPEND for runtime PM drivers/scsi/ufs/ufs-qcom.c | 43 +++++++++++++++---------------------- drivers/scsi/ufs/ufshcd.c | 3 --- 2 files changed, 17 insertions(+), 29 deletions(-)