Generialize bus specific property accessors. Those functions allow driver code
to access device specific information.
Currently there is only support for FDT and ACPI buses.
Differential D31597
device: add device_get_property and device_has_property bag_semihalf.com on Aug 18 2021, 8:46 AM. Authored by Tags None Referenced Files
Subscribers
Details Generialize bus specific property accessors. Those functions allow driver code Currently there is only support for FDT and ACPI buses.
Diff Detail
Event TimelineComment Actions This really needs man pages, but otherwise looks OK to me module one nit in bus.h
Comment Actions Sorry; post-commit comment for enhancement.
Comment Actions FYI I have further changes to use the handle internally for _DSD as some non-native ACPI devices (no _HID) can then also use these functions (directly) to get properties; I'll extract them and post them and try to Cc: you. And maybe you guys have better ways to handle that; I hit the problem with MDI0/PHY and PR<n>s for dpaa2. Comment Actions Please add me to all related dpaa2/MDIO/PHY/ACPI-related reviews. Thank you in advance, |