Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4141774rwd; Tue, 30 May 2023 00:45:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YbSMQroO7mARploMKptYJx5kALSAp/2vQ+6hNLsl5DgxYTC/QaJ7VbC3lmWtJIOnoLr4x X-Received: by 2002:a17:902:7489:b0:1b0:1036:608c with SMTP id h9-20020a170902748900b001b01036608cmr1577376pll.25.1685432717349; Tue, 30 May 2023 00:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685432717; cv=none; d=google.com; s=arc-20160816; b=t9NmV8RX4c02gaIpjkXB6CujRQ6hFNGdqo/5SHGzeOSXsTkkmBMNAc2rE6mGv05P8Y LeUEJwHvkKc+nQso1LAEurRf++AmfwShYRovEoP87eSpgKXR/07L6yzRxXpuLUhWeowe jkSZm/x0m7N6VRrFoFp67RaoMa+wib5czPUBYAKq9ncicQzxnzWswfd0YFHgRNcpnQzb OawCVqZhsUHuRahZBNm7UG6VtF9lA0z5S0wk2NkSaOmWyFpAJM3UvI25QgPnVJ3kfLur HdDLKoNuJpT/XYkos22UgAEALK9KXVMXKlVwA4gHQ46CaKjAQMpY/z0Z7NEuF9dql8EH +O5A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a170902768500b001ac6d4e1d72si10494160pll.149.2023.05.30.00.45.02; Tue, 30 May 2023 00:45:17 -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 S229888AbjE3HoN (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 Content-Transfer-Encoding: 8bit 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 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>; + }; +... -- 2.34.1