]> asedeno.scripts.mit.edu Git - linux.git/commit
pwm: imx: Split into two drivers
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 7 Jan 2019 19:53:52 +0000 (20:53 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Jan 2019 07:45:33 +0000 (08:45 +0100)
commitd80f8206905c1a8c3857d90f12bbfd6293b48a4b
treea41575aea576d5f2c02c1b979d0ebf2e29ccb872
parentb9a5c60bc2f65561535dc05d0c740aa6e9e3bdf2
pwm: imx: Split into two drivers

The two PWM implementations called v1 (for i.MX1 and i.MX21) and v2 (for
i.MX27 and later) have nothing in common apart from needing two clocks
named "per" and "ipg" and being integrated in a SoC named i.MX.

So split the file containing the two disjunct drivers into two files and
two complete separate drivers.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[thierry.reding@gmail.com: fix a modular build issue]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-imx1.c [new file with mode: 0644]
drivers/pwm/pwm-imx27.c [moved from drivers/pwm/pwm-imx.c with 61% similarity]