From patchwork Tue Jan 17 03:26:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 4092 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1538777wrn; Mon, 16 Jan 2023 19:36:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXvvREPfCT34iWaYpAVVxEaZw8Twdlbb1tK717IIR05Ofzo44pAD1a3U44USm3iX3UI0jDYs X-Received: by 2002:a05:6402:78f:b0:49d:b211:f0f6 with SMTP id d15-20020a056402078f00b0049db211f0f6mr11038464edy.3.1673926594858; Mon, 16 Jan 2023 19:36:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673926594; cv=none; d=google.com; s=arc-20160816; b=dSv1igkQibswX3C1CSefBsl5vsQVzwZYYe1wAJegYf03Vrr7ccHANnNSJgqgpEXC1h 5n7KCTRmCHlj+kvlhGi5R7pjUeUFd9eWabkPcyNqBZs5Z0NxzZ2ivii667R+5PouFNHn og4lx2l+UgoIJtLDfIICFa76424ycEX9FM8dhzCrv7ZH46sZWmYHZHWQAZNUyPaH31TI T3tc+HyqVU3IPjGwfjhgotCgCp7vUQh3coarPjcSZb6iccotKyihbOwL9Cau566sDBJG 8Mjm3DtuFks58/zwx/UaMYrh2pgt7whJ3AL9Y5UDAGFJZR59xiJnPjT4RSj1qB8G/I4T mAeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=izQlGGt5FZNdfcVfV+ZwBHdU6OcNmPO68g0341IO2+8=; b=N3eA129IHtKWNzdkuKl3YLsRNROQVg8A2uhyI5mRfJc2/DG9tKP3mSrCWBHgfX3Ipf kAS4hGIJ5lzJgStpgzK0w3zf0U+2yv7aWdbif6xsKYR9LIRnF38j9TlLQfS+CbWXpGRS AIP61uEOvAvnXGmR7QTAXGaLO3nyc2XzLdkndNK+idJ8KcRxPyENboUPumRqcaQ8vuCz xhZ8cwQ5i+jpeg79hqBUyUIOqhCOn0tKkO56iGkvRXO7R2V25lIgrnsv/YipeZzHGm6x XS4G2T0mzZ2iH1H8vpJS327eZ2MJu+24IAsOOp2vZDUMgcJAesqd5y+v2rrZYUbkvFXl UOAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SoRcV3od; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ez19-20020a056402451300b00489e993b8easi7578246edb.630.2023.01.16.19.36.11; Mon, 16 Jan 2023 19:36:34 -0800 (PST) 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=@mediatek.com header.s=dk header.b=SoRcV3od; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235344AbjAQD1E (ORCPT + 99 others); Mon, 16 Jan 2023 22:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235274AbjAQD05 (ORCPT ); Mon, 16 Jan 2023 22:26:57 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91649227A2 for ; Mon, 16 Jan 2023 19:26:50 -0800 (PST) X-UUID: c5c17274961611ed945fc101203acc17-20230117 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=izQlGGt5FZNdfcVfV+ZwBHdU6OcNmPO68g0341IO2+8=; b=SoRcV3od8EP2fURNxss6x4Gp0BRiIIkz9oTyZO12VbCuSAN5lovjUcCx5YoEoY83rJtzF8VjdOkN5MvRy5lBh5ceHfCH9EXhIjQBAhK8psIf5U5B8Y41TLcEbjxQQ5t3whVDGzS1ICRsuxy/+wkdr1VR4AIdvPyXcAONObomeWo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:0885e242-79f9-49ef-a1e9-7f17ca45e37d,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:3ca2d6b,CLOUDID:cd4002f6-ff42-4fb0-b929-626456a83c14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0 X-UUID: c5c17274961611ed945fc101203acc17-20230117 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1853940640; Tue, 17 Jan 2023 11:26:46 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 17 Jan 2023 11:26:45 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 17 Jan 2023 11:26:45 +0800 From: Allen-KH Cheng To: Matthias Brugger , Enric Balletbo i Serra CC: , , , , , Allen-KH Cheng Subject: [PATCH 0/2] mediatek: pm-domains: Add buck isolation setting support Date: Tue, 17 Jan 2023 11:26:38 +0800 Message-ID: <20230117032640.13504-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAY_BE_FORGED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755239253320510437?= X-GMAIL-MSGID: =?utf-8?q?1755239253320510437?= We send a independent series from [1]. Add buck isolation setting support for the specific power pm-domains (mtcmos) in some chipsets, such as ADSP in MT8192 and CAM_VCORE in MT8188. Changes since [1]: - Add the conditional for ext_buck_iso_offs [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=706103 Allen-KH Cheng (2): soc: mediatek: pm-domains: Add buck isolation offset and mask to power domain data soc: mediatek: pm-domains: Add buck isolation setting in power domain drivers/soc/mediatek/mtk-pm-domains.c | 8 ++++++++ drivers/soc/mediatek/mtk-pm-domains.h | 5 +++++ 2 files changed, 13 insertions(+)