From patchwork Tue May 30 07:42:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 100636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2007740vqr; Tue, 30 May 2023 00:57:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5T0aK/CwH8xi2Tgj/A0W9wZEvmq7HoUMlVoVsAqIvFSuhm5xyYr6ES6WV6MptMdNmbpTPA X-Received: by 2002:a05:6a20:938b:b0:10e:440:6d36 with SMTP id x11-20020a056a20938b00b0010e04406d36mr1809572pzh.1.1685433441628; Tue, 30 May 2023 00:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685433441; cv=none; d=google.com; s=arc-20160816; b=eq7/3orZUjO+e9uyedQZfGTqrmGQmOWVGJFrXTY6Oml1pBbaf8K9+hJ+qB7aCiNlFz Bhs4yRXVDHs6VD9GPXxefTrV7GNPrRzFKrXg6dYSFHKra1bgCAEgTcu7ZZR9WmcoNIVi zUgNYG8sEp1Td/H2slHBZqEmoRjrka8djRPlwTd6zuoqQ7uhe4lIPhHu4JFdW3pHVUBs dgsXnRHpMiiUT7nFS25RMdlp9uRqJEOwU6yoochK01KHo6i0xKw+9gmN7OqLwZzKsj8V LXSXT6okYwIeAH43pI2gANdVMphVTeUOG+5ZIjLX/m8JUbO/WOK3ifWXkIEChNTWwcm3 tnvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4lQgRTbL4lTQDPfHV5KDSXk3n/APm71Tse6u2f9wX4A=; b=zHTH8uzIclRNzlNsz87zJI5/5R/VUqp6U4BZkBTkHFHM4lfqGHo8PRdx7UjbUm2MI0 JJzH4bMnC9ODg7lpPbYuBngZgB45MUIOKkJSDKtvz9bSdRi17Vwxjo1gvjAs5mh08cN0 ah3dRQuvp3cS1SCrH+Nfz/YOd260fRJ5EiUiROSNMd2uO/c+Pkx5G4s4H3a4yvO3XkDh Tlkb58LKu9ySZ5uxEB96EZVRMkhv20I+Vv2SaeogT9jUO3QAuTiovhaRirqoos5TebMU cXS9EGe8200nsHzBCGHwsguaizmw34yQ8z8Vr+yKECMYU0uzbr4nscc8HazBQ+/7yaib mLYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qu30e1Rf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a63924a000000b0052c37cb5116si9038736pgn.435.2023.05.30.00.57.07; Tue, 30 May 2023 00:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qu30e1Rf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230000AbjE3HoN (ORCPT + 99 others); Tue, 30 May 2023 03:44:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbjE3HnZ (ORCPT ); Tue, 30 May 2023 03:43:25 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E58D4113; Tue, 30 May 2023 00:43:00 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1ae3fe67980so36867395ad.3; Tue, 30 May 2023 00:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685432570; x=1688024570; 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=4lQgRTbL4lTQDPfHV5KDSXk3n/APm71Tse6u2f9wX4A=; b=qu30e1RffjD/wFga4tBmkHlv+DLQlB9D2CDBz9VHEzWrqOP+fBQOobnTMHSD7fgSJC oDdl/2zaU5wAtZBBOIt1hqg3wvnp9UoFR9loMT6OSUfyNjl2aS3REvoqOCrKHLVOYQlj f9a3Jy6VAE0ZZSxtDYCoXw/URh/H0e/lXva3SD1xK149XJWUyKhUARO+vIYo8gIW1dFb 9z05wWUZE//k7gg9NgeMPwJ+Q3YVLeZrqf2NeWr2mAB7AT2942BpFTfvuFh3BIhUXTbI y1RjZaYc2NVT9HLqRrFJJxI9A0Qrsr0j9piQUGsNXuz8WcAFMVyN5WUdowunU27k09+q TfxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685432570; x=1688024570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4lQgRTbL4lTQDPfHV5KDSXk3n/APm71Tse6u2f9wX4A=; b=MpA1b7K1OjGQEq5PgfZDR1HuTRSU+x4nC+QvI40j5tEE+cP6pRzntCB5yCfJ2sGkA1 JMHfk65UpF4MGVNh9wH95IVKXp6wSCcBAQQPq3L/KD8lQK3MTyjhBQw7Mwo/LyHH0e0b aCjE/lvOIIVDyqtATpZJ4gBIonY18WJeKw7uSWiAdsoLSwyMFGYxlSauvxHCzyzxYe21 KnpFR4bu3KDlVb7I0p14aifbsBDIQtw4bx8XkUw2Wx5lgqliensQ4iAymx5s06DZD58U ff+hW0EKCJ9RpBACoYLd/7GXpHOComHqD6vuwAewKTz20i9Ad0nnYCJCSFleXVsA0S3x zLZg== X-Gm-Message-State: AC+VfDwX39t04ir7oFR+x+2X8YQmgQidCbxC0DL6GFIe5fCwd6MdGZwF g+klqNZWi3O0d5sj4NgjzcM= X-Received: by 2002:a17:902:758e:b0:1b0:25ab:a9eb with SMTP id j14-20020a170902758e00b001b025aba9ebmr1575580pll.8.1685432569846; Tue, 30 May 2023 00:42:49 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id a14-20020a170902ecce00b001afb96f4b90sm5930793plh.274.2023.05.30.00.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 00:42:49 -0700 (PDT) From: Jacky Huang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, jirislaby@kernel.org, tmaimon77@gmail.com, catalin.marinas@arm.com, will@kernel.org Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, arnd@arndb.de, soc@kernel.org, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang , Krzysztof Kozlowski Subject: [PATCH v12 06/10] dt-bindings: serial: Document ma35d1 uart controller Date: Tue, 30 May 2023 07:42:17 +0000 Message-Id: <20230530074221.1031011-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230530074221.1031011-1-ychuang570808@gmail.com> References: <20230530074221.1031011-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767305056332418370?= X-GMAIL-MSGID: =?utf-8?q?1767305056332418370?= From: Jacky Huang Add documentation that describes the nuvoton ma35d1 UART driver bindings. Signed-off-by: Jacky Huang Reviewed-by: Krzysztof Kozlowski --- .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml diff --git a/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml b/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml new file mode 100644 index 000000000000..a76af0f6009b --- /dev/null +++ b/Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART) + +maintainers: + - Min-Jen Chen + - Jacky Huang + +allOf: + - $ref: serial.yaml + +properties: + compatible: + const: nuvoton,ma35d1-uart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + + serial@40700000 { + compatible = "nuvoton,ma35d1-uart"; + reg = <0x40700000 0x100>; + interrupts = ; + clocks = <&clk UART0_GATE>; + }; +...