Skip to content

Support children for legacy device properties

Dmitry Torokhov linux-gpio linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5device property: split generic properties and property setsdrivers/base/Makefile drivers/base/property.c drivers/base/pset_property.c+542 -5270 replies
2/5device property: introduce notion of subnodes for legacy boardsdrivers/base/pset_property.c include/linux/property.h+102 -1214 replies
3/5device property: export property_set structuredrivers/base/pset_property.c include/linux/property.h+31 -290 replies
4/5gpiolib: add support for fetching descriptors from static propertiesdrivers/gpio/gpiolib.c+79 -303 replies
5/5RFC: ARM: simone: Hacked in keysarch/arm/mach-ep93xx/simone.c+60 -00 replies

Reviews trailers per patch

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

PatchLinus Walleij
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [RFC/PATCH 0/5] Support children for legacy device properties

The generic device properties APIs are very helpful as they allow abstracting away details of the platform (whether it is ACPI, device tree, or legacy board file), so that individual driver does not need separate code paths to support all variants. However there are drivers that currently can not use generic device properties API as they need notion of children properties, for example gpio_keys driver, that expects every button to be described as a sub-node of main device.

This patch series introduces notion of sub-nodes for static properties and ties it up with GPIO lookup tables so that they are usable with sub-nodes as well.

Thanks.

Signature · 1 line
Dmitry