![Heiko Stübner](/assets/img/avatar_default.png)
The bq24022 on these machines is a very simple regulator using gpios. One provides the on/off functionality and a second one is used to change the current between 100 and 500 mA. This functionality can also be provided by the more generic gpio-regulator. Therefore convert both machines which makes it possible to remove the bq24022 driver later on. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
183 lines
4.1 KiB
Plaintext
183 lines
4.1 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=16
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_EXPERT=y
|
|
# CONFIG_UID16 is not set
|
|
CONFIG_SLAB=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
# CONFIG_IOSCHED_DEADLINE is not set
|
|
# CONFIG_IOSCHED_CFQ is not set
|
|
CONFIG_ARCH_PXA=y
|
|
CONFIG_MACH_H4700=y
|
|
CONFIG_MACH_MAGICIAN=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_AEABI=y
|
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
CONFIG_CMDLINE="keepinitrd"
|
|
CONFIG_KEXEC=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
|
CONFIG_FPE_NWFPE=y
|
|
CONFIG_PM=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_IP_PNP=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_IRDA=m
|
|
CONFIG_IRLAN=m
|
|
CONFIG_IRCOMM=m
|
|
CONFIG_IRDA_ULTRA=y
|
|
CONFIG_IRDA_CACHE_LAST_LSAP=y
|
|
CONFIG_IRDA_FAST_RR=y
|
|
CONFIG_IRDA_DEBUG=y
|
|
CONFIG_IRTTY_SIR=m
|
|
CONFIG_PXA_FICP=m
|
|
CONFIG_BT=m
|
|
CONFIG_BT_L2CAP=m
|
|
CONFIG_BT_SCO=m
|
|
CONFIG_BT_RFCOMM=m
|
|
CONFIG_BT_RFCOMM_TTY=y
|
|
CONFIG_BT_BNEP=m
|
|
CONFIG_BT_BNEP_MC_FILTER=y
|
|
CONFIG_BT_BNEP_PROTO_FILTER=y
|
|
CONFIG_BT_HIDP=m
|
|
CONFIG_BT_HCIBTUSB=m
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_PARTITIONS=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_CHAR=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_INTELEXT=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
# CONFIG_MISC_DEVICES is not set
|
|
CONFIG_NETDEVICES=y
|
|
# CONFIG_NETDEV_1000 is not set
|
|
# CONFIG_NETDEV_10000 is not set
|
|
CONFIG_PPP=m
|
|
CONFIG_PPP_ASYNC=m
|
|
CONFIG_PPP_DEFLATE=m
|
|
CONFIG_PPP_BSDCOMP=m
|
|
CONFIG_PPP_MPPE=m
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_KEYBOARD_ATKBD is not set
|
|
CONFIG_KEYBOARD_GPIO=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_UINPUT=m
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_DEVKMEM is not set
|
|
CONFIG_SERIAL_PXA=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_CHARDEV=m
|
|
CONFIG_I2C_PXA=y
|
|
CONFIG_W1_MASTER_DS1WM=y
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_PDA_POWER=y
|
|
CONFIG_BATTERY_DS2760=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_MFD_ASIC3=y
|
|
CONFIG_HTC_EGPIO=y
|
|
CONFIG_HTC_PASIC3=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_GPIO=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_PXA=y
|
|
CONFIG_FB_PXA_OVERLAY=y
|
|
CONFIG_FB_W100=y
|
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
CONFIG_LCD_CLASS_DEVICE=y
|
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
|
# CONFIG_BACKLIGHT_GENERIC is not set
|
|
CONFIG_BACKLIGHT_PWM=y
|
|
CONFIG_DISPLAY_SUPPORT=y
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_FONT_MINI_4x6=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=m
|
|
CONFIG_SND_MIXER_OSS=m
|
|
CONFIG_SND_PCM_OSS=m
|
|
# CONFIG_SND_ARM is not set
|
|
# CONFIG_SND_USB is not set
|
|
CONFIG_SND_SOC=m
|
|
CONFIG_SND_PXA2XX_SOC=m
|
|
# CONFIG_HID_SUPPORT is not set
|
|
CONFIG_USB=y
|
|
# CONFIG_USB_DEVICE_CLASS is not set
|
|
CONFIG_USB_MON=m
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_VBUS_DRAW=500
|
|
CONFIG_USB_PXA27X=y
|
|
CONFIG_USB_ETH=m
|
|
# CONFIG_USB_ETH_RNDIS is not set
|
|
CONFIG_USB_GADGETFS=m
|
|
CONFIG_USB_FILE_STORAGE=m
|
|
CONFIG_USB_G_SERIAL=m
|
|
CONFIG_USB_CDC_COMPOSITE=m
|
|
CONFIG_USB_GPIO_VBUS=y
|
|
CONFIG_MMC=y
|
|
CONFIG_SDIO_UART=m
|
|
CONFIG_MMC_PXA=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DEBUG=y
|
|
CONFIG_RTC_DRV_SA1100=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_INOTIFY=y
|
|
CONFIG_MSDOS_FS=m
|
|
CONFIG_VFAT_FS=m
|
|
CONFIG_TMPFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
|
CONFIG_JFFS2_LZO=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NLS_DEFAULT="utf8"
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_1251=m
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_UTF8=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
CONFIG_TIMER_STATS=y
|
|
# CONFIG_DEBUG_PREEMPT is not set
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_DEBUG_USER=y
|
|
CONFIG_DEBUG_ERRORS=y
|
|
CONFIG_DEBUG_LL=y
|
|
CONFIG_CRYPTO=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
# CONFIG_CRYPTO_HW is not set
|
|
CONFIG_CRC_CCITT=y
|