Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1186255rwb; Thu, 19 Jan 2023 07:36:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXswPkYkcq4WwR4USFtYHIPM3hufKrFd5RqwMrRJMrIQPsA7M3bnr+lMD+0oKhJt2rDOhz1G X-Received: by 2002:a17:902:6b06:b0:194:a602:13c8 with SMTP id o6-20020a1709026b0600b00194a60213c8mr10227490plk.52.1674142584778; Thu, 19 Jan 2023 07:36:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674142584; cv=none; d=google.com; s=arc-20160816; b=KJ3rPM0u+PvPwhiDUjTT2rn9r5HDYD5tYhTjg4gisnFQk0dXgsKK+glJGLDuZ+8WYv TNzt+sB0KoUgzyI2JYeVmgMUFnhIrEJaWdGk9DWAD2PZGo/ImEee1Cbe1MLTeFKuiuJQ Pwi+Mc1IjclyIDV14pXvEt5028SxuKQBsiSUBXyCac9nnhqfEmkEUNObCIABs/QDDBjp vXS7JQZKk+iMDXUqidkyCRBx1KQgld4jHAGpv72Phc0d0T7DRfqv5h8WBQ7DurCuJ7IU 9tW5kyJppWXibLgHSBqcrWRb7WHpx0YJXBIpT0SOsqqiChMR6Z2VB83SbAvFm3XU4w4L NQVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HD3jSa6zl99b1k1iQFDMjEt5nT4zeae/hJhML5gvv2o=; b=sx6SYMzxItYQh6JjLbHXjL1PIbYbqFb3lOpaJhv+rk05aCIba9o+PkvNyZgK8qrhBL DGGPYVYN+udpKc/7SJYYgBUFDAr8H5zsXffxhog2/cCBvBLm0bLQjIG3RymznbCt5q4o jsUU/G4jAe1U9HTusQ912Ec5YcP4HAUOFQyIXc1iTQxz6pXyfZ1lyR3nwfzP/TQh89g0 6jGdAe/dpX4FeTcs3AJnzsKf5SoaNPbo4HzZ4FR71zxrtjYm+3lhf8F3xlL+fMGFeQqy 3PgxU/aIm6Q8Mit6UqwW0ClKBCB+p7VOKGfU/qrBzBjNOMAzRTp4R7GRfcQcy9foEqzM +/iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxNqCf7F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a170902d70600b001898aa48d1asi36156000ply.444.2023.01.19.07.36.19; Thu, 19 Jan 2023 07:36:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxNqCf7F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229737AbjASPOS (ORCPT + 47 others); Thu, 19 Jan 2023 10:14:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbjASPON (ORCPT ); Thu, 19 Jan 2023 10:14:13 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A44B2677BE for ; Thu, 19 Jan 2023 07:14:11 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id k16so1798523wms.2 for ; Thu, 19 Jan 2023 07:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HD3jSa6zl99b1k1iQFDMjEt5nT4zeae/hJhML5gvv2o=; b=FxNqCf7FYUdZoUA8KDytXhw/BOb3S+qc4gbNrZ37p892yoDAYgsyZzjNgpFnRyqlPR N+0cKqDvKFNo98kWKPg/XJLV1UQPr0sddD1k/bItHmQnxFn8XJ1p8TE+RWLX2MWKIhRR +gNR+BDWKwVU26J1wR18s2ZUDFQ8RjVvoeY2vA5iFYj7kfm3Z9erAJd1zHvczOSI/aux rvJg64HFjZ/wi5MXUPkdLltIqiyijcquE2UckRHTi4BRXhoY4YRASm9AqCSnjY/RYQI3 F/HKzr8iETMLtDhQ7pVS8iIbS5/P62nxTwBvjwGNrvRs0YyfdfioED9mBNlIA+RtXIDI dNrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HD3jSa6zl99b1k1iQFDMjEt5nT4zeae/hJhML5gvv2o=; b=yr9t8yhZF390/oN6rbkr9l8ao+EMk7CnKRCarRQTg/vRN99heH6sTYNeOkweTLLCwU Hdh/0j+xp9kWnJs7SrlVrHozbPn07tZ0jAUFU/mp+/HhyQL0Qlxr1olVrbNy65sI/BTQ diGCZMQP12XTbXAdpFs2YFsaaBrOkUeO/ybJpxSeBpCxDfc7m7kPtEmGBzgO0LEDkASQ glCuL5b9Ja+Dv9gPyzoAcC7TZkVvdQ31b+DHmc9oNLQPPSuD4vtODWq8/WLkrOvRzwBs welDU7aE0heG5cq1fiaZDPknQwhhJDvz3oAODi353j74/m6n3VJHNWy4DnC0udz6/Pbc vUuA== X-Gm-Message-State: AFqh2ko0f8ovOYx2dMwaWPhBgTXK0bBBC05GLTMyfnibAV+PglI6/ORL csYoO8pKdZZhWSTqX/X01I/LCg== X-Received: by 2002:a05:600c:3596:b0:3da:1357:4ca2 with SMTP id p22-20020a05600c359600b003da13574ca2mr11196032wmq.11.1674141250122; Thu, 19 Jan 2023 07:14:10 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id o16-20020a05600c379000b003db15b1fb3csm4566605wmr.13.2023.01.19.07.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 07:14:09 -0800 (PST) From: Abel Vesa To: Manivannan Sadhasivam , Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , "James E . J . Bottomley" , "Martin K . Petersen" Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2 0/2] ufs: host: ufs-qcom: Add support for SM8550 Date: Thu, 19 Jan 2023 17:14:04 +0200 Message-Id: <20230119151406.4168685-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds UFS HC support for the new Qualcomm SM8550 SoC. The v1 was here: https://lore.kernel.org/all/20221116121732.2731448-1-abel.vesa@linaro.org/ Changes since v1: * replaced REG_UFS_PA_LINK_STARTUP_TIMER with REG_UFS_CFG0 and added a comment saying that the older version use the first name as reg name * moved QUNIPRO_G4_SEL in a separate section dedicated to CFG0 bits * forces the update_link_startup_timer condition to be skipped in case of HW version 5.x To: Andy Gross To: Bjorn Andersson To: Konrad Dybcio To: Alim Akhtar To: Avri Altman To: Bart Van Assche To: Rob Herring To: Krzysztof Kozlowski To: "James E.J. Bottomley" To: "Martin K. Petersen" Cc: linux-arm-msm@vger.kernel.org Cc: linux-scsi@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Abel Vesa (2): scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW version major 5 dt-bindings: ufs: qcom: Add SM8550 compatible string Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ drivers/ufs/host/ufs-qcom.c | 8 ++++++-- drivers/ufs/host/ufs-qcom.h | 6 +++++- 3 files changed, 13 insertions(+), 3 deletions(-) -- 2.34.1