Skip to content

extcon-gpio: Add devicetree support

Guenter Roeck linux-devicetree lkml 1 version Applied

Status from this message: Applied it on extcon-linus branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6extcon-gpio: Do not unnecessarily initialize variablesdrivers/extcon/extcon-gpio.c+1 -11 reply
2/6extcon-gpio: If the gpio driver/chip supports debounce, use itdrivers/extcon/extcon-gpio.c+5 -06 replies
3/6extcon-gpio: Add support for active-low presence detect pinsdrivers/extcon/extcon-gpio.c include/linux/extcon/extcon-gpio.h+4 -14 replies
4/6extcon-gpio: Add devicetree supportdrivers/extcon/extcon-gpio.c+57 -22 replies
5/6extcon-gpio: Describe devicetree bindingsDocumentation/devicetree/bindings/extcon/extcon-gpio+23 -08 replies
6/6extcon-gpio: Describe possible properties to support multi-type cablesDocumentation/devicetree/bindings/extcon/extcon-gpio+26 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] extcon-gpio: Add devicetree support

The first three patches of this series are either cleanup or add functionality unrelated to devicetree support and should hopefully be acceptable as-is or with minor modifications.

Patch 1 of this series is a tiny cleanup patch.
Patch 2 adds support for hardware debounce. If the gpio chip supports debounce, use it instead of software debounce.
Patch 3 adds support for low-active presence detect signals.

Patch 4 and 5 add devicetree support. Patch 4 is the actual code and patch 5 describes devicetree bindings. Both could possibly be merged into a single patch.

Patch 6 adds possible properties for connectors supporting multiple cable types to the devicetree bindings document. This is purely for discussion and would be implemented in a separate patch. While I don't need this code for our application, I would be happy to provide it if the community sees value in it.