diff options
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch b/target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch index 9d7a27e..8ca6c49 100644 --- a/target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch +++ b/target/linux/mediatek/patches-4.4/0071-pwm-add-pwm-mediatek.patch @@ -13,8 +13,6 @@ Signed-off-by: John Crispin <john@phrozen.org> 5 files changed, 279 insertions(+) create mode 100644 drivers/pwm/pwm-mediatek.c -diff --git a/arch/arm/boot/dts/mt7623-evb.dts b/arch/arm/boot/dts/mt7623-evb.dts -index 5ad1448..70bc6b1 100644 --- a/arch/arm/boot/dts/mt7623-evb.dts +++ b/arch/arm/boot/dts/mt7623-evb.dts @@ -341,6 +341,17 @@ @@ -45,8 +43,6 @@ index 5ad1448..70bc6b1 100644 + pinctrl-0 = <&pwm_pins>; + status = "okay"; +}; -diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi -index cbbdf16..3f50e7e 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -324,6 +324,28 @@ @@ -78,8 +74,6 @@ index cbbdf16..3f50e7e 100644 spi: spi@1100a000 { compatible = "mediatek,mt7623-spi", "mediatek,mt6589-spi"; reg = <0 0x1100a000 0 0x1000>; -diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig -index 2f4641a..5860b1f 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -260,6 +260,15 @@ config PWM_MTK_DISP @@ -98,11 +92,9 @@ index 2f4641a..5860b1f 100644 config PWM_MXS tristate "Freescale MXS PWM support" depends on ARCH_MXS && OF -diff --git a/drivers/pwm/Makefile b/drivers/pwm/Makefile -index 69b8275..a90d5de 100644 --- a/drivers/pwm/Makefile +++ b/drivers/pwm/Makefile -@@ -22,6 +22,7 @@ obj-$(CONFIG_PWM_LPC32XX) += pwm-lpc32xx.o +@@ -22,6 +22,7 @@ obj-$(CONFIG_PWM_LPC32XX) += pwm-lpc32xx obj-$(CONFIG_PWM_LPSS) += pwm-lpss.o obj-$(CONFIG_PWM_LPSS_PCI) += pwm-lpss-pci.o obj-$(CONFIG_PWM_LPSS_PLATFORM) += pwm-lpss-platform.o @@ -110,9 +102,6 @@ index 69b8275..a90d5de 100644 obj-$(CONFIG_PWM_MTK_DISP) += pwm-mtk-disp.o obj-$(CONFIG_PWM_MXS) += pwm-mxs.o obj-$(CONFIG_PWM_PCA9685) += pwm-pca9685.o -diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c -new file mode 100644 -index 0000000..9d8d16d --- /dev/null +++ b/drivers/pwm/pwm-mediatek.c @@ -0,0 +1,230 @@ @@ -346,6 +335,3 @@ index 0000000..9d8d16d +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); +MODULE_ALIAS("platform:mtk-pwm"); --- -1.7.10.4 - |