From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47723C54FD2 for ; Thu, 30 Jul 2026 10:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=clTDBq8qZkrW9/CEcJ9Y7WMRta02AxesktgnmWtQ8pU=; b=NLdoiCd6qcfQSpiJrEzvb1leYC V6aiM6k/HSgVfQfZEIsiqv5/8N/hmqcshmy7WCKJoeHJPRAP2La38qXk5myN+0ocIgTlLu66fD50V ewjeOG2VClb1O4kzi8XeVwoqk558AMKhF4o4Hqz67OtsQNz+nm8C1bWAhe5cSiFEUMf/voxw8XMEr p32Qmj6OAmAb/0VinVbBHxWiF2vo4Hwp4OskjnWqsnmlqJFWJCrc3ci61orjo/S6gieSzOveqZmtW 8K7TBzmJ5ezLUm7hhtMJFrzV5MMAmR+ZTbkI+Loyizd+VhcF6/At0uBr4ZSGJ+F8y0OtCcIND+18T lX0Ss9xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpOFB-0000000AFKc-456W; Thu, 30 Jul 2026 10:44:05 +0000 Received: from mx0b-00622301.pphosted.com ([205.220.175.205]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpOF9-0000000AFIK-34Di for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2026 10:44:05 +0000 Received: from pps.filterd (m0241925.ppops.net [127.0.0.1]) by mx0a-00622301.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66UA4EdG3329173; Thu, 30 Jul 2026 10:43:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ambarella.com; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= com20210415pp; bh=clTDBq8qZkrW9/CEcJ9Y7WMRta02AxesktgnmWtQ8pU=; b= ZhVj1/dyUYArHEtIal2eGBYV0HQBVcHVlZFTyjoR9TA/h7t5NFMHIjT6XUpQClFi K3BKti1UqdWNlR3tbknWCKM3AQMYGEEsMt2FpMHfedgz9Pyg2pZmZIlxoGvf9pz+ iGAlirp4+I+DgNl6XG/beYwE+tFKRn3kDsVgMS8OKoRvQigTW4gRXFLXgrHo0rWl epYigZFfrerXnKbrOTR++Ppm9DPZLlMlEc8+w3XorkEAgPPduMy8Voq2Y+lzGffo 0kI1Dylntmr4yg78gd1c2sCSGkYh6ukn5RsiX93cgFbiSjUgNr8BJAQtOefYXEsk +vB/pAcJCq42A78YBAWSLA== Received: from webmail.ambarella.com ([12.30.244.130]) by mx0a-00622301.pphosted.com (PPS) with ESMTPS id 4fq8twhnba-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Jul 2026 10:43:47 +0000 (GMT) Received: from ambtw-cas3.ambarella.net (10.2.4.228) by ambus-ex-se1.ambarella.net (10.1.4.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Thu, 30 Jul 2026 03:43:46 -0700 Received: from ambtw-cas3.ambarella.net (10.2.4.228) by ambtw-cas3.ambarella.net (10.2.4.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.58; Thu, 30 Jul 2026 18:43:44 +0800 Received: from shbuild7.ambarella.net (10.4.8.70) by ambtw-cas3.ambarella.net (10.2.4.228) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Thu, 30 Jul 2026 18:43:43 +0800 From: Long Zhao To: Arnd Bergmann , Alexandre Belloni , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , , "Michael Turquette" , Stephen Boyd , , Linus Walleij , , Greg Kroah-Hartman , Jiri Slaby , , Catalin Marinas , Will Deacon , , Long Zhao Subject: [PATCH 05/10] dt-bindings: serial: add Ambarella UART Date: Thu, 30 Jul 2026 18:43:25 +0800 Message-ID: <20260730104330.81367-6-longzhao@ambarella.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260730104330.81367-1-longzhao@ambarella.com> References: <20260730104330.81367-1-longzhao@ambarella.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Proofpoint-GUID: GxdOfglfAGbBOPYYrSb5aY5c-96aeUqe X-Proofpoint-ORIG-GUID: GxdOfglfAGbBOPYYrSb5aY5c-96aeUqe X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzMwMDA4MCBTYWx0ZWRfX/np5wtxWtVjW 9xvQpPcT8dCPouEjtATAUYW52AUJRPD+Wdke2ruiVuWIxR3wDyU6Mg4lc2fCRRWxao9XGQI5UbC 6FQ6S2UwLSlt1UDG4AfXYYvS5PEDKLEzN7C+rcRAFe3ndIUFzE/l0wHqQI0KybLs2A9ycUioK4c u9OCUXRbSnT6a+Yazqgh76tee+kYrMHUNChZQqbICdV5/QqmdwSHXjvd+yJA71NgKRbBaMUqtid 2KSH/KnOmewSOhUcXZuxGH5DW2ir0q5cl2iw/ncVCh8+jUfuvDKdV/63tC5YKIhAeD0KGnxAgOk D9uuBlaSMANwVvODQX1Uu1BOq0SokzE44gUuS+maBjeBIi2sqmbvUlVmY2BkBdEqC8jlBJdH6Bh aZ63FPAIzyNGwUU7pMsKEoR47zzJ7s/4YPZ3oJQeB9OVfN+ElFxsAKt9SBb8xUS1bsDsWrDYSVX 9VexOGIqeCjdkWMIZ6A== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzMwMDA4MCBTYWx0ZWRfX3BnXUuYDkgOB U4FHfyrFTATNOQX4931MekxCYRU/6U+wsujKPRpmgww9aR5gRiDuseWMF7tOLX/mfEzRcAa+/lw FPgeHBOigKtpjs905quCGrS7z/OcOz27M2hl1IZin8wlHwZWmX9G X-Authority-Analysis: v=2.4 cv=PNE/P/qC c=1 sm=1 tr=0 ts=6a6b2ae3 cx=c_pps a=DgnZYc2JwZ3KnY28M5UqXQ==:117 a=DgnZYc2JwZ3KnY28M5UqXQ==:17 a=RAioF0-LDSMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=yXVIz-0bn9infC194UBj:22 a=KblO7da7ppA7TBl3N-nE:22 a=gEfo2CItAAAA:8 a=ppJngBeKAAAA:8 a=Y7lJEgl3tIs_xKLw27oA:9 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-30_03,2026-07-29_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 adultscore=0 malwarescore=0 clxscore=1011 phishscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607300080 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260730_034403_908108_D83DB55A X-CRM114-Status: GOOD ( 13.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the Ambarella UART controller. Signed-off-by: Long Zhao --- .../bindings/serial/ambarella,uart.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/ambarella,uart= .yaml diff --git a/Documentation/devicetree/bindings/serial/ambarella,uart.yaml b= /Documentation/devicetree/bindings/serial/ambarella,uart.yaml new file mode 100644 index 000000000000..43c98499d99b --- /dev/null +++ b/Documentation/devicetree/bindings/serial/ambarella,uart.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/ambarella,uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ambarella UART + +maintainers: + - Long Zhao + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + oneOf: + - items: + - const: ambarella,cv75-uart + - const: ambarella,uart + - const: ambarella,uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + uart_clk: clock { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <24000000>; + }; + + serial@e4000000 { + compatible =3D "ambarella,cv75-uart", "ambarella,uart"; + reg =3D <0xe4000000 0x1000>; + interrupts =3D ; + clocks =3D <&uart_clk>; + }; -- 2.34.1 NOTE: This email (including attachments) contain Ambarella Proprietary and/= or Confidential Information and is intended solely for the use of the indiv= idual(s) to whom it is addressed. Any unauthorized review, use, disclosure,= distribute, copy, or print is prohibited. If you are not an intended recip= ient, please contact the sender by reply email and destroy all copies of th= e original message. Thank you.