From patchwork Fri May 13 11:44:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 12848707 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2E2FBC433F5 for ; Fri, 13 May 2022 11:45:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 14C1BC34100; Fri, 13 May 2022 11:45:02 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 29352C34114; Fri, 13 May 2022 11:45:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 29352C34114 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f50.google.com with SMTP id l38-20020a05600c1d2600b00395b809dfbaso4325653wms.2; Fri, 13 May 2022 04:45:00 -0700 (PDT) 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=X5VInsnTlUTFXM4a+ZiHNfR7V1Xk1EraPGvAG2jFB7k=; b=e21VeYHXRXJcA15h0Ue5ysMUIj3/H6k/LTP7OB1IGYRjaGpghk4XE0XnT9NCHLJVjB Eo0vdYGYHOf5vEDFSDpX/b7taHhiTNNyxcre1E1cwVnWtkx8tSJbufABQ1bpqFGvmikE ZFE4+OrKFu3XnV8AFGaTU5sb3AB+FgSIvJdo25hmhmR4lyTp4zVTY6Xg5Oxh3OOIfYut oA8SDmW4tnQwQauxQyuyLX8tqIRqVtyrmbcrvufNWO9VSEz7wRkW+wib64Q6RRZENRWH M/GTgrNeMNYx77XknoPKRXgvOsQnUm5hzrdHxRJYfHSb3KFl9viTfji8AnNUxy/dUxKJ X39w== 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=X5VInsnTlUTFXM4a+ZiHNfR7V1Xk1EraPGvAG2jFB7k=; b=NqWGNQBfdNY36jd7hISUez+qU4VA+IkhTwNLLvguzrveD2IOR7d8V/xWxPcF+38/yF lo4N3fpVjA/PUbWJIkwS/tCXGc6IttLAo6p2AlibRPBZeV79LvE/P9kFLUEZzGBeI4t7 kncZbHbwrkWoVMFB728WA/fQ7nFETEfwSt+yEHOZ+isFBTofFUrP7zEwgzV1MKHk/Ji4 K+7gqTqSAOz3qkuH+8ojP5USPBPHsVrgcPZvuEDifHMO7GdlsInhvzmK7nIaSQ/C4af7 NEKpbn1XfKTGguLm308x8GiukjiWh1HM5yMiz7OvUCxpvuk6sF+e38dija/UMcr0hErP U95g== X-Gm-Message-State: AOAM531g3Y2fnrKafCBpv6eV04RGBOuLWv3mS5h6UFIcI00ff9GcSjIk 1NaMcP2pXFn22w5m3TWTgVylNC7uK5pJKA== X-Google-Smtp-Source: ABdhPJz2tKjwkrTa0NPsAS5bP/EIdFegjgq/+MzbdDJ7sHEfFyfsW6YyNfpY3niPS2gU7dOsyUUIMg== X-Received: by 2002:a7b:cd97:0:b0:38f:f785:ff8 with SMTP id y23-20020a7bcd97000000b0038ff7850ff8mr14445008wmj.44.1652442299333; Fri, 13 May 2022 04:44:59 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id l5-20020adfa385000000b0020ce015ed48sm1914945wrb.103.2022.05.13.04.44.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 May 2022 04:44:58 -0700 (PDT) Message-ID: <6412eecf-a4c3-cf06-55ff-9df8b0656d21@gmail.com> Date: Fri, 13 May 2022 13:44:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US List-Id: To: SoC Team , arm-soc Cc: "linux-arm-kernel@lists.infradead.org" , "moderated list:ARM/Mediatek SoC support" , AngeloGioacchino Del Regno , Chun-Kuang Hu , "jason-jh.lin" , Zhiyong Tao From: Matthias Brugger Subject: [GIT PULL] soc: mediatek: driver changes for v5.19 Hi Olof, Hi Arnd, Please have a look at the driver changes for the MediaTek SoCs. Most important change is that we got support for the display mutex and vdosys0 of MT8195. We still need to figure out which is the best way to add support for vdosys1. That will hopefully ready for the next round. Fingers crossed. Best regards, Matthias --- The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17: Linux 5.18-rc1 (2022-04-03 14:08:21 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/ tags/v5.18-next-soc for you to fetch changes up to 537f8ffbdf4b9e47e2e21eb8548cdf9cc254c936: soc: mediatek: mutex: remove mt8195 MOD0 and SOF0 definition (2022-04-25 12:46:13 +0200) ---------------------------------------------------------------- mmsys: - add SW reset to MT8192 - add support for MT8195 pmic wrapper: - update binding description needed for future MT8195 support mutex: - add support for MT8195 cmdq helper: - remove legacy callback ---------------------------------------------------------------- AngeloGioacchino Del Regno (1): soc: mediatek: mmsys: Add sw0_rst_offset for MT8192 Chun-Kuang Hu (1): soc: mediatek: cmdq: Use mailbox rx_callback instead of cmdq_task_cb Jason-JH.Lin (1): soc: mediatek: mutex: remove mt8195 MOD0 and SOF0 definition Matthias Brugger (1): Merge tag 'v5.18-next-vdso0-stable-tag' into v5.18-next/soc Zhiyong.Tao (1): dt-bindings: pwrap: mediatek: Update pwrap document for mt8195 jason-jh.lin (5): dt-bindings: arm: mediatek: mmsys: add power and gce properties dt-bindings: arm: mediatek: mmsys: add mt8195 SoC binding soc: mediatek: add mtk-mmsys support for mt8195 vdosys0 soc: mediatek: add mtk-mutex support for mt8195 vdosys0 soc: mediatek: add DDP_DOMPONENT_DITHER0 enum for mt8195 vdosys0 .../bindings/arm/mediatek/mediatek,mmsys.yaml | 32 ++ .../devicetree/bindings/soc/mediatek/pwrap.txt | 10 +- drivers/soc/mediatek/mt8167-mmsys.h | 2 +- drivers/soc/mediatek/mt8183-mmsys.h | 2 +- drivers/soc/mediatek/mt8186-mmsys.h | 4 +- drivers/soc/mediatek/mt8192-mmsys.h | 4 +- drivers/soc/mediatek/mt8195-mmsys.h | 370 +++++++++++++++++++++ drivers/soc/mediatek/mt8365-mmsys.h | 4 +- drivers/soc/mediatek/mtk-cmdq-helper.c | 25 +- drivers/soc/mediatek/mtk-mmsys.c | 153 ++++++++- drivers/soc/mediatek/mtk-mmsys.h | 6 + drivers/soc/mediatek/mtk-mutex.c | 92 ++++- include/linux/soc/mediatek/mtk-cmdq.h | 5 +- include/linux/soc/mediatek/mtk-mmsys.h | 12 + 14 files changed, 662 insertions(+), 59 deletions(-) create mode 100644 drivers/soc/mediatek/mt8195-mmsys.h