From patchwork Tue Nov 21 14:02:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 167774 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp641549vqb; Tue, 21 Nov 2023 06:03:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5uMDgBueP+AMWpLPjQSAcpARffAxqxeWWiLpD7xd9D98tqmQSmnW7XPfuyCJqDgweqK2u X-Received: by 2002:a92:c90e:0:b0:35b:4b9:7883 with SMTP id t14-20020a92c90e000000b0035b04b97883mr6620890ilp.25.1700575420719; Tue, 21 Nov 2023 06:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700575420; cv=none; d=google.com; s=arc-20160816; b=gALTDm3+EEj28TbM1we1fcO14uCUkBgNiv70gI7gWNTbyfSUmzNd2cZwGZIEXHKEGx 2DTq6pz+KUd04g256mCqX6QfVzy/kbtz4NSrjsq2GxPYaNYZntgfh412hqMG/Hs7iTos WaUgTKLLhVOcGL2/B1cfdwbvyWJMyF2H+XveVkXP2JC0fRkBwgqkDFq2FQHdAgriZ4En dI4aHrW6QZ2Zb9YeTwAkqEPfmNUxwACon1iVxv3aXj8fRm3E/NuErFhDNa84FwP4zvfs bQbO1tGD7uCpDvzp5XbnS8/OIuYnOch14XzlweOhnclPvOaibUw9VPVssLPU3JFLI5U/ LCGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=biWF1/Kcwxs0iqPGUCUZ8zFmLklPZlcW6znvOb1Ad8I=; fh=FE3Sd/DR/gbhZ2QEhRxTwtZd6+bdDLKJwHfy4ocbTUY=; b=ivEdw0ba7g1bpJBn0+G4Z9lV9HS80AzXmfPTx9cllawd5Sl7HGSrxD9FD8oPG/jNkM f0/gOCOCk7vfgMbsH+5FwWoJt+bJVCPVFkKAzzw+TE3v8dDbN5+jatDX+x2kGFQvPJI2 AFZv6uXiw7nuvAmrXeyx9nIqhjxStuz3m/Kiec9IJgmO7TgPp2z0vA1MClAV/SG4bpCc OBp9+AI6QtmMfa+muON1LwbHbOjFrWnq4RBxvasqDVpaY+qEQYAuQc4G2ETsCLGh1CyR PwYyWa7i45h+h2nSEfc/Y4ytBZXtcupqNCJxgr+Jn60mFZBt/02d0pAd8vdjGhGJliVy M27A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WCIEqg+K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id by6-20020a056e02260600b00357631d2214si4629902ilb.17.2023.11.21.06.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 06:03:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WCIEqg+K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7338F80B79FB; Tue, 21 Nov 2023 06:03:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233981AbjKUODT (ORCPT + 99 others); Tue, 21 Nov 2023 09:03:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232901AbjKUODR (ORCPT ); Tue, 21 Nov 2023 09:03:17 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1899BD7C for ; Tue, 21 Nov 2023 06:03:14 -0800 (PST) Received: from notapiano.myfiosgateway.com (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id C366666072F6; Tue, 21 Nov 2023 14:03:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700575392; bh=yUohD6aXpsVPXyRnfHGaODud/RNyySajyAvFPq63i+g=; h=From:To:Cc:Subject:Date:From; b=WCIEqg+Kxhhvdb4voS/8eLPQOAP0oV/IQaekZdVD3luoTWJ4GT7pSRkhPjQGCQXgQ a77f9xv6uVaN2rpeDq3hqTBEFbMHPsDTJNmC66qwBi7PKBngfXt3as3WEsQEaqKGO8 ux2od1fDXLOxHkvqjpXbZj5PeCFD3WIKtd0TTKebMxrA6IglJ2GVOX03a3LHFshMvc Div2v2ntwRNdDnb4h6ukaMccvv1oWbvHlhlfWgRB88OMNhxp2TcZJHrv9TQ0bwOjFu 3LNR5pdrye7Uyaf8k2qFzkifoorFyoxQRL29hQ/bI1BvXoTzJbIROE82xz8hYqwJ+D 1VV4GGfFH6rmg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger , AngeloGioacchino Del Regno Cc: kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Arnd Bergmann , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Geert Uytterhoeven , Konrad Dybcio , Krzysztof Kozlowski , Marek Szyprowski , Neil Armstrong , Peng Fan , Udit Kumar , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: defconfig: Enable configs for MT8195-Cherry-Tomato Chromebook Date: Tue, 21 Nov 2023 09:02:57 -0500 Message-ID: <20231121140304.458376-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 06:03:18 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783182572523725402 X-GMAIL-MSGID: 1783182572523725402 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. Additionally, CONFIG_USB_ONBOARD_HUB is set to builtin to allow for booting from an USB flash drive without a ramdisk. Signed-off-by: NĂ­colas F. R. A. Prado --- This patch relies on another patch [1] fixing support for the Mediatek DP when enabled as a module. [1] https://lore.kernel.org/all/20231120202837.396760-1-nfraprado@collabora.com arch/arm64/configs/defconfig | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..97026a99c10c 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 @@ -1024,7 +1034,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_OPTION=m CONFIG_USB_QCOM_EUD=m CONFIG_USB_HSIC_USB3503=y -CONFIG_USB_ONBOARD_HUB=m +CONFIG_USB_ONBOARD_HUB=y CONFIG_NOP_USB_XCEIV=y CONFIG_USB_GADGET=y CONFIG_USB_RENESAS_USBHS_UDC=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