mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
phy: qcom-qmp-usb: drop unused defines
Drop defines and enums that are unused since the QMP driver split. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20220907110728.19092-11-johan+linaro@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
e57655e668
commit
613b30244b
|
|
@ -28,16 +28,11 @@
|
|||
#define SW_RESET BIT(0)
|
||||
/* QPHY_POWER_DOWN_CONTROL */
|
||||
#define SW_PWRDN BIT(0)
|
||||
#define REFCLK_DRV_DSBL BIT(1)
|
||||
/* QPHY_START_CONTROL bits */
|
||||
#define SERDES_START BIT(0)
|
||||
#define PCS_START BIT(1)
|
||||
#define PLL_READY_GATE_EN BIT(3)
|
||||
/* QPHY_PCS_STATUS bit */
|
||||
#define PHYSTATUS BIT(6)
|
||||
#define PHYSTATUS_4_20 BIT(7)
|
||||
/* QPHY_PCS_READY_STATUS & QPHY_COM_PCS_READY_STATUS bit */
|
||||
#define PCS_READY BIT(0)
|
||||
|
||||
/* QPHY_V3_DP_COM_RESET_OVRD_CTRL register bits */
|
||||
/* DP PHY soft reset */
|
||||
|
|
@ -71,8 +66,6 @@
|
|||
#define POWER_DOWN_DELAY_US_MIN 10
|
||||
#define POWER_DOWN_DELAY_US_MAX 11
|
||||
|
||||
#define MAX_PROP_NAME 32
|
||||
|
||||
/* Define the assumed distance between lanes for underspecified device trees. */
|
||||
#define QMP_PHY_LEGACY_LANE_STRIDE 0x400
|
||||
|
||||
|
|
@ -115,15 +108,9 @@ struct qmp_phy_init_tbl {
|
|||
|
||||
/* set of registers with offsets different per-PHY */
|
||||
enum qphy_reg_layout {
|
||||
/* Common block control registers */
|
||||
QPHY_COM_SW_RESET,
|
||||
QPHY_COM_POWER_DOWN_CONTROL,
|
||||
QPHY_COM_START_CONTROL,
|
||||
QPHY_COM_PCS_READY_STATUS,
|
||||
/* PCS registers */
|
||||
QPHY_SW_RESET,
|
||||
QPHY_START_CTRL,
|
||||
QPHY_PCS_READY_STATUS,
|
||||
QPHY_PCS_STATUS,
|
||||
QPHY_PCS_AUTONOMOUS_MODE_CTRL,
|
||||
QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user