CVS log for src/sys/arch/arm/nvidia/tegra_ehci.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / nvidia
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:44 2021 UTC (3 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Merge thorpej-cfargs2.
Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 16:51:28 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +3 -3
lines
Adapt to CFARGS().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:27 2021 UTC (3 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3
lines
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?).
Revision 1.16.14.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:17 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +12 -11
lines
Sync with HEAD.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:08:55 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +4 -3
lines
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.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:19 2021 UTC (4 years ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +10 -9
lines
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.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jan 15 23:11:59 2021 UTC (4 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
use fdtbus_intr_establish_xname
Revision 1.15.10.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:53 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -4
lines
Sync with HEAD, resolve some conflicts
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 9 16:21:09 2018 UTC (6 years, 10 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -4
lines
Stop potential misuse of vendor names and USB vendor IDs in root hub
device and string descriptors.
Firstly: Few vendors have identical PCI-SIG vendor IDs and USB-IF vendor
IDs. As such, using the PCI vendor ID as a USB vendor ID may trample
on whomever is allocated that USB vendor ID.
Secondly: The vendor of the host controller hardware implementation has
little to nothing to do with our usbroothub implementation. Thus we
should not potentially associate any problems therewith to such third
party.
This change will result in root hubs being identified by USB Vendor ID
0x0000. Root hub vendor string will now be "NetBSD" (or, specifically:
ostype). Product ID (0x0000) and product strings remain unchanged.
Revision 1.15.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:54 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.15.8.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.8.1: +208 -0
lines
update from HEAD
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:31 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.6: +8 -3
lines
Sync with HEAD
Revision 1.15.8.1
Thu May 25 23:45:04 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.15: +0 -208
lines
file tegra_ehci.c was added on branch tls-maxphys on 2017-12-03 11:35:54 +0000
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 25 23:45:04 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: tls-maxphys,
pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -3
lines
Match nvidia,tegra210-ehci and nvidia,tegra30-ehci compat strings.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:16 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +4 -4
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 23 18:21:14 2016 UTC (8 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4
lines
IST_MPSAFE is not a valid flag for fdtbus_intr_establish; use
FDT_INTR_MPSAFE instead.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Apr 23 10:15:28 2016 UTC (8 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -7
lines
Merge nick-nhusb
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
- kern/48308
- uhub status notification improvements
- umass(4) probe fix (applied to HEAD already)
- ohci(4) short transfer fix
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Feb 16 21:26:37 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +3 -3
lines
ehci_intr is MPSAFE now
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:31 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +40 -181
lines
Sync with HEAD (as of 26th Dec)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Dec 22 22:10:36 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -22
lines
Switch Tegra over to fdt based clocks and reset controls.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 13 17:39:19 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +49 -27
lines
Use fdt for device enumeration.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 19 22:09:16 2015 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -9
lines
Remove HOST1X and AHB_A2 from pmap_devmap
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 21 20:02:12 2015 UTC (9 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -207
lines
Split out USB PHY support out of the ehci glue and into a separate driver.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 21 10:43:09 2015 UTC (9 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +57 -10
lines
reduce the number of magic numbers in phy setup, pull settings from device properties instead.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:56 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +238 -3
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 22 06:27:17 2015 UTC (9 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
Whitespace.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 18 11:07:34 2015 UTC (9 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -10
lines
Use the right IO handle to get HOSTPC. Also, mask out LS and HS from
reported status just-in-case and misc tidyup.
HS, FS and LS now all probe correctly.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 18 09:56:43 2015 UTC (9 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +34 -3
lines
Re-enable EHCIF_ETTF and provide a sc_vendor_port_status to get port
speed from HOSTSC1
My FS usb stick works with this change.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat May 9 18:56:51 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +197 -7
lines
Tegra USB PHY support
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 9 12:07:52 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -2
lines
if vbus gpio pin is provided, use it to enable vdd
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Apr 26 17:14:24 2015 UTC (9 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -3
lines
ehci registers start at +0x100 from USB base address
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:53 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +109 -0
lines
Sync with HEAD
Revision 1.1.2.1
Sun Mar 29 10:41:59 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.1: +0 -109
lines
file tegra_ehci.c was added on branch nick-nhusb on 2015-04-06 15:17:53 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 29 10:41:59 2015 UTC (9 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb
NVIDIA Tegra K1 support, work in progress.
CVSweb <webmaster@jp.NetBSD.org>