From patchwork Mon Nov 4 11:26:20 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: 13861258 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 8CF9CD132B5 for ; Mon, 4 Nov 2024 11:37:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=Vci3jQLEcdyljh9VMhnoM66iW3+JTExNH6kMXN4qkus=; b=tV1g1pEPOF7FEeIZDFY3Z2I8MG NUl9LaP6KV063zi9405T1K7KtrI1KNToxDuY8wrgSfi6dK4+WxfdaYha0tXvslmR/lL4Bp+d1ZNTn WZtIsWQcS7P7jhFEnm66Rkwy8HdZh6F4j96QeRiBGCu8w5IetkoXiBvOB+yNcc9NKw65BmQr2ngSB ANEcJXbs8r+Zdt/g6cqzNLp8+L4DeW5Bwpmb8mwetDnmSOZ+ac1g/xkmx+jsEyGrfCt0hi71AF0AZ pkE4YEWEbk1xn1eJC6Jr5gx4/A7+pDYuSqc4EisVGfJUWu7eY6END1OeXn3qLeWH1KRgc03HIe8z1 kyqidi0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t7vOe-0000000DYl1-2Uho; Mon, 04 Nov 2024 11:37:24 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t7vEF-0000000DVos-23PC; Mon, 04 Nov 2024 11:26:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1730719597; bh=2M6vBjVHF1WnquR+ikjsHwhWCf3RjSuDSCRA4FhNpk0=; h=From:To:Cc:Subject:Date:From; b=Xzuyz0okuPMXLeP1nDovbTYi7o5v3zTuSmEj/UvzPY19Vt8+X3NCrLnvCFA2OA3ue ACKJJzP+tNhhUbN/hs99iRYe5gc69APykvdgtVP2+hpW30utjvO1bGpxrY/2CTxDXx 1feX7i/eqEN7weVvXSiP/Ybdvc9NBD3XA7Jkoyjrt34HH1+5RlxOLfEdXGwpTSbLA1 GGgbJwifJJ7oRYa/qXL6c8mNUP3Be3wV37RDjY1pbkiD76WeVc/eoPfTpgu1bxsMCA F9OCFdL8SAsmq2q/r5gZ8YLy3eB4A9ges1p5QLJsYlOF27objh8Ib+7zOgpfbpG8tJ 3ugmynkmtEL7w== Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 bali.collaboradmins.com (Postfix) with ESMTPSA id 7C41C17E35FC; Mon, 4 Nov 2024 12:26:37 +0100 (CET) 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.13 Date: Mon, 4 Nov 2024 12:26:20 +0100 Message-ID: <20241104112625.161365-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241104_032639_723524_865DB61C X-CRM114-Status: GOOD ( 13.46 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git tags/mtk-dts64-for-v6.13 for you to fetch changes up to 436142058e5dec67df71c0a4b159338bdda24b6b: arm64: dts: mediatek: mt8183-kukui: Drop bogus fixed regulators (2024-11-04 11:12:35 +0100) ---------------------------------------------------------------- MediaTek ARM64 DeviceTree updates for v6.13 MT8195 (also called MT8395) - Enabled GPU support on Genio 1200 EVK - Added sound-dai-cells for audio codec on MT8195 Cherry Chromebooks MT8192: - Added support Asurada Chromebook variants with Synaptics trackpad MT8188 (also called MT8390): - Added support for CPU DVFS, IOMMU, PWM hardware, SPMI bus, Audio, socinfo, PCI-Express, DisplayPort, MIPI DSI, Ethernet, Video HW Encoders (Stateful) and HW Decoders (Stateless), JPEG HW Encoder/Decoder. - Enabled GPU support on Genio 700 EVK MT8183: - Added support for Video HW Encoders (Stateful) - Added HDMI support on MT8183 Pumpkin board - Fixed some regulators to provide the actual description of the power rails in MT8183 Kukui Chromebooks - Disabled DPI display interface on MT8183 Kukui Chromebooks to fix internal display probing - Fixed address of EEPROM found on MT8183 Kakadu/Kodama Chromebooks - Added SCL internal delay on I2C2 bus for improved I2C-HID devices reliability on MT8183 Jacuzzi Chromebooks MT7988: - Added support for eFuses and UART controllers Plus, addition of OF Graph support in MediaTek MMSYS and some cleanups and dtbs_check fixes for MT8195 and for all machines using the MT6358 PMIC. ---------------------------------------------------------------- Alper Nebi Yasak (1): arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface AngeloGioacchino Del Regno (1): dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path Chen-Yu Tsai (7): arm64: dts: mediatek: mt8186-corsola-voltorb: Merge speaker codec nodes arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad arm64: dts: mediatek: mt8186-corsola: Fix GPU supply coupling max-spread arm64: dts: mediatek: mt8186-corsola: Fix IT6505 reset line polarity arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators arm64: dts: mediatek: mt8183-kukui: Drop bogus fixed regulators Daolong Zhu (4): arm64: dts: mt8183: fennel: add i2c2's i2c-scl-internal-delay-ns arm64: dts: mt8183: burnet: add i2c2's i2c-scl-internal-delay-ns arm64: dts: mt8183: cozmo: add i2c2's i2c-scl-internal-delay-ns arm64: dts: mt8183: Damu: add i2c2's i2c-scl-internal-delay-ns Fabien Parent (1): arm64: dts: mediatek: mt8183-pumpkin: add HDMI support Fei Shao (21): arm64: dts: mediatek: mt8188: Add missing dma-ranges to soc node arm64: dts: mediatek: mt8188: Update vppsys node names to syscon arm64: dts: mediatek: mt8188: Move vdec1 power domain under vdec0 arm64: dts: mediatek: mt8188: Move SPI NOR *-cells properties arm64: dts: mediatek: mt8188: Add CPU performance controller for CPUFreq arm64: dts: mediatek: mt8188: Add SMI/LARB/IOMMU support arm64: dts: mediatek: mt8188: Add PWM nodes for display backlight arm64: dts: mediatek: mt8188: Add SPMI support for PMIC control arm64: dts: mediatek: mt8188: Add audio support arm64: dts: mediatek: mt8188: Add socinfo nodes arm64: dts: mediatek: mt8188: Assign GCE aliases arm64: dts: mediatek: mt8188: Add PCIe nodes arm64: dts: mediatek: mt8188: Add MIPI DSI nodes arm64: dts: mediatek: mt8188: Add video decoder and encoder nodes arm64: dts: mediatek: mt8188: Add JPEG decoder and encoder nodes arm64: dts: mediatek: mt8188: Add display nodes for vdosys0 arm64: dts: mediatek: mt8188: Add display nodes for vdosys1 arm64: dts: mediatek: mt8188: Add DP-INTF nodes arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes arm64: dts: mediatek: mt8188: Fix USB3 PHY port default status arm64: dts: mediatek: mt8195-cherry: Use correct audio codec DAI Hsin-Te Yuan (3): arm64: dts: mt8183: Add encoder node arm64: dts: mt8183: krane: Fix the address of eeprom at i2c4 arm64: dts: mt8183: kukui: Fix the address of eeprom at i2c4 Macpaul Lin (7): arm64: dts: mediatek: mt8395-genio-1200-evk: Fix dtbs_check error for phy arm64: dts: mt8195: Fix dtbs_check error for mutex node arm64: dts: mt8195: Fix dtbs_check error for infracfg_ao node arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie arm64: dts: mediatek: mt8390-genio-700-evk: update regulator names arm64: dts: mediatek: mt8390-genio-700-evk: add keys and USB HUB arm64: dts: mediatek: mt6358: fix dtbs_check error Nícolas F. R. A. Prado (2): arm64: dts: mediatek: mt8188: Add ethernet node arm64: dts: mediatek: mt8390-genio-700-evk: Enable ethernet Pablo Sun (3): arm64: dts: mediatek: mt8188: Fix wrong clock provider in MFG1 power domain arm64: dts: mediatek: mt8390-genio-700-evk: Enable Mali GPU arm64: dts: mediatek: mt8395-genio-1200-evk: Enable GPU Pin-yen Lin (2): arm64: dts: mt8192-asurada-spherion: Add Synaptics trackpad support arm64: dts: mt8183: Add port node to dpi node Rafał Miłecki (2): arm64: dts: mediatek: mt7988: add UART controllers arm64: dts: mediatek: mt7988: add efuse block max_weng (1): arm64: dts: mediatek: mt8186: add FHCTL node Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml | 28 ++++ arch/arm64/boot/dts/mediatek/mt6358.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 42 ++++- arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 8 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts | 3 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-cozmo.dts | 2 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts | 3 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi | 3 + arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 30 ++-- arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku32.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8183-kukui-katsu-sku38.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8183-kukui-krane.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 30 +--- arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 123 ++++++++++++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 21 +++ arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb.dtsi | 21 +-- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 14 +- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 7 + arch/arm64/boot/dts/mediatek/mt8188-evb.dts | 2 - arch/arm64/boot/dts/mediatek/mt8188.dtsi | 1124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts | 11 ++ arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 6 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 4 +- arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts | 192 +++++++++++++++++---- arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dts | 21 ++- 28 files changed, 1586 insertions(+), 133 deletions(-) From patchwork Mon Nov 4 11:26:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 13861274 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 5A826D132B5 for ; Mon, 4 Nov 2024 11:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dwoXow54u06CVIvSsGRRqSvWrbRYrQCG24cFC8sy2Xw=; b=J5PPu8J8PGOSi8XwagefBu4cYN QfV1bcYbJLjgLdiGUP0ciYhuro/Vss3p3dRDwQUgTgUzsYOtTvOd2WizdpyjaCL/0gFUbCJkz9UFL jZL5ARMeaKeZAXuTRXjzkbGcJN2C58sQdWsd6GGsOTlpd031VPk10LtcLmL0yx49EZaGAOd1ToxeS 5dFCKyAgx+iKjLMQ1NQh6I/nFQIRTBq/+BfNM5PmRKzYB4kQklP1GPO7anPMMhK/3jiirqjlDFtKo vwe2Cv+hs9hqUv+UzGbmDKQN6gLvC7R9FAeDYAjwtpHNTIgq0I8y+iRYPMTBq7MqBqiPGE3plM41A BLKAwimA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t7vQL-0000000DZ6w-1LH8; Mon, 04 Nov 2024 11:39:09 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t7vEF-0000000DVoy-3hvz; Mon, 04 Nov 2024 11:26:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1730719598; bh=bF7hHsF3nFkMIP/dp3aAmjmr+zxCA1jW5rykrtwikWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WA0LE1LvkSo8o5z422v06LGKzz6D6c08A0MdbOyw99zKPEXCeOPFGTeQ3FbkNe1n2 wQos9MoF71wgcquR4rknI8mX5OOw2GJ3DCWhp/fS/u5jq1eJFNYQ7PvkQrXDTQTF6/ 9yjF0L7JcEL+DwZal6250r//yABrQ7DF8qZVlkrAbChISGWyLsnL1rsZQe0rD1QtcD nV/xR1J6nSk48u1f0mSokRYhM2wSf+l6pZnPmmBhas8EredjYRpI0v13WWAqKQqlfT E84JXYPDXJJ+nCIuPrMdKp2xIpi20unIia+Fx05zbs8/e40WklBjItOxBkwUoHJaH1 /A2dqfwrkvpAg== Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 bali.collaboradmins.com (Postfix) with ESMTPSA id D8CBA17E3600; Mon, 4 Nov 2024 12:26:37 +0100 (CET) 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.13 Date: Mon, 4 Nov 2024 12:26:21 +0100 Message-ID: <20241104112625.161365-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.46.1 In-Reply-To: <20241104112625.161365-1-angelogioacchino.delregno@collabora.com> References: <20241104112625.161365-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-20241104_032640_112893_925AC4A6 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git tags/mtk-soc-for-v6.13 for you to fetch changes up to a1643ae9b3e3364edbb6cf285c5f2cf5d60336e6: soc: mediatek: mtk-svs: Call of_node_put(np) only once in svs_get_subsys_device() (2024-10-21 16:00:52 +0200) ---------------------------------------------------------------- MediaTek soc driver updates for v6.13 This adds support for the MT8188 SoC in the MediaTek Regulator Coupler driver, allowing stable GPU DVFS on this chip; Moreover, this adds a new MediaTek DVFS Resource Collector (DVFSRC) driver, allowing to enable other drivers (interconnect, regulator) which can now communicate with the DVFSRC hardware. Last but not least, this includes some cleanups for the CMDQ Helper and MediaTek SVS drivers ---------------------------------------------------------------- AngeloGioacchino Del Regno (4): dt-bindings: soc: mediatek: Add DVFSRC bindings for MT8183 and MT8195 soc: mediatek: Add MediaTek DVFS Resource Collector (DVFSRC) driver soc: mediatek: mtk-cmdq: Move mask build and append to function soc: mediatek: mtk-cmdq: Move cmdq_instruction init to declaration Markus Elfring (1): soc: mediatek: mtk-svs: Call of_node_put(np) only once in svs_get_subsys_device() Pablo Sun (1): soc: mediatek: mediatek-regulator-coupler: Support mt8188 .../soc/mediatek/mediatek,mt8183-dvfsrc.yaml | 83 ++++ drivers/soc/mediatek/Kconfig | 11 + drivers/soc/mediatek/Makefile | 1 + drivers/soc/mediatek/mtk-cmdq-helper.c | 230 ++++----- drivers/soc/mediatek/mtk-dvfsrc.c | 545 +++++++++++++++++++++ drivers/soc/mediatek/mtk-regulator-coupler.c | 1 + drivers/soc/mediatek/mtk-svs.c | 4 +- include/linux/soc/mediatek/dvfsrc.h | 36 ++ include/linux/soc/mediatek/mtk_sip_svc.h | 3 + 9 files changed, 787 insertions(+), 127 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mt8183-dvfsrc.yaml create mode 100644 drivers/soc/mediatek/mtk-dvfsrc.c create mode 100644 include/linux/soc/mediatek/dvfsrc.h