Message ID | 20230508025936.36776-7-ychuang570808@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1878454vqo; Sun, 7 May 2023 20:01:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GtVgdnVPKvIA4wrwBvDsQJDT+5rlad1oy6CCxyn77OBPNxKn8DMInTJLNHVF3joyIIQVj X-Received: by 2002:a17:902:ecc8:b0:1ac:7245:ba5a with SMTP id a8-20020a170902ecc800b001ac7245ba5amr3191237plh.61.1683514911773; Sun, 07 May 2023 20:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683514911; cv=none; d=google.com; s=arc-20160816; b=NuV2tcU/DDaquNlscyGDRg9LQ/js3BQ85g9uQQlNaD6upsat7e4YC8XS0tSrm+7Cg5 2IpASDr/qwxacySRnKRYvGgJe5fS9mFhDN0+JkF3UQSwVNKFJLvxR+I4xciDG7yBTsNu gYNBpq2xdqrNiHMYuFXNWEGKEYVIzR7njF/KUlExSyp02Gf7pAmfvvVsDLKFvElv3leV OcfRaVac1O2rMaU68J6y0WtOw/dnFn0T4kLlzgSS3Vgk/7i2BpF4Sh5dU2i2GO2drE2n mS6XmNERne1P8BcVTi6aQG5MajIvCFyJWQs0dWGd9Ev55Sl9Z2ILW/O6+lvScAANxdQR YiTw== 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=zDrMB+a3odpy4+JPAa5W3SDXtG/zw1cJsnPDwA7wrmA5Wdq4gakKJkOLfCq2dg6V1t Ceq1x/tFxR9UTqaqY4QFY1/U8P2gMSo5f/ukT79AGwL8tMucwTW35kOr6KQAkbjv5qFz As8AtOWg0nWbRyAWW9Y2jZs5RZ6b+1zhYcrkL5D6CCd3q/OZaoJnNkYQ4S2w1jG5OClX 6KBRuceOIzu7os7cDp5Y12Z1IfZFRabNtAttWHspODvK1HMy2+HDoAm2y1J0PrcF1VMk PQeCr6zZsb0SSpXMAW6T8Xl1Zzazc4+7ogoJooedw/A6lDr4bRyDRw6vFZhiUe1U2PFG Q+7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=aCR8GUSs; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x20-20020a170902b41400b0019ca1961bc1si396932plr.108.2023.05.07.20.01.34; Sun, 07 May 2023 20:01:51 -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=aCR8GUSs; 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 S232554AbjEHDAy (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Sun, 7 May 2023 23:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232026AbjEHDAU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 7 May 2023 23:00:20 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB96150D0; Sun, 7 May 2023 20:00:05 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-64384274895so2775063b3a.2; 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=FAYLIU3l+F+7HaQrof3onEHKlLpuk1VJGdbP/Uq4+HQcW2QwmkTSRPDSRTAeCTXsxa Fd+BlNRLPQu2m5EwJLtynPwojqnIys+QuE9kg+MwK2Q3ufdn4QSmtsSWKWwzrEjaLPAE QBUZ7FycamYj/zujK2yIAi+fA+rVNlKqOOSN4qF1zNKQHatXX2DCzBEgFnDwKA7/q8cL EqapwxerPkiBehOxsMsyafpsU81i+Dz4J9c8W4XJH8XJyJgqg5LTgmJvw8jIlMDAobKD OdiYUqfQqwLZ/I8Hp2ddek5RTd+hJtjeU0uAEhGosDH9cdyn598K6KnbTJv0ulHgZzCS JRmw== X-Gm-Message-State: AC+VfDwqrEZ6DBU2QchVIrmE+0ZWcjCBiojXpD2/fUdyJndibCedWzw3 4gJ8vxIADlotCc+Oo//seU4= 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 <ychuang570808@gmail.com> 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 <ychuang3@nuvoton.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 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, T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765293332522606925?= X-GMAIL-MSGID: =?utf-8?q?1765293332522606925?= |
Series |
Introduce Nuvoton ma35d1 SoC
|
|
Commit Message
Jacky Huang
May 8, 2023, 2:59 a.m. UTC
From: Jacky Huang <ychuang3@nuvoton.com> Add documentation that describes the nuvoton ma35d1 UART driver bindings. Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml
Comments
On Mon, 08 May 2023 02:59:32 +0000, Jacky Huang wrote: > From: Jacky Huang <ychuang3@nuvoton.com> > > Add documentation that describes the nuvoton ma35d1 UART driver bindings. > > Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.example.dtb: camera-sensor@3c: port:endpoint:data-lanes: [[1]] is too short From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dts:25:18: fatal error: dt-bindings/clock/nuvoton,ma35d1-clk.h: No such file or directory 25 | #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dtb] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1512: dt_binding_check] Error 2 doc reference errors (make refcheckdocs): Documentation/usb/gadget_uvc.rst: Documentation/userspace-api/media/v4l/pixfmt-packed.yuv.rst MAINTAINERS: Documentation/devicetree/bindings/pwm/pwm-apple.yaml See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230508025936.36776-7-ychuang570808@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On 08/05/2023 05:26, Rob Herring wrote: > > On Mon, 08 May 2023 02:59:32 +0000, Jacky Huang wrote: >> From: Jacky Huang <ychuang3@nuvoton.com> >> >> Add documentation that describes the nuvoton ma35d1 UART driver bindings. >> >> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> --- >> .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ >> 1 file changed, 48 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml >> > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.example.dtb: camera-sensor@3c: port:endpoint:data-lanes: [[1]] is too short > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml > Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dts:25:18: fatal error: dt-bindings/clock/nuvoton,ma35d1-clk.h: No such file or directory > 25 | #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[1]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dtb] Error 1 This however is related, although might be coming from earlier failure. I assume you run the check and you do not see any errors? Best regards, Krzysztof
On 2023/5/8 下午 02:31, Krzysztof Kozlowski wrote: > On 08/05/2023 05:26, Rob Herring wrote: >> On Mon, 08 May 2023 02:59:32 +0000, Jacky Huang wrote: >>> From: Jacky Huang <ychuang3@nuvoton.com> >>> >>> Add documentation that describes the nuvoton ma35d1 UART driver bindings. >>> >>> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> --- >>> .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ >>> 1 file changed, 48 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml >>> >> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >> on your patch (DT_CHECKER_FLAGS is new in v5.13): >> >> yamllint warnings/errors: >> >> dtschema/dtc warnings/errors: >> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.example.dtb: camera-sensor@3c: port:endpoint:data-lanes: [[1]] is too short >> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short >> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) >> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml >> Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dts:25:18: fatal error: dt-bindings/clock/nuvoton,ma35d1-clk.h: No such file or directory >> 25 | #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> compilation terminated. >> make[1]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dtb] Error 1 > This however is related, although might be coming from earlier failure. > I assume you run the check and you do not see any errors? > > Best regards, > Krzysztof > Dear Krzysztof, Thank you for your review. Of course I have run the check. I did not see any errors, because I have "dt-bindings/clock/nuvoton,ma35d1-clk.h". This patch 6/10 depends on path 3/10 which include "dt-bindings/clock/nuvoton,ma35d1-clk.h". Should I combine this patch 6/10 into patch 3/10? Best Regards, Jacky Huang
On 08/05/2023 09:01, Jacky Huang wrote: > > > On 2023/5/8 下午 02:31, Krzysztof Kozlowski wrote: >> On 08/05/2023 05:26, Rob Herring wrote: >>> On Mon, 08 May 2023 02:59:32 +0000, Jacky Huang wrote: >>>> From: Jacky Huang <ychuang3@nuvoton.com> >>>> >>>> Add documentation that describes the nuvoton ma35d1 UART driver bindings. >>>> >>>> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>> --- >>>> .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ >>>> 1 file changed, 48 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml >>>> >>> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >>> on your patch (DT_CHECKER_FLAGS is new in v5.13): >>> >>> yamllint warnings/errors: >>> >>> dtschema/dtc warnings/errors: >>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.example.dtb: camera-sensor@3c: port:endpoint:data-lanes: [[1]] is too short >>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short >>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) >>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml >>> Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dts:25:18: fatal error: dt-bindings/clock/nuvoton,ma35d1-clk.h: No such file or directory >>> 25 | #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> compilation terminated. >>> make[1]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dtb] Error 1 >> This however is related, although might be coming from earlier failure. >> I assume you run the check and you do not see any errors? >> >> Best regards, >> Krzysztof >> > > Dear Krzysztof, > > Thank you for your review. > > Of course I have run the check. > I did not see any errors, because I have > "dt-bindings/clock/nuvoton,ma35d1-clk.h". > This patch 6/10 depends on path 3/10 which include > "dt-bindings/clock/nuvoton,ma35d1-clk.h". > Should I combine this patch 6/10 into patch 3/10? No, it's fine. If you got the reviews and acks and no reports from kernel test robot, you can go in few days with Arnd's request and send everything to soc@. Best regards, Krzysztof
On 2023/5/8 下午 04:05, Krzysztof Kozlowski wrote: > On 08/05/2023 09:01, Jacky Huang wrote: >> >> On 2023/5/8 下午 02:31, Krzysztof Kozlowski wrote: >>> On 08/05/2023 05:26, Rob Herring wrote: >>>> On Mon, 08 May 2023 02:59:32 +0000, Jacky Huang wrote: >>>>> From: Jacky Huang <ychuang3@nuvoton.com> >>>>> >>>>> Add documentation that describes the nuvoton ma35d1 UART driver bindings. >>>>> >>>>> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >>>>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>>> --- >>>>> .../serial/nuvoton,ma35d1-serial.yaml | 48 +++++++++++++++++++ >>>>> 1 file changed, 48 insertions(+) >>>>> create mode 100644 Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.yaml >>>>> >>>> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' >>>> on your patch (DT_CHECKER_FLAGS is new in v5.13): >>>> >>>> yamllint warnings/errors: >>>> >>>> dtschema/dtc warnings/errors: >>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.example.dtb: camera-sensor@3c: port:endpoint:data-lanes: [[1]] is too short >>>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: port:endpoint:data-lanes: [[1]] is too short >>>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml >>>> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) >>>> From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml >>>> Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dts:25:18: fatal error: dt-bindings/clock/nuvoton,ma35d1-clk.h: No such file or directory >>>> 25 | #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> >>>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> compilation terminated. >>>> make[1]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/serial/nuvoton,ma35d1-serial.example.dtb] Error 1 >>> This however is related, although might be coming from earlier failure. >>> I assume you run the check and you do not see any errors? >>> >>> Best regards, >>> Krzysztof >>> >> Dear Krzysztof, >> >> Thank you for your review. >> >> Of course I have run the check. >> I did not see any errors, because I have >> "dt-bindings/clock/nuvoton,ma35d1-clk.h". >> This patch 6/10 depends on path 3/10 which include >> "dt-bindings/clock/nuvoton,ma35d1-clk.h". >> Should I combine this patch 6/10 into patch 3/10? > No, it's fine. If you got the reviews and acks and no reports from > kernel test robot, you can go in few days with Arnd's request and send > everything to soc@. > > Best regards, > Krzysztof > Dear Krzysztof, I got it. Thank you very much. Best Regards, Jacky Huang
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 <mjchen@nuvoton.com> + - Jacky Huang <ychuang3@nuvoton.com> + +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 <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> + + serial@40700000 { + compatible = "nuvoton,ma35d1-uart"; + reg = <0x40700000 0x100>; + interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk UART0_GATE>; + }; +...