Skip to content

gpio-twl4030: add new device tree properties

Florian Vaussard linux-arm-kernel linux-devicetree linux-omap 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio/twl4030: get platform data from device treeDocumentation/devicetree/bindings/gpio/gpio-twl4030.txt drivers/gpio/gpio-twl4030.c+63 -271 reply
1/2gpio/twl4030: get platform data from device tree+0 -01 reply
1/2gpio/twl4030: get platform data from device tree+0 -00 replies
2/2ARM: dts: omap3: Add gpio-twl4030 properties for BeagleBoard and omap3-EVMarch/arm/boot/dts/omap3-beagle.dts arch/arm/boot/dts/omap3-evm.dts+33 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijVaibhav HiremathBenoit Cousson
SeriesT-b
1/2A-b A-b A-b A-b
1/2A-b A-b A-b A-b
1/2A-b A-b A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] gpio-twl4030: add new device tree properties

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.

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

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

BTW: who will merge this?

Regards,
Florian

Florian Vaussard (2):
gpio/twl4030: get platform data from device tree
ARM: dts: omap3: Add gpio-twl4030 properties for BeagleBoard and
omap3-EVM

 .../devicetree/bindings/gpio/gpio-twl4030.txt      |    6 ++
 arch/arm/boot/dts/omap3-beagle.dts                 |   20 +++++
 arch/arm/boot/dts/omap3-evm.dts                    |   13 +++
 drivers/gpio/gpio-twl4030.c                        |   84 +++++++++++++------
 4 files changed, 96 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.5.4