Change Details
| target/linux/xburst/files-2.6.31/drivers/video/jzlcd.h |
| 656 | 656 | /*#if defined(CONFIG_JZ4740_LEO) || defined(CONFIG_JZ4740_PAVO)*/ |
| 657 | 657 | #if defined(CONFIG_SOC_JZ4740) |
| 658 | 658 | #if defined(CONFIG_JZ4740_PAVO) || defined(CONFIG_JZ4740_LYRA) |
| 659 | | #define GPIO_PWM 123 /* GP_D27 */ |
| 660 | 659 | #define PWM_CHN 4 /* pwm channel */ |
| 661 | 660 | #define PWM_FULL 101 |
| 662 | 661 | /* 100 level: 0,1,...,100 */ |
| 663 | 662 | #define __lcd_set_backlight_level(n)\ |
| 664 | 663 | do { \ |
| 665 | | __gpio_as_output(32*3+27); \ |
| 666 | | __gpio_set_pin(32*3+27); \ |
| 664 | __gpio_as_output(GPIO_PWM); \ |
| 665 | __gpio_set_pin(GPIO_PWM); \ |
| 667 | 666 | } while (0) |
| 668 | 667 | |
| 669 | 668 | #define __lcd_close_backlight() \ |
Download the corresponding diff file