From 2ec8258fe4d039ce312a1e59ba4b8419ad96d808 Mon Sep 17 00:00:00 2001 From: Georgi Djakov Date: Thu, 17 Nov 2016 17:20:26 +0200 Subject: [PATCH 1/6] ARM: qcom_defconfig: Enable RPM/RPM-SMD clocks Enable support for clocks, controlled by the RPM processor on Qualcomm platforms. Signed-off-by: Georgi Djakov Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 8c3a0108a231..c73299b51f7b 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -157,6 +157,8 @@ CONFIG_DMADEVICES=y CONFIG_QCOM_BAM_DMA=y CONFIG_STAGING=y CONFIG_COMMON_CLK_QCOM=y +CONFIG_QCOM_CLK_RPM=y +CONFIG_QCOM_CLK_SMD_RPM=y CONFIG_APQ_MMCC_8084=y CONFIG_IPQ_LCC_806X=y CONFIG_MSM_GCC_8660=y From 55729edd767091af8728ee890b60fd2e740666af Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 4 Jan 2017 13:35:30 +0000 Subject: [PATCH 2/6] ARM: qcom_defconfig: add usb related configs Signed-off-by: Srinivas Kandagatla Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index c73299b51f7b..1712201bd8cd 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -137,10 +137,16 @@ CONFIG_SND_SOC=y CONFIG_HID_BATTERY_STRENGTH=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y +CONFIG_USB_OTG=y CONFIG_USB_MON=y CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_MSM=y CONFIG_USB_ACM=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_SERIAL=y +CONFIG_USB_MSM_OTG=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DEBUG_FILES=y CONFIG_USB_GADGET_VBUS_DRAW=500 From 15ee5c8c2af8daf4aef61a2e5b896accf16e1452 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 4 Jan 2017 13:35:31 +0000 Subject: [PATCH 3/6] ARM: qcom_defconfig: add pcie and atl1c ethernet configs IFC6410 board has PCIE based ATL1C ethernet controller, so enable related configs. Signed-off-by: Srinivas Kandagatla Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 1712201bd8cd..8e76fbb86400 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -24,6 +24,9 @@ CONFIG_ARCH_MSM8X60=y CONFIG_ARCH_MSM8960=y CONFIG_ARCH_MSM8974=y CONFIG_ARCH_MDM9615=y +CONFIG_PCI=y +CONFIG_PCI_MSI=y +CONFIG_PCIE_QCOM=y CONFIG_SMP=y CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_PREEMPT=y @@ -70,6 +73,7 @@ CONFIG_SCSI_LOGGING=y CONFIG_SCSI_SCAN_ASYNC=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y +CONFIG_ATL1C=y CONFIG_KS8851=y CONFIG_MDIO_BITBANG=y CONFIG_MDIO_GPIO=y From 05eeee7dee716ea3a1da9d0ff23e6ea98e25316c Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 4 Jan 2017 13:35:32 +0000 Subject: [PATCH 4/6] ARM: qcom_defconfig: add ahci configs This patch enables configs required to get SATA functionality working on IFC6410 board. Signed-off-by: Srinivas Kandagatla Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 8e76fbb86400..af6ff1e065ff 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -71,6 +71,9 @@ CONFIG_CHR_DEV_SCH=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_ATA=y +CONFIG_SATA_AHCI=y +CONFIG_SATA_AHCI_PLATFORM=y CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_ATL1C=y From a0f9419c7f213e80eba0e444d270b7d0bf600b4a Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Wed, 4 Jan 2017 13:35:33 +0000 Subject: [PATCH 5/6] ARM: qcom_defconfig: enable thermal sensors This patch enables thermal sensors and QFPROM support for qcom platforms. Signed-off-by: Srinivas Kandagatla Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index af6ff1e065ff..fc41977f7e97 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -125,6 +125,7 @@ CONFIG_CHARGER_QCOM_SMBB=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_MSM=y CONFIG_THERMAL=y +CONFIG_QCOM_TSENS=y CONFIG_MFD_PM8XXX=y CONFIG_MFD_QCOM_RPM=y CONFIG_MFD_SPMI_PMIC=y @@ -188,6 +189,8 @@ CONFIG_QCOM_SMD=y CONFIG_QCOM_SMD_RPM=y CONFIG_PHY_QCOM_APQ8064_SATA=y CONFIG_PHY_QCOM_IPQ806X_SATA=y +CONFIG_NVMEM=y +CONFIG_QCOM_QFPROM=y CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT3_FS=y From e96165a30f0dc2f02f9578a02c8feb9fbb428802 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 10 Jan 2017 10:55:21 +0100 Subject: [PATCH 6/6] ARM: defconfig: qcom: add APQ8060 DragonBoard devices This default-enables the devices found on the APQ8060 DragonBoard in the qcom_defconfig: - EBI2 bus - SMSC911x ethernet - LEDs class and PM8058 LEDs driver, trigger and heartbeat trigger (so we get heartbeat on the board by default) - IIO framework, including the HRTimer trigger, KXSD9 accelerometer, MPU3050 gyroscope, AK8975 magnetometer and BMP085 pressure sensor Signed-off-by: Linus Walleij Signed-off-by: Andy Gross --- arch/arm/configs/qcom_defconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index fc41977f7e97..4ffdd607205d 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -58,6 +58,7 @@ CONFIG_CFG80211=y CONFIG_RFKILL=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_QCOM_EBI2=y CONFIG_MTD=y CONFIG_MTD_BLOCK=y CONFIG_MTD_M25P80=y @@ -78,6 +79,7 @@ CONFIG_NETDEVICES=y CONFIG_DUMMY=y CONFIG_ATL1C=y CONFIG_KS8851=y +CONFIG_SMSC911X=y CONFIG_MDIO_BITBANG=y CONFIG_MDIO_GPIO=y CONFIG_SLIP=y @@ -165,6 +167,12 @@ CONFIG_MMC_QCOM_DML=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_MSM=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_PM8058=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_PM8XXX=y CONFIG_DMADEVICES=y @@ -187,6 +195,14 @@ CONFIG_QCOM_PM=y CONFIG_QCOM_SMEM=y CONFIG_QCOM_SMD=y CONFIG_QCOM_SMD_RPM=y +CONFIG_IIO=y +CONFIG_IIO_BUFFER_CB=y +CONFIG_IIO_SW_TRIGGER=y +CONFIG_KXSD9=y +CONFIG_MPU3050_I2C=y +CONFIG_AK8975=y +CONFIG_IIO_HRTIMER_TRIGGER=y +CONFIG_BMP280=y CONFIG_PHY_QCOM_APQ8064_SATA=y CONFIG_PHY_QCOM_IPQ806X_SATA=y CONFIG_NVMEM=y