From patchwork Mon Apr 29 14:02:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13647031 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 76638C4345F for ; Mon, 29 Apr 2024 14:03:30 +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: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:References: List-Owner; bh=ODGlP9nOSDXKB995b2LIBA8k+2NKXeG8GGW0YxhGnMU=; b=oB4EJyjc8SxxT8 78khCd9BxkRrY5ktriKN8A4xdKmBMsupl+Cd0+Mc8mXA+ANokQO1YA9J2Dj0m8Apwu5Mv12XrSH5k X1nXHNvKXq67rvTeu1VV2crmQ+5n7+OZxww0NCCuoWhdEbzRG135StGF5bDa82BaacviCoss+vr0T u6weEHqJePKejlLc7iAs0/ujTdJ6wYe4X2ZCTxKFHVOU7vBIWYKL7NSYzxYWV3pRxRmMVTdIfz6rd 8syss+2gJhRmE+9S0FmhaVkymAtSz3Ct1S7jTo+4bxGJBaDxt2ukAirs6PATx6w0mpCI1bIS0C62g sc8oeD9ILpEsyrrucaMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1RbA-000000032rI-2VnM; Mon, 29 Apr 2024 14:03:16 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Rak-000000032df-3Dw5; Mon, 29 Apr 2024 14:02:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1714399367; bh=HgtKVM/TierHAv//0s/r7QfRlk07MtY0ehnomTV6vxU=; h=From:To:Cc:Subject:Date:From; b=kEw1H8oWk3+bJvmYPLqoKHvHjsRrJbB350iGiuQw9UcZBwB8u26yAVxLKc+Rkyv8/ qBKV/UirKWZrv6vOoPyVFk+eDezfL8T5OEhM5DeyFlE4H0HY2I+1wJl5O8uUV+XWZM 4G54KeqygPR+hStuqyYlcG169EcR7Y4982BYGl+XThpkCMXlFN8EN7rZLnMDvklKC3 0MqcVSfoHoDoZXR9PRO8gWMiPGCZB8Xbb5/vxVwOQ5GI1nrCtGEf35zTuC4/S1KbZj f90jPswUbEva8t6JAHcViXT+Sgxa86qHZQMpvRTlFWviodV5YTpCTlyK9AiWjX2yXw 0+vJR7vn7JXAQ== Received: from IcarusMOD.eternityproject.eu (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: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 863B33780BFE; Mon, 29 Apr 2024 14:02:47 +0000 (UTC) From: AngeloGioacchino Del Regno To: arm-soc , soc Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [GIT,PULL,1/2] MediaTek ARM64 DTS updates for v6.10 Date: Mon, 29 Apr 2024 16:02:42 +0200 Message-ID: <20240429140245.238210-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_070251_083881_94846CB8 X-CRM114-Status: GOOD ( 17.58 ) 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 The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git/ tags/mtk-dts64-for-v6.10 for you to fetch changes up to d3dbc472ac662a1ebba5064b44bc3a24e91b412a: arm64: dts: mediatek: mt8188: add lvts definitions (2024-04-23 11:16:44 +0200) ---------------------------------------------------------------- MediaTek ARM64 DTS updates for v6.10 This introduces the new Airoha (MediaTek) EN7581 home networking platform (routers) in early stages, but with support for its Evaluation Board, a few more MediaTek based machines, and improvements for existing ones. For the MT7981 router SoC we get pinctrl support, along with the enablement of its watchdog and integrated WiFi controller, other than the introduction of a new machine based on this chip: the Cudy WR3000 V1 router. Some advancements have been done also on the MT7988 SoC, which gains support for its USB XHCI controllers. MediaTek Genio SoCs also get attention, with the introduction of a basic device tree for the MT8390 Genio 700-EVK board, and for the MT8395 Genio 1200 powered Kontron 3.5"-SBC-i1200. Additionally, the Genio 1200 Radxa NIO12L board gets support for USB Role Switching and proper PCI-Express controller PM suspend and resume, other than finally enabling CPU and GPU frequency and voltage scaling for improved efficiency. Speaking of MediaTek Kompanio SoCs (Chromebooks) instead, thanks to community interest and help in testing, there comes support for the MT8195-powered HP Chromebook X360 13b-ca0002sa; Besides that, this also adds a few other cleanups and improvements for all machines using the MT8183, MT8192, MT8195/MT8395 SoCs. In particular: - The MediaTek Smart Voltage Scaling (SVS) is now fully working those SoCs, bringing further power efficiency improvements; - Thermal zones were refactored on MT8183 for consistency with the other MediaTek SoCs and for readability - MT8186 and MT8188 get an initial node for the LVTS Thermal Controller (SoC-internal temperatures) - Sound DAI links are now consistently specified in device tree on MT8195 and MT8186 machines - Some cleanups for unused/legacy devicetree properties ---------------------------------------------------------------- AngeloGioacchino Del Regno (14): arm64: dts: mediatek: Complete chassis-type for MT8183 Chromebooks arm64: dts: mediatek: Add missing chassis-type to MT8192 Chromebooks dt-bindings: soc: mediatek: Add support for MT8188 VPPSYS arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS arm64: dts: mediatek: mt8192: Fix GPU thermal zone name for SVS arm64: dts: mediatek: mt8183: Refactor thermal zones arm64: dts: medaitek: mt8395-nio-12l: Set i2c6 pins to bias-disable arm64: dts: mediatek: mt8395-nio-12l: Define RSEL in microamperes arm64: dts: mediatek: mt8395-nio-12l: Enable PHYs and USB role switch arm64: dts: mediatek: mt8395-nio-12l: Add power supplies for CPU/GPU scaling arm64: dts: mediatek: mt8195-cherry: Specify sound DAI links and routing arm64: dts: mediatek: mt8186-corsola: Specify sound DAI links and routing dt-bindings: arm: mediatek: Add MT8195 HP Chromebook x360 13b-ca0002sa arm64: mediatek: mt8195-cherry: Introduce the MT8195 Dojo Chromebook Chen-Yu Tsai (3): arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property arm64: dts: mediatek: Drop mediatek,drive-strength-adv usage arm64: dts: mediatek: mt8183-pico6: Fix bluetooth node Daniel Danzberger (3): arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board arm64: add Airoha EN7581 platform arm64: defconfig: enable Airoha platform Lorenzo Bianconi (2): dt-bindings: arm64: dts: airoha: Add en7581 entry arm64: dts: airoha: Add EN7581 clock node Macpaul Lin (3): dt-bindings: arm64: mediatek: add mt8390-evk board arm64: dts: mediatek: add device-tree for Genio 700 EVK board arm64: dts: mediatek: mt8395-genio-1200-evk: add u3port1 for xhci1 Michael Walle (2): dt-bindings: arm64: mediatek: add Kontron 3.5"-SBC-i1200 arm64: dts: mediatek: add Kontron 3.5"-SBC-i1200 Nicolas Pitre (2): arm64: dts: mediatek: mt8186: add lvts definitions arm64: dts: mediatek: mt8188: add lvts definitions Rafał Miłecki (6): dt-bindings: vendor-prefixes: add Cudy dt-bindings: arm64: dts: mediatek: Add Cudy WR3000 V1 router arm64: dts: mediatek: mt7981: add pinctrl arm64: dts: mediatek: Add Cudy WR3000 V1 arm64: dts: mediatek: mt7988: add XHCI controllers arm64: dts: mediatek: mt7981: add watchdog & WiFi controllers Documentation/devicetree/bindings/arm/airoha.yaml | 4 + Documentation/devicetree/bindings/arm/mediatek.yaml | 15 + Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml | 1 + Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/Kconfig.platforms | 7 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/airoha/Makefile | 2 + arch/arm64/boot/dts/airoha/en7581-evb.dts | 26 ++ arch/arm64/boot/dts/airoha/en7581.dtsi | 163 ++++++++ arch/arm64/boot/dts/mediatek/Makefile | 4 + arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts | 74 ++++ arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 48 ++- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 32 +- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 6 - arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku1.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku6.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel-sku7.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14-sku2.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-pico6.dts | 3 +- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku0.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow-sku1.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku32.dts | 1 + arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 8 - arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 6 - arch/arm64/boot/dts/mediatek/mt8183.dtsi | 136 +++++-- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 42 ++- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 19 + arch/arm64/boot/dts/mediatek/mt8188.dtsi | 35 ++ arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts | 1 + arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts | 1 + arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts | 1 + arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts | 1 + arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts | 114 ++++++ arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 50 +++ arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 4 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts | 880 +++++++++++++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 6 + arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 88 ++++- arch/arm64/configs/defconfig | 1 + 46 files changed, 2853 insertions(+), 70 deletions(-) create mode 100644 arch/arm64/boot/dts/airoha/Makefile create mode 100644 arch/arm64/boot/dts/airoha/en7581-evb.dts create mode 100644 arch/arm64/boot/dts/airoha/en7581.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt7981b-cudy-wr3000-v1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dts From patchwork Mon Apr 29 14:02:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13647032 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 45557C4345F for ; Mon, 29 Apr 2024 14:03:44 +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:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=MdiL3S9VjPR7E1Hmdz2/UsmrF323wRbFURpi6uLPRNw=; b=qe4UTQOADqTO0z zc1byxfXIFqoeLcrvmLTTkmQac5ZGyap4r3QUpdNBOrv9NdFyO0Nl2pIARKkkYgyDni/uUhzdDWPn shkZtG/E59RkD2W6qf0HD18eXzTO3a7ZSAz3oJJZjyma433nbYbTW6imcoAyfTo+qTuqugcZzN5JU zxcsJJrwNErGEJmR4JkH83MfKJkhgNq8L+O+7R8SnuKpehKx4X7ymVxZY7oTpRbYHtiwo1k0VDU+A odyOm+FbiA+yYzEqfVbX5vjfVEfw6rMQWhH7VZr0ekHJIDC8mTsIq93Qhagw11C+WllFurkwTyi6y C1CfiVECfSmhdOkByJyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1RbO-000000032zH-3GT6; Mon, 29 Apr 2024 14:03:30 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1Rak-000000032dp-3E8u; Mon, 29 Apr 2024 14:02:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1714399368; bh=X7IGfbGsT7uQlyjPuobKXUVEAqPWoHd5DZQUwqLMYxw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p9Ze86BtQwfVuiWA3h/zaN/siAvRGSrjji4wkDfDr7563mvAdw1zVDbAOll3Zh0AY JZ8oq/D6skwoHNJraTfsroVRToR1sNcvHF4LTRcVGBX0GZZ3O2FbRApVSZUvBLBQoI TzD6vfD4G9CKX1gaa/xvyGdL91q/At/MvQYmjp+B5gqLg1EuMXq6j9ZiobMTPVZIO4 rnNJi5L4lUfY7NzeFmZGgHJyVD2WUvqRPC3z4rZjibe8OKstbiB+YmwC/HdAqRo9P0 JN2fvk8KCiyscXsZmEmdiYtcEibEFvHSQ5X2l9/Xduf8ZZUK9/0g55tsIO6bLvQt9J nmPqh8lerO0VQ== Received: from IcarusMOD.eternityproject.eu (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: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 228453781453; Mon, 29 Apr 2024 14:02:48 +0000 (UTC) From: AngeloGioacchino Del Regno To: arm-soc , soc Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [GIT,PULL,2/2] MediaTek driver updates for v6.10 Date: Mon, 29 Apr 2024 16:02:43 +0200 Message-ID: <20240429140245.238210-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240429140245.238210-1-angelogioacchino.delregno@collabora.com> References: <20240429140245.238210-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240429_070251_101103_AFFDC010 X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. 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 The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git/ tags/mtk-soc-for-v6.10 for you to fetch changes up to 8a87e1d21ef84fe68913aeba9838222422eef4d7: soc: mediatek: mtk-socinfo: Correct the marketing name for MT8188GV (2024-04-23 12:16:56 +0200) ---------------------------------------------------------------- MediaTek driver updates for v6.10 This adds a much needed cleanup for the MediaTek CMDQ helper driver and also some more helper functions which will be used in drivers using the MediaTek Global Command Engine (GCE) HW. Also adds support for MT8188's VPPSYS mutex for MDP3 support, a new SoC in the mtk-socinfo driver and changes the marketing name for the pre existing MT8188 SoC. ---------------------------------------------------------------- AngeloGioacchino Del Regno (3): soc: mediatek: socinfo: Advertise about unknown MediaTek SoC soc: mediatek: mtk-mutex: Add support for MT8188 VPPSYS soc: mediatek: mtk-socinfo: Add entry for MT8395AV/ZA Genio 1200 Chun-Kuang Hu (7): soc: mediatek: cmdq: Fix typo of CMDQ_JUMP_RELATIVE soc: mediatek: cmdq: Add parameter shift_pa to cmdq_pkt_jump() soc: mediatek: cmdq: Rename cmdq_pkt_jump() to cmdq_pkt_jump_abs() soc: mediatek: cmdq: Add cmdq_pkt_jump_rel() helper function soc: mediatek: cmdq: Add cmdq_pkt_eoc() helper function soc: mediatek: cmdq: Remove cmdq_pkt_flush_async() helper function soc: mediatek: cmdq: Refine cmdq_pkt_create() and cmdq_pkt_destroy() Jason-JH.Lin (4): soc: mediatek: mtk-cmdq: Add specific purpose register definitions for GCE soc: mediatek: mtk-cmdq: Add cmdq_pkt_mem_move() function soc: mediatek: mtk-cmdq: Add cmdq_pkt_poll_addr() function soc: mediatek: mtk-cmdq: Add cmdq_pkt_acquire_event() function Jason-ch Chen (1): soc: mediatek: mtk-socinfo: Correct the marketing name for MT8188GV Nícolas F. R. A. Prado (1): soc: mediatek: cmdq: Don't log an error when gce-client-reg is not found drivers/soc/mediatek/mtk-cmdq-helper.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- drivers/soc/mediatek/mtk-mutex.c | 41 ++++++++++++++++++++++ drivers/soc/mediatek/mtk-socinfo.c | 14 ++++++-- include/linux/soc/mediatek/mtk-cmdq.h | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ 4 files changed, 292 insertions(+), 65 deletions(-)