community/linux-edge: enable QCOM MSM8998 SoC support on aarch64
To facilitate booting Qualcomm MSM8998 (Snapdragon 835) mobile platforms such as the OnePlus 5 smartphone (2017), the following required basic SoC drivers and USB gadget mode (for e.g. RNDIS SSH/telnet shell) should be enabled for config-edge.aarch64
:
CONFIG_REGULATOR_FIXED_VOLTAGE=m
CONFIG_RPMSG_QCOM_GLINK_RPM=m
CONFIG_QCOM_APCS_IPC=m
CONFIG_COMMON_CLK_QCOM=m
CONFIG_MSM_GCC_8998=m
CONFIG_PHY_QCOM_QMP=m
CONFIG_PHY_QCOM_QUSB2=m
CONFIG_USB_GADGET=m
CONFIG_USB_CONFIGFS=m
CONFIG_SPMI=m
CONFIG_MFD_SPMI_PMIC=m
CONFIG_POWER_RESET_QCOM_PON=m
CONFIG_QCOM_CLK_SMD_RPM=m
CONFIG_SCSI_UFSHCD_PLATFORM=m
CONFIG_SCSI_UFS_QCOM=m
CONFIG_INPUT_PM8941_PWRKEY=m
CONFIG_PINCTRL_QCOM_SPMI_PMIC=m
CONFIG_KEYBOARD_GPIO=m
CONFIG_LEDS_GPIO=m
CONFIG_I2C_QUP=m
CONFIG_BATTERY_BQ27XXX=m
CONFIG_SERIAL_MSM=m
CONFIG_NFC_NXP_NCI=m
CONFIG_NFC_NXP_NCI_I2C=m
CONFIG_RTC_DRV_PM8XXX=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_QCOM_SPMI_ADC5=m
CONFIG_BT_HCIUART_QCA=y
CONFIG_USB_CONFIGFS_RNDIS=y
CONFIG_POWER_RESET_MSM=y
CONFIG_USB_DWC3_DUAL_ROLE=y
This also includes support for a few more device-specific features such as NFC (via NFC_NXP_NCI_I2C
), volume buttons & hall effect sensor (via KEYBOARD_GPIO
) and battery fuel gauge (BATTERY_BQ27XXX_I2C
).
@mps I've closed !34488 (closed) MR in favor of this issue.
Edited by Jami Kettunen