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: 13242745 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 06A6FC7EE26 for ; Tue, 16 May 2023 07:52:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id E0564C433D2; Tue, 16 May 2023 07:52:47 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 06563C4339B; Tue, 16 May 2023 07:52:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 06563C4339B Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1aaf21bb42bso97685725ad.2; 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=Zi4XwagkL+YxLslmVtliEu0gKc6i/XwauvGtSEo/nsHxVUDAZT7zMu4jxvlYnYqN4/ Ug4N3AhOtWOc5i/2jiRYpPAcrmc5RuLlaysGIo7jFflxkJArj8elBZUh5pClEDoce6rr nXUrlkLUx+kBJ7GxduU50nPLolT0sgN8Ihu7UB+UPyGcKj6v2YgeMsBWtmzPUwfW/0PA QjvQ4g+FVf32vsfTwjujfla1dkICik11QHK8GU4rkoIk3dZWduJ7g7qRR8PyHO47GkGi Re3Q1LqiT/Bd/QM9hPD51iRyDtmNaG/rQ2Rb3Bh96MJuZDxj7050dFLtJdp4xymeDIf+ U26Q== X-Gm-Message-State: AC+VfDz2UhGshoVvo9aWfDDcj4LL1VVnmXjNoRv5R+pTkVkuOHlPYL+w 1kjpQlij8X9grURnj2/zX2G2QfChK6keuw== 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 List-Id: 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 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>; + }; +...