Commit c79cbde9 authored by Remo Senekowitsch's avatar Remo Senekowitsch Committed by Danilo Krummrich
Browse files

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: default avatarRemo 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: default avatarDanilo Krummrich <dakr@kernel.org>
parent c3e05bd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment