History log of /src/sys/dev/fdt/dwc3_fdt.c |
Revision | | Date | Author | Comments |
1.20 |
| 12-Jun-2022 |
skrll | Attach when dr_mode is "otg" and the controller has the "usb-role-switch" and "role-switch-default-mode" as seen in the Apple M1 dts.
This assumes the controller is properly setup for host mode already.
|
1.19 |
| 07-Nov-2021 |
jmcneill | Look for child node by compat string snps,dwc3 instead of by name.
|
1.18 |
| 14-Sep-2021 |
jmcneill | Remove "no IOMMU" hack.
|
1.17 |
| 30-Aug-2021 |
jmcneill | Until we have proper FDT iommu support, refuse to attach when an iommu is required.
|
1.16 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.15 |
| 18-May-2021 |
jmcneill | branches: 1.15.4; Unbreak previous; we have to look for a child node iff our node isn't compatible with snps,dwc3.
|
1.14 |
| 24-Apr-2021 |
thorpej | branches: 1.14.2; 1.14.4; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.13 |
| 27-Jan-2021 |
thorpej | branches: 1.13.2; Rename of_match_compat_data() to of_compatible_match(). Similarly, rename of_search_compatible() to of_compatible_lookup().
Standardize on of_compatible_match() for driver matching, and adapt all call sites.
|
1.12 |
| 15-Jan-2021 |
ryo | use fdtbus_intr_establish_xname
|
1.11 |
| 15-Oct-2020 |
jmcneill | branches: 1.11.2; Initialise xhci_softc sc_ios
|
1.10 |
| 26-Mar-2020 |
thorpej | Add "snps,dwc3" to the list of compatible strings we match against. The code already handles "snps,dwc3" not being a subordinate of an SoC-specific node, but the string was missing from the match routine.
Necessitated by the sun50i-h6 device tree update on Jan 3 2020, which elimiated the "allwinner,sun50i-h6-dwc3" node and placed all of the clocks, resets, etc. directly under the "snps,dwc3" node.
|
1.9 |
| 15-Jan-2020 |
jmcneill | Add support for NXP i.MX 8M Dual/8M QuadLite/8M Quad family SoCs.
|
1.8 |
| 12-Dec-2019 |
jmcneill | branches: 1.8.2; Add support for snps,dis-tx-ipgap-linecheck-quirk quirk
|
1.7 |
| 19-Apr-2019 |
jmcneill | branches: 1.7.4; Add support for Meson GXL USB3 controller
|
1.6 |
| 12-Aug-2018 |
jmcneill | Add support for RK3399
|
1.5 |
| 03-Jul-2018 |
jmcneill | Add support for Samsung Exynos USB3 DRD.
|
1.4 |
| 03-Jul-2018 |
jmcneill | Fix name of snps,dis_u2_susphy_quirk property
|
1.3 |
| 29-Jun-2018 |
msaitoh | Detect USB 3.1.
|
1.2 |
| 21-Jun-2018 |
jmcneill | branches: 1.2.2; Add support for RK3328
|
1.1 |
| 01-May-2018 |
jmcneill | branches: 1.1.2; Add DesignWare DWC3 XHCI driver.
|
1.1.2.5 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.1.2.4 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.1.2.3 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.1.2.2 |
| 02-May-2018 |
pgoyette | Synch with HEAD
|
1.1.2.1 |
| 01-May-2018 |
pgoyette | file dwc3_fdt.c was added on branch pgoyette-compat on 2018-05-02 07:20:06 +0000
|
1.2.2.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.2.2.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.7.4.1 |
| 12-Dec-2019 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #545):
sys/arch/arm/dts/rk3328.dtsi: revision 1.2 sys/dev/fdt/dwc3_fdt.c: revision 1.8 sys/arch/arm/dts/rk3328-rock64.dts: revision 1.5
Add support for snps,dis-tx-ipgap-linecheck-quirk quirk
Enable USB3 support on RK3328
|
1.8.2.1 |
| 17-Jan-2020 |
ad | Sync with head.
|
1.11.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.13.2.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.14.4.1 |
| 31-May-2021 |
cjep | sync with head
|
1.14.2.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|
1.15.4.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|