mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
11937f69b6
This enables CONFIG_THERMAL_OF by default for sunxi_defconfig. It is required to get Allwinner SoCs' temperature from the GPADC driver. The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. The thermal sensor requires the IP to be in touchscreen mode to return correct values. Therefore, if the user is continuously reading the ADC channel(s), the thermal framework in which the thermal sensor is registered will switch the IP in touchscreen mode to get a temperature value and requires a delay of 100ms (because of the mode switching), then the ADC will switch back to ADC mode and requires also a delay of 100ms. If the ADC readings are critical to user and the SoC temperature is not, the GPADC driver is capable of not registering the thermal sensor in the thermal framework and thus, "quicken" the ADC readings. In most use cases, the SoC temperature is more critical (for cpu throttling for example or activating cooling devices) than ADC readings, thus it is now enabled by default. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
156 lines
3.6 KiB
Plaintext
156 lines
3.6 KiB
Plaintext
CONFIG_FHANDLE=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_PERF_EVENTS=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SMP=y
|
|
CONFIG_NR_CPUS=8
|
|
CONFIG_AEABI=y
|
|
CONFIG_HIGHMEM=y
|
|
CONFIG_ARM_APPENDED_DTB=y
|
|
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPUFREQ_DT=y
|
|
CONFIG_VFP=y
|
|
CONFIG_NEON=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=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_CAN=y
|
|
CONFIG_CAN_SUN4I=y
|
|
# CONFIG_WIRELESS is not set
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_ATA=y
|
|
CONFIG_AHCI_SUNXI=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SUN4I_EMAC=y
|
|
# CONFIG_NET_VENDOR_ARC is not set
|
|
# CONFIG_NET_CADENCE is not set
|
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
# CONFIG_NET_VENDOR_CIRRUS is not set
|
|
# CONFIG_NET_VENDOR_FARADAY is not set
|
|
# CONFIG_NET_VENDOR_INTEL is not set
|
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
|
# CONFIG_NET_VENDOR_MICREL is not set
|
|
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
# CONFIG_NET_VENDOR_SMSC is not set
|
|
CONFIG_STMMAC_ETH=y
|
|
# CONFIG_NET_VENDOR_VIA is not set
|
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
|
# CONFIG_WLAN is not set
|
|
# CONFIG_INPUT_MOUSEDEV is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
CONFIG_KEYBOARD_SUN4I_LRADC=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_SUN4I=y
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_AXP20X_PEK=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=8
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=8
|
|
CONFIG_SERIAL_8250_DW=y
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C=y
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_MV64XXX=y
|
|
CONFIG_I2C_SUN6I_P2WI=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_SUN4I=y
|
|
CONFIG_SPI_SUN6I=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_AXP20X_POWER=y
|
|
CONFIG_THERMAL=y
|
|
CONFIG_THERMAL_OF=y
|
|
CONFIG_CPU_THERMAL=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_SUNXI_WATCHDOG=y
|
|
CONFIG_MFD_AXP20X=y
|
|
CONFIG_MFD_AXP20X_I2C=y
|
|
CONFIG_MFD_AXP20X_RSB=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_REGULATOR_AXP20X=y
|
|
CONFIG_REGULATOR_GPIO=y
|
|
CONFIG_MEDIA_SUPPORT=y
|
|
CONFIG_MEDIA_RC_SUPPORT=y
|
|
CONFIG_RC_DEVICES=y
|
|
CONFIG_IR_SUNXI=y
|
|
CONFIG_DRM=y
|
|
CONFIG_DRM_DUMB_VGA_DAC=y
|
|
CONFIG_DRM_SUN4I=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SIMPLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_SND_SUN4I_CODEC=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
|
CONFIG_USB_MUSB_HDRC=y
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_NOP_USB_XCEIV=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_SUNXI=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
CONFIG_RTC_CLASS=y
|
|
# CONFIG_RTC_INTF_SYSFS is not set
|
|
# CONFIG_RTC_INTF_PROC is not set
|
|
CONFIG_RTC_DRV_SUN6I=y
|
|
CONFIG_RTC_DRV_SUNXI=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_DMA_SUN6I=y
|
|
# CONFIG_IOMMU_SUPPORT is not set
|
|
CONFIG_EXTCON=y
|
|
CONFIG_PWM=y
|
|
CONFIG_PWM_SUN4I=y
|
|
CONFIG_PHY_SUN4I_USB=y
|
|
CONFIG_PHY_SUN9I_USB=y
|
|
CONFIG_NVMEM=y
|
|
CONFIG_NVMEM_SUNXI_SID=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3_ACL=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_CRYPTO_DEV_SUN4I_SS=y
|