Skip to content

device property: support for "built-in" properties

Rafael J. Wysocki linux-acpi linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3device property: Make it possible to use secondary firmware nodesdrivers/base/core.c include/linux/acpi.h include/linux/device.h +1 more+57 -20 replies
2/3device property: Introduce firmware node type for platform datadrivers/base/property.c include/linux/fwnode.h include/linux/property.h+127 -50 replies
3/3device property: Implement fallback to built-in propertiesdrivers/base/property.c+29 -202 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHeikki KrogerusGreg Kroah-Hartman
SeriesT-b T-b A-b A-b
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] device property: support for "built-in" properties

Hi,

Patches [1-2/3] add support for properties provided in a "pdata way" roughly along the lines of the Heikki's patch at

https://patchwork.kernel.org/patch/5709461/

but using the fwnode field in struct device introduced by one of my previous patches (currently in linux-next).

Patch [3/3] does one more interesting thing on top of that, but is mostly for discussion. Namely, it changes the behavior of the unified device properties API to fall back to the "built-in" properties when it cannot find the requested data in the stuff provided by the platform firmware.

Currently, that patch would introduce an artificial difference between ACPI and DT, because DT uses the of_node pointer in struct device won't use the set_primary_fwnode() thing introduced buy the [1/3]. However, I have an idea about how that can be worked around, but more on that in the changelog of patch [3/3].

Kind regards,
Rafael