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: 13234028 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 2244BC7EE2C for ; Mon, 8 May 2023 04:01:01 +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=C2gAsdHhIw0Fjy qkUZiOCUxyHAYzuQTzBSJByU9rRelAPELswZpEpg0zbzMgaXJFX7VwfUkFj4me9lhrbMw3Ll9hTy+ Le3FNXMhnxf2j/JxTAHp7rTUvHkzpHS+cqvO7fmczngPtIf+Iohf42Xh9iRFusoaDi7Ge56ES2dw1 R0X+cOyq6iQTgrGxuiO8K9aYI1X1MWxcf3NJ5+kS8Y0dDqmemXdxG0p4Q0WKZ5+mvzS4a4UAhxBGR 3mceHocjCjJL+XblVoCHTtObrNHe0F47CZ4l9OR/jVFTJyU7I4QHBMKwChrz4tcEHOaRj3lyYXos5 YYQ63rbUMzdGGzWMWyWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pvs2r-00HAav-15; Mon, 08 May 2023 04:00:17 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pvr6c-00H4ic-1l for linux-arm-kernel@lists.infradead.org; Mon, 08 May 2023 03:00:07 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-5191796a483so2718450a12.0 for ; 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=fGwFuQInOnFc/D6Fx2rgnaR2BX4LFuOKnIR3vvotzVlWRQ7rJazEbVABiB5xUEgD1s U8Q40SUvO10cx0SU+4ymARKDwbiYTf805jpJ1RFPaOqHyKsEe/12GExUp7ynxOAFdMG3 NrxYn7v0TdGBOUlzWJZRxICx6q/260f4ZMufUP+fVSNGYyUnoJPcVxwsFtYhzQiP9taA MXOxLMlZoGkor5sE8UJB9/InoOS4mRTrOTUONcLA/0it76eeShW6hcdr9TeqTQhPrd9M NiY37c41IhFBgcjg8mEtnpo4aPYxpmp1UJGLKtG2BNEWGr5jsjqFgO+u532Ug+9ovEDf ISww== X-Gm-Message-State: AC+VfDzneT4DYT1QXy4aW1u5H00KDPrYm2N5a1KPg5KMHkmnZ3DjyFQs lXzAAIybunkyEDOg6YacMWo= X-Google-Smtp-Source: ACHHUZ4Jmy3UND8GoBdkjqs7iJzPX0WYBOtoFndOhmbPr55BU4gUNTAWWdUHFBTgzKCbKyn8/EWOxA== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230507_200006_584496_0BF74103 X-CRM114-Status: GOOD ( 12.70 ) 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>; + }; +...