From patchwork Tue Feb 13 11:22:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 772375 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 DE58A36AE9 for ; Tue, 13 Feb 2024 11:22:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823343; cv=none; b=a+oJOTV+W61BfrOspXQ/JBk4rNNBU062lULdbveWSJ1eLHh1WT0XA58UUbXc3URaAoG2x1PXkZEjav+SQLVLtbHfkcGcyZi4lGtMgYZkqn+s7LdzTraPBeIdPhL9npF1t8hUdufI1uSpmMx+sBc8L0CA6JyWhgMeTGYVi/SITLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823343; c=relaxed/simple; bh=KuWzjtFJjVZp/xi2dshIwbzK9SjPu9QyAsrTwb6vnwM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=fbaEq7YpLdoQl5rV9709cRWdXFCsQEHJQguvakW9YJDYMLrRLqQa2ooe2qf6Bjvq/P+7VOsGhPw1U2PlczKLCFAEnmpU/z67kwc/9nFu7iUvBEPZQ/+PAZtFvYb2ycd3oI37mWod5uL29as3U3DEs3jq8M+8V2q1QSDXPB4KP0E= 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=qTKGpIpr; arc=none smtp.client-ip=209.85.208.171 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="qTKGpIpr" Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d10ae127ffso5051361fa.3 for ; Tue, 13 Feb 2024 03:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707823340; x=1708428140; 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=xZEL4+v3cRHd3xRLyx4SSiiR3ntMaqJTGNx+TD0/vGc=; b=qTKGpIprwTqH9WgFpedQ7ibar/sDpeIWbertRVg2g6sahbxxJhSKAFOysV4TnXaCnv ccFLJy4pYr9BceX34N/NhXNFRtCzKT+8ghhoJwSl9UlpbhFdd6K396r5Es90UVtW/8Qd edtb3Km7rOX/EP+GTlHkSHKAUcLg7uFZDkrbXIXnORIdFMBZQ6psM+V55+bZLBbCf1+4 XWA5oWKfv8dTnu1g8u1+1Fk3C/Np0XtC7wQhXE+4tHhhfSWLxfj1eW1DcBflXuBV3arM mQ5YfiwXuNGbKdKJbNqUBBeiwur+CxsW1agIXzKZtddjq1/9aRnav/QYZM/K6fNVBkc0 bdHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707823340; x=1708428140; 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=xZEL4+v3cRHd3xRLyx4SSiiR3ntMaqJTGNx+TD0/vGc=; b=VBTT/XpKubs/YXOCkWs1DPt7nE8fo9TV0OErMbsHBwssy3VdGeTpB1bqbZF5K5+Umr K0f6Kxkb4WnrduB+r3bS2B1QJ0gfecTM9RWf21xynLcFKKljdM+3CTsMTYRv9sGkMhoY xgR1oqoPMxbC08nHIGzK31I79gWkunLDrFoAwIEx2mzM1M/u95noXgZB1wbLt7kpU5Jk 1KUz3NlQmLYXWW4JfM3gzOKm3STblcWgdTwSzRYLdoiF/MXEOE4tGdgpQSYb8zHJxMzX A2Ix8GLcJoHmTCzPehXY3W3SdewYIdjFIlkhU0FkB5DpkxzcaJCB0MKRGbikxgXapXmd 5Fug== X-Gm-Message-State: AOJu0Yw/o2C8qpJYf7gIROAfxdr+wHWTgHESfh0a2eJgXRK7GAc4a6j/ 0qWjczA25PtAvJ2OXp733LWn98MCB/SHZFGfcrcvzlDk76vFTIUyXtEI0yRJOKI= X-Google-Smtp-Source: AGHT+IFwmxTaSjeCr1QNAUyqSNmIUQdzqWzwxCbe7W2HS5qD0OMBOIMhWiRq9RZo/bdg8F7Cv6nZVg== X-Received: by 2002:a2e:9d87:0:b0:2d0:c7a3:e97b with SMTP id c7-20020a2e9d87000000b002d0c7a3e97bmr5875643ljj.0.1707823339951; Tue, 13 Feb 2024 03:22:19 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWtZVDYYCkBplO/wKwc6lBnYsL0BP4UOPsU2G59nTg/I9SWDhXmoMhhjP+2klbDSHUTJHPC6VAMRvED2Z0v3xOG2Xs/mgj3i9ws6So9sqjVVFvvtsBIn7tRRHFRHwmr9e3C2mcgRJAxr22jm0K9JvWE7OxKLJzfI+gez0q8K2ggoI56syXEpMU20u36DNVR84+9JRvR9WFwhvUeOWB6RgizLSYp+Ym2toIkcHOgMeWGUjRvid1K7oXLwY9JIpCVqch8ab4Q5JdVpMy0U8O7KbZxHtqRgqj4kRUqyNW766f+sf4I0H+7MiMGSqcVj+nro2254Ia+WH7J0sU7xDXVh7L853fEoteNiw7mWZZOHZBPoZS+duTp5eK09AY6coOFuUMktLMmGOrqBIxrN9PQYyS7JQUItv+COawwc/vVRXTMgWUOu/BGSpt2iKg8Xn9pMkpLpheTUATS+CAbmlVeia0oKWi4Uzfvdy6xKLq5ex+5EmuXnbhBtWm9fX6jdFK6MICEfquoLU6v2veEaleLqL6rg2fD4GBNwXkVZv9PV6W0d1uspc/ivzR4my6/nxf9QFuL5+4Uaf/PUyLr08bPRk5mYUn++lyNYP3CSp95bUF379A= Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z11-20020a2e964b000000b002ce04e9d944sm451107ljh.69.2024.02.13.03.22.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:19 -0800 (PST) From: Dmitry Baryshkov Subject: [PATCH v2 0/6] scsi: ufs: qcom: fix UFSDHCD support on MSM8996 platform Date: Tue, 13 Feb 2024 13:22:16 +0200 Message-Id: <20240213-msm8996-fix-ufs-v2-0-650758c26458@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=H4sIAOlQy2UC/3WNzQ6CMBCEX4Xs2TXbhl9PvofhgHQLm0hLWiUa0 ne3cvf4zWS+2SFyEI5wKXYIvEkU7zLoUwHjPLiJUUxm0KRL0tThEpe262q08saXjWhbGrg2pWl HC3m1Bs7VYbz1mWeJTx8+x8Gmful/16aQUFFzrzRXTanp+hA3BH/2YYI+pfQFAhvm468AAAA= 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, Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1552; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=KuWzjtFJjVZp/xi2dshIwbzK9SjPu9QyAsrTwb6vnwM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBly1DqBXZn8ok3IZ80dskwW4JBSXSKKAHSfI95L WiUaR2RdMyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZctQ6gAKCRCLPIo+Aiko 1R4wCACA0Wb8cT0/dYI4u8UfUuiO+jnxoFJ7CjIrd2QCqVlLnrRviUM1W5kUEs19m1o8S49c+V2 3XGdEkZra3lL9cWvsPGjR72v0xyzDYsoyW6fppH2Pnd3voQ2x0bGmIuW06JERVGRRbPtMt1lDpg u3DmtGm9LYs9X6twQfzb+mr2mY6TGo19oNkrnlJvTXHppaTUAkO1E8Gp5VOsCSQYmmkHUMwvgTK IR09RU12hqOXwASCt2ydDMFxB0Lxmco/rzy0CFSuMvsyCaErs9ESv5LikDCp9w1ff6gjMRA0jut R3jstphzEktjzJ4IihBrrPXpPS5q9tZuMysSqYgjhNPKaDqL 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 Reviewed-by: Konrad Dybcio Reviewed-by: Konrad Dybcio Reviewed-by: Manivannan Sadhasivam --- 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 (6): scsi: ufs: qcom: provide default cycles_in_1us value arm64: dts: qcom: msm8996: unbreak UFS HCD support 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: 4c4f1563cc49472e85613c1e4875258f6ec87105 change-id: 20240209-msm8996-fix-ufs-f80ae6d4d8cf Best regards,