Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7597232rwi; Mon, 24 Oct 2022 17:24:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7of6sMSd7SLTcn4VgGmXyNAeqq5QQmDhdco+GeFPQikICPoh9Ggi9UQnTDn03sfytmefgL X-Received: by 2002:a17:90a:4316:b0:212:fadd:5d59 with SMTP id q22-20020a17090a431600b00212fadd5d59mr12399382pjg.45.1666657456528; Mon, 24 Oct 2022 17:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666657456; cv=none; d=google.com; s=arc-20160816; b=BShZMH5fpsibaLiQP/Wsltb0NWnIpqJPhS7l7yhejKt5iI8e1IP+FfOZ9daj4KLWtc U3F91EvJG57YycXQyrs4JnRXAx89rCYG4feUR4TT2f8o0/CCLZ3f2qB9JwtMVcTMuKKR NsfurtJ4HQLNeO+0lFyPRWpPAvfgyi8yjUaaPQCiVZjMl54M/F+vKBl4AxPPEeBhLm27 qX+3PJUsghUSJ4ETQ78A3zcw0tsYZiq3NKsGkPOYQZX7JKjZbf1h5sTM2IjFXYFaLtwV quaB9GuWCOWqOTfwbAWVPE7Aj/SKlNGazuh2KE+yl3plar16Qjh4KS7XHPWAboREG84q MKDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ip6Y4QN4y4D5Nb2HO0RGWyocTW+5ctX6C2hoQuQ0BmQ=; b=GNH+4qxvDEjGgEj37peILvEwV0k1n4rKAahCS/qknxsQL8za5GQX1OoNcP0qLge/NH POpMNS7lP9xGsQ3j0jl9jPfEutjZDc89juNIxKIr+CkGe9y5Qkz6GzRjbofSiXSChc2C 020hZpHdxrI6+zgplSTAlRv83yqTJsrJW4w00zIML2r1yVxbRqMNi+RsM+mOTy03Owmi lTmW5OlKmUUHKcXhiP1yDxd0p96scwn9YCWUtJDjUZ9Le021UibqMD/OK0wy9Y/4ae7M fQlPO2bk3SlfoFOxDe8yh0wtyYGw64//5BB8w41Q0lpDOyZMg3Oh0FyUkTqghn7GYF30 a0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=miqHr3qO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a170902c7c900b00172f32450b7si895375pla.197.2022.10.24.17.24.04; Mon, 24 Oct 2022 17:24:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=miqHr3qO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbiJXXoK (ORCPT + 99 others); Mon, 24 Oct 2022 19:44:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbiJXXnP (ORCPT ); Mon, 24 Oct 2022 19:43:15 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4BD1963BD; Mon, 24 Oct 2022 15:01:51 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id o13so5890362ilc.7; Mon, 24 Oct 2022 15:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ip6Y4QN4y4D5Nb2HO0RGWyocTW+5ctX6C2hoQuQ0BmQ=; b=miqHr3qO11gcaGRbEhNskZ10Ydq0aUdiEDeUOa0CEqP91FBCwPmY8T7SQzVkdyx40G e6yvjTKSlS3krqUNdt2wJpr5+HU8zKqhugyN1ux2T+ZOgd3w2KLRIxEFRwz1YxWmojkE xOYMOLQZEtLfxd4qGdd6uBGStGrze3V5/fWVeMgFAf/9AhZ9DUx7e0OCXFGAOXXFVjxL w1SkYZq17T4Es0p9i0zJhUhwejK6sPA5A7xC4q6j6f6YxwXwQpq56eP21L2G6pZcFssK qGRWEpY1Fdoak2JTlDU1OFbUqiSYgLt2WFiuDl9ISdMhtpYBtK6g+JoJpLfVS+iMqF6Y K4wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ip6Y4QN4y4D5Nb2HO0RGWyocTW+5ctX6C2hoQuQ0BmQ=; b=KYYS4j6/1scA7aaYx3KzHGBtoh9JguHulec1k9Z4jQ/UGXaHTdx/H1MJS49dK3wQEM kUYTA93xvgsX8wOXm9ek09lUSLgyvwNGImMy3BLypKrTTgcoLFzpFujHuhcNM9MeQ3Yn EJY92s5SPfeyx0RA+NgstnjRI+7dpOYabMdV2p26zEbNW0LiBG8SvXMVSHpfbpVG4Xjg VDKBcJeFEceaa+RPSdWGnNBlmhYbC/bvY9Smfuofi6i3QSGm2cxwzPEhM9w2C0Pxc9YC 9/V+Gtg2CTtGerbSbNxrSKnBNM9/WY/FpkYCjz4WxmL6J2jkyMIcXSahcapWPEDBMeUF UeJg== X-Gm-Message-State: ACrzQf2T1cvBhbqS80Wv6hmZ4Us13965EWVsGPijU5awgXIzXIDtP8bE 9uihyrqaCfiySzmlHlrc1cM= X-Received: by 2002:a05:6e02:158a:b0:2d3:f1c0:6b68 with SMTP id m10-20020a056e02158a00b002d3f1c06b68mr23089104ilu.38.1666648907598; Mon, 24 Oct 2022 15:01:47 -0700 (PDT) Received: from ?IPV6:2600:1700:2442:6db0:b8cc:2162:7a0f:fd4b? ([2600:1700:2442:6db0:b8cc:2162:7a0f:fd4b]) by smtp.gmail.com with ESMTPSA id q28-20020a05663810dc00b0036cc14af7adsm229074jad.149.2022.10.24.15.01.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 15:01:46 -0700 (PDT) Message-ID: Date: Mon, 24 Oct 2022 17:01:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 3/7] of: overlay: rename overlay source files from .dts to .dtso Content-Language: en-US To: Andrew Davis , Shawn Guo , Li Yang , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Vignesh Raghavendra , Masahiro Yamada , Michal Marek , Nick Desaulniers , Geert Uytterhoeven Cc: devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221024173434.32518-1-afd@ti.com> <20221024173434.32518-4-afd@ti.com> From: Frank Rowand In-Reply-To: <20221024173434.32518-4-afd@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/24/22 12:34, Andrew Davis wrote: > From: Frank Rowand > > In drivers/of/unittest-data/: > - Rename .dts overlay source files to use .dtso suffix. > > Modify driver/of/unitest.c to use .dtbo.o based symbols instead of .dtb.o > > Signed-off-by: Frank Rowand > Signed-off-by: Andrew Davis > Reviewed-by: Geert Uytterhoeven > Tested-by: Geert Uytterhoeven > --- Reviewed-by: Frank Rowand Tested-by: Frank Rowand -Frank > drivers/of/unittest-data/Makefile | 66 +++++++++---------- > .../{overlay.dts => overlay.dtso} | 0 > .../{overlay_0.dts => overlay_0.dtso} | 0 > .../{overlay_1.dts => overlay_1.dtso} | 0 > .../{overlay_10.dts => overlay_10.dtso} | 0 > .../{overlay_11.dts => overlay_11.dtso} | 0 > .../{overlay_12.dts => overlay_12.dtso} | 0 > .../{overlay_13.dts => overlay_13.dtso} | 0 > .../{overlay_15.dts => overlay_15.dtso} | 0 > .../{overlay_16.dts => overlay_16.dtso} | 0 > .../{overlay_17.dts => overlay_17.dtso} | 0 > .../{overlay_18.dts => overlay_18.dtso} | 0 > .../{overlay_19.dts => overlay_19.dtso} | 0 > .../{overlay_2.dts => overlay_2.dtso} | 0 > .../{overlay_20.dts => overlay_20.dtso} | 0 > .../{overlay_3.dts => overlay_3.dtso} | 0 > .../{overlay_4.dts => overlay_4.dtso} | 0 > .../{overlay_5.dts => overlay_5.dtso} | 0 > .../{overlay_6.dts => overlay_6.dtso} | 0 > .../{overlay_7.dts => overlay_7.dtso} | 0 > .../{overlay_8.dts => overlay_8.dtso} | 0 > .../{overlay_9.dts => overlay_9.dtso} | 0 > ...node.dts => overlay_bad_add_dup_node.dtso} | 0 > ...prop.dts => overlay_bad_add_dup_prop.dtso} | 0 > ...d_phandle.dts => overlay_bad_phandle.dtso} | 0 > ...bad_symbol.dts => overlay_bad_symbol.dtso} | 0 > .../{overlay_base.dts => overlay_base.dtso} | 0 > ...erlay_gpio_01.dts => overlay_gpio_01.dtso} | 0 > ...lay_gpio_02a.dts => overlay_gpio_02a.dtso} | 0 > ...lay_gpio_02b.dts => overlay_gpio_02b.dtso} | 0 > ...erlay_gpio_03.dts => overlay_gpio_03.dtso} | 0 > ...lay_gpio_04a.dts => overlay_gpio_04a.dtso} | 0 > ...lay_gpio_04b.dts => overlay_gpio_04b.dtso} | 0 > .../{testcases.dts => testcases.dtso} | 0 > drivers/of/unittest.c | 48 +++++++------- > 35 files changed, 57 insertions(+), 57 deletions(-) > rename drivers/of/unittest-data/{overlay.dts => overlay.dtso} (100%) > rename drivers/of/unittest-data/{overlay_0.dts => overlay_0.dtso} (100%) > rename drivers/of/unittest-data/{overlay_1.dts => overlay_1.dtso} (100%) > rename drivers/of/unittest-data/{overlay_10.dts => overlay_10.dtso} (100%) > rename drivers/of/unittest-data/{overlay_11.dts => overlay_11.dtso} (100%) > rename drivers/of/unittest-data/{overlay_12.dts => overlay_12.dtso} (100%) > rename drivers/of/unittest-data/{overlay_13.dts => overlay_13.dtso} (100%) > rename drivers/of/unittest-data/{overlay_15.dts => overlay_15.dtso} (100%) > rename drivers/of/unittest-data/{overlay_16.dts => overlay_16.dtso} (100%) > rename drivers/of/unittest-data/{overlay_17.dts => overlay_17.dtso} (100%) > rename drivers/of/unittest-data/{overlay_18.dts => overlay_18.dtso} (100%) > rename drivers/of/unittest-data/{overlay_19.dts => overlay_19.dtso} (100%) > rename drivers/of/unittest-data/{overlay_2.dts => overlay_2.dtso} (100%) > rename drivers/of/unittest-data/{overlay_20.dts => overlay_20.dtso} (100%) > rename drivers/of/unittest-data/{overlay_3.dts => overlay_3.dtso} (100%) > rename drivers/of/unittest-data/{overlay_4.dts => overlay_4.dtso} (100%) > rename drivers/of/unittest-data/{overlay_5.dts => overlay_5.dtso} (100%) > rename drivers/of/unittest-data/{overlay_6.dts => overlay_6.dtso} (100%) > rename drivers/of/unittest-data/{overlay_7.dts => overlay_7.dtso} (100%) > rename drivers/of/unittest-data/{overlay_8.dts => overlay_8.dtso} (100%) > rename drivers/of/unittest-data/{overlay_9.dts => overlay_9.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_add_dup_node.dts => overlay_bad_add_dup_node.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_add_dup_prop.dts => overlay_bad_add_dup_prop.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_phandle.dts => overlay_bad_phandle.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_symbol.dts => overlay_bad_symbol.dtso} (100%) > rename drivers/of/unittest-data/{overlay_base.dts => overlay_base.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_01.dts => overlay_gpio_01.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_02a.dts => overlay_gpio_02a.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_02b.dts => overlay_gpio_02b.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_03.dts => overlay_gpio_03.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_04a.dts => overlay_gpio_04a.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_04b.dts => overlay_gpio_04b.dtso} (100%) > rename drivers/of/unittest-data/{testcases.dts => testcases.dtso} (100%) > > diff --git a/drivers/of/unittest-data/Makefile b/drivers/of/unittest-data/Makefile > index d072f3ba39712..ea5f4da68e23a 100644 > --- a/drivers/of/unittest-data/Makefile > +++ b/drivers/of/unittest-data/Makefile > @@ -1,38 +1,38 @@ > # SPDX-License-Identifier: GPL-2.0 > -obj-y += testcases.dtb.o > +obj-y += testcases.dtbo.o > > -obj-$(CONFIG_OF_OVERLAY) += overlay.dtb.o \ > - overlay_0.dtb.o \ > - overlay_1.dtb.o \ > - overlay_2.dtb.o \ > - overlay_3.dtb.o \ > - overlay_4.dtb.o \ > - overlay_5.dtb.o \ > - overlay_6.dtb.o \ > - overlay_7.dtb.o \ > - overlay_8.dtb.o \ > - overlay_9.dtb.o \ > - overlay_10.dtb.o \ > - overlay_11.dtb.o \ > - overlay_12.dtb.o \ > - overlay_13.dtb.o \ > - overlay_15.dtb.o \ > - overlay_16.dtb.o \ > - overlay_17.dtb.o \ > - overlay_18.dtb.o \ > - overlay_19.dtb.o \ > - overlay_20.dtb.o \ > - overlay_bad_add_dup_node.dtb.o \ > - overlay_bad_add_dup_prop.dtb.o \ > - overlay_bad_phandle.dtb.o \ > - overlay_bad_symbol.dtb.o \ > - overlay_base.dtb.o \ > - overlay_gpio_01.dtb.o \ > - overlay_gpio_02a.dtb.o \ > - overlay_gpio_02b.dtb.o \ > - overlay_gpio_03.dtb.o \ > - overlay_gpio_04a.dtb.o \ > - overlay_gpio_04b.dtb.o > +obj-$(CONFIG_OF_OVERLAY) += overlay.dtbo.o \ > + overlay_0.dtbo.o \ > + overlay_1.dtbo.o \ > + overlay_2.dtbo.o \ > + overlay_3.dtbo.o \ > + overlay_4.dtbo.o \ > + overlay_5.dtbo.o \ > + overlay_6.dtbo.o \ > + overlay_7.dtbo.o \ > + overlay_8.dtbo.o \ > + overlay_9.dtbo.o \ > + overlay_10.dtbo.o \ > + overlay_11.dtbo.o \ > + overlay_12.dtbo.o \ > + overlay_13.dtbo.o \ > + overlay_15.dtbo.o \ > + overlay_16.dtbo.o \ > + overlay_17.dtbo.o \ > + overlay_18.dtbo.o \ > + overlay_19.dtbo.o \ > + overlay_20.dtbo.o \ > + overlay_bad_add_dup_node.dtbo.o \ > + overlay_bad_add_dup_prop.dtbo.o \ > + overlay_bad_phandle.dtbo.o \ > + overlay_bad_symbol.dtbo.o \ > + overlay_base.dtbo.o \ > + overlay_gpio_01.dtbo.o \ > + overlay_gpio_02a.dtbo.o \ > + overlay_gpio_02b.dtbo.o \ > + overlay_gpio_03.dtbo.o \ > + overlay_gpio_04a.dtbo.o \ > + overlay_gpio_04b.dtbo.o > > # enable creation of __symbols__ node > DTC_FLAGS_overlay += -@ > diff --git a/drivers/of/unittest-data/overlay.dts b/drivers/of/unittest-data/overlay.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay.dts > rename to drivers/of/unittest-data/overlay.dtso > diff --git a/drivers/of/unittest-data/overlay_0.dts b/drivers/of/unittest-data/overlay_0.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_0.dts > rename to drivers/of/unittest-data/overlay_0.dtso > diff --git a/drivers/of/unittest-data/overlay_1.dts b/drivers/of/unittest-data/overlay_1.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_1.dts > rename to drivers/of/unittest-data/overlay_1.dtso > diff --git a/drivers/of/unittest-data/overlay_10.dts b/drivers/of/unittest-data/overlay_10.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_10.dts > rename to drivers/of/unittest-data/overlay_10.dtso > diff --git a/drivers/of/unittest-data/overlay_11.dts b/drivers/of/unittest-data/overlay_11.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_11.dts > rename to drivers/of/unittest-data/overlay_11.dtso > diff --git a/drivers/of/unittest-data/overlay_12.dts b/drivers/of/unittest-data/overlay_12.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_12.dts > rename to drivers/of/unittest-data/overlay_12.dtso > diff --git a/drivers/of/unittest-data/overlay_13.dts b/drivers/of/unittest-data/overlay_13.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_13.dts > rename to drivers/of/unittest-data/overlay_13.dtso > diff --git a/drivers/of/unittest-data/overlay_15.dts b/drivers/of/unittest-data/overlay_15.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_15.dts > rename to drivers/of/unittest-data/overlay_15.dtso > diff --git a/drivers/of/unittest-data/overlay_16.dts b/drivers/of/unittest-data/overlay_16.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_16.dts > rename to drivers/of/unittest-data/overlay_16.dtso > diff --git a/drivers/of/unittest-data/overlay_17.dts b/drivers/of/unittest-data/overlay_17.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_17.dts > rename to drivers/of/unittest-data/overlay_17.dtso > diff --git a/drivers/of/unittest-data/overlay_18.dts b/drivers/of/unittest-data/overlay_18.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_18.dts > rename to drivers/of/unittest-data/overlay_18.dtso > diff --git a/drivers/of/unittest-data/overlay_19.dts b/drivers/of/unittest-data/overlay_19.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_19.dts > rename to drivers/of/unittest-data/overlay_19.dtso > diff --git a/drivers/of/unittest-data/overlay_2.dts b/drivers/of/unittest-data/overlay_2.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_2.dts > rename to drivers/of/unittest-data/overlay_2.dtso > diff --git a/drivers/of/unittest-data/overlay_20.dts b/drivers/of/unittest-data/overlay_20.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_20.dts > rename to drivers/of/unittest-data/overlay_20.dtso > diff --git a/drivers/of/unittest-data/overlay_3.dts b/drivers/of/unittest-data/overlay_3.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_3.dts > rename to drivers/of/unittest-data/overlay_3.dtso > diff --git a/drivers/of/unittest-data/overlay_4.dts b/drivers/of/unittest-data/overlay_4.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_4.dts > rename to drivers/of/unittest-data/overlay_4.dtso > diff --git a/drivers/of/unittest-data/overlay_5.dts b/drivers/of/unittest-data/overlay_5.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_5.dts > rename to drivers/of/unittest-data/overlay_5.dtso > diff --git a/drivers/of/unittest-data/overlay_6.dts b/drivers/of/unittest-data/overlay_6.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_6.dts > rename to drivers/of/unittest-data/overlay_6.dtso > diff --git a/drivers/of/unittest-data/overlay_7.dts b/drivers/of/unittest-data/overlay_7.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_7.dts > rename to drivers/of/unittest-data/overlay_7.dtso > diff --git a/drivers/of/unittest-data/overlay_8.dts b/drivers/of/unittest-data/overlay_8.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_8.dts > rename to drivers/of/unittest-data/overlay_8.dtso > diff --git a/drivers/of/unittest-data/overlay_9.dts b/drivers/of/unittest-data/overlay_9.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_9.dts > rename to drivers/of/unittest-data/overlay_9.dtso > diff --git a/drivers/of/unittest-data/overlay_bad_add_dup_node.dts b/drivers/of/unittest-data/overlay_bad_add_dup_node.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_bad_add_dup_node.dts > rename to drivers/of/unittest-data/overlay_bad_add_dup_node.dtso > diff --git a/drivers/of/unittest-data/overlay_bad_add_dup_prop.dts b/drivers/of/unittest-data/overlay_bad_add_dup_prop.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_bad_add_dup_prop.dts > rename to drivers/of/unittest-data/overlay_bad_add_dup_prop.dtso > diff --git a/drivers/of/unittest-data/overlay_bad_phandle.dts b/drivers/of/unittest-data/overlay_bad_phandle.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_bad_phandle.dts > rename to drivers/of/unittest-data/overlay_bad_phandle.dtso > diff --git a/drivers/of/unittest-data/overlay_bad_symbol.dts b/drivers/of/unittest-data/overlay_bad_symbol.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_bad_symbol.dts > rename to drivers/of/unittest-data/overlay_bad_symbol.dtso > diff --git a/drivers/of/unittest-data/overlay_base.dts b/drivers/of/unittest-data/overlay_base.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_base.dts > rename to drivers/of/unittest-data/overlay_base.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_01.dts b/drivers/of/unittest-data/overlay_gpio_01.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_01.dts > rename to drivers/of/unittest-data/overlay_gpio_01.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_02a.dts b/drivers/of/unittest-data/overlay_gpio_02a.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_02a.dts > rename to drivers/of/unittest-data/overlay_gpio_02a.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_02b.dts b/drivers/of/unittest-data/overlay_gpio_02b.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_02b.dts > rename to drivers/of/unittest-data/overlay_gpio_02b.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_03.dts b/drivers/of/unittest-data/overlay_gpio_03.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_03.dts > rename to drivers/of/unittest-data/overlay_gpio_03.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_04a.dts b/drivers/of/unittest-data/overlay_gpio_04a.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_04a.dts > rename to drivers/of/unittest-data/overlay_gpio_04a.dtso > diff --git a/drivers/of/unittest-data/overlay_gpio_04b.dts b/drivers/of/unittest-data/overlay_gpio_04b.dtso > similarity index 100% > rename from drivers/of/unittest-data/overlay_gpio_04b.dts > rename to drivers/of/unittest-data/overlay_gpio_04b.dtso > diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dtso > similarity index 100% > rename from drivers/of/unittest-data/testcases.dts > rename to drivers/of/unittest-data/testcases.dtso > diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c > index b89ab5d9fea55..1d810c0e18f8c 100644 > --- a/drivers/of/unittest.c > +++ b/drivers/of/unittest.c > @@ -1423,12 +1423,12 @@ static int __init unittest_data_add(void) > void *unittest_data_align; > struct device_node *unittest_data_node = NULL, *np; > /* > - * __dtb_testcases_begin[] and __dtb_testcases_end[] are magically > - * created by cmd_dt_S_dtb in scripts/Makefile.lib > + * __dtbo_testcases_begin[] and __dtbo_testcases_end[] are magically > + * created by cmd_dt_S_dtbo in scripts/Makefile.lib > */ > - extern uint8_t __dtb_testcases_begin[]; > - extern uint8_t __dtb_testcases_end[]; > - const int size = __dtb_testcases_end - __dtb_testcases_begin; > + extern uint8_t __dtbo_testcases_begin[]; > + extern uint8_t __dtbo_testcases_end[]; > + const int size = __dtbo_testcases_end - __dtbo_testcases_begin; > int rc; > void *ret; > > @@ -1443,7 +1443,7 @@ static int __init unittest_data_add(void) > return -ENOMEM; > > unittest_data_align = PTR_ALIGN(unittest_data, FDT_ALIGN_SIZE); > - memcpy(unittest_data_align, __dtb_testcases_begin, size); > + memcpy(unittest_data_align, __dtbo_testcases_begin, size); > > ret = of_fdt_unflatten_tree(unittest_data_align, NULL, &unittest_data_node); > if (!ret) { > @@ -3003,24 +3003,24 @@ static inline void __init of_unittest_overlay(void) { } > #ifdef CONFIG_OF_OVERLAY > > /* > - * __dtb_ot_begin[] and __dtb_ot_end[] are created by cmd_dt_S_dtb > - * in scripts/Makefile.lib > + * __dtbo_##overlay_name##_begin[] and __dtbo_##overlay_name##_end[] are > + * created by cmd_dt_S_dtbo in scripts/Makefile.lib > */ > > -#define OVERLAY_INFO_EXTERN(name) \ > - extern uint8_t __dtb_##name##_begin[]; \ > - extern uint8_t __dtb_##name##_end[] > +#define OVERLAY_INFO_EXTERN(overlay_name) \ > + extern uint8_t __dtbo_##overlay_name##_begin[]; \ > + extern uint8_t __dtbo_##overlay_name##_end[] > > -#define OVERLAY_INFO(overlay_name, expected) \ > -{ .dtb_begin = __dtb_##overlay_name##_begin, \ > - .dtb_end = __dtb_##overlay_name##_end, \ > - .expected_result = expected, \ > - .name = #overlay_name, \ > +#define OVERLAY_INFO(overlay_name, expected) \ > +{ .dtbo_begin = __dtbo_##overlay_name##_begin, \ > + .dtbo_end = __dtbo_##overlay_name##_end, \ > + .expected_result = expected, \ > + .name = #overlay_name, \ > } > > struct overlay_info { > - uint8_t *dtb_begin; > - uint8_t *dtb_end; > + uint8_t *dtbo_begin; > + uint8_t *dtbo_end; > int expected_result; > int ovcs_id; > char *name; > @@ -3094,7 +3094,7 @@ static struct overlay_info overlays[] = { > OVERLAY_INFO(overlay_bad_phandle, -EINVAL), > OVERLAY_INFO(overlay_bad_symbol, -EINVAL), > /* end marker */ > - {.dtb_begin = NULL, .dtb_end = NULL, .expected_result = 0, .name = NULL} > + {.dtbo_begin = NULL, .dtbo_end = NULL, .expected_result = 0, .name = NULL} > }; > > static struct device_node *overlay_base_root; > @@ -3151,13 +3151,13 @@ void __init unittest_unflatten_overlay_base(void) > return; > } > > - data_size = info->dtb_end - info->dtb_begin; > + data_size = info->dtbo_end - info->dtbo_begin; > if (!data_size) { > pr_err("No dtb 'overlay_base' to attach\n"); > return; > } > > - size = fdt_totalsize(info->dtb_begin); > + size = fdt_totalsize(info->dtbo_begin); > if (size != data_size) { > pr_err("dtb 'overlay_base' header totalsize != actual size"); > return; > @@ -3169,7 +3169,7 @@ void __init unittest_unflatten_overlay_base(void) > return; > } > > - memcpy(new_fdt, info->dtb_begin, size); > + memcpy(new_fdt, info->dtbo_begin, size); > > __unflatten_device_tree(new_fdt, NULL, &overlay_base_root, > dt_alloc_memory, true); > @@ -3204,11 +3204,11 @@ static int __init overlay_data_apply(const char *overlay_name, int *ovcs_id) > return 0; > } > > - size = info->dtb_end - info->dtb_begin; > + size = info->dtbo_end - info->dtbo_begin; > if (!size) > pr_err("no overlay data for %s\n", overlay_name); > > - ret = of_overlay_fdt_apply(info->dtb_begin, size, &info->ovcs_id); > + ret = of_overlay_fdt_apply(info->dtbo_begin, size, &info->ovcs_id); > if (ovcs_id) > *ovcs_id = info->ovcs_id; > if (ret < 0)