[PATCH 3/3] arm64: dts: mt8183-kukui: fix dtbs_check warnings

Nicolas Boichat drinkcat at chromium.org
Thu Apr 15 01:29:04 BST 2021


On Wed, Apr 14, 2021 at 10:46 PM <matthias.bgg at kernel.org> wrote:
>
> From: Matthias Brugger <matthias.bgg at gmail.com>
>
> The dsi children don't have any reg property,

Confused, see below.

> so we don't need address and
> size cells. This makes dtbs_check happy.
>
> CC: Hsin-Yi Wang <hsinyi at chromium.org>
> CC: Enric Balletbo i Serra <enric.balletbo at collabora.com>
> CC: Nicolas Boichat <drinkcat at chromium.org>
> Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>
>
> ---
>
>  arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> index ff56bcfa3370..f4dca6a33168 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> @@ -251,8 +251,7 @@ &cpu7 {
>
>  &dsi0 {
>         status = "okay";
> -       #address-cells = <1>;
> -       #size-cells = <0>;
> +
>         panel: panel at 0 {
>                 /* compatible will be set in board dts */
>                 reg = <0>;

^^ isn't that... a reg property?

> --
> 2.30.2
>



More information about the linux-arm-kernel mailing list