Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333107
b: refs/heads/master
c: f6b8a57
h: refs/heads/master
i:
  333105: ff2ab79
  333103: 6362db1
v: v3
  • Loading branch information
Thierry Reding committed Oct 5, 2012
1 parent 2f9aeeb commit 9530194
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 183 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46a98765133bd880916415d431698797010d4ba8
refs/heads/master: f6b8a5700057cc1b531c2f9b7806428a6f83b467
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/mach-jz4740/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ extern struct platform_device jz4740_pcm_device;
extern struct platform_device jz4740_codec_device;
extern struct platform_device jz4740_adc_device;
extern struct platform_device jz4740_wdt_device;
extern struct platform_device jz4740_pwm_device;

void jz4740_serial_device_register(void);

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/mips/jz4740/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ config JZ4740_QI_LB60
bool "Qi Hardware Ben NanoNote"

endchoice

config HAVE_PWM
bool
2 changes: 1 addition & 1 deletion trunk/arch/mips/jz4740/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Object file lists.

obj-y += prom.o irq.o time.o reset.o setup.o dma.o \
gpio.o clock.o platform.o timer.o pwm.o serial.o
gpio.o clock.o platform.o timer.o serial.o

obj-$(CONFIG_DEBUG_FS) += clock-debugfs.o

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/jz4740/board-qi_lb60.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ static struct platform_device *jz_platform_devices[] __initdata = {
&jz4740_codec_device,
&jz4740_rtc_device,
&jz4740_adc_device,
&jz4740_pwm_device,
&qi_lb60_gpio_keys,
&qi_lb60_pwm_beeper,
&qi_lb60_charger_device,
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/mips/jz4740/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,9 @@ struct platform_device jz4740_wdt_device = {
.num_resources = ARRAY_SIZE(jz4740_wdt_resources),
.resource = jz4740_wdt_resources,
};

/* PWM */
struct platform_device jz4740_pwm_device = {
.name = "jz4740-pwm",
.id = -1,
};
177 changes: 0 additions & 177 deletions trunk/arch/mips/jz4740/pwm.c

This file was deleted.

11 changes: 10 additions & 1 deletion trunk/drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
menuconfig PWM
bool "Pulse-Width Modulation (PWM) Support"
depends on !MACH_JZ4740
help
Generic Pulse-Width Modulation (PWM) support.

Expand Down Expand Up @@ -56,6 +55,16 @@ config PWM_IMX
To compile this driver as a module, choose M here: the module
will be called pwm-imx.

config PWM_JZ4740
tristate "Ingenic JZ4740 PWM support"
depends on MACH_JZ4740
help
Generic PWM framework driver for Ingenic JZ4740 based
machines.

To compile this driver as a module, choose M here: the module
will be called pwm-jz4740.

config PWM_LPC32XX
tristate "LPC32XX PWM support"
depends on ARCH_LPC32XX
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/pwm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ obj-$(CONFIG_PWM) += core.o
obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
obj-$(CONFIG_PWM_BFIN) += pwm-bfin.o
obj-$(CONFIG_PWM_IMX) += pwm-imx.o
obj-$(CONFIG_PWM_JZ4740) += pwm-jz4740.o
obj-$(CONFIG_PWM_LPC32XX) += pwm-lpc32xx.o
obj-$(CONFIG_PWM_MXS) += pwm-mxs.o
obj-$(CONFIG_PWM_PUV3) += pwm-puv3.o
Expand Down
Loading

0 comments on commit 9530194

Please sign in to comment.