Re: [PATCH] soc: mediatek: pwarp: delete confusing comments

From: James Lo
Date: Mon Jun 14 2021 - 05:43:37 EST



Thank you for your kind assistance.

Many thanks
James Lo


On Fri, 2021-06-11 at 13:13 +0200, matthias.bgg@xxxxxxxxxx wrote:
> From: Matthias Brugger <matthias.bgg@xxxxxxxxx>
>
> Comments sugguest that MT8195 arb_en_all and int_en_all values need
> to
> be confirmed. But actually these values are correct.
>
> Suggested-by: James Lo <james.lo@xxxxxxxxxxxx>
> Signed-off-by: Matthias Brugger <matthias.bgg@xxxxxxxxx>
>
> ---
>
> drivers/soc/mediatek/mtk-pmic-wrap.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c
> b/drivers/soc/mediatek/mtk-pmic-wrap.c
> index 952bc554f443..118eb4acdeb6 100644
> --- a/drivers/soc/mediatek/mtk-pmic-wrap.c
> +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
> @@ -2047,8 +2047,8 @@ static const struct pmic_wrapper_type
> pwrap_mt8183 = {
> static struct pmic_wrapper_type pwrap_mt8195 = {
> .regs = mt8195_regs,
> .type = PWRAP_MT8195,
> - .arb_en_all = 0x777f, /* NEED CONFIRM */
> - .int_en_all = 0x180000, /* NEED CONFIRM */
> + .arb_en_all = 0x777f,
> + .int_en_all = 0x180000,
> .int1_en_all = 0,
> .spi_w = PWRAP_MAN_CMD_SPI_WRITE,
> .wdt_src = PWRAP_WDT_SRC_MASK_ALL,