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: 679716 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF2EFC77B78 for ; Thu, 4 May 2023 03:38:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbjEDDik (ORCPT ); Wed, 3 May 2023 23:38:40 -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-Google-Smtp-Source: ACHHUZ6COHl72KDAROVCZxOicfsYbV8ou1mkqGDsk5jXmrwpo4VLTEou+xN8saYn4Sm0g+KQ8L5JGA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-serial@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>; + }; +...