ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51
authorTony Lindgren <tony@atomide.com>
Thu, 28 Apr 2016 15:21:03 +0000 (08:21 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 28 Apr 2016 21:26:32 +0000 (14:26 -0700)
commit8453c5cafd32c4d6bd13ec4a62d4b639f4edb222
tree965affedb15af55e92a5304e0dc8ca5ba5e4902c
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51

Before we start removing omap3 legacy booting support, let's make n900
DT booting behave the same way for ir-rx51 as the legacy booting does.

For now, we need to pass pdata to the ir-rx51 driver. This means that
the n900 tree can move to using DT based booting without having to carry
all the legacy platform data with it when it gets dropped from the mainline
tree.

Note that the ir-rx51 driver is currently disabled because of the
dependency to !ARCH_MULTIPLATFORM. This will get sorted out later
with the help of drivers/pwm/pwm-omap-dmtimer.c. But first we need
to add chained IRQ support to dmtimer code to avoid introducing new
custom frameworks.

So let's just pass the necessary dmtimer functions to ir-rx51 so we
can get it working in the following patch.

Cc: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/pdata-quirks.c
include/linux/platform_data/media/ir-rx51.h
include/linux/platform_data/pwm_omap_dmtimer.h
This page took 0.026979 seconds and 5 git commands to generate.