From patchwork Mon Dec 16 09:54:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Liu X-Patchwork-Id: 13909481 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 911B1201005; Mon, 16 Dec 2024 09:55:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734342931; cv=none; b=KQPrvEAET+vlGpMb6rsk3zfYORSsD0j9P67ZfWlL/rV4xsv2IQhV8MXrqoNLtCJDS+1rFHDqciyUEbmz2tuRFAxPmjEUFO4SCWztWO3/ABHJE/8lmFa3Vh+C9fmdt2X63N+eKemUyDA+Nyps7zgkAFA2KmZ3REIWW5GamXyZnhY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734342931; c=relaxed/simple; bh=2SQUxAGMYg8gZdlgLiTWgACaK+mzlJ1LmOPz6MBCMCg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=r9gVtlEVBqX3mPYNtHao+DNzqrLBT6xJpny9PdanaywmK+e/7QYsYO9upgGkZ0YEiKYBCLKey4Z2j05700MAp9ug9ETUmNClHoxRbPFdcDbBN/2xg7pqIJ2E178nz6XGbrRhBK9UpDV0+XpXPmfi741WlIt36CXzfpRNuWYf0ME= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=VothdvFK; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VothdvFK" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BG6XT7D022877; Mon, 16 Dec 2024 09:55:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=MzpkExzkjO+Oe4+XXqlID5 yMitTzocLEHs0r0MEFaGE=; b=VothdvFKFDYGVdp/gVMvlwjnNyNf+E6Z+KvrV5 YoH5HANRg70nqK82ZcaSfpWqwHm4Hdgsao5MLp0/zAhCx5pSelIgu3qrekk/b3eM CwTIeIIhu6AYwAXH7Yzvr0BcBoXMQShqWjr/p9rXcLWnsFiO+Kkp8RnXNRPDiwDA 5MR/ciSrscsggWB72d3EcG9hUpOnOn54CyrrxQOEfwKxcdp9xHEPJg9PEDBX0D2P KOES7+MJ8Bn+IolZzkymrHx9XCbNu0gtAuuZaUkct067FVLHqv2bPUCIV6i2BP6T EfEL7HiG7mMj29R/7Q8PdgFW21KTsCajrB4M8h4lwLAdj/rA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43jf1w8kfg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Dec 2024 09:55:07 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4BG9t6vE011979 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Dec 2024 09:55:06 GMT Received: from liuxin-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 16 Dec 2024 01:55:00 -0800 From: Xin Liu To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio CC: Vinod Koul , Kishon Vijay Abraham I , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , , , , , , , , , Subject: [PATCH v4 0/3] Enable UFS on QCS615 Date: Mon, 16 Dec 2024 17:54:36 +0800 Message-ID: <20241216095439.531357-1-quic_liuxin@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: UJ3m837BFsi87YY_BteA56BSe0QvotcA X-Proofpoint-ORIG-GUID: UJ3m837BFsi87YY_BteA56BSe0QvotcA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 impostorscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412160082 From: Sayali Lokhande Add UFS support to the QCS615 Ride platform. The UFS host controller and QMP UFS PHY hardware of QCS615 are derived from SM6115. Include the relevant binding documents accordingly. Additionally, configure UFS-related clock, power, and interconnect settings in the device tree. This patch series depends on below patch series: https://lore.kernel.org/all/20241104-add_initial_support_for_qcs615-v5-0-9dde8d7b80b0@quicinc.com/ https://lore.kernel.org/all/20241105032107.9552-1-quic_qqzhou@quicinc.com/ https://lore.kernel.org/all/20241212-correct_gpio_ranges-v1-0-c5f20d61882f@quicinc.com/ Signed-off-by: Xin Liu --- Changes in v4: - PATCH 2/3: Modify ICC(cpu to ufs); delete redundant required-opps. - PATCH 3/3: Add ufs reset-gpios. - Link to v3: https://lore.kernel.org/all/20241122064428.278752-1-quic_liuxin@quicinc.com/ Changes in v3: - PATCH 1/3: Adjust the order of SOB. - PATCH 2/3: Modify some formatting issues: Wrong indentation, split into one entry per line. - Link to v2: https://lore.kernel.org/all/20241119022050.2995511-1-quic_liuxin@quicinc.com/ Changes in v2: - PATCH 1/3:Reviewed-by: Krzysztof Kozlowski Acked-by: Manivannan Sadhasivam - PATCH 2/3: Use an OPP table instead of freq-table-hz.And modify some formatting issues. - PATCH 3/3: Reviewed-by: Konrad Dybcio - Link to v1: https://lore.kernel.org/all/20241017042300.872963-1-quic_liuxin@quicinc.com/ Xin Liu (3): dt-bindings: ufs: qcom: Add UFS Host Controller for QCS615 arm64: dts: qcom: qcs615: add UFS node arm64: dts: qcom: qcs615-ride: Enable UFS node .../devicetree/bindings/ufs/qcom,ufs.yaml | 2 + arch/arm64/boot/dts/qcom/qcs615-ride.dts | 17 +++ arch/arm64/boot/dts/qcom/qcs615.dtsi | 113 ++++++++++++++++++ 3 files changed, 132 insertions(+) --- base-commit: ec29543c01b3dbfcb9a2daa4e0cd33afb3c30c39