From patchwork Sun Feb 18 13:56:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 774142 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B0676BB53 for ; Sun, 18 Feb 2024 13:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708264599; cv=none; b=KuSygICdCgGaMIb3gvBnntEZWvpyX8u+AQezRhNJLR2kJbVkwKtQ7R/2I2e69MH4NDeOZUsxlPz8ffzXa47eJsYy7lalUHhXcv8Jyvwe5uszAifQ2Sn5HTJ/k+oj1e9c38t5ZFfYKIvgq7MfOMv+oN2hEZ3cMkZxSSkvFFGCWMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708264599; c=relaxed/simple; bh=ci6508isWS3DLnsNXAok8Q9FDqHEGa3Yr+YBdNnPpMw=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=h1HIh3lWaCqvAfcxQqP4CqqAiTkFGcA1MM5oMIO+au8+P5EGIKBnaY1Al92cmlVmS3P+yUPrG7V2hmV3FnvMxcVDEQsRawWK6jab0Vmc6AfOXP5ZXgjGEuUVzmbebCS2pKhAxuQ6Sw3+JqX3L6wbovIub+VuVzUh2Trle9h7iHI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=YDg8q6aQ; arc=none smtp.client-ip=209.85.167.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YDg8q6aQ" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5101cd91017so4653776e87.2 for ; Sun, 18 Feb 2024 05:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708264596; x=1708869396; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=BzBE6z8JZK5HKrVHvDR9HlvBapuvmsOASU8Mw6XD3AI=; b=YDg8q6aQ4a9ycWfJRvQ94Wa4XCGX4gxp8pxRcSZQXkkUfRwfqocrbhX5Qp+3zizYl0 V6x5MzQO0Vrm3L3vZtxb4OIeJKliqjLjlh26GafwzOqDxh+kIPl2aGTnKjbKIKsBFuC6 PvlHqynypzE6RnzUgbagjP34ktLHnKmCNB/3mNsDVjd9gLwpN8FcI6Kk3Uxl40JiOgug WkA3O+EDQq7gv4aZHmKzsXtogrKFXgiNtJgvDFj/S8SSjFtF/gjgq5ALS6FJkah3+S6U 6taAF65v1iUJFUgyA23mZA5myeglLgxXQtKAs2Yoo9QdeJvQfwlSLh+PTJ48aYsYxQlV eOZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708264596; x=1708869396; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BzBE6z8JZK5HKrVHvDR9HlvBapuvmsOASU8Mw6XD3AI=; b=mKqdwgD3ZxVZJD76ysbiBJKYmFeIwgCbp33/t+SgwtvvCn50YnRIKXYfWLVWs/q+by F04mNPcmerHCGoA48HCICFazgWz0F9YuqzBm4daBmB8+6HwjBmrLzWQBGMjdCfGIgfPB l4Ys6M+GotVSrAXnPgYQTz7gj9lJQ4k4wHBKq9eD0gWq/6ap1VG6UWTUVLwEy5yF5z7a Y9dRLG27jI1h/EifrY6CuJRzInaja0oc8EsKLUdgFZiPfi+gt37Ui1t9dQJyZ8uZiIP1 rJ4xZ8eIa+/tBNeym3PY2l14AOSaGsB+xwSIz80NNgwKXCmQ69iwrsHMNx2fsCddLS+f A2jg== X-Gm-Message-State: AOJu0YzBBzhchetCF3rhqprtpNspeOKxU/oA9IQRfdTkTRDqFioqxeNO r+S1fAJBhugMv+1/VrJ75gfZB2V5IXiPHantFjpzN+ZkyzfvsamT8ocwpMS0SxM= X-Google-Smtp-Source: AGHT+IGBiQXe9hCbSiSsX7aXyrK8He/iitn6PU0S3WxrJlhNJ9PbtND+70+T69ZJrfjblnmgLS5gqA== X-Received: by 2002:ac2:529c:0:b0:512:b051:7b02 with SMTP id q28-20020ac2529c000000b00512b0517b02mr683047lfm.0.1708264596326; Sun, 18 Feb 2024 05:56:36 -0800 (PST) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id w9-20020a05651204c900b005119fdbac87sm548698lfq.289.2024.02.18.05.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 05:56:35 -0800 (PST) From: Dmitry Baryshkov Subject: [PATCH v3 0/5] scsi: ufs: qcom: fix UFSDHCD support on MSM8996 platform Date: Sun, 18 Feb 2024 15:56:33 +0200 Message-Id: <20240218-msm8996-fix-ufs-v3-0-40aab49899a3@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJEM0mUC/3XNwQ6CMAyA4VchPTvTlW0MT76H8YCwwRJhZtNFQ 3h3ByeN8fi36dcZognORDgUMwSTXHR+ylHuCmiHZuoNc11uICSBhDUb46jrWjHrnuxhI7MaG6M 60enWQr66BZNXm3g65x5cvPvw2h4kvk7/W4kzZByriyQjK0F4vLqpCX7vQw8rlugD4OUvQBlQE iupW1JC6i9gWZY3wR8WmPAAAAA= To: Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , "James E.J. Bottomley" , "Martin K. Petersen" , Nitin Rawat , Can Guo , Naveen Kumar Goud Arepalli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, Dmitry Baryshkov , stable@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1773; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ci6508isWS3DLnsNXAok8Q9FDqHEGa3Yr+YBdNnPpMw=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ+olnkm17zmdWrXNdT4Gt0iyy2VKxvRaX+Cd6vBpbcLrF /tLZ2zoZDRmYWDkYpAVU2TxKWiZGrMpOezDjqn1MINYmUCmMHBxCsBE+g04GGYd1C4/JrzlOP/7 7ToHWWfcdJ3/IX6Z4Afrx/OWhQuK7+pd07A28f+nKR6CjM8527W2bIh8Numf4L/bH52TZNUzpOR v+/4pEk0tYreTlf4gGp0ls9SS+3ROxVfTavGYJy/eOIW5BUtLpVfVOc6YMG3OLLfiJaWH5CYrf7 oe1R7y7NFieeZKhYpD196oaN0q01bUDbCfxrpj1a2wX9re3947R193+/Wj3ciR6b/4ec8EnaMJV vMb/2TM28tqbibmE3CXmeGom6UBU/+MHlv2Rj3jYPnADXrmX+carts+SUem5aPytbQbr4XsPjUI bOtnaqi/9leVYQsH96HOWFsWy2+5L1R9pjLq3zp+aYcuAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A First several patches target fixing the UFS support on the Qualcomm MSM8996 / APQ8096 platforms, broken by the commit b4e13e1ae95e ("scsi: ufs: qcom: Add multiple frequency support for MAX_CORE_CLK_1US_CYCLES"). Last two patches clean up the UFS DT device on that platform to follow the bindings on other MSM8969 platforms. If such breaking change is unacceptable, they can be simply ignored, merging fixes only. Signed-off-by: Dmitry Baryshkov --- Changes in v3: - dropped the patch conflicting with Yassine's patch that got accepted - Cc stable on the UFS change (Manivannan) - Fixed typos in the commit message (Manivannan) - Link to v2: https://lore.kernel.org/r/20240213-msm8996-fix-ufs-v2-0-650758c26458@linaro.org Changes in v2: - Dropped patches adding RX_SYMBOL_1_CLK, MSM8996 uses single lane (Krzysztof). - Link to v1: https://lore.kernel.org/r/20240209-msm8996-fix-ufs-v1-0-107b52e57420@linaro.org --- Dmitry Baryshkov (5): scsi: ufs: qcom: provide default cycles_in_1us value arm64: dts: qcom: msm8996: specify UFS core_clk frequencies arm64: dts: qcom: msm8996: set GCC_UFS_ICE_CORE_CLK freq directly dt-bindings: ufs: qcom,ufs: drop source clock entries arm64: dts: qcom: msm8996: drop source clock entries from the UFS node Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 12 +++++------- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 +------- drivers/ufs/host/ufs-qcom.c | 6 ++++-- 3 files changed, 10 insertions(+), 16 deletions(-) --- base-commit: 0035c3918a74a83f94158fbbd667e163bfd4a0d0 change-id: 20240209-msm8996-fix-ufs-f80ae6d4d8cf Best regards,