[PATCH v2 1/2] ARM: dts: imx6dl-plybas: Fix gpio-keys W=1 warnings

Shawn Guo shawnguo at kernel.org
Mon Mar 15 06:18:02 GMT 2021


On Mon, Mar 08, 2021 at 03:59:39PM -0300, Fabio Estevam wrote:
> Remove the unnecessary #address-cells/#size-cells and rename the node
> names to fix the following W=1 dtc warnings:
> 
> arch/arm/boot/dts/imx6dl-plybas.dts:26.13-30.5: Warning (unit_address_vs_reg): /gpio_keys/button at 20: node has a unit name, but no reg or ranges property
> arch/arm/boot/dts/imx6dl-plybas.dts:32.13-36.5: Warning (unit_address_vs_reg): /gpio_keys/button at 21: node has a unit name, but no reg or ranges property
> arch/arm/boot/dts/imx6dl-plybas.dts:20.12-37.4: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
> 
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> Reviewed-by: Oleksij Rempel <o.rempel at pengutronix.de>

Applied both, thanks.



More information about the linux-arm-kernel mailing list