From patchwork Mon Jul 25 08:18:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 12927860 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 CF4B6C433EF for ; Mon, 25 Jul 2022 08:20:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From: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=Z89s6jkGMFzKK+LJv0xsEPeuntnrp4wW0ILCSbEPJK0=; b=FeDFO7wGms6To4 H+eAkLaZNATMAbmbHVtTLny7c0o4neEgS8L9E5n1o24jCEf8dfV3TCqCBQjSpYmpPfOGYvofayyvr HJycpLlXxxcr4DCQGMmR69gDbyhJ9i/FijWDcdU1StLIalrlCEv/oLnoUfrlf9j/M6rp1o61tE2N+ siCJLjxhTXq08Y8QrKSJ/o/sKduTsv/2ze2kY+3jJt7GsLQzX3dTn63g+UiRG+I9lvq6wDcHh68sk HtVTOpSzunw4joNuMo1DRiOrLdWWtCCepPRW9fWodpZU1Gh62mq95vRQTvowmss8wEgYB1Bf9j09W cAkGLkqBU/UlgfH+gazA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFtJ7-006jC1-EO; Mon, 25 Jul 2022 08:19:17 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oFtJ0-006j6h-W1 for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2022 08:19:13 +0000 Received: by mail-wr1-x42e.google.com with SMTP id l15so10793843wro.11 for ; Mon, 25 Jul 2022 01:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BiiV58nU4rcN8bdraPGg645D1WoAdToltdDT10Y4MlA=; b=yxSj25Jac0tBpewedcx75I0V8AXibC32IcqyFe5LWXT2XFcLbjj/VCWyt1YjR+Ambn 4trkkyYubCldCHZgCtjTWcN2hj9fO7UMhw8fH8KAkBC4EXnr20asStmofrcxbG95hZi9 qrO/nduVf/pBba+PHSS1PVku10Q76Uo+Kohv+5TLKZsUquUpAtxqbMrmGDrgj+EaNSYP yR7ajhLMqkZBaEOWHCrqI5IiwMyWymdNT6HPRgdBpQiGBa922y8hgDm7jBg77DKD5TKs A97TM4WFRhZA0PLJPPURZEK/s1GKD0xThMUIRIs1FfX0yvnF/i3tLcQEPtxuRQ/egi1G dysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BiiV58nU4rcN8bdraPGg645D1WoAdToltdDT10Y4MlA=; b=2qJZn4oG0FbBQL9GAVdukMqjPBvwt7hGK2UsBN0bL3jzeUVTKSnaSA/7XNb0YiecrR CYf8xqefCDopBFQZdklnHtH50p6au/WsUQGPFxegjLwEXF8ae5FdzSRU2vPeyrHaUvCr UuW2bStwmt4YSQF3f3lgd65p10+kuAjBkq6CI24F56XFqY9/fdQwqJS87cIbIk6OKoYO IvSX6QpGJ+o9QVP7wXc7el6tTUbChCKvsF/jwCzTIPnTob0f8PIxf4pBDep/EwaBG1o6 0Hc2Xn8AK7nRkhSySyNWK4yOB2fWUzV+oYSgVlirf6W7+Sx9HYvuA8QIE89kVafdDr7Z RhNQ== X-Gm-Message-State: AJIora/09D2xSTIWjeY8mDBY0KHmFcgYIM5QMbc7buPOFhhkRk+YyI6m mNtnBFPRl9RSF4n9eSyh5qtHWA== X-Google-Smtp-Source: AGRyM1s09Hj0Ovo8gO4XIgJh8/tiWDq5AfIXHuQX7HAQyK6OBlWljcZEzkfM801KP4JxiVQI7Qx9/A== X-Received: by 2002:a05:6000:1acb:b0:21d:ad71:3585 with SMTP id i11-20020a0560001acb00b0021dad713585mr6633475wry.156.1658737147630; Mon, 25 Jul 2022 01:19:07 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a243:806e:25e7:daa:8208:ceb]) by smtp.gmail.com with ESMTPSA id x3-20020a05600c420300b003a3200bc788sm16695264wmh.33.2022.07.25.01.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 01:19:07 -0700 (PDT) From: Markus Schneider-Pargmann To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Weiyi Lu Cc: 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 v2 0/4] soc: mediatek: MT8365 power support Date: Mon, 25 Jul 2022 10:18:49 +0200 Message-Id: <20220725081853.1636444-1-msp@baylibre.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_011911_272482_9C4D981B X-CRM114-Status: GOOD ( 11.75 ) 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, this series contains patches related to the support of mt8365 power domains. I took over the series from Fabien. Best, Markus 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/ 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 | 98 +++++++++--- drivers/soc/mediatek/mtk-pm-domains.h | 29 ++-- include/dt-bindings/power/mt8365-power.h | 19 +++ 5 files changed, 267 insertions(+), 28 deletions(-) create mode 100644 drivers/soc/mediatek/mt8365-pm-domains.h create mode 100644 include/dt-bindings/power/mt8365-power.h