phy: qcom-qmp: Introduce Kconfig symbols for discrete drivers
authorStephen Boyd <swboyd@chromium.org>
Thu, 2 Feb 2023 21:53:29 +0000 (13:53 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 3 Feb 2023 13:51:12 +0000 (19:21 +0530)
commitd1abd69534bec16c43c633313e8e937af1354a7a
tree66480f43f18fa033b6f03d6f68facd0b3d4aa245
parent052bfe6ec72c8fd3d14968da36816f97772b5a54
phy: qcom-qmp: Introduce Kconfig symbols for discrete drivers

Introduce a config option for each QMP PHY driver now that the QMP PHY
mega-driver has been split up into different modules. This allows kernel
configurators to limit the binary size of the kernel by only compiling
in the QMP PHY driver that they need.

Leave the old config QCOM_QMP in place and make it into a menuconfig so
that 'make olddefconfig' continues to work. Furthermore, set the default
of the new Kconfig symbols to be QCOM_QMP so that the transition is
smooth.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20230202215330.2152726-1-swboyd@chromium.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/Kconfig
drivers/phy/qualcomm/Makefile