Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA946C636CC for ; Tue, 31 Jan 2023 11:29:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbjAaL3R (ORCPT ); Tue, 31 Jan 2023 06:29:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229828AbjAaL3Q (ORCPT ); Tue, 31 Jan 2023 06:29:16 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4D7B1BAE4 for ; Tue, 31 Jan 2023 03:29:14 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id t7so5532525wrp.5 for ; Tue, 31 Jan 2023 03:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SM8kiiImBQUlyfszrkIh/xRPbRAuyhL6+lhQ620tOfg=; b=DZ6WX1V6jjDQoSiPr87Mu2NPTdGPTgTj/7Pzm3msXWbXZyxgmlo+sKNUYF+WlZWgBR deEy1JIl3IWX+paX7MeM2SaxON6sDrpqMalUwGTDem8bBoUFf+3cKOCYcqDthpQxLwD2 DSHXcBs1egEV6z1SI3BcjmE2YqafKYV9pB5v8ZAiHKGZF2BUYeLdFWv3wrzvPFPuQZ2e mLDWYmAwxGlFPrdvowgA5wrWSQoZOFC5Froa005P63NQ+l9aEKElOvlGbChiiGxlLVDW XUwTPTrc3LFqRknA0Lal2Za/QJzlAeAeADdVQEHdYLnnNvM+FYpxq8/0a6SRTBm/sv2n Nr+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SM8kiiImBQUlyfszrkIh/xRPbRAuyhL6+lhQ620tOfg=; b=M0CY/6SH6yyCgTeTaNluRVaL+/pXFqYlHV5bphFItx9qk196HN9CqSEI6eLYRH5Cd2 Df2+3nr6uIGQr2nhx0POMFvzH1OhQPuMAJS3Fgt9DpYdf6agfbALpzNsiBbaE1zR7Qgv yRRoek9jeBDFVRB04qsG6vG08r4Io1MFrg/8ybZWHXEYkZv88as/E+oiJL4qzSGNTmYW xeT6uLr0+eww+N9ztBpvjL6lnKRZ64mmu5xIu3WFDf5YhEAbm4g3CXwtByP65CLZ5vzn 8KlDAcA3YDyTuMlv49c+mCvTOE2jaPMJ9+0YXdxc0XoRSOmbRR5zIsOvFdIylEbsngGu HbpA== X-Gm-Message-State: AFqh2kqOsXa2U8077gFMeWZ5QJ8p44a78IrfY3mn+MSDnPKCX3i55H4r DJPsRGNiouxxRRGyVCcYlNY= X-Google-Smtp-Source: AMrXdXuLUGLxoBUX2sWGp3m3GD8yXjAmCaVIXqyeGqvxkb1mrIrWKR10TlWxPCtGcABkAPdKxjsXdg== X-Received: by 2002:a05:6000:1706:b0:2bd:dfbe:c17f with SMTP id n6-20020a056000170600b002bddfbec17fmr53513724wrc.58.1675164553219; Tue, 31 Jan 2023 03:29:13 -0800 (PST) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id f28-20020a5d58fc000000b002be5401ef5fsm14981983wrd.39.2023.01.31.03.29.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 03:29:12 -0800 (PST) Message-ID: <80ce7fc4-3841-5e7e-c224-560f3105b175@gmail.com> Date: Tue, 31 Jan 2023 12:29:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 1/2] arm64: defconfig: Enable missing configs for mt8192-asurada Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Arnd Bergmann , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Geert Uytterhoeven , Krzysztof Kozlowski , Marcel Ziswiler , Shawn Guo , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230130200820.82084-1-nfraprado@collabora.com> From: Matthias Brugger In-Reply-To: <20230130200820.82084-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bot applied, thanks! On 30/01/2023 21:08, NĂ­colas F. R. A. Prado wrote: > Enable missing configs in the arm64 defconfig to get all devices probing > on mt8192-asurada based machines. > > The devices enabled are: MediaTek Bluetooth USB controller, MediaTek > PCIe Gen3 MAC controller, MT7921E wireless adapter, Elan I2C Trackpad, > MediaTek SPI NOR flash controller, Mediatek SPMI Controller, ChromeOS EC > regulators, MT6315 PMIC, MediaTek Video Codec, MT8192 sound cards, > ChromeOS EC rpmsg communication, all MT8192 clocks. > > REGULATOR_CROS_EC is enabled as builtin since it powers the MMC > controller for the SD card, making it required for booting on some > setups. > > The MT8192 clocks are enabled as builtin for now since their Kconfigs > are bool, and will be changed to modules after those Kconfigs are > reworked. > > Restricted DMA pool support is also required to get working WiFi, but > it is enabled in a separate commit since it alters behavior of other > platforms and devices. > > By enabling the support for all of this platform's devices on the > defconfig we make it effortless to test the relevant hardware both by > developers as well as CI systems like KernelCI. > > Reviewed-by: AngeloGioacchino Del Regno > Tested-by: AngeloGioacchino Del Regno > Signed-off-by: NĂ­colas F. R. A. Prado > > --- > > Changes in v3: > - Split DMA_RESTRICTED_POOL to separate patch > > arch/arm64/configs/defconfig | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index f3053e7018fe..be40004a0259 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -196,6 +196,7 @@ CONFIG_BT_HIDP=m > CONFIG_BT_LEDS=y > # CONFIG_BT_DEBUGFS is not set > CONFIG_BT_HCIBTUSB=m > +CONFIG_BT_HCIBTUSB_MTK=y > CONFIG_BT_HCIUART=m > CONFIG_BT_HCIUART_LL=y > CONFIG_BT_HCIUART_BCM=y > @@ -231,6 +232,7 @@ CONFIG_PCIE_ALTERA_MSI=y > CONFIG_PCI_HOST_THUNDER_PEM=y > CONFIG_PCI_HOST_THUNDER_ECAM=y > CONFIG_PCIE_ROCKCHIP_HOST=m > +CONFIG_PCIE_MEDIATEK_GEN3=m > CONFIG_PCIE_BRCMSTB=m > CONFIG_PCI_IMX6=y > CONFIG_PCI_LAYERSCAPE=y > @@ -403,6 +405,7 @@ CONFIG_BRCMFMAC=m > CONFIG_MWIFIEX=m > CONFIG_MWIFIEX_SDIO=m > CONFIG_MWIFIEX_PCIE=m > +CONFIG_MT7921E=m > CONFIG_WL18XX=m > CONFIG_WLCORE_SDIO=m > CONFIG_INPUT_EVDEV=y > @@ -411,6 +414,7 @@ CONFIG_KEYBOARD_GPIO=y > CONFIG_KEYBOARD_SNVS_PWRKEY=m > CONFIG_KEYBOARD_IMX_SC_KEY=m > CONFIG_KEYBOARD_CROS_EC=y > +CONFIG_MOUSE_ELAN_I2C=m > CONFIG_INPUT_TOUCHSCREEN=y > CONFIG_TOUCHSCREEN_ATMEL_MXT=m > CONFIG_TOUCHSCREEN_GOODIX=m > @@ -513,6 +517,7 @@ CONFIG_SPI_FSL_DSPI=y > CONFIG_SPI_MESON_SPICC=m > CONFIG_SPI_MESON_SPIFC=m > CONFIG_SPI_MT65XX=y > +CONFIG_SPI_MTK_NOR=m > CONFIG_SPI_ORION=y > CONFIG_SPI_PL022=y > CONFIG_SPI_ROCKCHIP=y > @@ -528,6 +533,7 @@ CONFIG_SPI_TEGRA210_QUAD=m > CONFIG_SPI_TEGRA114=m > CONFIG_SPI_SPIDEV=m > CONFIG_SPMI=y > +CONFIG_SPMI_MTK_PMIF=m > CONFIG_PINCTRL_MAX77620=y > CONFIG_PINCTRL_SINGLE=y > CONFIG_PINCTRL_OWL=y > @@ -674,6 +680,7 @@ CONFIG_REGULATOR_FIXED_VOLTAGE=y > CONFIG_REGULATOR_AXP20X=y > CONFIG_REGULATOR_BD718XX=y > CONFIG_REGULATOR_BD9571MWV=y > +CONFIG_REGULATOR_CROS_EC=y > CONFIG_REGULATOR_FAN53555=y > CONFIG_REGULATOR_GPIO=y > CONFIG_REGULATOR_HI6421V530=y > @@ -681,6 +688,7 @@ CONFIG_REGULATOR_HI655X=y > CONFIG_REGULATOR_MAX77620=y > CONFIG_REGULATOR_MAX8973=y > CONFIG_REGULATOR_MP8859=y > +CONFIG_REGULATOR_MT6315=m > CONFIG_REGULATOR_MT6358=y > CONFIG_REGULATOR_MT6359=y > CONFIG_REGULATOR_MT6360=y > @@ -714,6 +722,7 @@ CONFIG_V4L_PLATFORM_DRIVERS=y > CONFIG_SDR_PLATFORM_DRIVERS=y > CONFIG_V4L_MEM2MEM_DRIVERS=y > CONFIG_VIDEO_MEDIATEK_JPEG=m > +CONFIG_VIDEO_MEDIATEK_VCODEC=m > CONFIG_VIDEO_QCOM_CAMSS=m > CONFIG_VIDEO_QCOM_VENUS=m > CONFIG_VIDEO_RCAR_ISP=m > @@ -827,6 +836,8 @@ CONFIG_SND_SOC_IMX_AUDMIX=m > CONFIG_SND_SOC_MT8183=m > 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_MESON_AXG_SOUND_CARD=m > CONFIG_SND_MESON_GX_SOUND_CARD=m > CONFIG_SND_SOC_QCOM=m > @@ -1070,6 +1081,7 @@ CONFIG_VIDEO_MAX96712=m > CONFIG_CHROME_PLATFORMS=y > CONFIG_CROS_EC=y > CONFIG_CROS_EC_I2C=y > +CONFIG_CROS_EC_RPMSG=m > CONFIG_CROS_EC_SPI=y > CONFIG_CROS_EC_CHARDEV=m > CONFIG_COMMON_CLK_RK808=y > @@ -1092,6 +1104,18 @@ CONFIG_CLK_IMX8QXP=y > CONFIG_CLK_IMX8ULP=y > CONFIG_CLK_IMX93=y > CONFIG_TI_SCI_CLK=y > +CONFIG_COMMON_CLK_MT8192_AUDSYS=y > +CONFIG_COMMON_CLK_MT8192_CAMSYS=y > +CONFIG_COMMON_CLK_MT8192_IMGSYS=y > +CONFIG_COMMON_CLK_MT8192_IMP_IIC_WRAP=y > +CONFIG_COMMON_CLK_MT8192_IPESYS=y > +CONFIG_COMMON_CLK_MT8192_MDPSYS=y > +CONFIG_COMMON_CLK_MT8192_MFGCFG=y > +CONFIG_COMMON_CLK_MT8192_MMSYS=y > +CONFIG_COMMON_CLK_MT8192_MSDC=y > +CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y > +CONFIG_COMMON_CLK_MT8192_VDECSYS=y > +CONFIG_COMMON_CLK_MT8192_VENCSYS=y > CONFIG_COMMON_CLK_QCOM=y > CONFIG_QCOM_A53PLL=y > CONFIG_QCOM_CLK_APCS_MSM8916=y