Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2461522rwa; Mon, 22 Aug 2022 08:06:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7eHR8QOafOp0nA0ZtkbssGfrumUrbDyOVBvknP2YlCClEuiqtr/7mWYMTRtavo96NrGlYM X-Received: by 2002:aa7:c84f:0:b0:446:2bfb:5a63 with SMTP id g15-20020aa7c84f000000b004462bfb5a63mr14318222edt.172.1661180779201; Mon, 22 Aug 2022 08:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661180779; cv=none; d=google.com; s=arc-20160816; b=Rr6HqmdGU1RKXy9Q8oogBckgtpQ4XCrSOQReEIxqLtBP7frAhcrydBvV4hLvFBbqRE aR14dGTinEO3brqKywqCMG+bvwvVca08gzpEN2LN6YJrXWurPn3bhAxuVdYiy6YViYl3 ym7LwU+TIqi3slmsWi7BGs8zuReE0Qd132qEiiWH0ls/oQcDOnGdEXns+rsIqQHzcTxP 5ejfWMt8ArI5TQJYCRHw4wCyazNi8rQqZxLZkPvkpDUXSwTl9MKUFcIidOdLI6GZ6COU EnpHm5gLs122HA27oDFFV2FG3CZUBrKRbY3q821+QI/LCGueuJlMzyGer9CCexCrKr/f wlvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IMH0wVoJhc1Ycztouvr0JOiX6tFg+IdkseqQF/l41XU=; b=qiCGpSO0ZfdeKPIwJ7DCvlwuHLcvdDB+ySmA+avfjzhPDN0hAnBptqXkbVECH9+dpw +JfQpjVGTEBtM0M3qRV+t35QChB4EawqAoUVqnsaXtpOtc8RAmAceb2mS4d/6Z9mrqTr eHUBd09vNJWPQFdXl7MVOOQa6EHxinByQNQtA1EwcIWTXVVyqqasQmL/JjcEPCtE1IPc 7dxjtPEP5QDllDxRL4y4C1jBzk88cANHhd0xFuBA19Uk+H/UDTneultJpqQPtQz6Qe5o tRsy0JEyxNZY/DiiE3m+EkcnMOus213cgDuI1lEs7Sxuqlg2dKd0PnuQypJ65x1bG+hF 1VOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=a8LgB6dx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv17-20020a17090760d100b00730aa3e3843si10389741ejc.131.2022.08.22.08.05.53; Mon, 22 Aug 2022 08:06:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=a8LgB6dx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235519AbiHVOrb (ORCPT + 99 others); Mon, 22 Aug 2022 10:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235472AbiHVOpY (ORCPT ); Mon, 22 Aug 2022 10:45:24 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D2C3186E7 for ; Mon, 22 Aug 2022 07:45:22 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id h24so13503410wrb.8 for ; Mon, 22 Aug 2022 07:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=IMH0wVoJhc1Ycztouvr0JOiX6tFg+IdkseqQF/l41XU=; b=a8LgB6dxvrnNo6HSr4dF5TcaSB3xK2TzxBTQ26T+saIpMMsbc+pnRQmDiKvyCs6fnQ e7JYnQJqHdwpHEHIrIhIt9lJgT3lfL6D+bSfTbgooakUDnTJZ+o7wlT6EuAMY7D09Rpm 70AKRn3UycXyqhN5AHvG/scg9YgbcAsV05Bk0vsx6aVHlQBNanO54Ml1rKIF1RxN5o3t h2PbBGmyJAkhITziNuUL8vZFxUShDqZbNG1ENDTaKz3ByPQp5tMv1uyZPhk1TFx5cVaM w/MwQPDP5lgtsyHJ+pAiUzI/k2HNoVMFPn9aEA5ymjILZaK7px0bjajdhz6bU8p0oJdG R2+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=IMH0wVoJhc1Ycztouvr0JOiX6tFg+IdkseqQF/l41XU=; b=TIhhVCVBWIBB5raXlB57j4c0Q9U4f9qp7dhBDJZG6HmYFiBZcKl54Eyh6zJtpI1C9R Q2QWE+8IUzllX12EhVUMxlfhglK14I6eDxg3Yd44eMVAAe9iK3satD3WPq2yE9MdhhLw sB/H6HxTwELcW8mPq1yhi5Nu6CTZjSg6ICXhGiVsR6R93JlkdooffNz02bgmSxaYxFe+ taqaCC25RHN8G6r8vkFS1HL4Lvx2gXZVWIV6xlC6oVRCqJImbsyvWZP0DdRdH3dIdEbZ p4d43vFPmPCYwWfEf55VUniLj2H0wzsCN8/+h7D67gcGw1UdpGBrrJEQF5ufl9RbKSch iQ2w== X-Gm-Message-State: ACgBeo1O3pZrC45UKkdF0vpi/JUtqhR2tJymyGsQ0ynwvTv4yXwao7b1 yfKe9CC2oQgwfRH5ZWWS4ePyOA== X-Received: by 2002:a05:6000:104f:b0:225:29be:a39c with SMTP id c15-20020a056000104f00b0022529bea39cmr10779384wrx.641.1661179520706; Mon, 22 Aug 2022 07:45:20 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a245:8020:2658:1f7c:362:3e99]) by smtp.gmail.com with ESMTPSA id z24-20020a1cf418000000b003a5dadcf1a8sm14670935wma.19.2022.08.22.07.45.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 07:45:20 -0700 (PDT) From: Markus Schneider-Pargmann To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: Chun-Jie Chen , AngeloGioacchino Del Regno , Fabien Parent , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Markus Schneider-Pargmann Subject: [PATCH v3 0/4] soc: mediatek: MT8365 power support Date: Mon, 22 Aug 2022 16:42:59 +0200 Message-Id: <20220822144303.3438467-1-msp@baylibre.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this series contains patches related to the support of mt8365 power domains. Thanks for your feedback so far. Best, Markus Changes in v3: - Mainly redesigned WAY_EN patch to be easier to understand - Rebased onto v6.0-rc1 - Several other stuff that is described in the individual patches Changes in v2: - Updated error handling path for scpsys_power_on() - Minor updates described in each patch Previous versions: v1 - https://lore.kernel.org/linux-mediatek/20220530204214.913251-1-fparent@baylibre.com/ v2 - https://lore.kernel.org/linux-mediatek/20220725081853.1636444-1-msp@baylibre.com/ Alexandre Bailon (2): soc: mediatek: Add support of WAY_EN operations soc: mediatek: add support of MTK_SCPD_STRICT_BUSP cap Fabien Parent (2): dt-bindings: power: Add MT8365 power domains soc: mediatek: pm-domains: Add support for MT8365 .../power/mediatek,power-controller.yaml | 2 + drivers/soc/mediatek/mt8365-pm-domains.h | 147 +++++++++++++ drivers/soc/mediatek/mtk-pm-domains.c | 194 ++++++++++++++---- drivers/soc/mediatek/mtk-pm-domains.h | 29 ++- .../dt-bindings/power/mediatek,mt8365-power.h | 19 ++ 5 files changed, 346 insertions(+), 45 deletions(-) create mode 100644 drivers/soc/mediatek/mt8365-pm-domains.h create mode 100644 include/dt-bindings/power/mediatek,mt8365-power.h -- 2.37.2