From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/7] support overlays to the barebox live tree
Date: Wed, 8 Mar 2023 15:05:38 +0100 [thread overview]
Message-ID: <20230308140545.3366052-1-s.hauer@pengutronix.de> (raw)
Support for applying a device tree overlay to the barebox live tree
is already present. This series adds a few missing pieces:
- add support for applying overlays to the live tree from the command
line
- add support for adding new I2C/SPI devices via overlays
- add Makefile magic to build dtbo files and dtbo.o files to include
into the barebox binary from dtso files
Sascha Hauer (7):
kbuild: Add target to build dtb overlay files
driver: Add rescan hook to struct device
i2c: implement rescan
spi: Directly register SPI device
spi: reduce scope of 'chip'
spi: implement rescan
of_overlay: Add option to apply overlay to live tree
commands/of_overlay.c | 38 ++++++++++++++++++++++++++++++++++----
drivers/i2c/i2c.c | 16 +++-------------
drivers/of/platform.c | 5 ++++-
drivers/spi/spi.c | 31 ++++++++++++++++++++++++++-----
include/driver.h | 1 +
scripts/Makefile.build | 4 ++++
scripts/Makefile.lib | 11 ++++++++++-
7 files changed, 82 insertions(+), 24 deletions(-)
--
2.30.2
next reply other threads:[~2023-03-08 14:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 14:05 Sascha Hauer [this message]
2023-03-08 14:05 ` [PATCH 1/7] kbuild: Add target to build dtb overlay files Sascha Hauer
2023-03-08 14:05 ` [PATCH 2/7] driver: Add rescan hook to struct device Sascha Hauer
2023-03-08 14:05 ` [PATCH 3/7] i2c: implement rescan Sascha Hauer
2023-03-09 11:36 ` Ahmad Fatoum
2023-03-08 14:05 ` [PATCH 4/7] spi: Directly register SPI device Sascha Hauer
2023-03-08 14:05 ` [PATCH 5/7] spi: reduce scope of 'chip' Sascha Hauer
2023-03-08 14:05 ` [PATCH 6/7] spi: implement rescan Sascha Hauer
2023-03-08 14:05 ` [PATCH 7/7] of_overlay: Add option to apply overlay to live tree Sascha Hauer
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=20230308140545.3366052-1-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox