Home
last modified time | relevance | path

Searched refs:dphy (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dphy.c84 int sun6i_dphy_init(struct sun6i_dphy *dphy, unsigned int lanes) in sun6i_dphy_init() argument
86 reset_control_deassert(dphy->reset); in sun6i_dphy_init()
87 clk_prepare_enable(dphy->mod_clk); in sun6i_dphy_init()
88 clk_set_rate_exclusive(dphy->mod_clk, 150000000); in sun6i_dphy_init()
90 regmap_write(dphy->regs, SUN6I_DPHY_TX_CTL_REG, in sun6i_dphy_init()
93 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME0_REG, in sun6i_dphy_init()
98 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME1_REG, in sun6i_dphy_init()
104 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME2_REG, in sun6i_dphy_init()
107 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME3_REG, 0); in sun6i_dphy_init()
109 regmap_write(dphy->regs, SUN6I_DPHY_TX_TIME4_REG, in sun6i_dphy_init()
[all …]
Dsun6i_mipi_dsi.h32 struct sun6i_dphy *dphy; member
58 int sun6i_dphy_init(struct sun6i_dphy *dphy, unsigned int lanes);
59 int sun6i_dphy_power_on(struct sun6i_dphy *dphy, unsigned int lanes);
60 int sun6i_dphy_power_off(struct sun6i_dphy *dphy);
61 int sun6i_dphy_exit(struct sun6i_dphy *dphy);
Dsun6i_mipi_dsi.c637 sun6i_dphy_init(dsi->dphy, device->lanes); in sun6i_dsi_encoder_enable()
638 sun6i_dphy_power_on(dsi->dphy, device->lanes); in sun6i_dsi_encoder_enable()
676 sun6i_dphy_power_off(dsi->dphy); in sun6i_dsi_encoder_disable()
677 sun6i_dphy_exit(dsi->dphy); in sun6i_dsi_encoder_disable()
/Linux-v4.19/drivers/gpu/drm/bridge/
Dcdns-dsi.c494 int (*probe)(struct cdns_dphy *dphy);
495 void (*remove)(struct cdns_dphy *dphy);
496 void (*set_psm_div)(struct cdns_dphy *dphy, u8 div);
497 void (*set_clk_lane_cfg)(struct cdns_dphy *dphy,
499 void (*set_pll_cfg)(struct cdns_dphy *dphy,
501 unsigned long (*get_wakeup_time_ns)(struct cdns_dphy *dphy);
529 struct cdns_dphy *dphy; member
548 static int cdns_dsi_get_dphy_pll_cfg(struct cdns_dphy *dphy, in cdns_dsi_get_dphy_pll_cfg() argument
558 unsigned long pll_ref_hz = clk_get_rate(dphy->pll_ref_clk); in cdns_dsi_get_dphy_pll_cfg()
683 static int cdns_dphy_setup_psm(struct cdns_dphy *dphy) in cdns_dphy_setup_psm() argument
[all …]
/Linux-v4.19/drivers/media/platform/marvell-ccic/
Dmmp-driver.c257 pdata->dphy[0] = in mmpcam_calc_dphy()
265 pdata->dphy[0] = in mmpcam_calc_dphy()
297 pdata->dphy[2] = in mmpcam_calc_dphy()
302 pdata->dphy[0], pdata->dphy[1], pdata->dphy[2]); in mmpcam_calc_dphy()
364 mcam->dphy = pdata->dphy; in mmpcam_probe()
367 if ((IS_ERR(cam->mipi_clk) && mcam->dphy[2] == 0)) in mmpcam_probe()
Dmcam-core.c286 mcam->dphy[0], mcam->dphy[1], mcam->dphy[2]); in mcam_enable_mipi()
287 mcam_reg_write(mcam, REG_CSI2_DPHY3, mcam->dphy[0]); in mcam_enable_mipi()
288 mcam_reg_write(mcam, REG_CSI2_DPHY5, mcam->dphy[1]); in mcam_enable_mipi()
289 mcam_reg_write(mcam, REG_CSI2_DPHY6, mcam->dphy[2]); in mcam_enable_mipi()
1025 cam->dphy[0], cam->dphy[1], cam->dphy[2]); in mcam_read_setup()
Dmcam-core.h127 int *dphy; member
/Linux-v4.19/Documentation/devicetree/bindings/display/bridge/
Dcdns,dsi.txt13 - phy-names: must contain "dphy".
40 - compatible: should be set to "cdns,dphy".
48 dphy0: dphy@fd0e0000{
49 compatible = "cdns,dphy";
63 phy-names = "dphy";
94 phy-names = "dphy";
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_csiphy.c98 reg = phy->dphy.ths_term << REGISTER0_THS_TERM_SHIFT; in csiphy_dphy_config()
99 reg |= phy->dphy.ths_settle << REGISTER0_THS_SETTLE_SHIFT; in csiphy_dphy_config()
104 reg = phy->dphy.tclk_term << REGISTER1_TCLK_TERM_SHIFT; in csiphy_dphy_config()
105 reg |= phy->dphy.tclk_miss << REGISTER1_CTRLCLK_DIV_FACTOR_SHIFT; in csiphy_dphy_config()
106 reg |= phy->dphy.tclk_settle << REGISTER1_TCLK_SETTLE_SHIFT; in csiphy_dphy_config()
215 csi2->phy->dphy = csi2phy; in omap4iss_csiphy_config()
Diss_csiphy.h42 struct iss_csiphy_dphy_cfg dphy; member
/Linux-v4.19/Documentation/devicetree/bindings/display/sunxi/
Dsun6i-dsi.txt22 - phy-names: must be "dphy"
38 * allwinner,sun6i-a31-mipi-dphy
57 phy-names = "dphy";
86 compatible = "allwinner,sun6i-a31-mipi-dphy";
/Linux-v4.19/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,dsi.txt17 - phy-names: must contain "dphy"
38 mipi_tx0: mipi-dphy@10215000 {
55 phy-names = "dphy";
/Linux-v4.19/drivers/media/platform/cadence/
Dcdns-csi2rx.c71 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-v4.19/include/linux/platform_data/media/
Dmmp-camera.h25 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member
/Linux-v4.19/arch/arm/boot/dts/
Dsun8i-a33.dtsi305 phys = <&dphy>;
306 phy-names = "dphy";
325 dphy: d-phy@1ca1000 { label
326 compatible = "allwinner,sun6i-a31-mipi-dphy";
Dimx6qdl.dtsi1166 clock-names = "dphy", "ref", "pix";
/Linux-v4.19/Documentation/devicetree/bindings/media/
Dcdns,csi2tx.txt19 - phy-names: must contain "dphy"
Dimx.txt42 - clock-names : must contain "dphy", "ref", "pix";
Dcdns,csi2rx.txt19 - phy-names: must contain "dphy", if the implementation uses an
/Linux-v4.19/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi524 mipi_tx0: mipi-dphy@10215000 {
534 mipi_tx1: mipi-dphy@10216000 {
1101 phy-names = "dphy";
1115 phy-names = "dphy";