From patchwork Wed Sep 11 10:51:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13800219 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 658C7EE4991 for ; Wed, 11 Sep 2024 11:00: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=bntFV8pZ39/vd/ElxPtsnTHwc8+5+H7FcNeX9IYOSIo=; b=D7uiS8gYNCPAyY2HNfwbmsXCWw IeBSFVhgPTtG+jo4HvTwq2dNNy+jvcFVOIeEtyFJUZEE9XJVjYi6sk3sre6GhUlPgY4K5Wd1hjN1I ehET3dQRYfsr6Mmz5YoHy8YyeY2o7X3A1A+vSeFj9x6PPTNtwduVVKOa5izW+xyZQNLat6t4kqag4 wjfErv7Uvok5knZEE5Ns2UvSmFkpfLFCPNRPMv+r7xta+998Ih7cyltJdnr2Pcuu714rx1m4lJoxu gDgW2Ld3n84umKjmiyXSp+S8pVlNB/iONLMHbM5k2lXZ41AU9uikWFNUrIZyCwjPYPdMPVp8+CLqg vNJ4ipPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soL5E-00000009CtB-3wZr; Wed, 11 Sep 2024 11:00:24 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soKx9-00000009AoK-25DR for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 10:52:05 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-718e11e4186so1731415b3a.2 for ; Wed, 11 Sep 2024 03:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1726051922; x=1726656722; 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=bntFV8pZ39/vd/ElxPtsnTHwc8+5+H7FcNeX9IYOSIo=; b=U62QXsRhr5RK8Ji2Ft/7FAs5eeeC9qE1RojAsUvaBLAEAx/9XbfHyc2nm57siGDo9b a5UlkonIGGa2l8kJqkNeWi1s9QUPp0GJjkTHyfaVjdv6rgtOFEAvOI1JwolRMhevxQtj 7/cJDQtohYFOHnVmQexOKqSLzc9Ssxhj1gGa0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726051922; x=1726656722; 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=bntFV8pZ39/vd/ElxPtsnTHwc8+5+H7FcNeX9IYOSIo=; b=S+yY87FwKsmGZYZpabga80UEhE4Cr0l10VhNM4p71B/ZnE1st+We0YNK8mh6KDztqS pxhHQk1nwOHDQ7MmJLadHdhnzzLMNvE6u/zGWnHJilQjCwV0Oe6lrIW4K3DOAC10OSa5 z/bGSLJ9StPa+CplxoNAZ9Jf8tkvzL4OHrLdiIaF1iTWBxGdaU8GAnZ9eeN6P72xm8jB waZkUrlOJ8G/PhY0Ea6y2TxytzpFbvef5rL7YqE8VhwRelH8L5ZKMK9XCy2uiM1chEaT 5fBNcxNjW0HfnMJuKQaJXCLxrFrEAEvEdrI+HhEGYT9T+rcjpv/zF7uPi1Z2Cec+HIY/ touQ== X-Forwarded-Encrypted: i=1; AJvYcCVyheQEQWIptC1WNhBo1YOBfepjOG5l2akLuQBc7Y5/2TpaomcwDrSRfu2A8df2eREvN9bPVucDeKzOVMKW0cdR@lists.infradead.org X-Gm-Message-State: AOJu0YyuqZnmsX5g93fmzU5ixoxEmXgzcdGPs6zBQEzVEoptxs2+q4r2 0ocWNjoa064Yhm3kN1Mj81uFqwe5S8/Gg8NsLoofQHpA1CL9sOLt2GY6DnUINbLzBbPxbog/nFo AUQ== X-Google-Smtp-Source: AGHT+IF0o/eQIkWaTGkC08fE/boVNtrfPBZgXbaJDeqLRKBeyA2VebJ72Ic2BKlFFjweXCqeEJZ52A== X-Received: by 2002:a05:6a00:9484:b0:718:d7de:3be2 with SMTP id d2e1a72fcca58-71916df1f89mr3252259b3a.14.1726051922429; Wed, 11 Sep 2024 03:52:02 -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-7d8242b3d13sm7147352a12.52.2024.09.11.03.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 03:52:01 -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 v2 0/8] Add platform supports to MediaTek MT8188 SoC Date: Wed, 11 Sep 2024 18:51:05 +0800 Message-ID: <20240911105131.4094027-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_035203_552823_080AB34C X-CRM114-Status: GOOD ( 13.33 ) 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[1], 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). [1]: https://lore.kernel.org/all/20240909111535.528624-1-fshao@chromium.org/ Regards, Fei 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(-)