Support reading an u32 from a multi-value property
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dm: test: add test case for dev_read_u64 functionarch/ include/ test/ | +27 | 2 replies | |
| 2/3 | dm: core: support reading a single indexed u32 valuearch/ drivers/ drivers/ +5 more | +189 | 1 reply | |
| 2/3 | dm: core: support reading a single indexed u32 value | +0 | 1 reply | |
| 3/3 | dm: core: refactor functions reading an u32 from dtdrivers/ drivers/ | +3 | 1 reply | |
| 3/3 | dm: core: refactor functions reading an u32 from dt | +0 | 1 reply | |
| 3/3 | dm: core: refactor functions reading an u32 from dt | +0 | 2 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/3 | R-b R-b |
| 2/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
| 3/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Support reading an u32 from a multi-value property
The main part of the series consists of adding the dev_read_u32_index and dev_read_u32_index_default functions. During implementation and testing I noticed the lack of testing for the 64-bit data access functions.
I decided to add the 64-bit test patch to the series to avoid merge conflicts that could have occurred with the submission of a single separated patch. In fact, it also contains changes to the test/dm/test-fdt.c file.
If this series is accepted, it will be possible to evaluate the addition of functions for indexed access also for the dev_read_s32 and dev_read_u32u functions. Maybe to add in a second version of this series.
Dario Binacchi (3):
dm: test: add test case for dev_read_u64 function
dm: core: support reading a single indexed u32 value
dm: core: refactor functions reading an u32 from dt
arch/sandbox/dts/test.dts | 2 ++ drivers/core/of_access.c | 38 ++++++++++++++++++------------ drivers/core/ofnode.c | 49 ++++++++++++++++++++++++++++----------- drivers/core/read.c | 13 +++++++++++ include/dm/of_access.h | 19 +++++++++++++++ include/dm/ofnode.h | 25 ++++++++++++++++++++ include/dm/read.h | 40 ++++++++++++++++++++++++++++++++ include/test/ut.h | 16 +++++++++++++ test/dm/test-fdt.c | 39 +++++++++++++++++++++++++++++++ 9 files changed, 212 insertions(+), 29 deletions(-)
Signature · 1 line
2.17.1