From nobody Tue Dec 16 20:32:42 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 70BCF25392C for ; Wed, 10 Dec 2025 15:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765381862; cv=none; b=GQRCH4+Mxi6Ii+S9dyedr9bsW00XuGLb8/+XjfoO/Nax8zpxtMJekH2nS66yOYnvXpkh05Uc6LsfYewnLQ1W40hyIRLvnJvS9XaCC44js7k35BI2iRCEbezqbXgWVYBuG0S07IfNWMr7TA30KFzDrcrHenwT/fwIEkQm5gw0B5g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765381862; c=relaxed/simple; bh=qjGkXyff0JOzXHAVjFAg4DNaOzEfBoQYUyu5QmS1S7g=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=XH3g8u7O0YnD+hWn3qZ13/OmUduSPhdFQ+gm5/DRvlQjotHHx3N+EHuHIECaqkwfvw92Oqe3COSDiPhOSCHVZQ17foNruNcIQmVAva+DnLETxIcrL0ZdbebksqVeTEbhlz3GPoOYC+PwauUiJC3YBoS6AUAdNx1jLB+9tvQNhoQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YJcxgI8c; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=NvwvFq/s; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YJcxgI8c"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="NvwvFq/s" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BA8wbE62308405 for ; Wed, 10 Dec 2025 15:50:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= +rUCr121SZ+QerPYflBRYtTCStaRS4LPAaBzx1rPUmQ=; b=YJcxgI8c/0JePLcl Gw2od2t9DwnaVf4yvQGjLt2Jexl5QtiVQqAZREIQjZ7fMDcjkcMTuNkUXLeWivbz 02sxMeDB63aiLUX9W2v91LVBTkQQVdAhxQ1FEK5pMAuW+m07TTPjXIy1cG8395+A 4y6HSi84gitgPorsuzRiRGtGHr6q+0vtY3sKt7TWu/WgYOVc3BZpCmkA08LtyjN5 wr+s4dd6HvgZPsvLBIBMLavU2k/90SUrw1qcfTIPAyy/c1O4Lz8sjWpeVBpAmhwi aZ+zxdtWgoBGKatyAToQ6GyhNLbE6cZWaDk0IDNrIewQ6E7AGDWwS0BNrQyshKj9 u0HDOQ== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ay5tx178c-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 10 Dec 2025 15:50:56 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-297e1cf9aedso141075095ad.2 for ; Wed, 10 Dec 2025 07:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765381855; x=1765986655; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+rUCr121SZ+QerPYflBRYtTCStaRS4LPAaBzx1rPUmQ=; b=NvwvFq/scNTyASHWb1QN+iqrtTs8s6p3dUtqUi9bV5eev8kna+n+FJ6p+n5kiW6Mc+ Cu0c/VlmmywBpSfcMu4no1TfJZxjMDSPbvvh2Fv3b1PXnmCQYo5fetsQS1rSc8Mu0yP9 Eq2iu85GLFopwnPURRZPWdVLn9asVTnm7ALy392I37tL3vAtUkkHOojgPFac8iCd7CZ4 Tp+GrRMmNzgqeFTYtylC1u2VzvveNiwYCGIjWnJvsrt4vpUEUS0D6ucoDhWDY7haHzrs QN1i1az8UvwcvW245EILGNf/U86zn9VvmGzMOvEamTN7zBJ3nQAUr4ZGir1qCZAOMW4i dIuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765381855; x=1765986655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+rUCr121SZ+QerPYflBRYtTCStaRS4LPAaBzx1rPUmQ=; b=TMm/lwVOJG0GKBfUDd2yC0W/Guvighb+US3tqurQLo0bT6Lc6Rd3NY9fVRZlFMYfjD nzplfLKiE+7YqgNoeLfnPMDxN2IkaybE/cM71nLVtYa0Vfcvwqt6hFBOOTInaEMsM5XP uo7/LmS5U+FXSvsFaHcEUX0q4p2adkpSWMt75cwPN3QScU7GZF7kYJj59c6zI7jGZUde 1oO8ge2kUTfgG7qeclWUUUI6lBdhfXXEXuwnpCoJ/SIKEIgY7QrQAkrtoZl2l4eaiB1t Hw/cpka4tWrrVOdoCQKROiykgAqIK7Da1Hw9UxEqYwPpxeEBEY5BdMm1rMMSHSue1IjE FKEA== X-Forwarded-Encrypted: i=1; AJvYcCWKzwJTlGvROlPllI9O+ixomQm6ptIskojeLU8R49zCwcBAAU+b79P9PDW7uRHRCdZ4S/AsQt2y6It361o=@vger.kernel.org X-Gm-Message-State: AOJu0Yzi+/nEESOveiadHqYW7s2MnyP9ZHZiz4EWQZanwDRRMmSZLUSv qOfAwwPpgkffDnSi8wDdd2MNHlflXXmEldsH8fd4GZqCemGFcfmAnH8hqOWutA2SdOSP9yX5w5P V6jMT+QaFecXiOexs7f//uX1hz19TicJ012YC/APFnPDAjekqvpguCN0eAVFdJi9aT54= X-Gm-Gg: AY/fxX6XkBjnjQU8PtfR4OM0AAoOvfi5T5ZLblCnjX5IK5szIbwhm3K42dEV6QaNum9 zEgHOsla67aYM6vDlS2CEhTwwlDSF9u4CmuWJ0khOYXQUeHGxhiCvEaJLwyFR7kaDM3mHw9vjjS 4HdFcsr4AaMPQJF65uROXPHZqYE/lrP/gMCfNpALtRL8XKUfO2fwYnYXUZN9d9LGQwxya9N5Vu3 ESTOiOt0E/V5Trnmq7ZJZdhVXr3GFQaTsnOYpVHWjB2mExq19AMAUjT68ZkWn6fBOnYsHD+b7mW IrEgUG39BdOALJd8dQ2i9nhHFAu1zlSYCIyZUJq4oEr0cPBvyTmxMpOEyhrmu3nbCHUR+Ctvh4s MmKfJq/QyHV9q9mGZ+Ov0CiW2U03yCuM58WyEU8ie X-Received: by 2002:a17:903:178e:b0:295:596f:84ef with SMTP id d9443c01a7336-29ec2d3516cmr30281145ad.31.1765381855066; Wed, 10 Dec 2025 07:50:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBZg3CDmb5QXrh/vHnqknn5K8usGXHeluV8lbexssAYjUj5YTX6hrPcmb2zIpMYU2GXSoGfg== X-Received: by 2002:a17:903:178e:b0:295:596f:84ef with SMTP id d9443c01a7336-29ec2d3516cmr30280815ad.31.1765381854620; Wed, 10 Dec 2025 07:50:54 -0800 (PST) Received: from hu-rdwivedi-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29ed93e470fsm7780175ad.41.2025.12.10.07.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Dec 2025 07:50:54 -0800 (PST) From: Ram Kumar Dwivedi To: mani@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, James.Bottomley@HansenPartnership.com, martin.petersen@oracle.com, ram.dwivedi@oss.qualcomm.com, anjana.hari@oss.qualcomm.com Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 2/3] dt-bindings: ufs: Document bindings for SA8255P UFS Host Controller Date: Wed, 10 Dec 2025 21:20:32 +0530 Message-Id: <20251210155033.229051-3-ram.dwivedi@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251210155033.229051-1-ram.dwivedi@oss.qualcomm.com> References: <20251210155033.229051-1-ram.dwivedi@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: PkSNE5mx-UM4NoRg0dAtCsFaaL0KVJUB X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjEwMDEyOSBTYWx0ZWRfX2aghLD3g6xeA 8wbuKe6i6VYnwkmcJXwhjNj3EkmKDvlLf+GjgBdnvvWc4g7RqqoGsrKKRTZ2IR5BDiuVLlLfQHS MKGPYzsvAkIzzPclHCTKj7AbTkWy/gwHnYv9l6mjhWXqu2dtRxhScgZy6e0Zf82gvHNgQc6y5zR HDFfhl6qJi8zZK8QiYv6ZBM90XRofEZ7+Lvy1t2GbnP+Bi1Exw/aM+i4XcYaUA9TtdMb4g/s2wW /s4zZY2BCGdgzSgNbOLHHdDHjuokoFIkBxqj56CUGFDG3cd4vIYpZU3QgaCRqhHpH/pyADYWsuc Htoi6evOiCvml7t5tM78cXv7X8Jo+M5/rYksEkwjKWfOZVw+kK97ak2dBndUY31iDAJu3gHrGDi yHnBUPvTNGMJnCg9yTryMbONdFWRcw== X-Authority-Analysis: v=2.4 cv=dq7Wylg4 c=1 sm=1 tr=0 ts=693996e0 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=VcM-S10TGioI4za7RKgA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: PkSNE5mx-UM4NoRg0dAtCsFaaL0KVJUB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-10_01,2025-12-09_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 suspectscore=0 adultscore=0 malwarescore=0 spamscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512100129 Document the device tree bindings for UFS host controller on Qualcomm SA8255P platform which integrates firmware-managed resources. The platform firmware implements the SCMI server and manages resources such as the PHY, clocks, regulators and resets via the SCMI power protocol. As a result, the OS-visible DT only describes the controller=E2=80=99s MMIO, interrupt, IOMMU and power-domain interfaces. The generic "qcom,ufshc" and "jedec,ufs-2.0" compatible strings are removed from the binding, since this firmware managed design won't be compatible with the drivers doing full resource management. Co-developed-by: Anjana Hari Signed-off-by: Anjana Hari Signed-off-by: Ram Kumar Dwivedi --- .../bindings/ufs/qcom,sa8255p-ufshc.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufsh= c.yaml diff --git a/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml = b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml new file mode 100644 index 000000000000..ec006f7de752 --- /dev/null +++ b/Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ufs/qcom,sa8255p-ufshc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SA8255P UFS Host Controller + +maintainers: + - Ram Kumar Dwivedi + - Anjana Hari + +properties: + compatible: + const: qcom,sa8255p-ufshc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + + dma-coherent: true + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - power-domains + - iommus + - dma-coherent + +allOf: + - $ref: ufs-common.yaml + +unevaluatedProperties: false + +examples: + - | + #include + + soc { + #address-cells =3D <2>; + #size-cells =3D <2>; + + ufshc@1d84000 { + compatible =3D "qcom,sa8255p-ufshc"; + reg =3D <0x0 0x01d84000 0x0 0x3000>; + interrupts =3D ; + lanes-per-direction =3D <2>; + + iommus =3D <&apps_smmu 0x100 0x0>; + power-domains =3D <&scmi3_pd 0>; + dma-coherent; + }; + }; --=20 2.34.1