From patchwork Tue May 16 07:52:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 682875 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 06803C77B7F for ; Tue, 16 May 2023 07:53:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231631AbjEPHx3 (ORCPT ); Tue, 16 May 2023 03:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbjEPHxK (ORCPT ); Tue, 16 May 2023 03:53:10 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EEFF5275; Tue, 16 May 2023 00:52:46 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1ae2c8734fcso8706395ad.0; Tue, 16 May 2023 00:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684223566; x=1686815566; 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=scQE76mhN1YTIawMC92vne9HC156dyh+caaNRi/qgluW9GbO2GLhI5QYQb9dm5YvuV +KbfKv3xlpdFf9adSIReosbxQhILpJ+sqWmWXdeS7f8SC6yXdrNu2KKFM4QdD2ZJDxy3 6hvK8+ALL/yOTU7/jVZLoL/Dk78P6fd8xK3Jz5GEEsL9Zih0+/cWqLe1x+w6B0WSFb+0 cDu4OOe5BL2swe/YIjdySCyXLWebj/o8syi8IMeRDyfZ9Bp0Ag17kJfo57zgprTeFV7f jQ7wsS1Ch/McQVVgSKYgsIocOMuEHo2zf4JHi4DHerAlgfLei0YTbdX/sVllDXdil0SU sk2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684223566; x=1686815566; 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=AwwqZpTSXh/AxyJGdfzobjr6xSq+KrKl0jQcMvDmm4sfBfvjyJRbtzBglEysYJbRQP 5NlVoy4tD9kJD8vql3yCDzsoztfoS4XxltR6pDrVH6DLAww4lUlFbHCHvTdtITFRw3Sn Qozz2QraVwch7LypQOOuuY0qTR6DYL0dEd9QZ3zqDafYjmnWe4eKmOHVFxzDGh5+Y9hv ivHdQnJ5XygS78K0aUO+rVCMGYNSkFYeGmthSQhCFQA8ASxBPMp6jIk8iEai3McQP45k LWakL+g7d5xoiaocgpFy6/YtVlGoYfaxarsADboYVmCW1jRhfMfT8X9+8JRC54T0701z mxCQ== X-Gm-Message-State: AC+VfDwiAm1HExLzCgRuhmznp2NnJuNhR3FZ4J5jtv3LeBVrXjKjwHbd MAQq6kWAsYd+rOCBaVdviyI= X-Google-Smtp-Source: ACHHUZ6LbENF294iaWv6qo9F0QQy5JFyNiBJSwVHCC3eOyS5vQFatTRGAhTmSb3PLCY6k+5TobCH2Q== X-Received: by 2002:a17:902:cec8:b0:1ac:5c53:2c1b with SMTP id d8-20020a170902cec800b001ac5c532c1bmr37030630plg.66.1684223566199; Tue, 16 May 2023 00:52:46 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id n18-20020a170903111200b001ab061e352bsm4793043plh.195.2023.05.16.00.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 00:52:45 -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 v11 06/10] dt-bindings: serial: Document ma35d1 uart controller Date: Tue, 16 May 2023 07:52:13 +0000 Message-Id: <20230516075217.205401-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230516075217.205401-1-ychuang570808@gmail.com> References: <20230516075217.205401-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>; + }; +...