Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp474886rwl; Tue, 11 Apr 2023 22:40:16 -0700 (PDT) X-Google-Smtp-Source: AKy350aaQfD5I9CWcmDvgJUlp5B87FrJXXXqqL55l8J64JN0U5YDyZRX//6+v1L3qqpwdi0eHfQK X-Received: by 2002:a05:6a00:d68:b0:594:1f1c:3d3b with SMTP id n40-20020a056a000d6800b005941f1c3d3bmr1495795pfv.16.1681278016070; Tue, 11 Apr 2023 22:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681278016; cv=none; d=google.com; s=arc-20160816; b=bWx3DlQT980u+Gl/XMnNgTfINM0zMUSyf5dv6E7IrT+OL0iX34NU3HQo7+56UT8ji6 7KiX9MUp6l9a66QboE3sf3OZZLf0UBpREbxfyzDZAm1dVNycyUBzcEj+O0BOqLTUq4sF aWFgSA2iNLu37PPx8AwVxoV6EAYW0EKtrxsWF1IcrHhqbWihzcxOpbjN/g7tijvXVT4/ 4UZbpKWifY1EbxhQrRXTGu9xH7frgE80N9H6QuoTSUdrtpBPia9jOEEU7L1wp1uz6iIh FIxUpcEUWhquJrIjoW410YFBm+6GeJgZGRr/5Rq8jkvyg11xlj+KPVe6NvbAUWFaSYFS yeTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4lQgRTbL4lTQDPfHV5KDSXk3n/APm71Tse6u2f9wX4A=; b=ehDBcHzFqMwz7Tar0gPQD8Wg2tvAHe1DXVRg5EfaokBq1ThcBISvADKSzNyLhf+dCC 54zIJ4slS17fb9LQppSxstlonZ34qYpjUkdauvxqckHhfZWODeh24W7tLcapEqJLTDAY AyjlN63QQ1ZR6x/f0GITwZGb3o8syw4WFRWrBknuaoJJD6FYqLDJXXVl9RSLUpYM5Qoh IPUNcoQglzlCVmaTGZsDuo+UupJAuOO78w6L2gC2V7nZ6CotFB5dD2N17BLy4O4j0Vxk pg8SUlNCmzaeO1ZTJRkp7OYAl2KY8vHQbm6/SkrLbPyTblD+Lok1JoVTIPuFpg7XHrby nRuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kkyF7lQh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020aa79601000000b00625791bd85bsi15213619pfg.155.2023.04.11.22.40.03; Tue, 11 Apr 2023 22:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kkyF7lQh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229585AbjDLFjY (ORCPT + 99 others); Wed, 12 Apr 2023 01:39:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbjDLFjI (ORCPT ); Wed, 12 Apr 2023 01:39:08 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0874F49FC; Tue, 11 Apr 2023 22:38:53 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id n14so35369989plc.8; Tue, 11 Apr 2023 22:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681277932; x=1683869932; 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=kkyF7lQhGXqCzBFIwWI46UYDNy451LBl7qMW7Lt7k+d0KNdajPbHtJJbf4r5ag4SI+ mKkrkijN3gqxXT48bTjxkNdM5tR5iAvKgWltspzt/NlpIAyBtKdWxoUK7A34C0EflAYY 6vfceOF0v1xeu8lP1loItRqO4QpzMobbD4Or3lfuC1MrVvVsfgKKi1jXdsgFCmrc+MjA 3/+JCuRg5XUAcuRT8FRBqSDxGXFcAP6+AmpftJI1uwMhtD8QlQVSW4FXqV6svIFuhg2R PaN2QgmS9pBmxOlpdlwondgXl3A7NqgjekZIm9rA1xx5kAIqdPVtGs0pY3+s7lzY3BQz tQJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681277932; x=1683869932; 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=S2jIvxZRG+Gvl5Pwm1kvImcpSXrzbDZ85NKv/knbWIVlrL70AOAFdW18HXo4oGsXEp AgHK3mnFmJ7HUzGnh27hPUeT60OQ/5vI5z2R025wJjV2zdO8QpxTzcdsSPuOCKmlHBuP oxVsn+r5aIJl5f3XRy3dxDW+koex0N+35LZ1d/tzgYE6/JABkdCDu0fSNuom36h19urU h5SqEgYlXlh6CJ2DuI5stssGotR72ReRk6SpS/dqcVEaZ6CrCCXxzaIRPtsdPppEyO23 pf7PMonWEhRq8ybWjYnMePf2Knv33ep82wfXYCyZlOz5DrPP2+gT2ta+X4tLwt17u2wf 29uw== X-Gm-Message-State: AAQBX9frTd6QWk/SGDeIQFMwuNcJMmbImvz+S5Si06REzFZsFWBiY83I 0lvZrAlXlWt28ZN17fmbneg= X-Received: by 2002:a17:902:ec8c:b0:1a6:6bd4:cd8c with SMTP id x12-20020a170902ec8c00b001a66bd4cd8cmr1554701plg.25.1681277932407; Tue, 11 Apr 2023 22:38:52 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id ix10-20020a170902f80a00b001a64c4023aesm619640plb.36.2023.04.11.22.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 22:38:52 -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 Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, arnd@arndb.de, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang , Krzysztof Kozlowski Subject: [PATCH v7 07/12] dt-bindings: serial: Document ma35d1 uart controller Date: Wed, 12 Apr 2023 05:38:19 +0000 Message-Id: <20230412053824.106-8-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230412053824.106-1-ychuang570808@gmail.com> References: <20230412053824.106-1-ychuang570808@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>; + }; +... -- 2.34.1