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: 13242733 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 98ED8C77B75 for ; Tue, 16 May 2023 07:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A/Djwsjs0u9/Xxa/8bc/T7GIIrAbYp7elnJXUomkLYE=; b=Yr/6KzNjWnfFik zlR+zxXcgXULkG/1ncdr6y8P7IUCCzLxoQQnsGu1gMDtN2PFARoQnlkMgxD6VOuVWbM6k+Q3VbOK6 y358057cs7Ra1823B/7+aCw1CkARuynI+MJWIUdcWyfyn1zeoOhdcLu/5SEvZ7NVv1xkR+V5lQC+7 A9b5yHDGENyyHoOaTO2jaOuhgMhpMsNbB7fQQsz23VSCa8R0LL5NV1oeCqAilheoO8I3kuu385N27 QhEzTQl8NkHAAm1WlrE6gZ0lpDxVkIW39DTM+6NxVD5ENnJQg5didqp0P0ku6JlKvoq/3V09ovmxc IyMe6/NU/Jkd3DZmEdCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pypUO-004j6e-0J; Tue, 16 May 2023 07:52:56 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pypUE-004j1g-2M for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 07:52:48 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1aaf21bb42bso97685665ad.2 for ; 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=A1Xc5vs4nG5fSUfExVxqL8z4d9Hz/4SKwqMoh7YJJlsNtfENNZVzhJajtzyiY/pH7k fpOE2GW1zaWe3xJjNvqZk2pWp4+T2hFPxmuDbYQuLhMEx9YYNSza5wxItY5mpt0xGaE2 GX+sZtNXkDpGxKNIJSwHtdd12fLl8GUhf8RhcdUWBHnK2nNef2ja2NbECucGkCvDPIjp rfILUvOS2GWS9AKkgkF+5Ujj+PS1nKDz8xH75iJ/SNYmM0dVJ2BTOQRw4D6cJJY6TCSV UT9vOunj3lnA3N4ewB2hg2KWjtYykteDYBVy2vXOX/8cvNsBBx9s1lnNAy3o98ZDso1R 9olQ== X-Gm-Message-State: AC+VfDzyRfX/XWFZqGqTpzfnxPiFFP2q1KKVrV/6hM94AGnn+Dc352Sh rflO4c/6tGcatdLudPpf3GM= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_005246_769175_1BDF2CD3 X-CRM114-Status: GOOD ( 12.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>; + }; +...