diff options
author | Remo Senekowitsch <remo@buenzli.dev> | 2025-06-16 17:45:11 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-06-25 17:48:41 +0200 |
commit | c79cbde9b7bc7a650af96269588518950e3c2441 (patch) | |
tree | 92da49bc9289a3a8dc64f7687ef2de9af4d6910f /rust/helpers/of.c | |
parent | c3e05bd15e0c99f3ff45e0b1f01814778bc1128c (diff) |
samples: rust: platform: Add property child and reference args examples
Add some example usage of the device property methods for reading
DT/ACPI/swnode child nodes and reference args.
Signed-off-by: Remo Senekowitsch <remo@buenzli.dev>
Link: https://lore.kernel.org/r/20250616154511.1862909-4-remo@buenzli.dev
[ Convert 'child@{0,1}' to 'child-{0,1}'; skip child nodes without
'compatible' property in of_unittest_platform_populate() as proposed
by Rob Herring. - Danilo]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/helpers/of.c')
0 files changed, 0 insertions, 0 deletions