/Linux-v5.15/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.15/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.15/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 | rockchip-inno-csi-dphy.yaml | 4 $id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml# 19 - rockchip,px30-csi-dphy 20 - rockchip,rk1808-csi-dphy 21 - rockchip,rk3326-csi-dphy 22 - rockchip,rk3368-csi-dphy 70 compatible = "rockchip,px30-csi-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";
|
D | amlogic,axg-mipi-dphy.yaml | 5 $id: "http://devicetree.org/schemas/phy/amlogic,axg-mipi-dphy.yaml#" 16 - amlogic,axg-mipi-dphy 61 compatible = "amlogic,axg-mipi-dphy";
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/gpu/drm/kmb/ |
D | kmb_regs.h | 647 #define SET_DPHY_INIT_CTRL0(dev, dphy, offset) \ argument 649 ((dphy) + (offset))) 650 #define CLR_DPHY_INIT_CTRL0(dev, dphy, offset) \ argument 652 ((dphy) + (offset))) 659 #define SET_DPHY_FREQ_CTRL0_3(dev, dphy, val) \ argument 661 + (((dphy) / 4) * 4), (dphy % 4) * 8, 6, val) 667 #define GET_STOPSTATE_DATA(dev, dphy) \ argument 669 ((dphy) / 4) * 4)) >> \ 670 (((dphy % 4) * 8) + 4)) & 0x03) 675 #define SET_DPHY_TEST_CTRL0(dev, dphy) \ argument [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/soc/rockchip/ |
D | grf.yaml | 136 mipi-dphy-rx0: 139 $ref: "/schemas/phy/rockchip-mipi-dphy-rx0.yaml#" 235 mipi_dphy_rx0: mipi-dphy-rx0 { 236 compatible = "rockchip,rk3399-mipi-dphy-rx0"; 240 clock-names = "dphy-ref", "dphy-cfg", "grf";
|
/Linux-v5.15/drivers/phy/rockchip/ |
D | phy-rockchip-inno-csidphy.c | 3 * Rockchip MIPI RX Innosilicon DPHY driver 17 #include <linux/phy/phy-mipi-dphy.h> 241 /* Reset dphy analog part */ in rockchip_inno_csidphy_power_on() 247 /* Reset dphy digital part */ in rockchip_inno_csidphy_power_on() 357 .compatible = "rockchip,px30-csi-dphy", 361 .compatible = "rockchip,rk1808-csi-dphy", 365 .compatible = "rockchip,rk3326-csi-dphy", 369 .compatible = "rockchip,rk3368-csi-dphy", 458 MODULE_DESCRIPTION("Rockchip MIPI Innosilicon CSI-DPHY driver");
|
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.15/Documentation/devicetree/bindings/media/ |
D | rockchip-isp1.yaml | 54 const: dphy 66 description: connection point for sensors at MIPI-DPHY RX0 129 phys = <&dphy>; 130 phy-names = "dphy";
|
/Linux-v5.15/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.15/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.15/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", 458 dev_err(dev, "Couldn't create the DPHY regmap\n"); in mixel_dphy_probe() 487 .name = "mixel-mipi-dphy",
|
/Linux-v5.15/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dsi.txt | 17 - phy-names: must contain "dphy" 29 mipi_tx0: mipi-dphy@10215000 { 49 phy-names = "dphy";
|
/Linux-v5.15/Documentation/devicetree/bindings/display/bridge/ |
D | nwl-dsi.yaml | 63 A phandle to the phy module representing the DPHY 67 - const: dphy 166 phys = <&dphy>; 167 phy-names = "dphy";
|
D | cdns,dsi.txt | 13 - phy-names: must contain "dphy". 42 phy-names = "dphy"; 73 phy-names = "dphy";
|
/Linux-v5.15/include/linux/platform_data/media/ |
D | mmp-camera.h | 21 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi-rockchip.c | 253 /* optional external dphy */ 260 struct phy *dphy; member 280 /* The table is based on 27MHz DPHY pll reference clock. */ 560 "DPHY clock frequency is out of range\n"); in dw_mipi_dsi_get_lane_mbps() 622 DRM_DEV_ERROR(dsi->dev, "Can not find best_freq for DPHY\n"); in dw_mipi_dsi_get_lane_mbps() 1069 * Nothing to do when used as a dphy. in dw_mipi_dsi_rockchip_dphy_bind() 1081 /* Nothing to do when used as a dphy. */ in dw_mipi_dsi_rockchip_dphy_unbind() 1316 /* try to get a possible external dphy */ in dw_mipi_dsi_rockchip_probe() 1317 dsi->phy = devm_phy_optional_get(dev, "dphy"); in dw_mipi_dsi_rockchip_probe() 1320 DRM_DEV_ERROR(dev, "failed to get mipi dphy: %d\n", ret); in dw_mipi_dsi_rockchip_probe() [all …]
|
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 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()
|