From patchwork Mon Jun 5 04:07:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 103068 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2442412vqr; Sun, 4 Jun 2023 21:10:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6x71G7VPAcR8+Mggdos0eIPKeKMb5qVRZIqMVZuE4YlFDrR0E9ItcGZ/BmJmJIbUY89tVj X-Received: by 2002:a17:902:f54d:b0:1af:981b:eeff with SMTP id h13-20020a170902f54d00b001af981beeffmr7399080plf.64.1685938230084; Sun, 04 Jun 2023 21:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685938230; cv=none; d=google.com; s=arc-20160816; b=mc/tB4UhqeSTorWSZ6HPZ8ywK8/HA0JX/bx2OzC+hNTdksrHCrPySHq+x07QM4pcnY PEnXFsmJuJAtm3Z4VEvFCqXtlCir8kg32mChTGgssTjhL7MIGMbZMSxLEvA89qQKS6eZ lPj9F3V5jiSuxpccjpDNp2Tl36JHWx/1/ICuVkLYslpozg3Hehl8f3nXHBrzLGuWB8mU 9SHRmfUyktGL64KH4ltd1ccON1Bd+0X0VAUOBw4W3sEgl9Lc9uBuvzyRMd+WYlpqy2Xo bO6hPI3LzqQd/WH7ugaBHm2zZVsE3nrT1lPMJFt0YHc5TbTzgL5gYOUw8o7082MDrS1A LVoA== 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=SfqSg5Hj40h3KmZidnj5CKw/h+FvJ21zZaoVDbpB1+bovSMhuBZEVkVMHju8H5PZEP DUepnUVUh3b7NMrm7/tT0QWcx7Svr6SAIpJpoCn71K54pO4TuajfjxgpGr117AAdT5V1 tGEghGN/R6YN0arI8dsFSVo9Gi9GEmtUD8teSWtCr3jJdOVq3UN9MOOVVMIcosEmL96/ x7JXYaymAIIyI4yxhR77fBzEU5J5B2Lnu2wJY3G3yZdhXXy1So4lzT7aaH0yz8GZdFQ5 SPDarYBEONvcJFS0gXPbJmIeBuamDBAjDxqj8ngB2RG1JuxvCsLUMPYEkk35W21sxy9p 5bcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="dePX/Fs6"; 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 13-20020a170902c10d00b001ab1b0c5b21si4684281pli.5.2023.06.04.21.10.17; Sun, 04 Jun 2023 21:10:30 -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="dePX/Fs6"; 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 S232976AbjFEEJO (ORCPT + 99 others); Mon, 5 Jun 2023 00:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232516AbjFEEI3 (ORCPT ); Mon, 5 Jun 2023 00:08:29 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31BBFE40; Sun, 4 Jun 2023 21:08:18 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1b04949e5baso37958865ad.0; Sun, 04 Jun 2023 21:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685938097; x=1688530097; 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=dePX/Fs6SmVQCdiOmkjLuhimVD6fEzVIh30IzYMPDTNhFZltF/qwW07BJaDWAPdqM0 B0yNrWY8TYKqUGoX0y2knTRPi3ophb5kyhxD575VrT8MJl1BhnVasITzUz/hsCUkuJVs w/wszy099EjstL7tm3lsaTx8Cgd3AAMaHhr0EUXHuvxadCdTty0t/tOnj+EU1upN4BPd cBGxr4uvGqmydhWMxar43LczeQ5PpFYXjlAnWOvX0nrjTLYqOnkWFiEFutl265WR6nb7 CCcAFICJIWtF0ky8JZpaWvqOBBEwZ5OE/OOvQnDKvtu5LoCXqT+fKkUGwEE4n7jmq59W oeZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685938097; x=1688530097; 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=XYGjsv+GH+WAxwNLFH+T8UT3q6ULfa+yaIOizpVqyUTBw8IQL6WnbaA33CXCBB9mq0 QaMpicAxNq2Vb3GIW2LhgBWkaCUCHbxJHWyQfEoeT8zK+1tAvq5M0fKsa7mNKpLt7bMP FQ6GK03bYfqkKxhv5h0u5eoi+QKYC/FM5HSUd7xgYUNnj6YrgFb3+7dwLDCpJ/Wadg8n WIPw5+93HrNTL7Fih4tsAnYLskYkBxbvy+E5cqVB9S9oRXsf/IZaMNytk/RfoVFqvSO5 0IJ5QZdUz6leDaXrqVlVdgpwnZt8s4hAuMwp1cfRL+XqfSnA5Zhiz3hE+PfJUJ7VZJwm eMIw== X-Gm-Message-State: AC+VfDzOh4B195FgiL+ksJTNJT+lPAkGYk9l8jaKbs/uKlnlOzmN3vTo adTL3NUQCVJp1v/ihInJg00= X-Received: by 2002:a17:903:32c6:b0:1ad:cba5:5505 with SMTP id i6-20020a17090332c600b001adcba55505mr7308298plr.14.1685938097524; Sun, 04 Jun 2023 21:08:17 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id b4-20020a170903228400b001b21bcea439sm206164plh.170.2023.06.04.21.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 21:08:17 -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 v13 06/10] dt-bindings: serial: Document ma35d1 uart controller Date: Mon, 5 Jun 2023 04:07:45 +0000 Message-Id: <20230605040749.67964-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230605040749.67964-1-ychuang570808@gmail.com> References: <20230605040749.67964-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 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?1767834365352093831?= X-GMAIL-MSGID: =?utf-8?q?1767834365352093831?= 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>; + }; +...