Re: [PATCH v2] mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting

2025-03-06 Thread AngeloGioacchino Del Regno
Il 24/02/25 11:50, Jason-JH Lin ha scritto: Add cmdq_gctl_value_toggle() to configure GCE_CTRL_BY_SW and GCE_DDR_EN together in the same GCE_GCTL_VALUE register. For the SoCs whose GCE is located in MMINFRA and uses MMINFRA_AO power, this allows it to be written without enabling the clocks. Othe

Re: [PATCH v2] mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting

2025-02-24 Thread AngeloGioacchino Del Regno
On Mon, 24 Feb 2025 18:50:13 +0800, Jason-JH Lin wrote: > Add cmdq_gctl_value_toggle() to configure GCE_CTRL_BY_SW and GCE_DDR_EN > together in the same GCE_GCTL_VALUE register. > > For the SoCs whose GCE is located in MMINFRA and uses MMINFRA_AO power, > this allows it to be written without enabl

Re: [PATCH v2] mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting

2025-02-24 Thread AngeloGioacchino Del Regno
Il 24/02/25 11:50, Jason-JH Lin ha scritto: Add cmdq_gctl_value_toggle() to configure GCE_CTRL_BY_SW and GCE_DDR_EN together in the same GCE_GCTL_VALUE register. For the SoCs whose GCE is located in MMINFRA and uses MMINFRA_AO power, this allows it to be written without enabling the clocks. Othe

[PATCH v2] mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting

2025-02-24 Thread Jason-JH Lin
Add cmdq_gctl_value_toggle() to configure GCE_CTRL_BY_SW and GCE_DDR_EN together in the same GCE_GCTL_VALUE register. For the SoCs whose GCE is located in MMINFRA and uses MMINFRA_AO power, this allows it to be written without enabling the clocks. Otherwise, all GCE registers should be written aft