X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fsunxi%2Fpatches-3.14%2F250-pwm-add-driver.patch;h=d4af96faef1a3229f9ec9b099d1c0c96fbff57d1;hb=e5441232a81d01e2ed46d88e340a30fd6b15b012;hp=8d77a3408ef0e596f6f45ca429ffb976a1f11ad8;hpb=048910c4e07b6fae28513ce1dea62fe3b6bb03de;p=15.05%2Fopenwrt.git diff --git a/target/linux/sunxi/patches-3.14/250-pwm-add-driver.patch b/target/linux/sunxi/patches-3.14/250-pwm-add-driver.patch index 8d77a3408e..d4af96faef 100644 --- a/target/linux/sunxi/patches-3.14/250-pwm-add-driver.patch +++ b/target/linux/sunxi/patches-3.14/250-pwm-add-driver.patch @@ -1,8 +1,6 @@ -diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig -index 5b34ff29ea38..178b017be827 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig -@@ -217,6 +217,15 @@ config PWM_SPEAR +@@ -187,6 +187,15 @@ config PWM_SPEAR To compile this driver as a module, choose M here: the module will be called pwm-spear. @@ -18,11 +16,9 @@ index 5b34ff29ea38..178b017be827 100644 config PWM_TEGRA tristate "NVIDIA Tegra PWM support" depends on ARCH_TEGRA -diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile -index e57d2c38a794..39997ea2e276 100644 --- a/drivers/pwm/Makefile +++ b/drivers/pwm/Makefile -@@ -19,6 +19,7 @@ obj-$(CONFIG_PWM_PXA) += pwm-pxa.o +@@ -16,6 +16,7 @@ obj-$(CONFIG_PWM_PXA) += pwm-pxa.o obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o obj-$(CONFIG_PWM_SPEAR) += pwm-spear.o @@ -30,9 +26,6 @@ index e57d2c38a794..39997ea2e276 100644 obj-$(CONFIG_PWM_TEGRA) += pwm-tegra.o obj-$(CONFIG_PWM_TIECAP) += pwm-tiecap.o obj-$(CONFIG_PWM_TIEHRPWM) += pwm-tiehrpwm.o -diff --git a/drivers/pwm/pwm-sunxi.c b/drivers/pwm/pwm-sunxi.c -new file mode 100644 -index 000000000000..e7c3ca1d3c42 --- /dev/null +++ b/drivers/pwm/pwm-sunxi.c @@ -0,0 +1,338 @@