2023-11-22 18:14:09

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH v2] arm64: defconfig: Enable configs for MT8195-Cherry-Tomato Chromebook

Enable missing configs needed to boot the MT8195-Cherry-Tomato
Chromebook with full support on the defconfig.

The configs enabled bring in support for the DSP and sound card,
display, thermal sensor and keyboard backlight.

Signed-off-by: Nícolas F. R. A. Prado <[email protected]>

---
This patch relies on another patch [1] fixing support for the Mediatek
DP when enabled as a module.

[1] https://lore.kernel.org/all/[email protected]

Changes in v2:
- Dropped change of CONFIG_USB_ONBOARD_HUB as it isn't required by the
platform. (It causing boot issues when =m will be investigated and
fixed separately.)

arch/arm64/configs/defconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index b60aa1f89343..ea9e2ca2178f 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -252,6 +252,7 @@ CONFIG_ARM_SCPI_PROTOCOL=y
CONFIG_RASPBERRYPI_FIRMWARE=y
CONFIG_INTEL_STRATIX10_SERVICE=y
CONFIG_INTEL_STRATIX10_RSU=m
+CONFIG_MTK_ADSP_IPC=m
CONFIG_EFI_CAPSULE_LOADER=y
CONFIG_IMX_SCU=y
CONFIG_IMX_SCU_PD=y
@@ -675,6 +676,8 @@ CONFIG_RCAR_THERMAL=y
CONFIG_RCAR_GEN3_THERMAL=y
CONFIG_RZG2L_THERMAL=y
CONFIG_ARMADA_THERMAL=y
+CONFIG_MTK_THERMAL=m
+CONFIG_MTK_LVTS_THERMAL=m
CONFIG_BCM2711_THERMAL=m
CONFIG_BCM2835_THERMAL=m
CONFIG_BRCMSTB_THERMAL=m
@@ -877,6 +880,7 @@ CONFIG_DRM_ETNAVIV=m
CONFIG_DRM_HISI_HIBMC=m
CONFIG_DRM_HISI_KIRIN=m
CONFIG_DRM_MEDIATEK=m
+CONFIG_DRM_MEDIATEK_DP=m
CONFIG_DRM_MEDIATEK_HDMI=m
CONFIG_DRM_MXSFB=m
CONFIG_DRM_MESON=m
@@ -913,6 +917,8 @@ CONFIG_SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A=m
CONFIG_SND_SOC_MT8183_DA7219_MAX98357A=m
CONFIG_SND_SOC_MT8192=m
CONFIG_SND_SOC_MT8192_MT6359_RT1015_RT5682=m
+CONFIG_SND_SOC_MT8195=m
+CONFIG_SND_SOC_MT8195_MT6359=m
CONFIG_SND_MESON_AXG_SOUND_CARD=m
CONFIG_SND_MESON_GX_SOUND_CARD=m
CONFIG_SND_SOC_QCOM=m
@@ -930,6 +936,10 @@ CONFIG_SND_SOC_RK3399_GRU_SOUND=m
CONFIG_SND_SOC_SAMSUNG=y
CONFIG_SND_SOC_RCAR=m
CONFIG_SND_SOC_RZ=m
+CONFIG_SND_SOC_SOF_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_OF=y
+CONFIG_SND_SOC_SOF_MTK_TOPLEVEL=y
+CONFIG_SND_SOC_SOF_MT8195=m
CONFIG_SND_SUN8I_CODEC=m
CONFIG_SND_SUN8I_CODEC_ANALOG=m
CONFIG_SND_SUN50I_CODEC_ANALOG=m
@@ -1183,6 +1193,7 @@ CONFIG_CROS_EC=y
CONFIG_CROS_EC_I2C=y
CONFIG_CROS_EC_RPMSG=m
CONFIG_CROS_EC_SPI=y
+CONFIG_CROS_KBD_LED_BACKLIGHT=m
CONFIG_CROS_EC_CHARDEV=m
CONFIG_COMMON_CLK_RK808=y
CONFIG_COMMON_CLK_SCMI=y
@@ -1279,6 +1290,7 @@ CONFIG_OMAP2PLUS_MBOX=m
CONFIG_PLATFORM_MHU=y
CONFIG_BCM2835_MBOX=y
CONFIG_QCOM_APCS_IPC=y
+CONFIG_MTK_ADSP_MBOX=m
CONFIG_QCOM_IPCC=y
CONFIG_ROCKCHIP_IOMMU=y
CONFIG_TEGRA_IOMMU_SMMU=y
--
2.42.1


2023-11-22 18:24:18

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] arm64: defconfig: Enable configs for MT8195-Cherry-Tomato Chromebook

On 22/11/2023 19:13, Nícolas F. R. A. Prado wrote:
> Enable missing configs needed to boot the MT8195-Cherry-Tomato
> Chromebook with full support on the defconfig.
>
> The configs enabled bring in support for the DSP and sound card,
> display, thermal sensor and keyboard backlight.
>
> Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
>

Reviewed-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof

Subject: Re: [PATCH v2] arm64: defconfig: Enable configs for MT8195-Cherry-Tomato Chromebook

Il 22/11/23 19:13, Nícolas F. R. A. Prado ha scritto:
> Enable missing configs needed to boot the MT8195-Cherry-Tomato
> Chromebook with full support on the defconfig.
>
> The configs enabled bring in support for the DSP and sound card,
> display, thermal sensor and keyboard backlight.
>
> Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
>

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>