From patchwork Mon Mar 3 12:43:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viken Dadhaniya X-Patchwork-Id: 870461 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 C52F5212B1E; Mon, 3 Mar 2025 12:44:14 +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=1741005856; cv=none; b=rZd7PjXdqgZ4TqXp3n47hluyS+M2ADAlYucYXqQTRWXzh511HiAH5QcBniwe4C200PGvi3rQ4QM4T1eWT2JA+XYaalbjpOfHi6t/6FlqtTylTxkB3p4NbIEphDuIulJKxfZ/40UxHVFl0HbK37WOjW/FmaByC0iPZmZJtxaqhug= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741005856; c=relaxed/simple; bh=cwCkJDeFt8KTt8BvKNW3l7KyzYURrHTRFKic46goISE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Gc1+ST7HMxZ7uWmkYlC51ucwivH21EP27ylv4+kMiS+blNHtZyyCtT2Ubwx6GtQPmwTlb7wfbI3ITNuSaQJ9h9T7PYAmL0i2MuR5AcSSGcdPctLVhoBwGjrGdOQalCZfaOfPoC5doPEUGECtjrkRQtiXgHZu1WKsJY8ZXclW4UA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=drtPwMr7; 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=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="drtPwMr7" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 523AVmQT008787; Mon, 3 Mar 2025 12:44:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=6awwfj8ipfB TRIoIQeyId5quGsZQTRHoTicqmf7LQbk=; b=drtPwMr7/QSngqzJIJvCoo1DvHf Gt8YTrASEmvdFgcuF3ITxqhYNahGtzTU2IhzKtk5e69qKd6IpV6evLApokfpkxcM s4i2T60Trd/bJxr6aqW1K2JNG+iNHKHh8cYIBU0vsYdhFzuAKnMramvw6woRk4ze r3fT/zUF7qW8SHYCVhmy5s3XyuL0qxvo9kSZon1hFxSb9dy+n1+IErs5udhYxeK2 /+wVHWU0AYfKZgI1LMD6k7ic9/2aJvIJztrZNS+J7xH6zIY9Q6ysKM5Vkw/6ZsAL mlH7+NsCSMI6A/zRWf3r1MUq/A6g6Y4sJeHnB9KBh2IrCYoM/2BN8mF5GzA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 453tf0mrmd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Mar 2025 12:44:10 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 523ChqLD015069; Mon, 3 Mar 2025 12:44:06 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 453uakx573-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Mar 2025 12:44:06 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 523Ci6hH015264; Mon, 3 Mar 2025 12:44:06 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com ([10.213.97.252]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 523Ci6X0015262 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Mar 2025 12:44:06 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 4047106) id AB67B53B; Mon, 3 Mar 2025 18:14:05 +0530 (+0530) From: Viken Dadhaniya To: andi.shyti@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, broonie@kernel.or, andersson@kernel.org, konradybcio@kernel.org, johan+linaro@kernel.org, dianders@chromium.org, agross@kernel.org, linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org Cc: quic_msavaliy@quicinc.com, quic_anupkulk@quicinc.com, Viken Dadhaniya Subject: [PATCH v3 5/9] dt-bindings: serial: document qcom,gsi-dma-allowed Date: Mon, 3 Mar 2025 18:13:45 +0530 Message-Id: <20250303124349.3474185-6-quic_vdadhani@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250303124349.3474185-1-quic_vdadhani@quicinc.com> References: <20250303124349.3474185-1-quic_vdadhani@quicinc.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Lw3jDHKRSZf8vNQ5Dv9XK4MOAJYvys2z X-Proofpoint-ORIG-GUID: Lw3jDHKRSZf8vNQ5Dv9XK4MOAJYvys2z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-03_07,2025-03-03_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 mlxscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2503030098 Data transfer mode is fixed by TrustZone (TZ), which currently restricts developers from modifying the transfer mode from the APPS side. Document the 'qcom,gsi-dma-allowed' property to select the data transfer mode to GPI DMA (Generic Packet Interface). If not set, FIFO mode (PIO/CPU DMA) will be selected by default. Co-developed-by: Mukesh Kumar Savaliya Signed-off-by: Mukesh Kumar Savaliya Signed-off-by: Viken Dadhaniya --- v2 -> v3: - Drop the 'qcom,xfer-mode' property and add the 'qcom,gsi-dma-allowed' property. - Add a reference for the QUP peripheral shared YAML. - Update commit log. v2 Link: https://lore.kernel.org/linux-arm-msm/20250124105309.295769-5-quic_vdadhani@quicinc.com/ v1 -> v2: - Drop 'qcom,load-firmware' property and add 'firmware-name' property in qup common driver. - Update commit log. v1 Link: https://lore.kernel.org/linux-kernel/20241204150326.1470749-4-quic_vdadhani@quicinc.com/ --- --- .../devicetree/bindings/serial/qcom,serial-geni-qcom.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml b/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml index dd33794b3534..254fab9f2341 100644 --- a/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml +++ b/Documentation/devicetree/bindings/serial/qcom,serial-geni-qcom.yaml @@ -12,6 +12,7 @@ maintainers: allOf: - $ref: /schemas/serial/serial.yaml# + - $ref: /schemas/soc/qcom/qcom,se-common-props.yaml# properties: compatible: @@ -53,6 +54,8 @@ properties: power-domains: maxItems: 1 + qcom,gsi-dma-allowed: true + reg: maxItems: 1