[PATCH v3 1/2] phy: qcom: pcie: Determine has_nocsr_reset dynamically

Philipp Zabel p.zabel at pengutronix.de
Fri Feb 14 02:49:46 PST 2025


On Fr, 2025-02-14 at 18:45 +0800, Wenbin Yao wrote:
> From: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>
> 
> Decide the in-driver logic based on whether the nocsr reset is present
> and defer checking the appropriateness of that to dt-bindings to save
> on boilerplate.
> 
> Reset controller APIs are fine consuming a nullptr, so no additional
> checks are necessary there.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>
> Signed-off-by: Wenbin Yao <quic_wenbyao at quicinc.com>
> Reviewed-by: Abel Vesa <abel.vesa at linaro.org>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp



More information about the linux-phy mailing list