/Linux-v5.10/drivers/phy/cadence/ |
D | cdns-dphy.c | 16 #include <linux/phy/phy-mipi-dphy.h> 21 /* DPHY registers */ 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() [all …]
|
/Linux-v5.10/drivers/phy/allwinner/ |
D | phy-sun6i-mipi-dphy.c | 18 #include <linux/phy/phy-mipi-dphy.h> 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() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/phy/ |
D | cdns,dphy.txt | 1 Cadence DPHY 4 Cadence DPHY block. 7 - compatible: should be set to "cdns,dphy". 8 - reg: physical base address and length of the DPHY registers. 9 - clocks: DPHY reference clocks. 14 dphy0: dphy@fd0e0000{ 15 compatible = "cdns,dphy";
|
D | rockchip-mipi-dphy-rx0.yaml | 4 $id: http://devicetree.org/schemas/phy/rockchip-mipi-dphy-rx0.yaml# 19 const: rockchip,rk3399-mipi-dphy-rx0 29 - const: dphy-ref 30 - const: dphy-cfg 65 mipi_dphy_rx0: mipi-dphy-rx0 { 66 compatible = "rockchip,rk3399-mipi-dphy-rx0"; 70 clock-names = "dphy-ref", "dphy-cfg", "grf";
|
D | rockchip,px30-dsi-dphy.yaml | 4 $id: http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml# 7 title: Rockchip MIPI DPHY with additional LVDS/TTL modes 18 - rockchip,px30-dsi-dphy 19 - rockchip,rk3128-dsi-dphy 20 - rockchip,rk3368-dsi-dphy 61 compatible = "rockchip,px30-dsi-dphy";
|
D | mixel,mipi-dsi-phy.txt | 9 - "fsl,imx8mq-mipi-dphy" 12 - "phy_ref": phandle and specifier referring to the DPHY ref clock 22 dphy: dphy@30a0030 { 23 compatible = "fsl,imx8mq-mipi-dphy";
|
D | allwinner,sun6i-a31-mipi-dphy.yaml | 4 $id: http://devicetree.org/schemas/phy/allwinner,sun6i-a31-mipi-dphy.yaml# 19 - const: allwinner,sun6i-a31-mipi-dphy 21 - const: allwinner,sun50i-a64-mipi-dphy 22 - const: allwinner,sun6i-a31-mipi-dphy 53 compatible = "allwinner,sun6i-a31-mipi-dphy";
|
/Linux-v5.10/drivers/media/platform/marvell-ccic/ |
D | mmp-driver.c | 51 * calc the dphy register values 52 * There are three dphy registers being used. 53 * dphy[0] - CSI2_DPHY3 54 * dphy[1] - CSI2_DPHY5 55 * dphy[2] - CSI2_DPHY6 73 * dphy[0] - CSI2_DPHY3: in mmpcam_calc_dphy() 75 * defines the time that the DPHY in mmpcam_calc_dphy() 99 pdata->dphy[0] = in mmpcam_calc_dphy() 107 pdata->dphy[0] = in mmpcam_calc_dphy() 129 * dphy[2] - CSI2_DPHY6: in mmpcam_calc_dphy() [all …]
|
D | mcam-core.h | 118 /* The dphy config value, allocated in board file 119 * dphy[0]: DPHY3 120 * dphy[1]: DPHY5 121 * dphy[2]: DPHY6 123 int *dphy; member
|
/Linux-v5.10/drivers/phy/rockchip/ |
D | Kconfig | 13 tristate "Rockchip MIPI Synopsys DPHY RX0 driver" 18 Enable this to support the Rockchip MIPI Synopsys DPHY RX0 22 will be called phy-rockchip-dphy-rx0.
|
D | phy-rockchip-dphy-rx0.c | 3 * Rockchip MIPI Synopsys DPHY RX0 driver 26 #include <linux/phy/phy-mipi-dphy.h> 65 "dphy-ref", 66 "dphy-cfg", 201 /* dphy start */ in rk_dphy_enable() 317 .compatible = "rockchip,rk3399-mipi-dphy-rx0", 381 .name = "rockchip-mipi-dphy-rx0", 388 MODULE_DESCRIPTION("Rockchip MIPI Synopsys DPHY RX0 driver");
|
/Linux-v5.10/drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/ |
D | rockchip-isp1.yaml | 37 const: dphy 69 description: connection point for sensors at MIPI-DPHY RX0 136 phys = <&dphy>; 137 phy-names = "dphy";
|
/Linux-v5.10/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 1100 #define DSI_PHY_CTRL_3 0x08C /* DPHY Control Register 3 */ 1108 #define DSI_PHY_RCOMP_0 0x0B0 /* DPHY Rcomp Control Register */ 1111 #define DSI_PHY_TIME_0 0x0C0 /* DPHY Timing Control Register 0 */ 1112 #define DSI_PHY_TIME_1 0x0C4 /* DPHY Timing Control Register 1 */ 1113 #define DSI_PHY_TIME_2 0x0C8 /* DPHY Timing Control Register 2 */ 1114 #define DSI_PHY_TIME_3 0x0CC /* DPHY Timing Control Register 3 */ 1115 #define DSI_PHY_TIME_4 0x0D0 /* DPHY Timing Control Register 4 */ 1116 #define DSI_PHY_TIME_5 0x0D4 /* DPHY Timing Control Register 5 */ 1208 /* DSI_PHY_CTRL_2 0x0088 DPHY Control Register 2 */ 1210 /* DPHY LP Receiver Enable */ [all …]
|
/Linux-v5.10/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()
|
/Linux-v5.10/drivers/phy/freescale/ |
D | phy-fsl-imx8-mipi-dphy.c | 19 /* DPHY registers */ 81 /* DPHY PLL parameters */ 85 /* DPHY register values */ 107 .name = "mipi-dphy", 117 dev_err(&phy->dev, "Failed to write DPHY reg %d: %d\n", reg, in phy_write() 391 dev_err(&phy->dev, "Could not get DPHY lock (%d)!\n", ret); in mixel_dphy_power_on() 425 { .compatible = "fsl,imx8mq-mipi-dphy", 460 dev_err(dev, "Couldn't create the DPHY regmap\n"); in mixel_dphy_probe() 489 .name = "mixel-mipi-dphy",
|
/Linux-v5.10/Documentation/devicetree/bindings/display/bridge/ |
D | nwl-dsi.yaml | 63 A phandle to the phy module representing the DPHY 67 - const: dphy 193 phys = <&dphy>; 194 phy-names = "dphy";
|
D | cdns,dsi.txt | 13 - phy-names: must contain "dphy". 42 phy-names = "dphy"; 73 phy-names = "dphy";
|
/Linux-v5.10/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dsi.txt | 17 - phy-names: must contain "dphy" 45 mipi_tx0: mipi-dphy@10215000 { 65 phy-names = "dphy";
|
/Linux-v5.10/include/linux/platform_data/media/ |
D | mmp-camera.h | 21 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member
|
/Linux-v5.10/drivers/gpu/drm/rockchip/ |
D | rockchip_lvds.c | 59 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 phy_init(lvds->dphy); in px30_lvds_probe() 506 phy_set_mode(lvds->dphy, PHY_MODE_LVDS); in px30_lvds_probe() 510 return phy_power_on(lvds->dphy); in px30_lvds_probe()
|
/Linux-v5.10/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.10/drivers/staging/media/rkisp1/ |
D | rkisp1-dev.c | 20 #include <linux/phy/phy-mipi-dphy.h> 195 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()
|
/Linux-v5.10/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 27 #include <linux/phy/phy-mipi-dphy.h> 465 struct phy *dphy; member 625 ret = phy_validate(dsi->dphy, PHY_MODE_MIPI_DPHY, 0, &output->phy_opts); in cdns_dsi_check_conf() 720 * Power all internal DPHY blocks down and maintain their reset line in cdns_dsi_hs_init() 721 * asserted before changing the DPHY config. in cdns_dsi_hs_init() 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() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/display/rockchip/ |
D | rockchip-lvds.txt | 22 - phys: LVDS/DSI DPHY (px30 only) 23 - phy-names: name of the PHY, must be "dphy" (px30 only)
|
/Linux-v5.10/Documentation/devicetree/bindings/display/ |
D | allwinner,sun6i-a31-mipi-dsi.yaml | 47 const: dphy 107 phy-names = "dphy";
|