aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h
diff options
context:
space:
mode:
authorGravatar Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 2022-07-05 12:43:06 +0300
committerGravatar Vinod Koul <vkoul@kernel.org> 2022-07-07 10:35:59 +0530
commit56a1fa09445be51ec3990579b1f613341e53f343 (patch)
tree9b3f1d88027d37a973c5d8d8d736d95cdfd70fd3 /drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h
parentphy: qcom-qmp: move PCS V2 registers to separate header (diff)
downloadlinux-56a1fa09445be51ec3990579b1f613341e53f343.tar.gz
linux-56a1fa09445be51ec3990579b1f613341e53f343.tar.bz2
linux-56a1fa09445be51ec3990579b1f613341e53f343.zip
phy: qcom-qmp: move PCS V3 registers to separate headers
Move PCS V3 registers to the separate headers. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220705094320.1313312-15-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h
new file mode 100644
index 000000000000..a45bd301bc9e
--- /dev/null
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v3.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2017, The Linux Foundation. All rights reserved.
+ */
+
+#ifndef QCOM_PHY_QMP_PCS_MISC_V3_H_
+#define QCOM_PHY_QMP_PCS_MISC_V3_H_
+
+/* Only for QMP V3 PHY - PCS_MISC registers */
+#define QPHY_V3_PCS_MISC_CLAMP_ENABLE 0x0c
+#define QPHY_V3_PCS_MISC_OSC_DTCT_CONFIG2 0x2c
+#define QPHY_V3_PCS_MISC_PCIE_INT_AUX_CLK_CONFIG1 0x44
+#define QPHY_V3_PCS_MISC_OSC_DTCT_MODE2_CONFIG2 0x54
+#define QPHY_V3_PCS_MISC_OSC_DTCT_MODE2_CONFIG4 0x5c
+#define QPHY_V3_PCS_MISC_OSC_DTCT_MODE2_CONFIG5 0x60
+
+#endif