From patchwork Tue Mar 1 09:38:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 1599086 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Awo8QMBH; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=PiRPvmSh; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K7D1Y590Sz9vSM for ; Tue, 1 Mar 2022 21:26:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:From:Cc:To:MIME-Version:Date:Message-ID: 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=8Uro78SSrzvjffWDrlmCOoAKa9eInqyxDm5XHtfwsCA=; b=Awo8QMBH0PTTANY1qnQdP89p1Q IztOLzY4+ZTvdl1jz+XmIExF3cltjQK6F2703ZzFdTln5JABZwKEYdr7eHyFMjCaTBr+eNwcZ+5Le b+DBZhsMQx9PIMtBBoRHJSZcpZkFED1Zhpv70jJJ5WOnWOpUXposJGdrz5kFMPwmtj6QNCSUu4/Cn 8zdrYtPBLHQe44QP9X2o2RBJ4AoqpNYq8h9Bz4Ms7Qb35pNYiXfxZCEI9ksctmTS9+T/SdPq28i3z 4s1JjkcF8udXdne9QwmosIAz+du32JwTKiosDX0E/4d6mZWmVtw3tV5CRFQtXdNksFjDQ+Ma/7u86 Bxuk2geg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOyyD-00FsHD-NS; Tue, 01 Mar 2022 09:39:01 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOyy9-00FsG8-VO; Tue, 01 Mar 2022 09:38:59 +0000 Received: by mail-wr1-x429.google.com with SMTP id d3so19515640wrf.1; Tue, 01 Mar 2022 01:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:cc:from :subject:content-transfer-encoding; bh=Vsa3xP3k40cLCu4K30DmA7ryUsS2fZhxr5VMEaV7OyQ=; b=PiRPvmSh1PgNyPuA2nKq9TDyRD0oWh+8yt1oH8ecTtPmfUkVXXdZTCfjXzb3VQMYY0 uXEkzlog/2BZe5EelgBrZTbkKSRyiOm6PX15K0AmeTF7azikC3W681DDwUyY3i9yXCm9 JmCeFJ8RxrwWXSxVa5UT+i993Dc9fnfgfEDH5CpuNRju8dNG/xyi2qjZuvQ4Dir2JhLH /UTJ4tktgmNa/LBEN40Em18E6iuJQcvuwel+dxs/rFna7Tab7Mnl1CkkkGecTSoLqqCs 9LssGw8VU5IlvV34kNlmsccm2xCpAlgca8nywvXcTchxeJWpAwrqrEBu2FZOVMPXGTvo MjGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:from:subject:content-transfer-encoding; bh=Vsa3xP3k40cLCu4K30DmA7ryUsS2fZhxr5VMEaV7OyQ=; b=wYmFcV2j8epKwxGsUfst3ryJsc4B/fQVXB7l26uOoMFysCpnr2I3CzFzdecxtBsPWd 0PGnUP4LF3rP1f3PJBEP62vDLOlcLYyOzFsjX6t55dSiFNMjI1T1H3WA0J2EtbTv+A02 lUEZOvCCb9Wp42W1NQvVd7N7aNYgvmmzmj66iMThICYITHgha3SZvhoKM5bbORaXY+RB hzT+tVqWoSQxPk1YDa+8C/lFvOxqzVBy6msP7VOzMEA0SlhfmbZ14uSSXI7944cKS1Ho 4jB+I7AHa2BxvkijTj38Wq5pzNH7dlfM+A+4P3FI12n5zbrcpxmXiYPW5cd6R+U8q0OT nWPw== X-Gm-Message-State: AOAM532qarm8Cx7+rsUJoLCYs6jSpxSb+koPenF5nx1e/lgZqOxn33k6 PrQSnwRKLTN4lIorPkeGlX0= X-Google-Smtp-Source: ABdhPJzcW/SB22M9Lytgt8lLsAvdd51gsvLOg6OJOIOjYQWdTsWdu2w9sz4jM1luNb9H7V/xAHEeQw== X-Received: by 2002:a5d:584f:0:b0:1e8:5697:e979 with SMTP id i15-20020a5d584f000000b001e85697e979mr19158083wrf.167.1646127536707; Tue, 01 Mar 2022 01:38:56 -0800 (PST) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id m11-20020adff38b000000b001ef879a5930sm9661521wro.61.2022.03.01.01.38.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Mar 2022 01:38:56 -0800 (PST) Message-ID: <16a53482-5a8c-e95e-8cd4-b8304f110987@gmail.com> Date: Tue, 1 Mar 2022 10:38:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: arm-soc , SoC Team Cc: "linux-arm-kernel@lists.infradead.org" , "moderated list:ARM/Mediatek SoC support" , Chun-Jie Chen , Johnson Wang , Rex-BC Chen , Yongqiang Niu , Alyssa Rosenzweig From: Matthias Brugger Subject: [GIT PULL] soc: mediatek: updates for v5.18 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220301_013858_052423_5E6DADF5 X-CRM114-Status: GOOD ( 13.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Olof and Arnd, Please have a look on the SoC driver updates for v5.18. As you can see, we get quite some support for SoC devices based on mt8186. Regards, Matthias Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:429 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [matthias.bgg[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Olof and Arnd, Please have a look on the SoC driver updates for v5.18. As you can see, we get quite some support for SoC devices based on mt8186. Regards, Matthias --- The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07: Linux 5.17-rc1 (2022-01-23 10:12:53 +0200) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ tags/v5.17-next-soc for you to fetch changes up to eb1b02bef52ae545d5eb24116d5c099f738d39d5: dt-bindings: arm: mediatek: mmsys: add support for MT8186 (2022-03-01 09:26:56 +0100) ---------------------------------------------------------------- - add power domains support for mt8195 - disable ACP on mt8192 mt8186: - add support for power domains - add mmsys and mutex support needed for DRM - add reset control based on mmsys subsystem - add pmic wrapper ---------------------------------------------------------------- Alyssa Rosenzweig (1): soc: mediatek: mtk-infracfg: Disable ACP on MT8192 Chun-Jie Chen (7): dt-bindings: power: Add MT8195 power domains soc: mediatek: pm-domains: Add wakeup capacity support in power domain soc: mediatek: pm-domains: Remove unused macro soc: mediatek: pm-domains: Move power status offset to power domain data soc: mediatek: pm-domains: Add support for mt8195 dt-bindings: power: Add MT8186 power domains soc: mediatek: pm-domains: Add support for mt8186 Johnson Wang (2): soc: mediatek: pwrap: add pwrap driver for MT8186 SoC dt-bindings: mediatek: add compatible for MT8186 pwrap Rex-BC Chen (2): soc: mediatek: mmsys: add mmsys reset control for MT8186 dt-bindings: arm: mediatek: mmsys: add support for MT8186 Yongqiang Niu (2): soc: mediatek: mmsys: add mt8186 mmsys routing table soc: mediatek: add MTK mutex support for MT8186 .../bindings/arm/mediatek/mediatek,mmsys.yaml | 1 + .../bindings/power/mediatek,power-controller.yaml | 3 + .../devicetree/bindings/soc/mediatek/pwrap.txt | 1 + drivers/soc/mediatek/mt8167-pm-domains.h | 16 +- drivers/soc/mediatek/mt8173-pm-domains.h | 22 +- drivers/soc/mediatek/mt8183-pm-domains.h | 32 +- drivers/soc/mediatek/mt8186-mmsys.h | 115 ++++ drivers/soc/mediatek/mt8186-pm-domains.h | 344 ++++++++++++ drivers/soc/mediatek/mt8192-pm-domains.h | 44 +- drivers/soc/mediatek/mt8195-pm-domains.h | 613 +++++++++++++++++++++ drivers/soc/mediatek/mtk-infracfg.c | 19 + drivers/soc/mediatek/mtk-mmsys.c | 12 + drivers/soc/mediatek/mtk-mutex.c | 45 ++ drivers/soc/mediatek/mtk-pm-domains.c | 17 +- drivers/soc/mediatek/mtk-pm-domains.h | 8 +- drivers/soc/mediatek/mtk-pmic-wrap.c | 71 +++ include/dt-bindings/power/mt8186-power.h | 32 ++ include/dt-bindings/power/mt8195-power.h | 46 ++ include/linux/soc/mediatek/infracfg.h | 133 +++++ 19 files changed, 1559 insertions(+), 15 deletions(-) create mode 100644 drivers/soc/mediatek/mt8186-mmsys.h create mode 100644 drivers/soc/mediatek/mt8186-pm-domains.h create mode 100644 drivers/soc/mediatek/mt8195-pm-domains.h create mode 100644 include/dt-bindings/power/mt8186-power.h create mode 100644 include/dt-bindings/power/mt8195-power.h