From: Ahmad Fatoum <[email protected]>
To: [email protected]
Subject: [PATCH v2 0/6] commands: implement of_compatible command
Date: Fri, 19 May 2023 12:01:14 +0200 [thread overview]
Message-ID: <[email protected]> (raw)
This enables scripts to do:
if of_compatible -k radxa,rock3a radxa,rock5a ; then
of_property -df mmc0 sd-uhs-sdr104
fi
instead of checking $global.model. See individual patches for changelog.
Ahmad Fatoum (6):
treewide: don't mix goto labels and statements on same line
treewide: drop null pointer checks around of_delete_node
commands: of_property: use new of_read_file
commands: of_dump: remove duplicate error message
commands: of_dump: use of_dup instead of flattening/unflattening
commands: implement of_compatible command
commands/Kconfig | 15 ++++
commands/Makefile | 1 +
commands/of_compatible.c | 124 +++++++++++++++++++++++++++++++
commands/of_dump.c | 28 ++-----
commands/of_property.c | 16 +---
common/blspec.c | 3 +-
common/state/state.c | 15 ++--
common/state/state_variables.c | 9 ++-
drivers/usb/gadget/udc/fsl_udc.c | 3 +-
9 files changed, 168 insertions(+), 46 deletions(-)
create mode 100644 commands/of_compatible.c
--
2.39.2
next reply other threads:[~2023-05-19 10:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-19 10:01 Ahmad Fatoum [this message]
2023-05-19 10:01 ` [PATCH v2 1/6] treewide: don't mix goto labels and statements on same line Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 2/6] treewide: drop null pointer checks around of_delete_node Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 3/6] commands: of_property: use new of_read_file Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 4/6] commands: of_dump: remove duplicate error message Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 5/6] commands: of_dump: use of_dup instead of flattening/unflattening Ahmad Fatoum
2023-05-19 10:01 ` [PATCH v2 6/6] commands: implement of_compatible command Ahmad Fatoum
2023-05-25 7:36 ` [PATCH v2 0/6] " 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 \
[email protected] \
[email protected] \
[email protected] \
/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