From patchwork Thu May 4 03:37:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 89906 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp32095vqo; Wed, 3 May 2023 20:44:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cSg+ofuVWw9AnKngsTBg2xRauEfs0yObTcfS61EwewfAUTjdUt/Yu+GgkKunrjzBpGpAd X-Received: by 2002:a17:903:1212:b0:1a6:6b9d:5e0f with SMTP id l18-20020a170903121200b001a66b9d5e0fmr2426553plh.17.1683171848629; Wed, 03 May 2023 20:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683171848; cv=none; d=google.com; s=arc-20160816; b=q+ph+3OgP/F5Jm1uy+9fpr+4Vfg1/f71i0tVWLJpeLFBsv2pGk5Rbm/Vmjrfd1WwnN NbHIjtmCVEc+so1888MuMhbrNZHbWf7lcE0HmQMdmnO7zElkSGgyJPS6zp4WOQjn/SpC lIZhNQpqepMLScPNTKjSq6ANz5fywHsjuUSpq9jT9gpInb6VOUI4TMGh6wmsnWpZXu1G F0+WckPfgXklbjbP/gXSZzY8f4NE0k0K/9acMW9QqZB7u/UZx0PWlnGr5D40qt2z1ka9 JRHGiY8fLq3xslXzr9+wKU2ShW+qfh+mj/v5Lk1++YNzEDBnmDtHAFAVg0jB0wy7TcW+ Qqvw== 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=XOMxbTz4fpLXwuUngmOThYcAgOpGjxY+FaXEGr795Qq2RqBw9YWhVbkPwrla2isdhK 6VKx67pPKyFFnduK0R7H1cTMdZO2adMirOEpLkZq5nYTHphQVq4XHj5a80eQ/8xbgK73 +HcFJH3EyjncF2WUWKfFwAwMNQjHBmjb++XA2uUIOXEBG0NZWVRDQ75yB5I/dNs2xKPa egvRN0otQtS+JdCTlQPSj69hbihLsypwoEKmxxr1/gOdUmyDC7rVTzOLOPp+t4sb83f0 qpZYkjGaj3gdQ+LI6HccUyV7lOed07j0VnhtUuRrTYaxNN936tBvfp8473oXxhJ+ZD8y KSug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Grrc1XqN; 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 w1-20020a1709026f0100b001a64b603189si31713214plk.100.2023.05.03.20.43.54; Wed, 03 May 2023 20:44:08 -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=Grrc1XqN; 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 S229826AbjEDDin (ORCPT + 99 others); Wed, 3 May 2023 23:38:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbjEDDiR (ORCPT ); Wed, 3 May 2023 23:38:17 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79BB62723; Wed, 3 May 2023 20:37:55 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-51fdc1a1270so4013692a12.1; Wed, 03 May 2023 20:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683171475; x=1685763475; 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=Grrc1XqNC3E13StqI2G+xqtwWmaaDgEmSFONClXBX4nuoYn3AWwaKlqRt5dSeZdXuV 55OlGtOS7vsEiTeu/iRpFShenviUriC5C4p1Ov43kdR5KZ6Oz2foxUNbUamoJuBvvbZk nyKLPmG73luvizKHQb+GE82phvGoCfc7EzJUZ7RGwngbvgvhEAhJMhIAPW9fOM6PUSsD a4IZFxGESxXl+9mAJPNn4gK0TENzFUJJlxnZZdDu1+xp2p0sp7RrMylEsO9Ui9fkPIYk 3BZR64PjWJ27LuOK7ZOA4Cj/v6+eExzvC0MpZ308WVtOANKeuVGuMIpPe46yGfxpVxM7 sopA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683171475; x=1685763475; 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=KCEa+ZoLkeXZwNUp4TTJoklAZaYeoYGvpRkU9RDxTpErO2CKS+1TsgTjk9cb0UqA0B wzb16fqwYQT8DpOVQdfLDlIZrrLa+Zrk/oo+lqALapupunhj56RpfayQXrAs/xTKmnKf deLVoiQV+/HarscXs8HPM3zIkSfgffhOFAjpEYgd9oPKkdNp5pJD4ksIMBvbIL2pHDLK ln43Y25QvPpRIN05Vc0/YQZDC2PKtn3NfTA+0R+jnR3tp2yVUC5gMPLRS9UthA/ZbpQy C7LAv5cbIbn9o1tAld+n5qDA0JGTT+DCdNz7HhuHI4qFdkRoiQGrU+UZL/MDKyYMxE7q 1jNA== X-Gm-Message-State: AC+VfDyKnejZoe0wbx7iXZ0wl40Yi3fV79G6vcBAaFxk/AIJ06Mn3BFK Cw7iHAPxMIbqY0nCZMdCsRw= X-Received: by 2002:a17:902:8c8c:b0:1a6:ee5a:7208 with SMTP id t12-20020a1709028c8c00b001a6ee5a7208mr2015815plo.18.1683171473454; Wed, 03 May 2023 20:37:53 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id jj3-20020a170903048300b001ab849b46d3sm468761plb.178.2023.05.03.20.37.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 20:37:53 -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 v9 06/10] dt-bindings: serial: Document ma35d1 uart controller Date: Thu, 4 May 2023 03:37:22 +0000 Message-Id: <20230504033726.93-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230504033726.93-1-ychuang570808@gmail.com> References: <20230504033726.93-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?1764933604185645632?= X-GMAIL-MSGID: =?utf-8?q?1764933604185645632?= 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>; + }; +...