[PATCH 2/2] ARM: dts: imx27-eukrea-cpuimx27: Remove 'simple-bus' from clocks node
Shawn Guo
shawnguo at kernel.org
Sun Jan 28 22:36:11 PST 2018
On Wed, Dec 27, 2017 at 02:23:24PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
>
> clock node should not have a 'simple-bus' compatible string, so remove it
> in order to fix the following build warning with W=1:
>
> arch/arm/boot/dts/imx27-eukrea-mbimxsd27-baseboard.dtb: Warning (simple_bus_reg): Node /clocks/osc26m missing or empty reg/ranges property
>
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
> arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi b/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi
> index 2cf896c..7c75147 100644
> --- a/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi
> +++ b/arch/arm/boot/dts/imx27-eukrea-cpuimx27.dtsi
> @@ -23,7 +23,6 @@
> clocks {
> #address-cells = <1>;
> #size-cells = <0>;
> - compatible = "simple-bus";
>
> clk14745600: clock at 0 {
> #clock-cells = <0>;
We should probably fix it in another way - put the node directly under
root with a unique node name and drop unit-address.
Shawn
More information about the linux-arm-kernel
mailing list