From patchwork Mon Sep 9 11:14:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13796980 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 85F8BECE579 for ; Mon, 9 Sep 2024 12:46:37 +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: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:In-Reply-To:References:List-Owner; bh=ItggMhPxBJY0gkMC49qQS6udiSlXnBocVGSqlKISNN0=; b=mFIlFqiMWJOZ7SA08T9KC6vuMf /BZ6zNdR+21lsAW1DhjgpzKi70lMD1GsOS6EZuE4sQ7YRNhwquV1o9TPX093elQrq5LOmnaw8TLuD GcezFmwIo4qa8tA8Xbvse7cMHvJ8S51SGGwyzRuwXFx7GzYtrxTt+UtCZZ+ZgaSfd2TBp6wS+Ab27 qmetewZln1ms/5tzjMQMXdzS75O2YIMrCAN/NzMbqVzBzs1IkAHpXLWMA+TgQ1iViUeaZZqVkScGL lDYNJGNt/+RF7D8AiarRVx/Vjm+pO6I6Io0yqdytLlwK+Zk3y+6OFMsxESHX+YSe+Uextt4QvBhnh QzuoiidQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sndmj-00000001tV9-1nkW; Mon, 09 Sep 2024 12:46:25 +0000 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sncP0-00000001d8M-0e72 for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 11:17:51 +0000 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-20543fdb7acso28722555ad.1 for ; Mon, 09 Sep 2024 04:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1725880669; x=1726485469; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ItggMhPxBJY0gkMC49qQS6udiSlXnBocVGSqlKISNN0=; b=Uu7rgpVOK4mocBSjpUjv4Z96TiKIjWh4yiWUUTi2Zetx6xVOo0wmztoFapHWqRGmx5 TQNUEZbq38Qf2FJpS1Rkuc/tuLsHqpPqQs/KdzsYvEbAU2K5nVgYRvfddO8od8DVCQxY dwSGLRzGG4h0wgAikBlpJ8hD/UyBtR5b3tgF4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725880669; x=1726485469; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ItggMhPxBJY0gkMC49qQS6udiSlXnBocVGSqlKISNN0=; b=pHp3oaH518FKbFioJe5AqUTFJXcYVAXp5F2i8jMIMHhj6JlT1peUocevhwyN+4PxWz nKfJmLZNuY0ymO5lmXfEZTY4FbaWVynpBXkD1BzVZvrtME+HkhiVhtzQxRR1vPFW7TTA ROCtr687AkjS8JQ4Dk4EgpQLi3vMjFXP0kZt0zJ1qFrKxHrYO1jcREw1rH8zHCnjumMT jw6A4Uf1VMcXwhIIx6k0V3eMK6ks/kB4TPH2tHlFAlTboOCWqpj8LwvwLPXExpCk7FdA nIxSRB2bingtWuUX5JOpS5saa2QyqONk7DzfLT1sG6S0zgQZAbCiAg01Sbq642ZwqiNC nUkQ== X-Forwarded-Encrypted: i=1; AJvYcCV/bvJzQhbbzYBKVsSJwmzpoQcE7++xS4UVaNbSeOcZ41Tmv+gvJVeO9Wf702i7ztlrVfQurLU7Q4nhY4zuL43S@lists.infradead.org X-Gm-Message-State: AOJu0YyTobyCtriqtUj/jvJP46hb9C4dBaDI4N97MAu9IH/jNscHhATU 0BqWOdlwRsWUwzyCrpstt3m2dteiELssaNFVgUtq6fgxoJHRApYIJ9dEunh3mA== X-Google-Smtp-Source: AGHT+IHLRIdt1H28qhwk89qwzoD4cvjGIQS4KVJ/THMcfTnhxGfANJw6cSATeXiB2t4rxipOAgrC6Q== X-Received: by 2002:a17:902:d48a:b0:206:ba7c:9f2e with SMTP id d9443c01a7336-206f051490cmr95199095ad.25.1725880668502; Mon, 09 Sep 2024 04:17:48 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:6647:6d5f:dd48:8f5c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20710f1dc55sm32039745ad.186.2024.09.09.04.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 04:17:48 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Fei Shao , Alexandre Mergnat , Allen-KH Cheng , Conor Dooley , Fabien Parent , Hsin-Hsiung Wang , Jassi Brar , Krzysztof Kozlowski , MandyJH Liu , Markus Schneider-Pargmann , Rob Herring , Stephen Boyd , Ulf Hansson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 00/13] Several fixes and supports for MediaTek MT8188 SoC Date: Mon, 9 Sep 2024 19:14:13 +0800 Message-ID: <20240909111535.528624-1-fshao@chromium.org> X-Mailer: git-send-email 2.46.0.469.g59c65b2a67-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240909_041750_239133_41D6EE13 X-CRM114-Status: GOOD ( 13.08 ) 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 Hi all, This series contains several fixes and patches to the MediaTek MT8188 SoC. It aims to add more fundamental supports and lay the groundwork for introducing MT8188-based boards in the future: - Supports for CPUFreq, SPMI, IOMMU, PWM and audio. - Fixes for CPU big core clusters, missing dma-ranges in soc node and power-off sequence issue in vcodec pipeline. - MT8188 CHECK_DTBS fixes for dt-bindings and device tree. Note that there are more changes for MT8188 SoC on the way - PCIe, MIPI DSI panel, DRM, multimedia encoders and decoders etc. I'll keep working on organizing those changes, and I believe the feedback here will also help me improve those before posting. Thanks! Regards, Fei Fei Shao (13): arm64: dts: mediatek: mt8188: Add CPU performance controller for CPUFreq arm64: dts: mediatek: mt8188: Specify CPU big core cluster arm64: dts: mediatek: mt8188: Add missing dma-ranges to soc node arm64: dts: mediatek: mt8188: Move vdec1 power domain under vdec0 arm64: dts: mediatek: mt8188: Add missing GCE clock names arm64: dts: mediatek: mt8188: Update VPPSYS node name and compatible dt-bindings: power: mediatek: Add another nested power-domain layer arm64: dts: mediatek: mt8188: Add SMI/LARB/IOMMU support arm64: dts: mediatek: mt8188: Add PWM nodes for display backlight dt-bindings: spmi: spmi-mtk-pmif: Add compatible for MT8188 arm64: dts: mediatek: mt8188: Add SPMI support for PMIC control dt-bindings: mailbox: mtk,adsp-mbox: Add compatible for MT8188 arm64: dts: mediatek: mt8188: Add audio support .../bindings/mailbox/mtk,adsp-mbox.yaml | 12 +- .../power/mediatek,power-controller.yaml | 4 + .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 1 + arch/arm64/boot/dts/mediatek/mt8188.dtsi | 352 +++++++++++++++++- 4 files changed, 350 insertions(+), 19 deletions(-)