Commit 4e19a76e authored by Miquel Raynal's avatar Miquel Raynal Committed by Kishon Vijay Abraham I
Browse files

phy: mvebu-cp110-comphy: Update comment about powering off all lanes at boot



Now that all COMPHY modes are supported by the driver, update the
comment stating that mvebu_comphy_power_off() should be called for
each lane. This is still wrong because for compatibility reasons, it
might break users running an old firmware (the driver only uses SMC
calls for SATA, USB and PCIe configuration, there is no code in Linux
to fallback on in these cases.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 65248876
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -946,9 +946,11 @@ static int mvebu_comphy_probe(struct platform_device *pdev)
		phy_set_drvdata(phy, lane);
		phy_set_drvdata(phy, lane);


		/*
		/*
		 * Once all modes are supported in this driver we should call
		 * All modes are supported in this driver so we could call
		 * mvebu_comphy_power_off(phy) here to avoid relying on the
		 * mvebu_comphy_power_off(phy) here to avoid relying on the
		 * bootloader/firmware configuration.
		 * bootloader/firmware configuration, but for compatibility
		 * reasons we cannot de-configure the COMPHY without being sure
		 * that the firmware is up-to-date and fully-featured.
		 */
		 */
	}
	}