From patchwork Mon May 8 02:59:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 90921 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1878454vqo; Sun, 7 May 2023 20:01:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GtVgdnVPKvIA4wrwBvDsQJDT+5rlad1oy6CCxyn77OBPNxKn8DMInTJLNHVF3joyIIQVj X-Received: by 2002:a17:902:ecc8:b0:1ac:7245:ba5a with SMTP id a8-20020a170902ecc800b001ac7245ba5amr3191237plh.61.1683514911773; Sun, 07 May 2023 20:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683514911; cv=none; d=google.com; s=arc-20160816; b=NuV2tcU/DDaquNlscyGDRg9LQ/js3BQ85g9uQQlNaD6upsat7e4YC8XS0tSrm+7Cg5 2IpASDr/qwxacySRnKRYvGgJe5fS9mFhDN0+JkF3UQSwVNKFJLvxR+I4xciDG7yBTsNu gYNBpq2xdqrNiHMYuFXNWEGKEYVIzR7njF/KUlExSyp02Gf7pAmfvvVsDLKFvElv3leV OcfRaVac1O2rMaU68J6y0WtOw/dnFn0T4kLlzgSS3Vgk/7i2BpF4Sh5dU2i2GO2drE2n mS6XmNERne1P8BcVTi6aQG5MajIvCFyJWQs0dWGd9Ev55Sl9Z2ILW/O6+lvScAANxdQR YiTw== 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=zDrMB+a3odpy4+JPAa5W3SDXtG/zw1cJsnPDwA7wrmA5Wdq4gakKJkOLfCq2dg6V1t Ceq1x/tFxR9UTqaqY4QFY1/U8P2gMSo5f/ukT79AGwL8tMucwTW35kOr6KQAkbjv5qFz As8AtOWg0nWbRyAWW9Y2jZs5RZ6b+1zhYcrkL5D6CCd3q/OZaoJnNkYQ4S2w1jG5OClX 6KBRuceOIzu7os7cDp5Y12Z1IfZFRabNtAttWHspODvK1HMy2+HDoAm2y1J0PrcF1VMk PQeCr6zZsb0SSpXMAW6T8Xl1Zzazc4+7ogoJooedw/A6lDr4bRyDRw6vFZhiUe1U2PFG Q+7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aCR8GUSs; 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 x20-20020a170902b41400b0019ca1961bc1si396932plr.108.2023.05.07.20.01.34; Sun, 07 May 2023 20:01:51 -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=aCR8GUSs; 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 S232554AbjEHDAy (ORCPT + 99 others); Sun, 7 May 2023 23:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232026AbjEHDAU (ORCPT ); Sun, 7 May 2023 23:00:20 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB96150D0; Sun, 7 May 2023 20:00:05 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-64384274895so2775063b3a.2; Sun, 07 May 2023 20:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683514805; x=1686106805; 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=aCR8GUSsXByUpHiRa3dL9AIHKvB54VBNxXwWDm/A6XsS/ZKlaumG+Uh6o1AfvQlAIq j0Umd6yLRM1R2/WdLlw2yQXNEeV5DMLcrugp9liXKm92BISeRoUjw/mpg3io+H97mtO9 klHyVdFZmX+HZDIOLI9G4DSKqaZbNIOCGhhTxO/T7soTsplvBi+4OBZiHcLzBINagRbn asV4cLa+OxstT4mtbZe2PvG8v9rRc43x2BNI3CqUjDeWlUheZQiaJFULAT2xDFcnSs9f iEb6BTGm6xAaEIO/vBTSxuS5PTVCmNFo6UxV+5X8ZDJPDOHrOICwh0DKTgG2yRVFGZK5 RMHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683514805; x=1686106805; 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=FAYLIU3l+F+7HaQrof3onEHKlLpuk1VJGdbP/Uq4+HQcW2QwmkTSRPDSRTAeCTXsxa Fd+BlNRLPQu2m5EwJLtynPwojqnIys+QuE9kg+MwK2Q3ufdn4QSmtsSWKWwzrEjaLPAE QBUZ7FycamYj/zujK2yIAi+fA+rVNlKqOOSN4qF1zNKQHatXX2DCzBEgFnDwKA7/q8cL EqapwxerPkiBehOxsMsyafpsU81i+Dz4J9c8W4XJH8XJyJgqg5LTgmJvw8jIlMDAobKD OdiYUqfQqwLZ/I8Hp2ddek5RTd+hJtjeU0uAEhGosDH9cdyn598K6KnbTJv0ulHgZzCS JRmw== X-Gm-Message-State: AC+VfDwqrEZ6DBU2QchVIrmE+0ZWcjCBiojXpD2/fUdyJndibCedWzw3 4gJ8vxIADlotCc+Oo//seU4= X-Received: by 2002:a05:6a21:9015:b0:e7:56ad:5a40 with SMTP id tq21-20020a056a21901500b000e756ad5a40mr8852418pzb.36.1683514804726; Sun, 07 May 2023 20:00:04 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id y3-20020aa78543000000b0064559b58eb8sm1525422pfn.154.2023.05.07.20.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 20:00:04 -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, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang , Krzysztof Kozlowski Subject: [PATCH v10 06/10] dt-bindings: serial: Document ma35d1 uart controller Date: Mon, 8 May 2023 02:59:32 +0000 Message-Id: <20230508025936.36776-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230508025936.36776-1-ychuang570808@gmail.com> References: <20230508025936.36776-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?1765293332522606925?= X-GMAIL-MSGID: =?utf-8?q?1765293332522606925?= 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>; + }; +...