From: Marc Kleine-Budde <mkl@pengutronix.de> To: netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, Shawn Guo <shawnguo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Marc Kleine-Budde <mkl@pengutronix.de>, Oleksij Rempel <o.rempel@pengutronix.de>, devicetree@vger.kernel.org Subject: [net v2 4/4] dt-bindings: can: fsl,flexcan.yaml: fix fsl,stop-mode Date: Wed, 11 Nov 2020 14:05:07 +0100 [thread overview] Message-ID: <20201111130507.1560881-5-mkl@pengutronix.de> (raw) In-Reply-To: <20201111130507.1560881-1-mkl@pengutronix.de> The fsl,stop-mode property is a phandle-array and should consist of one phandle and two 32 bit integers, e.g.: fsl,stop-mode = <&gpr 0x34 28>; This patch fixes the following errors, which shows up during a dtbs_check: arch/arm/boot/dts/imx6dl-apf6dev.dt.yaml: can@2090000: fsl,stop-mode: [[1, 52, 28]] is too short From schema: Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml Cc: Oleksij Rempel <o.rempel@pengutronix.de> Cc: devicetree@vger.kernel.org Reported-by: Rob Herring <robh+dt@kernel.org> Fixes: e5ab9aa7e49b ("dt-bindings: can: flexcan: convert fsl,*flexcan bindings to yaml") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> --- .../devicetree/bindings/net/can/fsl,flexcan.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml index 04127714e704..7eca1bf034e6 100644 --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml @@ -86,11 +86,12 @@ properties: req_bit is the bit offset of CAN stop request. $ref: /schemas/types.yaml#/definitions/phandle-array items: - - description: The 'gpr' is the phandle to general purpose register node. - - description: The 'req_gpr' is the gpr register offset of CAN stop request. - maximum: 0xff - - description: The 'req_bit' is the bit offset of CAN stop request. - maximum: 0x1f + items: + - description: The 'gpr' is the phandle to general purpose register node. + - description: The 'req_gpr' is the gpr register offset of CAN stop request. + maximum: 0xff + - description: The 'req_bit' is the bit offset of CAN stop request. + maximum: 0x1f fsl,clk-source: description: | -- 2.28.0
WARNING: multiple messages have this Message-ID (diff)
From: Marc Kleine-Budde <mkl@pengutronix.de> To: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-can@vger.kernel.org, Oleksij Rempel <o.rempel@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Marc Kleine-Budde <mkl@pengutronix.de>, kernel@pengutronix.de, kuba@kernel.org, Shawn Guo <shawnguo@kernel.org>, davem@davemloft.net, linux-arm-kernel@lists.infradead.org Subject: [net v2 4/4] dt-bindings: can: fsl,flexcan.yaml: fix fsl,stop-mode Date: Wed, 11 Nov 2020 14:05:07 +0100 [thread overview] Message-ID: <20201111130507.1560881-5-mkl@pengutronix.de> (raw) In-Reply-To: <20201111130507.1560881-1-mkl@pengutronix.de> The fsl,stop-mode property is a phandle-array and should consist of one phandle and two 32 bit integers, e.g.: fsl,stop-mode = <&gpr 0x34 28>; This patch fixes the following errors, which shows up during a dtbs_check: arch/arm/boot/dts/imx6dl-apf6dev.dt.yaml: can@2090000: fsl,stop-mode: [[1, 52, 28]] is too short From schema: Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml Cc: Oleksij Rempel <o.rempel@pengutronix.de> Cc: devicetree@vger.kernel.org Reported-by: Rob Herring <robh+dt@kernel.org> Fixes: e5ab9aa7e49b ("dt-bindings: can: flexcan: convert fsl,*flexcan bindings to yaml") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> --- .../devicetree/bindings/net/can/fsl,flexcan.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml index 04127714e704..7eca1bf034e6 100644 --- a/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml +++ b/Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml @@ -86,11 +86,12 @@ properties: req_bit is the bit offset of CAN stop request. $ref: /schemas/types.yaml#/definitions/phandle-array items: - - description: The 'gpr' is the phandle to general purpose register node. - - description: The 'req_gpr' is the gpr register offset of CAN stop request. - maximum: 0xff - - description: The 'req_bit' is the bit offset of CAN stop request. - maximum: 0x1f + items: + - description: The 'gpr' is the phandle to general purpose register node. + - description: The 'req_gpr' is the gpr register offset of CAN stop request. + maximum: 0xff + - description: The 'req_bit' is the bit offset of CAN stop request. + maximum: 0x1f fsl,clk-source: description: | -- 2.28.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-11-11 13:05 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <[net v2 0/4] arm: imx: flexcan: fix yaml bindings and DTs> 2020-11-11 13:05 ` pull-request: can 2020-11-11 Marc Kleine-Budde 2020-11-11 13:05 ` Marc Kleine-Budde 2020-11-11 13:05 ` [net v2 1/4] ARM: dts: imx: fix can fsl,stop-mode Marc Kleine-Budde 2020-11-11 13:05 ` Marc Kleine-Budde 2020-11-16 8:23 ` Shawn Guo 2020-11-16 8:23 ` Shawn Guo 2020-11-11 13:05 ` [net v2 2/4] ARM: dts: imx: Change flexcan node name to "can" Marc Kleine-Budde 2020-11-11 13:05 ` Marc Kleine-Budde 2020-11-16 8:24 ` Shawn Guo 2020-11-16 8:24 ` Shawn Guo 2020-11-11 13:05 ` [net v2 3/4] dt-bindings: can: fsl,flexcan.yaml: fix compatible for i.MX35 and i.MX53 Marc Kleine-Budde 2020-11-11 13:05 ` [net v2 3/4] dt-bindings: can: fsl, flexcan.yaml: " Marc Kleine-Budde 2020-11-11 13:05 ` Marc Kleine-Budde [this message] 2020-11-11 13:05 ` [net v2 4/4] dt-bindings: can: fsl,flexcan.yaml: fix fsl,stop-mode Marc Kleine-Budde 2020-11-11 19:05 ` pull-request: can 2020-11-11 Rob Herring 2020-11-11 19:05 ` Rob Herring 2020-11-11 21:39 ` Marc Kleine-Budde 2020-11-11 21:39 ` Marc Kleine-Budde
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201111130507.1560881-5-mkl@pengutronix.de \ --to=mkl@pengutronix.de \ --cc=davem@davemloft.net \ --cc=devicetree@vger.kernel.org \ --cc=kernel@pengutronix.de \ --cc=kuba@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-can@vger.kernel.org \ --cc=netdev@vger.kernel.org \ --cc=o.rempel@pengutronix.de \ --cc=robh+dt@kernel.org \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.