/Linux-v5.4/drivers/phy/cadence/ |
D | cdns-dphy.c | 76 int (*probe)(struct cdns_dphy *dphy); 77 void (*remove)(struct cdns_dphy *dphy); 78 void (*set_psm_div)(struct cdns_dphy *dphy, u8 div); 79 void (*set_clk_lane_cfg)(struct cdns_dphy *dphy, 81 void (*set_pll_cfg)(struct cdns_dphy *dphy, 83 unsigned long (*get_wakeup_time_ns)(struct cdns_dphy *dphy); 95 static int cdns_dsi_get_dphy_pll_cfg(struct cdns_dphy *dphy, in cdns_dsi_get_dphy_pll_cfg() argument 100 unsigned long pll_ref_hz = clk_get_rate(dphy->pll_ref_clk); in cdns_dsi_get_dphy_pll_cfg() 136 static int cdns_dphy_setup_psm(struct cdns_dphy *dphy) in cdns_dphy_setup_psm() argument 138 unsigned long psm_clk_hz = clk_get_rate(dphy->psm_clk); in cdns_dphy_setup_psm() [all …]
|
D | Makefile | 3 obj-$(CONFIG_PHY_CADENCE_DPHY) += cdns-dphy.o
|
D | Kconfig | 22 cdns-dphy.
|
/Linux-v5.4/drivers/phy/allwinner/ |
D | phy-sun6i-mipi-dphy.c | 99 struct sun6i_dphy *dphy = phy_get_drvdata(phy); in sun6i_dphy_init() local 101 reset_control_deassert(dphy->reset); in sun6i_dphy_init() 102 clk_prepare_enable(dphy->mod_clk); in sun6i_dphy_init() 103 clk_set_rate_exclusive(dphy->mod_clk, 150000000); in sun6i_dphy_init() 110 struct sun6i_dphy *dphy = phy_get_drvdata(phy); in sun6i_dphy_configure() local 117 memcpy(&dphy->config, opts, sizeof(dphy->config)); in sun6i_dphy_configure() 124 struct sun6i_dphy *dphy = phy_get_drvdata(phy); in sun6i_dphy_power_on() local 125 u8 lanes_mask = GENMASK(dphy->config.lanes - 1, 0); in sun6i_dphy_power_on() 127 regmap_write(dphy->regs, SUN6I_DPHY_TX_CTL_REG, in sun6i_dphy_power_on() 130 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME0_REG, in sun6i_dphy_power_on() [all …]
|
D | Makefile | 3 obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o
|
/Linux-v5.4/drivers/media/platform/marvell-ccic/ |
D | mmp-driver.c | 141 pdata->dphy[0] = in mmpcam_calc_dphy() 149 pdata->dphy[0] = in mmpcam_calc_dphy() 181 pdata->dphy[2] = in mmpcam_calc_dphy() 186 pdata->dphy[0], pdata->dphy[1], pdata->dphy[2]); in mmpcam_calc_dphy() 241 mcam->dphy = pdata->dphy; in mmpcam_probe() 255 if ((IS_ERR(cam->mipi_clk) && mcam->dphy[2] == 0)) in mmpcam_probe()
|
D | mcam-core.c | 283 mcam->dphy[0], mcam->dphy[1], mcam->dphy[2]); in mcam_enable_mipi() 284 mcam_reg_write(mcam, REG_CSI2_DPHY3, mcam->dphy[0]); in mcam_enable_mipi() 285 mcam_reg_write(mcam, REG_CSI2_DPHY5, mcam->dphy[1]); in mcam_enable_mipi() 286 mcam_reg_write(mcam, REG_CSI2_DPHY6, mcam->dphy[2]); in mcam_enable_mipi()
|
D | mcam-core.h | 123 int *dphy; member
|
/Linux-v5.4/Documentation/devicetree/bindings/phy/ |
D | mixel,mipi-dsi-phy.txt | 9 - "fsl,imx8mq-mipi-dphy" 22 dphy: dphy@30a0030 { 23 compatible = "fsl,imx8mq-mipi-dphy";
|
D | cdns,dphy.txt | 7 - compatible: should be set to "cdns,dphy". 14 dphy0: dphy@fd0e0000{ 15 compatible = "cdns,dphy";
|
/Linux-v5.4/drivers/staging/media/omap4iss/ |
D | iss_csiphy.c | 94 reg = phy->dphy.ths_term << REGISTER0_THS_TERM_SHIFT; in csiphy_dphy_config() 95 reg |= phy->dphy.ths_settle << REGISTER0_THS_SETTLE_SHIFT; in csiphy_dphy_config() 100 reg = phy->dphy.tclk_term << REGISTER1_TCLK_TERM_SHIFT; in csiphy_dphy_config() 101 reg |= phy->dphy.tclk_miss << REGISTER1_CTRLCLK_DIV_FACTOR_SHIFT; in csiphy_dphy_config() 102 reg |= phy->dphy.tclk_settle << REGISTER1_TCLK_SETTLE_SHIFT; in csiphy_dphy_config() 211 csi2->phy->dphy = csi2phy; in omap4iss_csiphy_config()
|
D | iss_csiphy.h | 38 struct iss_csiphy_dphy_cfg dphy; member
|
/Linux-v5.4/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dsi.txt | 17 - phy-names: must contain "dphy" 38 mipi_tx0: mipi-dphy@10215000 { 55 phy-names = "dphy";
|
/Linux-v5.4/Documentation/devicetree/bindings/display/bridge/ |
D | cdns,dsi.txt | 13 - phy-names: must contain "dphy". 42 phy-names = "dphy"; 73 phy-names = "dphy";
|
/Linux-v5.4/drivers/media/platform/cadence/ |
D | cdns-csi2rx.c | 71 struct phy *dphy; member 304 csi2rx->dphy = devm_phy_optional_get(&pdev->dev, "dphy"); in csi2rx_get_resources() 305 if (IS_ERR(csi2rx->dphy)) { in csi2rx_get_resources() 307 return PTR_ERR(csi2rx->dphy); in csi2rx_get_resources() 314 if (csi2rx->dphy) { in csi2rx_get_resources()
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 741 phy_init(dsi->dphy); in sun6i_dsi_encoder_enable() 747 phy_set_mode(dsi->dphy, PHY_MODE_MIPI_DPHY); in sun6i_dsi_encoder_enable() 748 phy_configure(dsi->dphy, &opts); in sun6i_dsi_encoder_enable() 749 phy_power_on(dsi->dphy); in sun6i_dsi_encoder_enable() 787 phy_power_off(dsi->dphy); in sun6i_dsi_encoder_disable() 788 phy_exit(dsi->dphy); in sun6i_dsi_encoder_disable() 1128 dsi->dphy = devm_phy_get(dev, "dphy"); in sun6i_dsi_probe() 1129 if (IS_ERR(dsi->dphy)) { in sun6i_dsi_probe() 1131 ret = PTR_ERR(dsi->dphy); in sun6i_dsi_probe()
|
D | sun6i_mipi_dsi.h | 27 struct phy *dphy; member
|
/Linux-v5.4/include/linux/platform_data/media/ |
D | mmp-camera.h | 21 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member
|
/Linux-v5.4/drivers/phy/freescale/ |
D | Makefile | 3 obj-$(CONFIG_PHY_MIXEL_MIPI_DPHY) += phy-fsl-imx8-mipi-dphy.o
|
/Linux-v5.4/drivers/phy/ |
D | Makefile | 7 obj-$(CONFIG_GENERIC_PHY_MIPI_DPHY) += phy-core-mipi-dphy.o
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 465 struct phy *dphy; member 626 ret = phy_validate(dsi->dphy, PHY_MODE_MIPI_DPHY, 0, &output->phy_opts); in cdns_dsi_check_conf() 725 phy_init(dsi->dphy); in cdns_dsi_hs_init() 726 phy_set_mode(dsi->dphy, PHY_MODE_MIPI_DPHY); in cdns_dsi_hs_init() 727 phy_configure(dsi->dphy, &output->phy_opts); in cdns_dsi_hs_init() 728 phy_power_on(dsi->dphy); in cdns_dsi_hs_init() 1206 dsi->dphy = devm_phy_get(&pdev->dev, "dphy"); in cdns_dsi_drm_probe() 1207 if (IS_ERR(dsi->dphy)) in cdns_dsi_drm_probe() 1208 return PTR_ERR(dsi->dphy); in cdns_dsi_drm_probe()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | sun8i-a33.dtsi | 265 phys = <&dphy>; 266 phy-names = "dphy"; 278 dphy: d-phy@1ca1000 { label 279 compatible = "allwinner,sun6i-a31-mipi-dphy";
|
/Linux-v5.4/Documentation/devicetree/bindings/media/ |
D | imx.txt | 42 - clock-names : must contain "dphy", "ref", "pix";
|
D | cdns,csi2rx.txt | 19 - phy-names: must contain "dphy", if the implementation uses an
|
D | cdns,csi2tx.txt | 20 - phy-names: must contain "dphy"
|