From patchwork Wed Sep 11 14:33:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13800731 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 614B6EE49BD for ; Wed, 11 Sep 2024 14:46:47 +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=xR9XIjn3y1OmGn7jK9qX2NGw0TdqrgFrmLU/vrD2/WM=; b=e482Q/d5ArPPkar+qzbJu0W+FN spTbPEIXKqmx5Nz96MaWmBhMuZ9wjHZ/OksZxwSUaqu9KZkqBsTUijjkyhCkhQot737MA1ta70Fe2 AuaZkBIDCfjRM3zTxIPpzW0in7XVVp3hfE5NHhVHr9zYXF6Qfg4qrWaFpUr0b3L6RFAspTXrYbZIy hPRKn88+3wTo8dToWYuoFe5kwuU73H/j9EpVE0PxV2Mk3f338/dsdKEffxpsQfJZdEdGj2mXiAekC Fefl8Na1wT3dfxUSpRYXZuRNlnnn7npWRWsXhL+QRZmio34Hbkpy7fm7yZUmR52EPRLofv+uNkW0O +eIpTcJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOc8-00000009zsj-2Atq; Wed, 11 Sep 2024 14:46:36 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soOR4-00000009w3J-0Rsk for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 14:35:11 +0000 Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-710d5d9aac1so953853a34.3 for ; Wed, 11 Sep 2024 07:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1726065309; x=1726670109; 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=xR9XIjn3y1OmGn7jK9qX2NGw0TdqrgFrmLU/vrD2/WM=; b=KrVgtgwHFLikhoFZDIHn6qgaWVJMFEf6XMwPHd4VXTQqxc4k8N7OK99qq67IbbGbcw eZDu11d+vdHKTI+xr5jKw9BG/akq2Bal1ot/i0r2wNptVloyEfk+/tuV085utbKjtyT8 W+9Gta1Jw/XtYBNwd84y0UOnhPfj/7pJCl2QY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726065309; x=1726670109; 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=xR9XIjn3y1OmGn7jK9qX2NGw0TdqrgFrmLU/vrD2/WM=; b=lw4sgdJ/e4p4iUTbNTjDAg4MAzh787cavYi6ZhLur+VYdex7G9RGYK7fX+dnu5V31I 0x5+6Zx0JeJkSgNRv95KC3R/PX4iLCU72HJxYMvta+fYlnjXYSRtvpVPVAJbEN8P+FNA /9Znlq/eUhejhIrxLpt6XOhXJcsuZjsDM62SmfByNeYZ6s0tj6/F0AW6lgDxDZR9zfE1 ScUq+tMyI8FPtp+cHQ7NzkltxPgSpI0WEixeHgsp841m1y9qBvJQiN4PiJdDTpdyb7a9 n5jJ3APpjitUNVQRd6QEMgVx/HSXG5RPuDO2epGVP6HLmix5bKQpw+cwdUNOg34RLCXL U9YQ== X-Forwarded-Encrypted: i=1; AJvYcCVp4zFm5al74EIsP4bVE5MbBkM5ziJzGzlTvbAUVryGwphsvTHA2+ifsxjM3DdFWdWSxyuhaoLpIzoD0ZUxHm00@lists.infradead.org X-Gm-Message-State: AOJu0Yw9YRLdtYIwc73syS0V2jyW3B0lpDvA5zcpR5bbawIE+AOFWhIK 3L1xXuS+87vtIuwTWT4JOgOz8V7iyj57pB0b6zsB0vGSg4S0y5KY0dLUWe7+cw== X-Google-Smtp-Source: AGHT+IGhvCaoigjEidnBcIxaoN8ZPYvAnGVEtA0q3Dv/8v++g5bmQqxojewOStqK0G2ypMFUcUBfqg== X-Received: by 2002:a05:6830:7105:b0:709:396c:c465 with SMTP id 46e09a7af769-710fe72f964mr2599321a34.18.1726065308786; Wed, 11 Sep 2024 07:35:08 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:102f:d738:6069:fd4b]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db1fbb5901sm46620a12.24.2024.09.11.07.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 07:35:08 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Fei Shao , Allen-KH Cheng , Conor Dooley , Hsin-Hsiung Wang , Jassi Brar , Krzysztof Kozlowski , Rob Herring , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 0/8] Add platform supports to MediaTek MT8188 SoC Date: Wed, 11 Sep 2024 22:33:53 +0800 Message-ID: <20240911143429.850071-1-fshao@chromium.org> X-Mailer: git-send-email 2.46.0.598.g6f2099f65c-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_073510_169513_B53B4067 X-CRM114-Status: GOOD ( 13.62 ) 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 is a subset of the previous series [v1], focusing on enabling few platform functionalities on MediaTek MT8188 SoC, including: - CPU performance controller - IOMMU / SMI / LARB - PWM for display backlight - SPMI for PMIC control - audio - socinfo along with the corresponding binding changes (acked in the previous series). [v1]: https://lore.kernel.org/all/20240909111535.528624-1-fshao@chromium.org/ [v2]: https://lore.kernel.org/all/20240911105131.4094027-1-fshao@chromium.org/ Regards, Fei Changes in v3: - Remove leading zeros in spmi reg size Changes in v2: - Replace hardcoded AFE reset ID with correct definition - Added socinfo nodes in v2 Fei Shao (8): dt-bindings: spmi: spmi-mtk-pmif: Add compatible for MT8188 dt-bindings: mailbox: mtk,adsp-mbox: Add compatible for MT8188 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 .../bindings/mailbox/mtk,adsp-mbox.yaml | 12 +- .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 1 + arch/arm64/boot/dts/mediatek/mt8188.dtsi | 321 ++++++++++++++++++ 3 files changed, 331 insertions(+), 3 deletions(-)