Skip to content

dt: omap hwmod-dt binding and omap3 i2c1 dt support

G, Manjunath Kondaiah linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14OMAP: omap_device: replace _find_by_pdev() with to_omap_device()arch/arm/plat-omap/omap_device.c+5 -100 replies
2/14OMAP: omap_device: replace debug/warning/error prints with dev_* macrosarch/arm/plat-omap/omap_device.c+35 -350 replies
4/14OMAP: McBSP: use existing macros for converting between devicesarch/arm/plat-omap/mcbsp.c+3 -32 replies
4/14OMAP: McBSP: use existing macros for converting between devices+0 -00 replies
8/14omap2+: Use Kconfig symbol in Makefile instead of obj-yarch/arm/mach-omap2/Makefile+32 -440 replies
9/14dt: omap: prepare hwmod to support dtarch/arm/mach-omap2/devices.c arch/arm/mach-omap2/mcbsp.c arch/arm/plat-omap/include/plat/omap_device.h +1 more+59 -91 reply
9/14dt: omap: prepare hwmod to support dt+0 -01 reply
9/14dt: omap: prepare hwmod to support dt+0 -01 reply
9/14dt: omap: prepare hwmod to support dt+0 -00 replies
10/14dt: Add pd_size to AUXDATA structure+0 -00 replies
11/14dt: omap3: add soc file for handling i2c controllersarch/arm/boot/dts/omap3-soc.dtsi+62 -01 reply
11/14dt: omap3: add soc file for handling i2c controllers+0 -01 reply
11/14dt: omap3: add soc file for handling i2c controllers+0 -00 replies
12/14dt: omap3: beagle board: set clock freq for i2c devicesarch/arm/boot/dts/omap3-beagle-nunchuck.dts arch/arm/boot/dts/omap3-beagle.dts+16 -131 reply
12/14dt: omap3: beagle board: set clock freq for i2c devices+0 -00 replies
13/14dt: omap3: add generic board file for dt supportarch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/board-omap3-dt.c +1 more+105 -130 replies
14/14dt: omap3: enable dt support for i2c1 controller+0 -00 replies

Reviews trailers per patch

2 of 17 patches have a Reviewed-by or Acked-by.

PatchFelipe Balbi
1/14R-b
2/14R-b
4/14
4/14
8/14
9/14
9/14
9/14
9/14
10/14
11/14
11/14
11/14
12/14
12/14
13/14
14/14

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 00/14] dt: omap hwmod-dt binding and omap3 i2c1 dt support

This is in continuation of patch series posted at:
http://lwn.net/Articles/451917/

Patches from Kevin Hilman and others are consolidated along with this series since it will be part of ongoing work of decoupling pdev from omap_device.
[There is latest version posted which will be rebased later]

Apart from the above, the major feature included in this series is dt-hwmod binding and preparing omap hwmod framework for adapting omap drivers to support omap dt after aligning with Grant Likely <[email protected]>

However, current hwmod-dt binding will be replaced with notifiers in generic board file and hwmod device pointer will be scanned and attached in notifier call.

Used 3.0 stable kernel version for this patch series since latest mainline was broken for beagle boot last week.

git://git.secretlab.ca/git/linux-2.6.git
Branch: devicetree/test-3.0

G, Manjunath Kondaiah (6):
dt: omap: prepare hwmod to support dt
dt: Add pd_size to AUXDATA structure
dt: omap3: add soc file for handling i2c controllers
dt: omap3: beagle board: set clock freq for i2c devices
dt: omap3: add generic board file for dt support
dt: omap3: enable dt support for i2c1 controller

Kevin Hilman (7):
OMAP: omap_device: replace _find_by_pdev() with to_omap_device()
OMAP: omap_device: replace debug/warning/error prints with dev_*
macros
OMAP3: beagle: don't touch omap_device internals
OMAP: McBSP: use existing macros for converting between devices
OMAP: omap_device: remove internal functions from omap_device.h
OMAP: omap_device: when building return platform_device instead of
omap_device
ARM: platform_device: pdev_archdata: add omap_device pointer

Tony Lindgren (1):
omap2+: Use Kconfig symbol in Makefile instead of obj-y

 arch/arm/boot/dts/omap3-beagle-nunchuck.dts   |   11 +--
 arch/arm/boot/dts/omap3-beagle.dts            |   18 +++-
 arch/arm/boot/dts/omap3-soc.dtsi              |   62 ++++++++++
 arch/arm/include/asm/device.h                 |    5 +
 arch/arm/mach-omap2/Kconfig                   |   11 ++
 arch/arm/mach-omap2/Makefile                  |   77 ++++++-------
 arch/arm/mach-omap2/board-omap3-dt.c          |   93 +++++++++++++++
 arch/arm/mach-omap2/board-omap3beagle.c       |   40 ++-----
 arch/arm/mach-omap2/devices.c                 |   44 ++++----
 arch/arm/mach-omap2/display.c                 |    6 +-
 arch/arm/mach-omap2/dma.c                     |   16 ++--
 arch/arm/mach-omap2/gpio.c                    |    8 +-
 arch/arm/mach-omap2/hsmmc.c                   |    8 +-
 arch/arm/mach-omap2/hwspinlock.c              |    8 +-
 arch/arm/mach-omap2/mcbsp.c                   |    8 +-
 arch/arm/mach-omap2/pm.c                      |    8 +-
 arch/arm/mach-omap2/serial.c                  |   12 +-
 arch/arm/plat-omap/i2c.c                      |    8 +-
 arch/arm/plat-omap/include/plat/omap_device.h |   17 ++-
 arch/arm/plat-omap/mcbsp.c                    |    6 +-
 arch/arm/plat-omap/omap_device.c              |  150 ++++++++++++++++---------
 drivers/i2c/busses/i2c-omap.c                 |   23 ++++-
 drivers/of/platform.c                         |   41 +++++++
 include/linux/of_platform.h                   |    5 +
 24 files changed, 469 insertions(+), 216 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-soc.dtsi
 create mode 100644 arch/arm/mach-omap2/board-omap3-dt.c