All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V9 0/4] dt: Add fdtoverlay rule and statically build unittest
@ 2021-03-03  4:36 Viresh Kumar
  2021-03-03  4:36 ` [PATCH V9 1/4] kbuild: Simplify builds with CONFIG_OF_ALL_DTBS Viresh Kumar
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Viresh Kumar @ 2021-03-03  4:36 UTC (permalink / raw)
  To: Masahiro Yamada, Frank Rowand, Michal Marek, Rob Herring
  Cc: Viresh Kumar, Vincent Guittot, David Gibson, Michal Simek,
	Geert Uytterhoeven, anmar.oueja, Bill Mills, devicetree,
	linux-kbuild, linux-kernel, Rob Herring

Hi,

This patchset adds a generic rule for applying overlays using fdtoverlay
tool and then updates unittests to get built statically using the same.

V8->V9:
- Added some comment in patch 3/4 based on Frank's suggestions.

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        | 23 ++---
 .../of/unittest-data/testcases_common.dtsi    | 19 ++++
 .../of/unittest-data/tests-interrupts.dtsi    | 11 +--
 scripts/Makefile.lib                          | 29 +++++-
 9 files changed, 210 insertions(+), 111 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


base-commit: fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8
-- 
2.25.0.rc1.19.g042ed3e048af


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-06  6:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03  4:36 [PATCH V9 0/4] dt: Add fdtoverlay rule and statically build unittest Viresh Kumar
2021-03-03  4:36 ` [PATCH V9 1/4] kbuild: Simplify builds with CONFIG_OF_ALL_DTBS Viresh Kumar
2021-03-05 16:46   ` Masahiro Yamada
2021-03-03  4:36 ` [PATCH V9 2/4] kbuild: Add generic rule to apply fdtoverlay Viresh Kumar
2021-03-03 10:49   ` Geert Uytterhoeven
2021-03-03 10:56     ` Viresh Kumar
2021-03-06  6:07   ` Masahiro Yamada
2021-03-03  4:36 ` [PATCH V9 3/4] of: unittest: Create overlay_common.dtsi and testcases_common.dtsi Viresh Kumar
2021-03-03  4:36 ` [PATCH V9 4/4] of: unittest: Statically apply overlays using fdtoverlay Viresh Kumar

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.