From patchwork Fri Dec 9 10:18:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13069449 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1CD87C4332F for ; Fri, 9 Dec 2022 10:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=xBnRK99/8ztvfdMQyyhKB/LDKaHUjRTtfNv5DeCys8Q=; b=nVIWo34RZ6Wq7g PeCIinuoTSr0RgVEiI5ojkkPSBVOEUrpGKc0NDxmHYQJ3SbrwpwUouPjDD9blOKKZxmEEc8lLmDo1 nrRj8jR3wW2Jr4rR7aS+PdM+rY1eSNxsNJ2bOAPS++PSCVclzFpnHcfnNV/SYBHzxY3ECdhWiVV/W MvZ8QWqhvzUbtRpocN26R+0EEQ67UrTimu4GYszMZErK2YM58MP2cEyNNlMu31y+p2FehO87VDHD4 WF6Xk4owPikSOKIBHd8OleNYFVwPfbeq6eOMbCkkv0FtJvrYFMnxJ4xPPh4kic5QKmrm4+9LTn94J aN4xkmqLMm/c5tXHG+NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3aTA-006Ush-D9; Fri, 09 Dec 2022 10:19:04 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3aSz-006Ufx-3Z for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 10:18:57 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20221209101847euoutp01321e8e2ce7c6516fefcc7b1f6dad94ce~vGK8-yVnH3081730817euoutp01b for ; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20221209101847euoutp01321e8e2ce7c6516fefcc7b1f6dad94ce~vGK8-yVnH3081730817euoutp01b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1670581127; bh=X/5LW8/OUt9ni9uw8BlVZOzbN/8GeScqyxM13RwnS78=; h=From:To:Cc:Subject:Date:References:From; b=LSEc7GvzlPXB9y8F4Sdmu9cd775QuhoTz1l4yx5kQJJsRRjuwXFMKynjJEpIKYc3t FpdtW3M7N1zHdoYf5O6QXCn0z5sA1Cmx76pIr8x1qYBO1cn6sEz0hLoUO0DxrUxWcp ScVSGrlI5D4tyXDOSfe3OuLJwC18hnaNqdV7M33g= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20221209101847eucas1p27bc5f59e5a82593881912b6c0dd0d295~vGK8wT5GM0836808368eucas1p2j; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2D.91.10112.78B03936; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20221209101847eucas1p158347a99c3d9e7a5c8349cfcf8e2ee7b~vGK8aOavt1512715127eucas1p1C; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221209101847eusmtrp2fc982fc9dc54ff9e5ac80b498685dc2f~vGK8ZWtMN1007010070eusmtrp2r; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) X-AuditID: cbfec7f4-cf3ff70000002780-a8-63930b870ccf Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BB.92.08916.68B03936; Fri, 9 Dec 2022 10:18:47 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221209101846eusmtip1b2bb5596dd58d68d8a0011d794a02ef1~vGK73IufT2411224112eusmtip1Y; Fri, 9 Dec 2022 10:18:46 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Marek Szyprowski , Catalin Marinas , Will Deacon , Aurelien Jarno , Dan Johansen , Heiko Stuebner , Anand Moon Subject: [PATCH v2] arm64: defconfig: Enable drivers for the Odroid-M1 board Date: Fri, 9 Dec 2022 11:18:34 +0100 Message-Id: <20221209101834.2030-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOKsWRmVeSWpSXmKPExsWy7djP87rt3JOTDRYvkrC4OW0Ni8X7ZT2M Fv8fvWa12PT4GqvFpwf/mS3WbbzFbrH2yF12i56n65gtWu6YOnB6rJm3htGjb+k8Jo+ds+6y e2xa1cnmsXlJvUfDYZD4llWMHtuvzWMO4IjisklJzcksSy3St0vgyuj9pVbwVaZi9fGjLA2M SyW7GDk5JARMJFo2rWfpYuTiEBJYwShxqusKG4TzhVHidOtiRgjnM6PEvMNfmGFaLl3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00DMysdQz NDaPtTIyVdK3s0lJzcksSy3St0vQy+j9pVbwVaZi9fGjLA2MSyW7GDk5JARMJC5d/sraxcjF ISSwlFFi0erjzBAJGYmT0xpYIWxhiT/XuthAbCGBT4wS11/bgdhsAoYSXW8h4iICfhJnH95n BBnELDCFSeL705Vgg4QFfCRe9e8AG8QioCpxbdZSRhCbV8BGYm7jSjaIBfISvx/vY4GIC0qc nPkEzGYGijdvnc08gZFvFpLULCSpBYxMqxhFUkuLc9Nziw31ihNzi0vz0vWS83M3MQJjYtux n5t3MM579VHvECMTB+MhRgkOZiUR3mXLJiYL8aYkVlalFuXHF5XmpBYfYjQFum8is5Rocj4w KvNK4g3NDEwNTcwsDUwtzYyVxHk9CzoShQTSE0tSs1NTC1KLYPqYODilGphslY6cWvr53qlj n5+7fOCdv+33hxzde6rVxq8KTTbvPMgRH896sOfB3X/VDTNmKP93mmG//q3RIskU2T4hXRPN G/u1G2NOCUbOeLBaQaExO6lJ+GvQiWlRbCLrxOZHneIVubnz0qH7yS9ncl8XOnjmp3arwzJO fq0vdXMOKqb7KZ7ev3HVvj+KQjcaHxVozMorfOJm7sMn5PdF/Kx4Y/zVZhabB2d4Ga8ZnTtq xSfTsFlPY3bCthNFXnHdlnM0zJVsz158qvI3+HWWp0CU2PWKv5PC9/KGz741Pap4hdPxTX7H /9p+S1JodudTmX47Qizw4NZbGwtljuy4XCOjH71BOLtaW0Gg7OYBxi9+XK5KLMUZiYZazEXF iQAx5Z3FEgMAAA== X-CMS-MailID: 20221209101847eucas1p158347a99c3d9e7a5c8349cfcf8e2ee7b X-Msg-Generator: CA X-RootMTR: 20221209101847eucas1p158347a99c3d9e7a5c8349cfcf8e2ee7b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20221209101847eucas1p158347a99c3d9e7a5c8349cfcf8e2ee7b References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_021854_606891_83CA92A2 X-CRM114-Status: GOOD ( 12.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hardkernel Odroid-M1 board is supported since commit fd3583267703 ("arm64: dts: rockchip: Add Hardkernel ODROID-M1 board"). Enable all drivers needed by that board in the defconfig to let the automated test systems to check them on the real hardware. The drivers were configured to be compiled as modules if that was supported. RK817 charger driver is not strictly needed for Odroid-M1, but other RK356x devices (like the Quartz 64) also use this PMIC and might need it. Signed-off-by: Marek Szyprowski Reviewed-by: Anand Moon Reviewed-by: Aurelien Jarno --- v2: - made NANENG_COMBO_PHY driver compiled-in as advised by Anand - added comment about RK817 charger as advised by Aurelien --- arch/arm64/configs/defconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 851e8f9be06d..01014451ba8e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -237,6 +237,7 @@ CONFIG_PCI_LAYERSCAPE=y CONFIG_PCI_HISI=y CONFIG_PCIE_QCOM=y CONFIG_PCIE_ARMADA_8K=y +CONFIG_PCIE_ROCKCHIP_DW_HOST=y CONFIG_PCIE_KIRIN=y CONFIG_PCIE_HISI_STB=y CONFIG_PCIE_TEGRA194_HOST=m @@ -300,6 +301,7 @@ CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_SATA_AHCI_PLATFORM=y CONFIG_AHCI_BRCM=m +CONFIG_AHCI_DWC=m CONFIG_AHCI_CEVA=y CONFIG_AHCI_MVEBU=y CONFIG_AHCI_XGENE=y @@ -421,6 +423,7 @@ CONFIG_INPUT_PM8941_PWRKEY=y CONFIG_INPUT_PM8XXX_VIBRATOR=m CONFIG_INPUT_PWM_BEEPER=m CONFIG_INPUT_PWM_VIBRA=m +CONFIG_INPUT_RK805_PWRKEY=m CONFIG_INPUT_HISI_POWERKEY=y # CONFIG_SERIO_SERPORT is not set CONFIG_SERIO_AMBAKMI=y @@ -516,6 +519,7 @@ CONFIG_SPI_MT65XX=y CONFIG_SPI_ORION=y CONFIG_SPI_PL022=y CONFIG_SPI_ROCKCHIP=y +CONFIG_SPI_ROCKCHIP_SFC=m CONFIG_SPI_RPCIF=m CONFIG_SPI_RSPI=m CONFIG_SPI_QCOM_QSPI=m @@ -529,6 +533,7 @@ CONFIG_SPI_TEGRA114=m CONFIG_SPI_SPIDEV=m CONFIG_SPMI=y CONFIG_PINCTRL_MAX77620=y +CONFIG_PINCTRL_RK805=m CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_OWL=y CONFIG_PINCTRL_S700=y @@ -596,6 +601,7 @@ CONFIG_BATTERY_MAX17042=m CONFIG_CHARGER_MT6360=m CONFIG_CHARGER_BQ25890=m CONFIG_CHARGER_BQ25980=m +CONFIG_CHARGER_RK817=m CONFIG_SENSORS_ARM_SCMI=y CONFIG_SENSORS_ARM_SCPI=y CONFIG_SENSORS_GPIO_FAN=m @@ -697,6 +703,7 @@ CONFIG_REGULATOR_VCTRL=m CONFIG_RC_CORE=m CONFIG_RC_DECODERS=y CONFIG_RC_DEVICES=y +CONFIG_IR_GPIO_CIR=m CONFIG_IR_MESON=m CONFIG_IR_SUNXI=m CONFIG_MEDIA_SUPPORT=m @@ -742,6 +749,7 @@ CONFIG_DRM_EXYNOS_DSI=y CONFIG_DRM_EXYNOS_HDMI=y CONFIG_DRM_EXYNOS_MIC=y CONFIG_DRM_ROCKCHIP=m +CONFIG_ROCKCHIP_VOP2=y CONFIG_ROCKCHIP_ANALOGIX_DP=y CONFIG_ROCKCHIP_CDN_DP=y CONFIG_ROCKCHIP_DW_HDMI=y @@ -831,6 +839,7 @@ CONFIG_SND_SOC_SM8250=m CONFIG_SND_SOC_SC7180=m CONFIG_SND_SOC_SC7280=m CONFIG_SND_SOC_ROCKCHIP=m +CONFIG_SND_SOC_ROCKCHIP_I2S_TDM=m CONFIG_SND_SOC_ROCKCHIP_SPDIF=m CONFIG_SND_SOC_ROCKCHIP_RT5645=m CONFIG_SND_SOC_RK3399_GRU_SOUND=m @@ -863,6 +872,7 @@ CONFIG_SND_SOC_GTM601=m CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m CONFIG_SND_SOC_PCM3168A_I2C=m +CONFIG_SND_SOC_RK817=m CONFIG_SND_SOC_RT5640=m CONFIG_SND_SOC_RT5659=m CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m @@ -1277,7 +1287,9 @@ CONFIG_PHY_ROCKCHIP_EMMC=y CONFIG_PHY_ROCKCHIP_INNO_HDMI=m CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=m +CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y CONFIG_PHY_ROCKCHIP_PCIE=m +CONFIG_PHY_ROCKCHIP_SNPS_PCIE3=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PHY_SAMSUNG_UFS=y CONFIG_PHY_UNIPHIER_USB2=y