Re: [PATCH v2 7/9] clk: qcom: gdsc: Implement NO_RET_PERIPH flag

From: Stephen Boyd
Date: Thu Feb 11 2021 - 15:24:26 EST


Quoting AngeloGioacchino Del Regno (2021-01-13 10:38:15)
> In some rare occasions, we want to only set the RETAIN_MEM bit, but
> not the RETAIN_PERIPH one: this is seen on at least SDM630/636/660's
> GPU-GX GDSC, where unsetting and setting back the RETAIN_PERIPH bit
> will generate chaos and panics during GPU suspend time (mainly, the
> chaos is unaligned access).
>
> For this reason, introduce a new NO_RET_PERIPH flag to the GDSC
> driver to address this corner case.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx>
> ---

Applied to clk-next