From patchwork Sat Apr 23 14:02:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12824567 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 0380AC433FE for ; Sat, 23 Apr 2022 14:03:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235928AbiDWOGA (ORCPT ); Sat, 23 Apr 2022 10:06:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233465AbiDWOF4 (ORCPT ); Sat, 23 Apr 2022 10:05:56 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F2BEBF59 for ; Sat, 23 Apr 2022 07:02:56 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d15so16962874pll.10 for ; Sat, 23 Apr 2022 07:02:56 -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=eEjazlko42eSNmnFMsfNKIUK4vM64jjnmcAEak7jHi0=; b=iP9m10e793inlZ2ZLBtIFPZHMWtI5P//T8Xff/vqtRCW7j7MAYOviwwi1DCNvIrMfl eSHPprXTt0oI59HEy39Qb5eMsQ+JSR79yD+C/RjiKScG83UoQ/pxqdyo7HXx7K/4ynpG Ad5HvdD7u1flATXoWas0ch6pXnrnVHw0STu72l4OLViFqc1D++9rilTq9UV+D98bbqjz U89Ck/DaGj26Kh8BPIYpjbXMtvTxa10H/AoudlrxRFSn5DhmyEzDqi3TIqLTKzGjhf0u a7K/5N9Et1jKuwEnfX/0ouvMHKN4mRrZ6i53mbRlJaEtcUqN9Cp1lNXD/bxUsihOvfgK pwbw== 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=eEjazlko42eSNmnFMsfNKIUK4vM64jjnmcAEak7jHi0=; b=6jGu1bP1/Ca8taK1p58ZDgKK6SDzFqIOEvJdy8/6W2/jO9Tu1GBzLLIov7tf3cwjq5 eq8qEJkZsjGq8QGY2sXyMEuJ4D/LVp2VE4MEzjZpBJ0PE7G+vEN/D9IRSkWcxqysQzh6 aohnaWBq8iJQJwesB1pL3mkiKcF+U/qfer7WkwNXzmJ9195+6nhRMC2tggFb77/Bg8VU u2m5d1kBMj7+cTH4Cj48OPjZ0cQqWCbAeZy7C32XYIzGHgWqXiUO7a9X0nh8Uflk6kCb Y+Z8WAmvX1WpH+D4h3//iech1AN49ifdlEHzbdumPL2hsvYAy+2aeIkIpaT5JnnMrujK wETA== X-Gm-Message-State: AOAM531GNehvlCdheEW+nsfIwNQXBPlU6ILSaTs/6gwVmnMp5L12yC67 gCBXm5TxxURav7lEDOcMCd25 X-Google-Smtp-Source: ABdhPJx1CdrSbre0YGZ3YHo3FGaMSmsHAG681BKNraCo512Pprq5EID44zMPrLsNu9TVMZ0r/BwAHg== X-Received: by 2002:a17:90a:b10c:b0:1d9:49de:81c5 with SMTP id z12-20020a17090ab10c00b001d949de81c5mr1103994pjq.120.1650722575789; Sat, 23 Apr 2022 07:02:55 -0700 (PDT) Received: from localhost.localdomain ([117.207.28.196]) by smtp.gmail.com with ESMTPSA id y5-20020a17090a390500b001cd4989ff50sm9452728pjb.23.2022.04.23.07.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Apr 2022 07:02: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, bvanassche@acm.org, ahalaney@redhat.com, Manivannan Sadhasivam Subject: [PATCH v2 0/5] Qcom UFS driver updates Date: Sat, 23 Apr 2022 19:32:40 +0530 Message-Id: <20220423140245.394092-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 Changes in v2: * Used dev_err_probe() instead of dev_err(). * Removed the wmb() from ufs_qcom_dev_ref_clk_ctrl() as that is not required. * Added Reviewed-by tag from Bart for patch 4/5. 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 | 44 ++++++++++++++----------------------- drivers/scsi/ufs/ufshcd.c | 3 --- 2 files changed, 16 insertions(+), 31 deletions(-)