[PATCH] phy: qcom-qmp: Introduce Kconfig symbols for discrete drivers
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Jan 23 03:07:56 PST 2023
On 14/01/2023 02:09, Stephen Boyd wrote:
> 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, or to split the module up into one
> per PHY driver instead of one module for all the QMP PHY drivers.
>
> 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.
>
> Cc: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Cc: Johan Hovold <johan+linaro at kernel.org>
> Signed-off-by: Stephen Boyd <swboyd at chromium.org>
> ---
> drivers/phy/qualcomm/Kconfig | 50 ++++++++++++++++++++++++++++++++---
> drivers/phy/qualcomm/Makefile | 12 ++++-----
> 2 files changed, 52 insertions(+), 10 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the linux-phy
mailing list