Skip to content

OMAP4: Add DT support for i2c and twl6030

Rob Herring 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. v3 Latest3 of 11 patches 0 repliesNew
  2. v22 of 10 patches 0 repliesSuperseded

3 of 11 patches are in this archive. The cover letter announces 11.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/11i2c: OMAP: Add DT support for i2c controller+0 -01 reply
7/11arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC+0 -00 replies
7/11arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC+0 -00 replies

Reviews trailers per patch

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

PatchRob Herring
SeriesA-b
2/11R-b
7/11
7/11

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

Read the v3 thread

Cover letter [PATCH v3 00/11] OMAP4: Add DT support for i2c and twl6030
Quoted 55 lines · Benoit Cousson

Hi Tony and Rob,

Here is the updated version of the i2c + twl DT adaptation series.

This update, compared to v2 [1], is adding some dedicated dtsi files for the twl PMIC and audio IC. These devices will contain a huge amount of regulator nodes and thus deserve a dedicated file to avoid every boards to redefine the same data.
The twl patch is now included in Samuel's for-next branch and thus dropped from this update.
The i2c binding was cleaned as suggested by Rob to avoid all the ugly hexa flags inside the DTS.

The pm.c was updated to prevent the SR / VP initialization in the DT context since none of them is DT aware for the moment.

A couple of basic i2c devices are added for panda, beagle and sdp board.

Patches are based on for_3.3/2_dt_irq, to get the latest GIC binding, and are available here:
git://gitorious.org/omap-pm/linux.git for_3.3/3_omap_dt_i2c_twl

Tested on Beagle and sdp4430.

Comments are welcome.

Regards,
Benoit

[1] http://www.spinics.net/lists/linux-omap/msg61260.html

Benoit Cousson (11):
ARM: OMAP2+: pm: Do not init statically the SR and voltage layer with DT
i2c: OMAP: Add DT support for i2c controller
rtc: rtc-twl: Add DT support for RTC inside twl4030/twl6030 arm/dts: OMAP4: Add i2c controller nodes
arm/dts: OMAP3: Add i2c controller nodes
arm/dts: twl6030: Add DTS file for twl6030 PMIC
arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC arm/dts: omap4-panda: Add twl6030 and i2c EEPROM
arm/dts: omap4-sdp: Add twl6030, i2c3 and i2c4 devices arm/dts: omap3-beagle: Add twl4030 and i2c EEPROM
ARM: OMAP2+: board-generic: Remove i2c static init

 Documentation/devicetree/bindings/i2c/omap-i2c.txt |   30 ++++++
 Documentation/devicetree/bindings/rtc/twl-rtc.txt  |   12 +++
 arch/arm/boot/dts/omap3-beagle.dts                 |   29 ++++++
 arch/arm/boot/dts/omap3.dtsi                       |   21 ++++
 arch/arm/boot/dts/omap4-panda.dts                  |   34 +++++++
 arch/arm/boot/dts/omap4-sdp.dts                    |   53 ++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |   28 ++++++
 arch/arm/boot/dts/twl4030.dtsi                     |   21 ++++
 arch/arm/boot/dts/twl6030.dtsi                     |   22 ++++
 arch/arm/mach-omap2/board-generic.c                |   48 +---------
Quoted 8 lines
 arch/arm/mach-omap2/pm.c                           |    8 ++
 drivers/i2c/busses/i2c-omap.c                      |  101 +++++++++++++-------
 drivers/rtc/rtc-twl.c                              |   10 ++-
 13 files changed, 334 insertions(+), 83 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/omap-i2c.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/twl-rtc.txt
 create mode 100644 arch/arm/boot/dts/twl4030.dtsi
 create mode 100644 arch/arm/boot/dts/twl6030.dtsi

For the series: