Re: [PATCH 2/3] phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits

From: Heiko Stuebner
Date: Thu Apr 04 2024 - 15:28:36 EST


Am Donnerstag, 4. April 2024, 19:11:27 CEST schrieb Sebastian Reichel:
> From: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
>
> Currently the PCIe v3 PHY driver only sets the pcie1ln_sel bits, but
> does not clear them because of an incorrect write mask. This fixes up
> the issue by using a newly introduced constant for the write mask.
>
> While at it also introduces a proper GENMASK based constant for the
> PCIE30_PHY_MODE.
>
> Fixes: 2e9bffc4f713 ("phy: rockchip: Support PCIe v3")
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>

after checking with the soc manual

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>