From patchwork Wed Nov 22 18:13:33 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: 168499 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1517777vqb; Wed, 22 Nov 2023 10:14:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxsLm3Kgs3xPyHbIuu7HMN5KkNa/Cwxl8V9lMIZAHSSYZm4pRjqo56Jo21rJHG1kczj8zs X-Received: by 2002:a05:6a00:21c9:b0:6bd:b3b9:649f with SMTP id t9-20020a056a0021c900b006bdb3b9649fmr4046973pfj.7.1700676851160; Wed, 22 Nov 2023 10:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700676851; cv=none; d=google.com; s=arc-20160816; b=nwvnRuWFYElsos5jrx9xtZyAD24FOEv3GwhrxOpSyy61wcwehPzfdriy8tRThUJwiW 21mS12YW28hjEIuPhoDq8k5REUkP7IM83otnuH2pLWeMvS3vn3+rSslMb7z7NwNk06RT T4sgwfI4QI98ZH9ONuerzEHDnDwnLjkvSx4pCvoYIgZ1cvu9aj+FfT2AFZO0C+56BLGb YGPr5Zjb2W3h7Oungu6UYbjV3ZlQ7MLYhKwPWovwyPaf954Y9kSeHCE4rn+yG59bQ6Nw /CzzgXylm/VeSmofFu/JRofd63TXlgTqC2n0Ev5lx8sV01222qCr1PuhWUpSFZYhHEHO Dkyw== 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=1QSsdSptfgyw/XEiZFOHjgUEc4C8yFdIWd+G2L3n0bY=; fh=FE3Sd/DR/gbhZ2QEhRxTwtZd6+bdDLKJwHfy4ocbTUY=; b=iqOo/UPsizywU4tjGZHw8NhJkxLaW3wyx18s6KvSnOUHE6QcVJVc/yZ87MJ4Z8qbwE rVrwOOyvKeqk6EPNNGn7CppL9PsWeVJxLUS6g6xFZcLMqS+AZNdfN+dwD9Q3rbwXRTSO uBAGpBLiJ7GOoJqrKxtdNO1i45NacqryA9C+YMNYZGrnkySs/qNcYevLk+MB34fP51MR A9uyDEsy4/YysnJUEmyCTWI+eTyfCKt8YoPjEEn2psmAk+wQcQaeU17L/z5Ag8+r2Ash ZFza6eKVzYqhUJ/BV5Hkm/LPECEmk4WMBrK2poBkpJ0UD3875cyFIwSZUC3U9KMHjRVW 7nKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mJEtcPEj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v6-20020a626106000000b006935df301a3si49861pfb.8.2023.11.22.10.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:14:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mJEtcPEj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 7D480825B483; Wed, 22 Nov 2023 10:13:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344311AbjKVSN5 (ORCPT + 99 others); Wed, 22 Nov 2023 13:13:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235199AbjKVSNx (ORCPT ); Wed, 22 Nov 2023 13:13:53 -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 7E5F2D6F for ; Wed, 22 Nov 2023 10:13:45 -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 139F6660738E; Wed, 22 Nov 2023 18:13:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700676823; bh=TWa/lLibsV0jyNrd17hz5hHVrMTWYWFALT8FWf2PlAA=; h=From:To:Cc:Subject:Date:From; b=mJEtcPEjwZmUMTXDaEFhgrkE53IJ5UyNymSxr1stRAP1mOp1NxMf8/aO1RrUP8y6e r1JwnGe65NVG5RZdxA0YoqlQAA96VQ85blcljaYHPC1mmuUuKqkIehnc4cgaAVT5LH 8OM23Lg0CGBXFk/9AhW5xPqsNuhF0/35fi/cb3xTJ53MPx/FXx1LOeTigSyQbTXhr9 EI2VcIc42ed5r3tpwYMVAq9rhShZ6N7++zZerOz/bvUG9WAsyrauGJ1UfMqRwGY+eA vCyqVnb6ZzL+oBTid6+WM314BJ9xHSsXprX6U8HB6bCNHlvOijaqf7OUvsC/KzMgzT X5x7pVf0uhEaQ== 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 v2] arm64: defconfig: Enable configs for MT8195-Cherry-Tomato Chromebook Date: Wed, 22 Nov 2023 13:13:33 -0500 Message-ID: <20231122181335.535498-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 22 Nov 2023 10:13:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783288929625967680 X-GMAIL-MSGID: 1783288929625967680 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- This patch relies on another patch [1] fixing support for the Mediatek DP when enabled as a module. [1] https://lore.kernel.org/all/20231121142938.460846-1-nfraprado@collabora.com 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