Re: [PATCH v4 2/2] PCI: mediatek-gen3: Add power and reset control feature for downstream component

From: AngeloGioacchino Del Regno
Date: Mon Nov 06 2023 - 03:24:05 EST


Il 06/11/23 07:12, Jian Yang ha scritto:
From: "jian.yang" <jian.yang@xxxxxxxxxxxx>

Make MediaTek's controller driver capable of controlling power
supplies and reset pin of a downstream component in power-on and
power-off process.

Some downstream components (e.g., a WIFI chip) may need an extra
reset other than PERST# and their power supplies, depending on
the requirements of platform, may need to controlled by their
parent's driver. To meet the requirements described above, I add this
feature to MediaTek's PCIe controller driver as an optional feature.

Signed-off-by: jian.yang <jian.yang@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>