2474542f64
All legacy PWM providers have now been moved to the PWM subsystem. The plan for 3.8 is to adapt all board files to provide a lookup table for PWM devices in order to get rid of the global namespace. Subsequently, users of the legacy pwm_request() and pwm_free() functions can be migrated to the new pwm_get() and pwm_put() functions. Once this has been completed, the legacy API and the compatibility code in the core can be removed. In addition to the above, these changes also add support for configuring the polarity of a PWM signal (currently only supported on ECAP and EHRPWM) and include a much needed rework of the i.MX driver. Managed functions to obtain and release a PWM device (devm_pwm_get() and devm_pwm_put()) have been added and the pwm-backlight driver has been updated to use them. If the PWM subsystem hasn't been enabled, dummy functions are provided that allow the subsystem to safely compile out. Some common checks on input parameters have been moved to the core and removed from the drivers. Finally, a small fix corrects the description of the PWM specifier's second cell in the device tree representation. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAABAgAGBQJQcV6pAAoJEN0jrNd/PrOh594P/3NHPjnTiyAZpUICX4mJeoMd 1rX685HofCyX5jlHloS1pLRXYtIPZP97We5crNR/k/RujKcHAqAFzLtG2Jj93gxm nRUwLZ4xbrAgeaZeJV8YG1naWx9R1OjrK2sv+FyHRWsn9UZus2vDMV7tB0oNWo9k DMhtF1q7gQxx4nRu8z9FFybyItQinVREODNs+Gdv6AOJ36t+mOsGPL3LKZeFsIG3 LdaB1p3t/07Job4KwGYYRjkOR7bIQ+ADnnO8Pkk0a9lxkMI8rA0uFbLwgyx7Hohh xZtm8R5il2IlHwqh52RzpShceWICxCZ3htuIXTRbVa1PSEsBzZ66W2CT7sy1jPm5 lJlHgc7abaiwijtoG76I+Lgslv5UTViBuIYHSX4dH2kF3Jgm2SgTBNzZYePI5MMT BI3xc9WnwBpxgMybJsPHfU0Ff6O/9h9ab7q5lBOHkQJittahYxzWD+FgYlalcAa+ I919iFREKNZytewLnXu+4TG0RfacQoj6D5G+SquOGmXyKYRhhJ1O6WodnRZHi/0n M6J0f6fLxpomI1RMn44VYP43OPJCDYxgXYoDLwCZQL9tSWYpdhXoDrjcIPO547w1 ZS5HTXUE4DrxeYjoeqL555vtQIooM9CuH4JwKlz5zzea8NPC8eVtmNFTTWE6wKWX ZIOOLVvw/FI0/DSjBb8H =MQ5V -----END PGP SIGNATURE----- Merge tag 'for-3.7-rc1' of git://gitorious.org/linux-pwm/linux-pwm Pull pwm changes from Thierry Reding: "All legacy PWM providers have now been moved to the PWM subsystem. The plan for 3.8 is to adapt all board files to provide a lookup table for PWM devices in order to get rid of the global namespace. Subsequently, users of the legacy pwm_request() and pwm_free() functions can be migrated to the new pwm_get() and pwm_put() functions. Once this has been completed, the legacy API and the compatibility code in the core can be removed. In addition to the above, these changes also add support for configuring the polarity of a PWM signal (currently only supported on ECAP and EHRPWM) and include a much needed rework of the i.MX driver. Managed functions to obtain and release a PWM device (devm_pwm_get() and devm_pwm_put()) have been added and the pwm-backlight driver has been updated to use them. If the PWM subsystem hasn't been enabled, dummy functions are provided that allow the subsystem to safely compile out. Some common checks on input parameters have been moved to the core and removed from the drivers. Finally, a small fix corrects the description of the PWM specifier's second cell in the device tree representation." * tag 'for-3.7-rc1' of git://gitorious.org/linux-pwm/linux-pwm: (23 commits) pwm: dt: Fix description of second PWM cell pwm: Check for negative duty-cycle and period pwm: Add Ingenic JZ4740 support MIPS: JZ4740: Export timer API pwm: Move PUV3 PWM driver to PWM framework unicore32: pwm: Use managed resource allocations unicore32: pwm: Remove unnecessary indirection unicore32: pwm: Use module_platform_driver() unicore32: pwm: Properly remap memory-mapped registers pwm-backlight: Use devm_pwm_get() instead of pwm_get() pwm: Move AB8500 PWM driver to PWM framework pwm: Fix compilation error when CONFIG_PWM is not defined pwm: i.MX: fix clock lookup pwm: i.MX: use per clock unconditionally pwm: i.MX: add devicetree support pwm: i.MX: Use module_platform_driver pwm: i.MX: add functions to enable/disable pwm. pwm: i.MX: remove unnecessary if in pwm_[en|dis]able pwm: i.MX: factor out SoC specific functions pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM ...
258 lines
4.4 KiB
Plaintext
258 lines
4.4 KiB
Plaintext
config UNICORE32
|
|
def_bool y
|
|
select HAVE_MEMBLOCK
|
|
select HAVE_GENERIC_DMA_COHERENT
|
|
select HAVE_GENERIC_HARDIRQS
|
|
select HAVE_DMA_ATTRS
|
|
select HAVE_KERNEL_GZIP
|
|
select HAVE_KERNEL_BZIP2
|
|
select GENERIC_ATOMIC64
|
|
select HAVE_KERNEL_LZO
|
|
select HAVE_KERNEL_LZMA
|
|
select ARCH_HAVE_CUSTOM_GPIO_H
|
|
select GENERIC_FIND_FIRST_BIT
|
|
select GENERIC_IRQ_PROBE
|
|
select GENERIC_IRQ_SHOW
|
|
select ARCH_WANT_FRAME_POINTERS
|
|
select GENERIC_IOMAP
|
|
help
|
|
UniCore-32 is 32-bit Instruction Set Architecture,
|
|
including a series of low-power-consumption RISC chip
|
|
designs licensed by PKUnity Ltd.
|
|
Please see web page at <http://www.pkunity.com/>.
|
|
|
|
config GENERIC_GPIO
|
|
def_bool y
|
|
|
|
config GENERIC_CSUM
|
|
def_bool y
|
|
|
|
config NO_IOPORT
|
|
bool
|
|
|
|
config STACKTRACE_SUPPORT
|
|
def_bool y
|
|
|
|
config HAVE_LATENCYTOP_SUPPORT
|
|
def_bool y
|
|
|
|
config LOCKDEP_SUPPORT
|
|
def_bool y
|
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
|
def_bool y
|
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U32
|
|
bool
|
|
|
|
config ARCH_HAS_ILOG2_U64
|
|
bool
|
|
|
|
config ARCH_HAS_CPUFREQ
|
|
bool
|
|
|
|
config GENERIC_HWEIGHT
|
|
def_bool y
|
|
|
|
config GENERIC_CALIBRATE_DELAY
|
|
def_bool y
|
|
|
|
config ARCH_MAY_HAVE_PC_FDC
|
|
bool
|
|
|
|
config NEED_DMA_MAP_STATE
|
|
def_bool y
|
|
|
|
source "init/Kconfig"
|
|
|
|
source "kernel/Kconfig.freezer"
|
|
|
|
menu "System Type"
|
|
|
|
config MMU
|
|
def_bool y
|
|
|
|
config ARCH_FPGA
|
|
bool
|
|
|
|
config ARCH_PUV3
|
|
def_bool y
|
|
select CPU_UCV2
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_CLK
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ARCH_HAS_CPUFREQ
|
|
|
|
# CONFIGs for ARCH_PUV3
|
|
|
|
if ARCH_PUV3
|
|
|
|
choice
|
|
prompt "Board Selection"
|
|
default PUV3_DB0913
|
|
|
|
config PUV3_FPGA_DLX200
|
|
select ARCH_FPGA
|
|
bool "FPGA board"
|
|
|
|
config PUV3_DB0913
|
|
bool "DEBUG board (0913)"
|
|
|
|
config PUV3_NB0916
|
|
bool "NetBook board (0916)"
|
|
select PWM
|
|
select PWM_PUV3
|
|
|
|
config PUV3_SMW0919
|
|
bool "Security Mini-Workstation board (0919)"
|
|
|
|
endchoice
|
|
|
|
config PUV3_PM
|
|
def_bool y if !ARCH_FPGA
|
|
|
|
endif
|
|
|
|
source "arch/unicore32/mm/Kconfig"
|
|
|
|
comment "Floating poing support"
|
|
|
|
config UNICORE_FPU_F64
|
|
def_bool y if !ARCH_FPGA
|
|
|
|
endmenu
|
|
|
|
menu "Bus support"
|
|
|
|
config PCI
|
|
bool "PCI Support"
|
|
help
|
|
Find out whether you have a PCI motherboard. PCI is the name of a
|
|
bus system, i.e. the way the CPU talks to the other stuff inside
|
|
your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
|
|
VESA. If you have PCI, say Y, otherwise N.
|
|
|
|
source "drivers/pci/Kconfig"
|
|
|
|
source "drivers/pcmcia/Kconfig"
|
|
|
|
endmenu
|
|
|
|
menu "Kernel Features"
|
|
|
|
source "kernel/Kconfig.preempt"
|
|
|
|
source "kernel/Kconfig.hz"
|
|
|
|
source "mm/Kconfig"
|
|
|
|
config LEDS
|
|
def_bool y
|
|
depends on GENERIC_GPIO
|
|
|
|
config ALIGNMENT_TRAP
|
|
def_bool y
|
|
help
|
|
Unicore processors can not fetch/store information which is not
|
|
naturally aligned on the bus, i.e., a 4 byte fetch must start at an
|
|
address divisible by 4. On 32-bit Unicore processors, these non-aligned
|
|
fetch/store instructions will be emulated in software if you say
|
|
here, which has a severe performance impact. This is necessary for
|
|
correct operation of some network protocols. With an IP-only
|
|
configuration it is safe to say N, otherwise say Y.
|
|
|
|
endmenu
|
|
|
|
menu "Boot options"
|
|
|
|
config CMDLINE
|
|
string "Default kernel command string"
|
|
default ""
|
|
|
|
config CMDLINE_FORCE
|
|
bool "Always use the default kernel command string"
|
|
depends on CMDLINE != ""
|
|
help
|
|
Always use the default kernel command string, even if the boot
|
|
loader passes other arguments to the kernel.
|
|
This is useful if you cannot or don't want to change the
|
|
command-line options your boot loader passes to the kernel.
|
|
|
|
If unsure, say N.
|
|
|
|
endmenu
|
|
|
|
menu "Userspace binary formats"
|
|
|
|
source "fs/Kconfig.binfmt"
|
|
|
|
endmenu
|
|
|
|
menu "Power management options"
|
|
|
|
source "kernel/power/Kconfig"
|
|
|
|
if ARCH_HAS_CPUFREQ
|
|
source "drivers/cpufreq/Kconfig"
|
|
endif
|
|
|
|
config ARCH_SUSPEND_POSSIBLE
|
|
def_bool y if !ARCH_FPGA
|
|
|
|
config ARCH_HIBERNATION_POSSIBLE
|
|
def_bool y if !ARCH_FPGA
|
|
|
|
endmenu
|
|
|
|
source "net/Kconfig"
|
|
|
|
if ARCH_PUV3
|
|
|
|
config PUV3_GPIO
|
|
bool
|
|
depends on !ARCH_FPGA
|
|
select GENERIC_GPIO
|
|
select GPIO_SYSFS if EXPERIMENTAL
|
|
default y
|
|
|
|
if PUV3_NB0916
|
|
|
|
menu "PKUnity NetBook-0916 Features"
|
|
|
|
config I2C_BATTERY_BQ27200
|
|
tristate "I2C Battery BQ27200 Support"
|
|
select I2C_PUV3
|
|
select POWER_SUPPLY
|
|
select BATTERY_BQ27x00
|
|
|
|
config I2C_EEPROM_AT24
|
|
tristate "I2C EEPROMs AT24 support"
|
|
select I2C_PUV3
|
|
select EEPROM_AT24
|
|
|
|
config LCD_BACKLIGHT
|
|
tristate "LCD Backlight support"
|
|
select BACKLIGHT_LCD_SUPPORT
|
|
select BACKLIGHT_PWM
|
|
|
|
endmenu
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
source "drivers/Kconfig"
|
|
|
|
source "fs/Kconfig"
|
|
|
|
source "arch/unicore32/Kconfig.debug"
|
|
|
|
source "security/Kconfig"
|
|
|
|
source "crypto/Kconfig"
|
|
|
|
source "lib/Kconfig"
|