| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | drd.c | 32 int cdns3_set_mode(struct cdns3 *cdns, enum usb_dr_mode mode) in cdns3_set_mode() argument 43 dev_dbg(cdns->dev, "Set controller to OTG mode\n"); in cdns3_set_mode() 44 if (cdns->version == CDNS3_CONTROLLER_V1) { in cdns3_set_mode() 45 reg = readl(&cdns->otg_v1_regs->override); in cdns3_set_mode() 47 writel(reg, &cdns->otg_v1_regs->override); in cdns3_set_mode() 49 reg = readl(&cdns->otg_v0_regs->ctrl1); in cdns3_set_mode() 51 writel(reg, &cdns->otg_v0_regs->ctrl1); in cdns3_set_mode() 62 dev_err(cdns->dev, "Unsupported mode of operation %d\n", mode); in cdns3_set_mode() 69 int cdns3_get_id(struct cdns3 *cdns) in cdns3_get_id() argument 73 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE; in cdns3_get_id() [all …]
|
| H A D | core.c | 28 static int cdns3_idle_init(struct cdns3 *cdns); 32 struct cdns3 cdns; member 36 struct cdns3 cdns; member 40 struct cdns3_role_driver *cdns3_get_current_role_driver(struct cdns3 *cdns) in cdns3_get_current_role_driver() argument 42 WARN_ON(!cdns->roles[cdns->role]); in cdns3_get_current_role_driver() 43 return cdns->roles[cdns->role]; in cdns3_get_current_role_driver() 46 static int cdns3_role_start(struct cdns3 *cdns, enum usb_role role) in cdns3_role_start() argument 53 mutex_lock(&cdns->mutex); in cdns3_role_start() 54 cdns->role = role; in cdns3_role_start() 55 mutex_unlock(&cdns->mutex); in cdns3_role_start() [all …]
|
| H A D | host.c | 19 static int __cdns3_host_init(struct cdns3 *cdns) in __cdns3_host_init() argument 24 cdns3_drd_switch_host(cdns, 1); in __cdns3_host_init() 26 hccr = (struct xhci_hccr *)cdns->xhci_regs; in __cdns3_host_init() 27 hcor = (struct xhci_hcor *)(cdns->xhci_regs + in __cdns3_host_init() 30 return xhci_register(cdns->dev, hccr, hcor); in __cdns3_host_init() 33 static void cdns3_host_exit(struct cdns3 *cdns) in cdns3_host_exit() argument 35 xhci_deregister(cdns->dev); in cdns3_host_exit() 36 cdns3_drd_switch_host(cdns, 0); in cdns3_host_exit() 39 int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() argument 43 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_host_init() [all …]
|
| H A D | drd.h | 156 int cdns3_is_host(struct cdns3 *cdns); 157 int cdns3_is_device(struct cdns3 *cdns); 158 int cdns3_get_id(struct cdns3 *cdns); 159 int cdns3_get_vbus(struct cdns3 *cdns); 160 int cdns3_drd_init(struct cdns3 *cdns); 161 int cdns3_drd_exit(struct cdns3 *cdns); 162 int cdns3_drd_update_mode(struct cdns3 *cdns); 163 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on); 164 int cdns3_drd_switch_host(struct cdns3 *cdns, int on);
|
| H A D | host-export.h | 14 int cdns3_host_init(struct cdns3 *cdns); 15 void cdns3_host_exit(struct cdns3 *cdns); 19 static inline int cdns3_host_init(struct cdns3 *cdns) in cdns3_host_init() argument 24 static inline void cdns3_host_exit(struct cdns3 *cdns) { } in cdns3_host_exit() argument
|
| H A D | gadget-export.h | 15 int cdns3_gadget_init(struct cdns3 *cdns); 16 void cdns3_gadget_exit(struct cdns3 *cdns); 19 static inline int cdns3_gadget_init(struct cdns3 *cdns) in cdns3_gadget_init() argument 24 static inline void cdns3_gadget_exit(struct cdns3 *cdns) { } in cdns3_gadget_exit() argument
|
| H A D | core.h | 38 int (*start)(struct cdns3 *cdns); 39 void (*stop)(struct cdns3 *cdns); 40 int (*suspend)(struct cdns3 *cdns, bool do_wakeup); 41 int (*resume)(struct cdns3 *cdns, bool hibernated); 98 int cdns3_hw_role_switch(struct cdns3 *cdns);
|
| H A D | gadget.c | 1369 struct cdns3 *cdns = data; in cdns3_device_irq_handler() local 1373 priv_dev = cdns->gadget_dev; in cdns3_device_irq_handler() 1413 struct cdns3 *cdns = data; in cdns3_device_thread_irq_handler() local 1419 priv_dev = cdns->gadget_dev; in cdns3_device_thread_irq_handler() 2397 dev_err(cdns->dev, "invalid speed parameter %d\n", in cdns3_gadget_udc_set_speed() 2524 void cdns3_gadget_exit(struct cdns3 *cdns) in cdns3_gadget_exit() argument 2528 priv_dev = cdns->gadget_dev; in cdns3_gadget_exit() 2548 cdns->gadget_dev = NULL; in cdns3_gadget_exit() 2549 cdns3_drd_switch_gadget(cdns, 0); in cdns3_gadget_exit() 2552 static int cdns3_gadget_start(struct cdns3 *cdns) in cdns3_gadget_start() argument [all …]
|
| /rk3399_rockchip-uboot/arch/xtensa/dts/ |
| H A D | xtfpga.dtsi | 2 compatible = "cdns,xtensa-xtfpga"; 20 compatible = "cdns,xtensa-cpu"; 29 compatible = "cdns,xtensa-pic"; 80 compatible = "cdns,xtfpga-i2s"; 107 compatible = "cdns,xtfpga-spi";
|
| H A D | kc705.dts | 6 compatible = "cdns,xtensa-kc705";
|
| H A D | ml605.dts | 6 compatible = "cdns,xtensa-ml605";
|
| H A D | kc705_nommu.dts | 6 compatible = "cdns,xtensa-kc705";
|
| H A D | ml605_nommu.dts | 6 compatible = "cdns,xtensa-ml605";
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | zynq-7000.dtsi | 118 compatible = "cdns,i2c-r1p10"; 129 compatible = "cdns,i2c-r1p10"; 163 compatible = "xlnx,xuartps", "cdns,uart-r1p8"; 172 compatible = "xlnx,xuartps", "cdns,uart-r1p8"; 217 compatible = "cdns,zynq-gem", "cdns,gem"; 228 compatible = "cdns,zynq-gem", "cdns,gem"; 337 compatible = "cdns,ttc"; 345 compatible = "cdns,ttc"; 380 compatible = "cdns,wdt-r1p2";
|
| H A D | at91sam9x5_macb1.dtsi | 44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | uniphier-ld11.dtsi | 272 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; 281 cdns,phy-input-delay-legacy = <4>; 282 cdns,phy-input-delay-mmc-highspeed = <2>; 283 cdns,phy-input-delay-mmc-ddr = <3>; 284 cdns,phy-dll-delay-sdclk = <21>; 285 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
|
| H A D | zynqmp.dtsi | 572 compatible = "cdns,zynqmp-gem"; 586 compatible = "cdns,zynqmp-gem"; 600 compatible = "cdns,zynqmp-gem"; 614 compatible = "cdns,zynqmp-gem"; 640 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10"; 651 compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10"; 828 compatible = "cdns,spi-r1p6"; 840 compatible = "cdns,spi-r1p6"; 852 compatible = "cdns,ttc"; 862 compatible = "cdns,ttc"; [all …]
|
| H A D | sama5d3_emac.dtsi | 44 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | at91sam9x5_macb0.dtsi | 56 compatible = "cdns,at91sam9260-macb", "cdns,macb";
|
| H A D | uniphier-pxs3.dtsi | 312 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; 321 cdns,phy-input-delay-legacy = <4>; 322 cdns,phy-input-delay-mmc-highspeed = <2>; 323 cdns,phy-input-delay-mmc-ddr = <3>; 324 cdns,phy-dll-delay-sdclk = <21>; 325 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
|
| H A D | uniphier-ld20.dtsi | 346 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; 355 cdns,phy-input-delay-legacy = <4>; 356 cdns,phy-input-delay-mmc-highspeed = <2>; 357 cdns,phy-input-delay-mmc-ddr = <3>; 358 cdns,phy-dll-delay-sdclk = <21>; 359 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/i2c/ |
| H A D | i2c-cdns.txt | 5 - compatible : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10". 14 compatible = "cdns,i2c-r1p10";
|
| /rk3399_rockchip-uboot/drivers/ufs/ |
| H A D | Makefile | 7 obj-$(CONFIG_CADENCE_UFS) += cdns-platform.o
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/spi/ |
| H A D | spi-zynq.txt | 5 - compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6".
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | Makefile | 20 obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o
|