Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp: move type-specific headers to particular driver

Remove QMP PHY type-specific headers inclusion from the common header
and move them to the specific PHY drivers to cleanup the namespaces used
by different drivers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221110192248.873973-14-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
eb5793fb 14d98d3b

+17 -14
+3
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
··· 23 23 #include <dt-bindings/phy/phy-qcom-qmp.h> 24 24 25 25 #include "phy-qcom-qmp.h" 26 + #include "phy-qcom-qmp-pcs-misc-v3.h" 27 + #include "phy-qcom-qmp-pcs-usb-v4.h" 28 + #include "phy-qcom-qmp-pcs-usb-v5.h" 26 29 27 30 /* QPHY_SW_RESET bit */ 28 31 #define SW_RESET BIT(0)
+6
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
··· 24 24 #include <linux/slab.h> 25 25 26 26 #include "phy-qcom-qmp.h" 27 + #include "phy-qcom-qmp-pcs-misc-v3.h" 28 + #include "phy-qcom-qmp-pcs-pcie-v4.h" 29 + #include "phy-qcom-qmp-pcs-pcie-v4_20.h" 30 + #include "phy-qcom-qmp-pcs-pcie-v5.h" 31 + #include "phy-qcom-qmp-pcs-pcie-v5_20.h" 32 + #include "phy-qcom-qmp-pcie-qhp.h" 27 33 28 34 /* QPHY_SW_RESET bit */ 29 35 #define SW_RESET BIT(0)
+4
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
··· 21 21 #include <linux/slab.h> 22 22 23 23 #include "phy-qcom-qmp.h" 24 + #include "phy-qcom-qmp-pcs-ufs-v2.h" 25 + #include "phy-qcom-qmp-pcs-ufs-v3.h" 26 + #include "phy-qcom-qmp-pcs-ufs-v4.h" 27 + #include "phy-qcom-qmp-pcs-ufs-v5.h" 24 28 25 29 /* QPHY_SW_RESET bit */ 26 30 #define SW_RESET BIT(0)
+3
drivers/phy/qualcomm/phy-qcom-qmp-usb.c
··· 21 21 #include <linux/slab.h> 22 22 23 23 #include "phy-qcom-qmp.h" 24 + #include "phy-qcom-qmp-pcs-misc-v3.h" 25 + #include "phy-qcom-qmp-pcs-usb-v4.h" 26 + #include "phy-qcom-qmp-pcs-usb-v5.h" 24 27 25 28 /* QPHY_SW_RESET bit */ 26 29 #define SW_RESET BIT(0)
+1 -14
drivers/phy/qualcomm/phy-qcom-qmp.h
··· 24 24 #include "phy-qcom-qmp-qserdes-pll.h" 25 25 26 26 #include "phy-qcom-qmp-pcs-v2.h" 27 - #include "phy-qcom-qmp-pcs-ufs-v2.h" 28 27 29 28 #include "phy-qcom-qmp-pcs-v3.h" 30 - #include "phy-qcom-qmp-pcs-misc-v3.h" 31 - #include "phy-qcom-qmp-pcs-ufs-v3.h" 32 29 33 30 #include "phy-qcom-qmp-pcs-v4.h" 34 - #include "phy-qcom-qmp-pcs-pcie-v4.h" 35 - #include "phy-qcom-qmp-pcs-usb-v4.h" 36 - #include "phy-qcom-qmp-pcs-ufs-v4.h" 37 31 38 32 #include "phy-qcom-qmp-pcs-v4_20.h" 39 - #include "phy-qcom-qmp-pcs-pcie-v4_20.h" 40 33 41 34 #include "phy-qcom-qmp-pcs-v5.h" 35 + 42 36 #include "phy-qcom-qmp-pcs-v5_20.h" 43 - #include "phy-qcom-qmp-pcs-pcie-v5.h" 44 - #include "phy-qcom-qmp-pcs-usb-v5.h" 45 - #include "phy-qcom-qmp-pcs-ufs-v5.h" 46 - 47 - #include "phy-qcom-qmp-pcs-pcie-v5_20.h" 48 - 49 - #include "phy-qcom-qmp-pcie-qhp.h" 50 37 51 38 /* Only for QMP V3 & V4 PHY - DP COM registers */ 52 39 #define QPHY_V3_DP_COM_PHY_MODE_CTRL 0x00