Skip to content

gpio-twl4030: add new device tree properties

Tony Lindgren linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 2 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] gpio-twl4030: add new device tree properties
Quoted 31 lines · Benoit Cousson

Hi Florian,

Quoted 8 lines · Florian Vaussard

Hello,

A number of platform data are missing when using twl4030/gpio from a device tree. This patchset adds the missing properties, updates the documentation with the new bindings, and updates existing device trees. It mainly enables LEDA and LEDB outputs, as well as pullups / pulldowns on GPIOs.

Quoted 8 lines

The 1st patch changes the device driver and updates the documentation. The 2nd patch updates the device trees for BeagleBoard and omap3-evm.

Changes since v1:
- Patches on driver and documentation merged into the same patch
- Put device trees' values in hexadecimal
- Handle bool property using of_property_read_bool()
- Prefix the patches with the correct convention

Thanks for the update.

Quoted 1 line

Tested on Gumstix Overo. V1 was tested on omap3-evm by Vaibhav Hiremath.

I've just tested it on beagle xM. I can play with D12 led using:

echo 255 > /sys/class/leds/beagleboard\:\:pmu_stat/brightness

Quoted 8 lines
Quoted 1 line

BTW: who will merge this?

Since Linus already acked it, Tony can merge it.

Tony,

I can add that series in my DTS series for 3.7 if you want.

Yes please do thanks.

Tony