Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Arseniy Velikanov <me@adomerle.xyz>,
	mturquette@baylibre.com, sboyd@kernel.org,
	matthias.bgg@gmail.com, sean.wang@kernel.org,
	linus.walleij@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, frank.li@vivo.com, jiasheng@iscas.ac.cn,
	mars.cheng@mediatek.com, owen.chen@mediatek.com,
	macpaul.lin@mediatek.com, zh.chen@mediatek.com,
	argus.lin@mediatek.com
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 5/5] soc: mediatek: mtk-pmic-wrap: Drop CAP reset in MT6765
Date: Mon, 29 Jul 2024 09:48:38 +0200	[thread overview]
Message-ID: <6cc155fd-c4e6-4c5c-b3c2-d1a3e7b70bf9@collabora.com> (raw)
In-Reply-To: <20240729073428.28983-6-me@adomerle.xyz>

Il 29/07/24 09:34, Arseniy Velikanov ha scritto:
> None of the MT6765 reset-controllers have PWRAP reset,
> so remove the requirement of it

Sorry, but that's not true. There is indeed a reset bit for the PWRAP on MT6765.

Which one and where - I have no idea, but I'm sure that there is one :-)

Cheers,
Angelo

> 
> Fixes: 12b079b0fe8b ("soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs")
> Signed-off-by: Arseniy Velikanov <me@adomerle.xyz>
> ---
>   drivers/soc/mediatek/mtk-pmic-wrap.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
> index efd9cae212dc..30d74279e27f 100644
> --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
> +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
> @@ -2288,7 +2288,7 @@ static const struct pmic_wrapper_type pwrap_mt6765 = {
>   	.int_en_all = 0xffffffff,
>   	.spi_w = PWRAP_MAN_CMD_SPI_WRITE,
>   	.wdt_src = PWRAP_WDT_SRC_MASK_ALL,
> -	.caps = PWRAP_CAP_RESET | PWRAP_CAP_DCM,
> +	.caps = PWRAP_CAP_DCM,
>   	.init_reg_clock = pwrap_common_init_reg_clock,
>   	.init_soc_specific = NULL,
>   };



      reply	other threads:[~2024-07-29  7:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29  7:34 [PATCH 0/5] Initial preparations for MT6765 Arseniy Velikanov
2024-07-29  7:34 ` [PATCH 1/5] dt-bindings: clock: mt6765: Add missing PMIC clock Arseniy Velikanov
2024-07-29  7:36   ` Krzysztof Kozlowski
2024-07-29  7:46   ` AngeloGioacchino Del Regno
2024-07-29  7:34 ` [PATCH 2/5] clk: mediatek: " Arseniy Velikanov
2024-07-29  7:46   ` AngeloGioacchino Del Regno
2024-07-29  7:34 ` [PATCH 3/5] pinctrl: mediatek: mt6765: Add virtual GPIOs Arseniy Velikanov
2024-07-29  7:46   ` AngeloGioacchino Del Regno
2024-07-29  7:34 ` [PATCH 4/5] dt-bindings: pinctrl: mediatek: Add bindings for MT6765 pin controller Arseniy Velikanov
2024-07-29  7:39   ` Krzysztof Kozlowski
2024-07-29  7:46   ` AngeloGioacchino Del Regno
2024-07-29  7:34 ` [PATCH 5/5] soc: mediatek: mtk-pmic-wrap: Drop CAP reset in MT6765 Arseniy Velikanov
2024-07-29  7:48   ` AngeloGioacchino Del Regno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6cc155fd-c4e6-4c5c-b3c2-d1a3e7b70bf9@collabora.com \
    --to=angelogioacchino.delregno@collabora.com \
    --cc=argus.lin@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frank.li@vivo.com \
    --cc=jiasheng@iscas.ac.cn \
    --cc=krzk+dt@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=macpaul.lin@mediatek.com \
    --cc=mars.cheng@mediatek.com \
    --cc=matthias.bgg@gmail.com \
    --cc=me@adomerle.xyz \
    --cc=mturquette@baylibre.com \
    --cc=owen.chen@mediatek.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=sean.wang@kernel.org \
    --cc=zh.chen@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox