Lines Matching +full:vbus +full:- +full:divider
1 // SPDX-License-Identifier: GPL-2.0
3 * cdns_ti-ti.c - TI specific Glue layer for Cadence USB Controller
5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
9 #include <asm-generic/io.h>
78 return readl(data->usbss + offset); in cdns_ti_readl()
83 writel(value, data->usbss + offset); in cdns_ti_writel()
96 data->dev = dev; in cdns_ti_probe()
98 data->usbss = dev_remap_addr_index(dev, 0); in cdns_ti_probe()
99 if (!data->usbss) in cdns_ti_probe()
100 return -EINVAL; in cdns_ti_probe()
117 return -EINVAL; in cdns_ti_probe()
133 data->vbus_divider = dev_read_bool(dev, "ti,vbus-divider"); in cdns_ti_probe()
134 if (data->vbus_divider) in cdns_ti_probe()
142 data->usb2_only = dev_read_bool(dev, "ti,usb2-only"); in cdns_ti_probe()
143 if (data->usb2_only) in cdns_ti_probe()
147 if (dev_read_bool(dev, "ti,modestrap-host")) in cdns_ti_probe()
149 else if (dev_read_bool(dev, "ti,modestrap-peripheral")) in cdns_ti_probe()
159 /* de-assert RESET */ in cdns_ti_probe()
180 { .compatible = "ti,j721e-usb", },
185 .name = "cdns-ti",