From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7CDCE4A2636; Tue, 6 Oct 2026 18:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791310662; cv=none; b=gBLoM3MTXV0XU2fotbw+JqJTRksoKlvS366qp2lDEKUSZxy0Ii/yyMAeUm3iBWuFIJ7nUkStzHuNfCTlGsLIMGuKab60COQ59fZPYKyO6RCPXrkUOvTqFln7ArXcsKze7YPnI3lulZzDd1E1ixmgBU2DbTJXuAl8q+UcyWj8h1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791310662; c=relaxed/simple; bh=yX31n6wOZZRNC25guMYiuxRy70E9P94vtW5wu2l0vR0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZQF6elPYqzfXn13l6+YGtNyNRUKAGDRhs2P4WvEc2rXuv2e+/GA2WVEAwXZ2vLCRu0ayknDPzzi3ZUXN0oCf/4jZ49UmhRSUzJMaDaZ/JwjOJ1rL1zu54BRB4jghfWMgBQl5PzjuplM8AFwBTHS/QUew73VxXEfJFAIj95bONdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ffaiXcdp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ffaiXcdp" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3A97CC4AF67; Tue, 6 Oct 2026 18:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1791310662; bh=yX31n6wOZZRNC25guMYiuxRy70E9P94vtW5wu2l0vR0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ffaiXcdp9lXUEIGz5ASqMA9pYBFOnzVcm/0kEmDjbniqYVkCE1q7XpVXazfbtrddY UEvtsnZPuxyWtu1VICvuhDw/Qmk/OhdBxHxRWRkJFczsk4Ubu+NFCPBWgx3bGLucgF cOmq7LmppFFSqv0xVlED86LLxTOmhziQgqZQXpwYiakQOVb+aaUz1yGuPEvio1LH5Z lFZoNKMK1AzoUiiFpC0BFlX7a+bgYzUPLAQFZnaxrHrgqSeOEBoJIzMoKcN3cAqL+A Z16FT1p+7www9ZhTZY9Mnum7Ch62ENPJ6yg0Z83uh5Self7y5FvZwwo5W5K+KiQqhZ 4Ig9lqNI2EYOA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28291CA5FFF; Tue, 6 Oct 2026 18:17:42 +0000 (UTC) From: Fil Dunsky via B4 Relay Date: Tue, 06 Oct 2026 21:17:44 +0300 Subject: [PATCH RFC v2 06/10] dt-bindings: serial: Add Cortina Systems CS7542 UART 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: 7bit Message-Id: <20261006-b4-cs75xx-v2-6-b7d6e1e24d44@gmail.com> References: <20261006-b4-cs75xx-v2-0-b7d6e1e24d44@gmail.com> In-Reply-To: <20261006-b4-cs75xx-v2-0-b7d6e1e24d44@gmail.com> To: Arnd Bergmann , Linus Walleij , Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Jiri Slaby , Russell King , Alexandre Belloni , Drew Fustini , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jason Li , Fil Dunsky X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1791310660; l=1890; i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id; bh=4Qnd5hU6nYpWLf8p72pf9zEqJE/ZzNEkSxcjdVAuD/0=; b=dNTePXr3aEYYYQiOieN/1qT5DbFot7ei5urziL0WHdrrCqPc/0PeLyYzNXNBEEjobAvPX+I6u lX2P1NT0poPAAPkbA84Bw5lj990bOxKcSF+5XfFsRA3sErKUpZA5/z6 X-Developer-Key: i=filipp.dunsky@gmail.com; a=ed25519; pk=JAYP8e2rJ54DHOmhNtXud8rl1igAaAXoOHxtJmVXI1g= X-Endpoint-Received: by B4 Relay for filipp.dunsky@gmail.com/20260930 with auth_id=1085 X-Original-From: Fil Dunsky Reply-To: filipp.dunsky@gmail.com From: Fil Dunsky Add the binding for the UART found in the Cortina Systems CS75xx (Goldengate G2) SoCs such as the CS7542. Signed-off-by: Fil Dunsky --- .../bindings/serial/cortina,cs7542-uart.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/cortina,cs7542-uart.yaml b/Documentation/devicetree/bindings/serial/cortina,cs7542-uart.yaml new file mode 100644 index 00000000000..2879a718802 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cortina,cs7542-uart.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/cortina,cs7542-uart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cortina UART + +maintainers: + - Fil Dunsky + +description: + The UART found in the Cortina Systems CS7542 (Goldengate G2) SoC. It has + transmit and receive FIFOs and a 24-bit baud rate divider running from the + peripheral (APB) clock. Other SoCs with the same block, the rest of the + CS75xx family and the Cortina Access parts, are to be added with their own + compatible string and "cortina,cs7542-uart" as the fallback. + +allOf: + - $ref: serial.yaml# + +properties: + compatible: + const: cortina,cs7542-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + + serial@f0070110 { + compatible = "cortina,cs7542-uart"; + reg = <0xf0070110 0x30>; + interrupts = ; + clocks = <&apb_clk>; + }; -- 2.53.0