All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Fabio Estevam <festevam@gmail.com>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, m.felsch@pengutronix.de,
	Fabio Estevam <festevam@denx.de>
Subject: Re: [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells
Date: Mon, 25 Sep 2023 09:58:50 +0800	[thread overview]
Message-ID: <20230925015850.GS7231@dragon> (raw)
In-Reply-To: <20230909013547.958134-1-festevam@gmail.com>

On Fri, Sep 08, 2023 at 10:35:47PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The mac-address is passed as a subnode of the eeprom and its 'reg'
> property describe a range of addresses in the eeprom.
> 
> Therefore, #size-cells should be set to 1 instead of 0.
> 
> This fixes the following schema warnings:
> 
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: #size-cells:0:0: 1 was expected
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@0:reg: [[0], [12]] is too long
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@c:reg: [[12], [12]] is too long
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'mac-address@0', 'mac-address@c' were unexpected)
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Fabio Estevam <festevam@gmail.com>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, m.felsch@pengutronix.de,
	Fabio Estevam <festevam@denx.de>
Subject: Re: [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells
Date: Mon, 25 Sep 2023 09:58:50 +0800	[thread overview]
Message-ID: <20230925015850.GS7231@dragon> (raw)
In-Reply-To: <20230909013547.958134-1-festevam@gmail.com>

On Fri, Sep 08, 2023 at 10:35:47PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The mac-address is passed as a subnode of the eeprom and its 'reg'
> property describe a range of addresses in the eeprom.
> 
> Therefore, #size-cells should be set to 1 instead of 0.
> 
> This fixes the following schema warnings:
> 
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: #size-cells:0:0: 1 was expected
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@0:reg: [[0], [12]] is too long
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: mac-address@c:reg: [[12], [12]] is too long
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> imx8mp-debix-som-a-bmb-08.dtb: eeprom@52: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'mac-address@0', 'mac-address@c' were unexpected)
> 	from schema $id: http://devicetree.org/schemas/eeprom/at24.yaml#
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

  parent reply	other threads:[~2023-09-25  1:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-09  1:35 [PATCH] arm64: dts: imx8mp-debix-som-a-bmb: Fix EEPROM #size-cells Fabio Estevam
2023-09-09  1:35 ` Fabio Estevam
2023-09-10 11:29 ` Marco Felsch
2023-09-10 11:29   ` Marco Felsch
2023-09-25  1:58 ` Shawn Guo [this message]
2023-09-25  1:58   ` Shawn Guo

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=20230925015850.GS7231@dragon \
    --to=shawnguo@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@denx.de \
    --cc=festevam@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=m.felsch@pengutronix.de \
    --cc=robh+dt@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: link
Be 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.