summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/media
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2016-04-28 08:21:03 -0700
committerTony Lindgren <tony@atomide.com>2016-04-28 14:26:32 -0700
commit8453c5cafd32c4d6bd13ec4a62d4b639f4edb222 (patch)
tree965affedb15af55e92a5304e0dc8ca5ba5e4902c /include/linux/platform_data/media
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
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>
Diffstat (limited to 'include/linux/platform_data/media')
-rw-r--r--include/linux/platform_data/media/ir-rx51.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/media/ir-rx51.h b/include/linux/platform_data/media/ir-rx51.h
index 104aa892f31b..3038120ca46e 100644
--- a/include/linux/platform_data/media/ir-rx51.h
+++ b/include/linux/platform_data/media/ir-rx51.h
@@ -5,6 +5,7 @@ struct lirc_rx51_platform_data {
int pwm_timer;
int(*set_max_mpu_wakeup_lat)(struct device *dev, long t);
+ struct pwm_omap_dmtimer_pdata *dmtimer;
};
#endif