Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/phy/cadence/
Dcdns-dphy.c76 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 …]
DMakefile3 obj-$(CONFIG_PHY_CADENCE_DPHY) += cdns-dphy.o
DKconfig22 cdns-dphy.
/kernel/linux/linux-5.10/drivers/phy/allwinner/
Dphy-sun6i-mipi-dphy.c99 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 …]
DMakefile3 obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
Dmmp-driver.c99 pdata->dphy[0] = in mmpcam_calc_dphy()
107 pdata->dphy[0] = in mmpcam_calc_dphy()
139 pdata->dphy[2] = in mmpcam_calc_dphy()
144 pdata->dphy[0], pdata->dphy[1], pdata->dphy[2]); in mmpcam_calc_dphy()
200 mcam->dphy = pdata->dphy; in mmpcam_probe()
214 if ((IS_ERR(cam->mipi_clk) && mcam->dphy[2] == 0)) in mmpcam_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dmixel,mipi-dsi-phy.txt9 - "fsl,imx8mq-mipi-dphy"
22 dphy: dphy@30a0030 {
23 compatible = "fsl,imx8mq-mipi-dphy";
Dcdns,dphy.txt7 - compatible: should be set to "cdns,dphy".
14 dphy0: dphy@fd0e0000{
15 compatible = "cdns,dphy";
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_csiphy.c94 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()
Diss_csiphy.h38 struct iss_csiphy_dphy_cfg dphy; member
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-dev.c195 s_asd->dphy = devm_phy_get(rkisp1->dev, "dphy"); in rkisp1_subdev_notifier_bound()
196 if (IS_ERR(s_asd->dphy)) { in rkisp1_subdev_notifier_bound()
197 if (PTR_ERR(s_asd->dphy) != -EPROBE_DEFER) in rkisp1_subdev_notifier_bound()
199 return PTR_ERR(s_asd->dphy); in rkisp1_subdev_notifier_bound()
202 phy_init(s_asd->dphy); in rkisp1_subdev_notifier_bound()
214 phy_exit(s_asd->dphy); in rkisp1_subdev_notifier_unbind()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,dsi.txt17 - phy-names: must contain "dphy"
45 mipi_tx0: mipi-dphy@10215000 {
65 phy-names = "dphy";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dcdns,dsi.txt13 - phy-names: must contain "dphy".
42 phy-names = "dphy";
73 phy-names = "dphy";
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_lvds.c59 struct phy *dphy; member
498 lvds->dphy = devm_phy_get(&pdev->dev, "dphy"); in px30_lvds_probe()
499 if (IS_ERR(lvds->dphy)) in px30_lvds_probe()
500 return PTR_ERR(lvds->dphy); in px30_lvds_probe()
502 ret = phy_init(lvds->dphy); in px30_lvds_probe()
506 ret = phy_set_mode(lvds->dphy, PHY_MODE_LVDS); in px30_lvds_probe()
510 return phy_power_on(lvds->dphy); in px30_lvds_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/platform_data/media/
Dmmp-camera.h21 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member
/kernel/linux/linux-5.10/drivers/phy/freescale/
DMakefile3 obj-$(CONFIG_PHY_MIXEL_MIPI_DPHY) += phy-fsl-imx8-mipi-dphy.o
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c762 phy_init(dsi->dphy); in sun6i_dsi_encoder_enable()
768 phy_set_mode(dsi->dphy, PHY_MODE_MIPI_DPHY); in sun6i_dsi_encoder_enable()
769 phy_configure(dsi->dphy, &opts); in sun6i_dsi_encoder_enable()
770 phy_power_on(dsi->dphy); in sun6i_dsi_encoder_enable()
808 phy_power_off(dsi->dphy); in sun6i_dsi_encoder_disable()
809 phy_exit(dsi->dphy); in sun6i_dsi_encoder_disable()
1174 dsi->dphy = devm_phy_get(dev, "dphy"); in sun6i_dsi_probe()
1175 if (IS_ERR(dsi->dphy)) { in sun6i_dsi_probe()
1177 ret = PTR_ERR(dsi->dphy); in sun6i_dsi_probe()
Dsun6i_mipi_dsi.h28 struct phy *dphy; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/
Ddw_mipi_dsi_rockchip.txt14 clock(ref) when using an internal dphy and APB clock(pclk).
25 - phy-names: Should be "dphy" if phys references an external phy.
/kernel/linux/linux-5.10/drivers/phy/rockchip/
DMakefile3 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
/kernel/linux/linux-5.10/drivers/phy/
DMakefile7 obj-$(CONFIG_GENERIC_PHY_MIPI_DPHY) += phy-core-mipi-dphy.o
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dcdns-dsi.c465 struct phy *dphy; member
625 ret = phy_validate(dsi->dphy, PHY_MODE_MIPI_DPHY, 0, &output->phy_opts); in cdns_dsi_check_conf()
727 phy_init(dsi->dphy); in cdns_dsi_hs_init()
728 phy_set_mode(dsi->dphy, PHY_MODE_MIPI_DPHY); in cdns_dsi_hs_init()
729 phy_configure(dsi->dphy, &output->phy_opts); in cdns_dsi_hs_init()
730 phy_power_on(dsi->dphy); in cdns_dsi_hs_init()
1208 dsi->dphy = devm_phy_get(&pdev->dev, "dphy"); in cdns_dsi_drm_probe()
1209 if (IS_ERR(dsi->dphy)) in cdns_dsi_drm_probe()
1210 return PTR_ERR(dsi->dphy); in cdns_dsi_drm_probe()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun8i-a33.dtsi265 phys = <&dphy>;
266 phy-names = "dphy";
278 dphy: d-phy@1ca1000 { label
279 compatible = "allwinner,sun6i-a31-mipi-dphy";
Dmt7623n.dtsi199 phy-names = "dphy";
249 mipi_tx0: mipi-dphy@10010000 {

123