mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
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>
This commit is contained in:
parent
14d98d3bf7
commit
eb5793fbea
5 changed files with 17 additions and 14 deletions
|
@ -23,6 +23,9 @@
|
||||||
#include <dt-bindings/phy/phy-qcom-qmp.h>
|
#include <dt-bindings/phy/phy-qcom-qmp.h>
|
||||||
|
|
||||||
#include "phy-qcom-qmp.h"
|
#include "phy-qcom-qmp.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-misc-v3.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-usb-v4.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-usb-v5.h"
|
||||||
|
|
||||||
/* QPHY_SW_RESET bit */
|
/* QPHY_SW_RESET bit */
|
||||||
#define SW_RESET BIT(0)
|
#define SW_RESET BIT(0)
|
||||||
|
|
|
@ -24,6 +24,12 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
#include "phy-qcom-qmp.h"
|
#include "phy-qcom-qmp.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-misc-v3.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-pcie-v4.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-pcie-v4_20.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-pcie-v5.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-pcie-v5_20.h"
|
||||||
|
#include "phy-qcom-qmp-pcie-qhp.h"
|
||||||
|
|
||||||
/* QPHY_SW_RESET bit */
|
/* QPHY_SW_RESET bit */
|
||||||
#define SW_RESET BIT(0)
|
#define SW_RESET BIT(0)
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
#include "phy-qcom-qmp.h"
|
#include "phy-qcom-qmp.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-ufs-v2.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-ufs-v3.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-ufs-v4.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-ufs-v5.h"
|
||||||
|
|
||||||
/* QPHY_SW_RESET bit */
|
/* QPHY_SW_RESET bit */
|
||||||
#define SW_RESET BIT(0)
|
#define SW_RESET BIT(0)
|
||||||
|
|
|
@ -21,6 +21,9 @@
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
|
|
||||||
#include "phy-qcom-qmp.h"
|
#include "phy-qcom-qmp.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-misc-v3.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-usb-v4.h"
|
||||||
|
#include "phy-qcom-qmp-pcs-usb-v5.h"
|
||||||
|
|
||||||
/* QPHY_SW_RESET bit */
|
/* QPHY_SW_RESET bit */
|
||||||
#define SW_RESET BIT(0)
|
#define SW_RESET BIT(0)
|
||||||
|
|
|
@ -24,29 +24,16 @@
|
||||||
#include "phy-qcom-qmp-qserdes-pll.h"
|
#include "phy-qcom-qmp-qserdes-pll.h"
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v2.h"
|
#include "phy-qcom-qmp-pcs-v2.h"
|
||||||
#include "phy-qcom-qmp-pcs-ufs-v2.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v3.h"
|
#include "phy-qcom-qmp-pcs-v3.h"
|
||||||
#include "phy-qcom-qmp-pcs-misc-v3.h"
|
|
||||||
#include "phy-qcom-qmp-pcs-ufs-v3.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v4.h"
|
#include "phy-qcom-qmp-pcs-v4.h"
|
||||||
#include "phy-qcom-qmp-pcs-pcie-v4.h"
|
|
||||||
#include "phy-qcom-qmp-pcs-usb-v4.h"
|
|
||||||
#include "phy-qcom-qmp-pcs-ufs-v4.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v4_20.h"
|
#include "phy-qcom-qmp-pcs-v4_20.h"
|
||||||
#include "phy-qcom-qmp-pcs-pcie-v4_20.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v5.h"
|
#include "phy-qcom-qmp-pcs-v5.h"
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-v5_20.h"
|
#include "phy-qcom-qmp-pcs-v5_20.h"
|
||||||
#include "phy-qcom-qmp-pcs-pcie-v5.h"
|
|
||||||
#include "phy-qcom-qmp-pcs-usb-v5.h"
|
|
||||||
#include "phy-qcom-qmp-pcs-ufs-v5.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcs-pcie-v5_20.h"
|
|
||||||
|
|
||||||
#include "phy-qcom-qmp-pcie-qhp.h"
|
|
||||||
|
|
||||||
/* Only for QMP V3 & V4 PHY - DP COM registers */
|
/* Only for QMP V3 & V4 PHY - DP COM registers */
|
||||||
#define QPHY_V3_DP_COM_PHY_MODE_CTRL 0x00
|
#define QPHY_V3_DP_COM_PHY_MODE_CTRL 0x00
|
||||||
|
|
Loading…
Reference in a new issue