Message ID | 20230105170735.1637416-5-msp@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp411288wrt; Thu, 5 Jan 2023 09:26:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXuso4FtigmRhaZxDku6ZKmiBWP2F+Ld/bmPV6lmGjLCCNh41wCQLn6sJOCCrgxg1aHoNbii X-Received: by 2002:a17:90a:4e0d:b0:226:350e:1b36 with SMTP id n13-20020a17090a4e0d00b00226350e1b36mr24766127pjh.16.1672939568338; Thu, 05 Jan 2023 09:26:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672939568; cv=none; d=google.com; s=arc-20160816; b=CxSf8xq8CQ6qag9w2ga5aKUChSRJ/PxaVZ3069GWL2YrEpxaWm7aWSbhVtWAktJ5DP UY/cMWHb8TfNBAW9A7U0F5kpCXz897QkmhVUYtbBruUrukk9WbjsO82RvPOoGuqefNEo h8QYISoxXcQIBdeaCKsZ1KSpAJxPkGwX9t9wmnyepMPUTZVua6oSjYiczu7hUoTd0GLO CMM3MQoCH9M8hnkb5TJbPYsYtGnBfErwTQSQ/xzBmCO5zIjflUyxh4FvJsJCwrwvGg/q LQpVB7k0Ekf0mfkgpwbvm28iG/Xw4naCqCCpuYUTNyrIC1Ty7hkcMu2wVXNb4pYIXEBz AnNg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XQxJ8mog5ezSsMdjmsKqEBp6+hXiOvAg1jR6vm7PG+8=; b=Tchb/K/5vTRLV9RZ1ZAOsBt3qXNHKHz/L/dt6tca9dHMw1kmdBdgm1wjdC7cV+Pv/+ fYtQnwTWZxGSLeEn0h3WH7Iiwz/M04u/eu/JmnfKYCiWqfc/hsXmWKt9Rmt3jkMP+G8p hOSRBMIfp0Bj6sviIPxPIijOBGJQQoX5+qVeqI+jxE1RtfpvwqHb9LV4i4ZfOY1l6dn+ 72k3nYNLx3Uf3JLfUZT/wYRhBLnXOu5IYlWFN0F07toxdx2tNIq25yZLLbNniZOXZfFU xupKztVMOlys4nzsV+BM3NoZqnhYjyFwQbpYDVs0wBaktGv8K1U3ce6zRy4hSW32KvH2 U6nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=4kxlkctB; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638043000000b004780e6f20a3si39402909pgd.414.2023.01.05.09.25.54; Thu, 05 Jan 2023 09:26:08 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=4kxlkctB; 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 S235398AbjAERPm (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Thu, 5 Jan 2023 12:15:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235463AbjAEROz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Jan 2023 12:14:55 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B19ED59F90 for <linux-kernel@vger.kernel.org>; Thu, 5 Jan 2023 09:09:05 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id t15so27899592wro.9 for <linux-kernel@vger.kernel.org>; Thu, 05 Jan 2023 09:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XQxJ8mog5ezSsMdjmsKqEBp6+hXiOvAg1jR6vm7PG+8=; b=4kxlkctBN34tswnclEHBz3Zz73r4pUFC3OC7ddlY91cJy5vWRE78R5eHn/ugD86m3o jJh9k7A9+zB7UWJtwYiyQP5yb/m+gYZJOcY6bTC6XJsH6Y4oduXx6hjq0322pOClRJqr PZwUiUfdQRKJkQPm00aWn2qRJ3J0U+jAqOBw9IbL4/Y3kN2NmSwIVKuW2qUdXslRjIcA iVqbzc9PtKskIO1dfXDCdTKTFFk39hIB8FQ/0WIpCL+RfpI9xuRfIbpyThFlSQsrGA8i G0FnEuyS3Nxrm/0Up0tup4tht2hBMA2X68hicu/hs698GRIdbIRbXAkG5Jh+akhGAimJ tC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XQxJ8mog5ezSsMdjmsKqEBp6+hXiOvAg1jR6vm7PG+8=; b=ReIvLTfCeKa/B6No7XAqZcqKNpDaTU1KhhzBKpbZzpMhujJR6MY73dq7qDZ0UWhMLm XntI2AVwxkwkp4pAj2hKR81IL8wheHMKcN2lxyLyW8hoFRO1MIf8rY22SdiR3Dr+SV1f hCHI2R8/ilO+h7n+xGEfP0KBDl9g4stxhemb0r/J7i/+2oTU7F5o2x3aCkGDlqS6Y2q+ fFx5TaPKpKFL9a5y12pTsjHcPp3g6DdgDuGXOlXGYagCFrhH8nwTZpPs5SElECYmLX1k TfeBVYamXC5gDuAamjfxREgxR/uvWJPUxlhI0zG3k+JKfRUqz8M1i63Ok6Tfm3I1qjoc IiMA== X-Gm-Message-State: AFqh2kpd+a3Kop9LJT/mZnOC4cjU/EYN3wJh3PusGvlMOaCslhMpH35U JP3MXwfywFWytkbKusj4+RNfDw== X-Received: by 2002:a05:6000:789:b0:242:43d1:6d8a with SMTP id bu9-20020a056000078900b0024243d16d8amr40267367wrb.59.1672938470765; Thu, 05 Jan 2023 09:07:50 -0800 (PST) Received: from blmsp.fritz.box ([2001:4091:a245:805c:9cf4:fdb8:bb61:5f4e]) by smtp.gmail.com with ESMTPSA id f14-20020adfe90e000000b002365730eae8sm37164853wrm.55.2023.01.05.09.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 09:07:50 -0800 (PST) From: Markus Schneider-Pargmann <msp@baylibre.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com> Cc: Chun-Jie Chen <chun-jie.chen@mediatek.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Fabien Parent <parent.f@gmail.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Markus Schneider-Pargmann <msp@baylibre.com> Subject: [PATCH 4/8] soc: mediatek: pm-domains: Document scpsys_bus_prot_data Date: Thu, 5 Jan 2023 18:07:31 +0100 Message-Id: <20230105170735.1637416-5-msp@baylibre.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105170735.1637416-1-msp@baylibre.com> References: <20230105170735.1637416-1-msp@baylibre.com> 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754204280602386519?= X-GMAIL-MSGID: =?utf-8?q?1754204280602386519?= |
Series |
soc: mediatek: MT8365 power support
|
|
Commit Message
Markus Schneider-Pargmann
Jan. 5, 2023, 5:07 p.m. UTC
Add a short documentation for the fields in struct scpsys_bus_prot_data.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
drivers/soc/mediatek/mtk-pm-domains.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-pm-domains.h b/drivers/soc/mediatek/mtk-pm-domains.h index 8aaed1c939d7..da827e91d462 100644 --- a/drivers/soc/mediatek/mtk-pm-domains.h +++ b/drivers/soc/mediatek/mtk-pm-domains.h @@ -66,6 +66,18 @@ INFRA_TOPAXI_PROTECTEN, \ INFRA_TOPAXI_PROTECTSTA1) +/** + * struct scpsys_bus_prot_data - Bus protection setting + * @bus_prot_set_clr_mask: Bitmask used for the set and clear registers. + * @bus_prot_set: infracfg set register. + * @bus_prot_clr: infracfg clear register. + * @bus_prot_sta_mask: Bitmask used for the status register. + * @bus_prot_sta: infracfg status register. + * @bus_prot_reg_update: Only update the register bits given in the mask, do not + * write the whole register. + * @ignore_clk_ack: Ignore the result in the status register for clear + * operations. + */ struct scpsys_bus_prot_data { u32 bus_prot_set_clr_mask; u32 bus_prot_set;