From: Viresh Kumar <viresh.kumar@linaro.org> To: Frank Rowand <frowand.list@gmail.com>, Rob Herring <robh+dt@kernel.org>, Pantelis Antoniou <pantelis.antoniou@konsulko.com>, Masahiro Yamada <masahiroy@kernel.org>, Michal Marek <michal.lkml@markovi.net> Cc: Viresh Kumar <viresh.kumar@linaro.org>, Vincent Guittot <vincent.guittot@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, anmar.oueja@linaro.org, Bill Mills <bill.mills@linaro.org>, David Gibson <david@gibson.dropbear.id.au>, devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org>, Michal Simek <michal.simek@xilinx.com>, Rob Herring <robh@kernel.org> Subject: [PATCH V8 0/4] dt: Add fdtoverlay rule and statically build unittest Date: Fri, 12 Feb 2021 16:48:34 +0530 [thread overview] Message-ID: <cover.1613127681.git.viresh.kumar@linaro.org> (raw) Hi, This patchset adds a generic rule for applying overlays using fdtoverlay tool and then updates unittests to get built statically using the same. V7->V8: - Patch 1 is new. - Platforms need to use dtb-y += foo.dtb instead of overlay-y += foo.dtb. - Use multi_depend instead of .SECONDEXPANSION. - Use dtb-y for unittest instead of overlay-y. - Rename the commented dtb filess in unittest Makefile as .dtbo. - Improved Makefile code (I am learning a lot every day :) V6->V7: - Dropped the first 4 patches, already merged. - Patch 1/3 is new, suggested by Rob and slightly modified by me. - Adapt Patch 3/3 to the new rule and name the overlay dtbs as .dtbo. -- Viresh Rob Herring (1): kbuild: Add generic rule to apply fdtoverlay Viresh Kumar (3): kbuild: Simplify builds with CONFIG_OF_ALL_DTBS of: unittest: Create overlay_common.dtsi and testcases_common.dtsi of: unittest: Statically apply overlays using fdtoverlay drivers/of/unittest-data/Makefile | 50 ++++++++++ drivers/of/unittest-data/overlay_base.dts | 90 +----------------- drivers/of/unittest-data/overlay_common.dtsi | 91 +++++++++++++++++++ drivers/of/unittest-data/static_base_1.dts | 4 + drivers/of/unittest-data/static_base_2.dts | 4 + drivers/of/unittest-data/testcases.dts | 18 ++-- .../of/unittest-data/testcases_common.dtsi | 19 ++++ .../of/unittest-data/tests-interrupts.dtsi | 7 -- scripts/Makefile.lib | 29 +++++- 9 files changed, 200 insertions(+), 112 deletions(-) create mode 100644 drivers/of/unittest-data/overlay_common.dtsi create mode 100644 drivers/of/unittest-data/static_base_1.dts create mode 100644 drivers/of/unittest-data/static_base_2.dts create mode 100644 drivers/of/unittest-data/testcases_common.dtsi -- 2.25.0.rc1.19.g042ed3e048af
WARNING: multiple messages have this Message-ID (diff)
From: Viresh Kumar <viresh.kumar@linaro.org> To: Frank Rowand <frowand.list@gmail.com>, Rob Herring <robh+dt@kernel.org>, Pantelis Antoniou <pantelis.antoniou@konsulko.com>, Masahiro Yamada <masahiroy@kernel.org>, Michal Marek <michal.lkml@markovi.net> Cc: devicetree@vger.kernel.org, Vincent Guittot <vincent.guittot@linaro.org>, linux-kbuild@vger.kernel.org, Viresh Kumar <viresh.kumar@linaro.org>, Bill Mills <bill.mills@linaro.org>, linux-kernel@vger.kernel.org, Michal Simek <michal.simek@xilinx.com>, anmar.oueja@linaro.org, Geert Uytterhoeven <geert@linux-m68k.org>, Rob Herring <robh@kernel.org>, linux-arm-kernel@lists.infradead.org, David Gibson <david@gibson.dropbear.id.au> Subject: [PATCH V8 0/4] dt: Add fdtoverlay rule and statically build unittest Date: Fri, 12 Feb 2021 16:48:34 +0530 [thread overview] Message-ID: <cover.1613127681.git.viresh.kumar@linaro.org> (raw) Hi, This patchset adds a generic rule for applying overlays using fdtoverlay tool and then updates unittests to get built statically using the same. V7->V8: - Patch 1 is new. - Platforms need to use dtb-y += foo.dtb instead of overlay-y += foo.dtb. - Use multi_depend instead of .SECONDEXPANSION. - Use dtb-y for unittest instead of overlay-y. - Rename the commented dtb filess in unittest Makefile as .dtbo. - Improved Makefile code (I am learning a lot every day :) V6->V7: - Dropped the first 4 patches, already merged. - Patch 1/3 is new, suggested by Rob and slightly modified by me. - Adapt Patch 3/3 to the new rule and name the overlay dtbs as .dtbo. -- Viresh Rob Herring (1): kbuild: Add generic rule to apply fdtoverlay Viresh Kumar (3): kbuild: Simplify builds with CONFIG_OF_ALL_DTBS of: unittest: Create overlay_common.dtsi and testcases_common.dtsi of: unittest: Statically apply overlays using fdtoverlay drivers/of/unittest-data/Makefile | 50 ++++++++++ drivers/of/unittest-data/overlay_base.dts | 90 +----------------- drivers/of/unittest-data/overlay_common.dtsi | 91 +++++++++++++++++++ drivers/of/unittest-data/static_base_1.dts | 4 + drivers/of/unittest-data/static_base_2.dts | 4 + drivers/of/unittest-data/testcases.dts | 18 ++-- .../of/unittest-data/testcases_common.dtsi | 19 ++++ .../of/unittest-data/tests-interrupts.dtsi | 7 -- scripts/Makefile.lib | 29 +++++- 9 files changed, 200 insertions(+), 112 deletions(-) create mode 100644 drivers/of/unittest-data/overlay_common.dtsi create mode 100644 drivers/of/unittest-data/static_base_1.dts create mode 100644 drivers/of/unittest-data/static_base_2.dts create mode 100644 drivers/of/unittest-data/testcases_common.dtsi -- 2.25.0.rc1.19.g042ed3e048af _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2021-02-12 11:19 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-12 11:18 Viresh Kumar [this message] 2021-02-12 11:18 ` [PATCH V8 0/4] dt: Add fdtoverlay rule and statically build unittest Viresh Kumar 2021-02-12 11:18 ` [PATCH V8 1/4] kbuild: Simplify builds with CONFIG_OF_ALL_DTBS Viresh Kumar 2021-02-12 11:18 ` Viresh Kumar 2021-02-12 11:18 ` [PATCH V8 2/4] kbuild: Add generic rule to apply fdtoverlay Viresh Kumar 2021-02-12 11:18 ` Viresh Kumar 2021-02-12 11:18 ` [PATCH V8 3/4] of: unittest: Create overlay_common.dtsi and testcases_common.dtsi Viresh Kumar 2021-02-12 11:18 ` Viresh Kumar 2021-03-02 3:12 ` Frank Rowand 2021-03-02 3:12 ` Frank Rowand 2021-02-12 11:18 ` [PATCH V8 4/4] of: unittest: Statically apply overlays using fdtoverlay Viresh Kumar 2021-02-12 11:18 ` Viresh Kumar 2021-03-01 6:56 ` [PATCH V8 0/4] dt: Add fdtoverlay rule and statically build unittest Viresh Kumar 2021-03-01 6:56 ` Viresh Kumar 2021-03-02 3:14 ` Frank Rowand 2021-03-02 3:14 ` Frank Rowand 2021-03-02 4:02 ` Viresh Kumar 2021-03-02 4:02 ` Viresh Kumar 2021-03-02 20:17 ` Rob Herring 2021-03-02 20:17 ` Rob Herring
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=cover.1613127681.git.viresh.kumar@linaro.org \ --to=viresh.kumar@linaro.org \ --cc=anmar.oueja@linaro.org \ --cc=bill.mills@linaro.org \ --cc=david@gibson.dropbear.id.au \ --cc=devicetree@vger.kernel.org \ --cc=frowand.list@gmail.com \ --cc=geert@linux-m68k.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=masahiroy@kernel.org \ --cc=michal.lkml@markovi.net \ --cc=michal.simek@xilinx.com \ --cc=pantelis.antoniou@konsulko.com \ --cc=robh+dt@kernel.org \ --cc=robh@kernel.org \ --cc=vincent.guittot@linaro.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: linkBe 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.