The NetBSD Project

CVS log for src/sys/arch/arm/nvidia/tegra210_xusbpad.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / nvidia

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:44 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Merge thorpej-cfargs2.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 16:51:28 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Adapt to CFARGS().

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:27 2021 UTC (2 years, 11 months ago) by thorpej
Branch: 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
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

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.13.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:17 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.13: +8 -7 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:08:55 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

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.14 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.13: +8 -7 lines
Diff to previous 1.13 (colored)

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.8.6.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:36 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.8.6.1: +3 -4 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 13 06:11:31 2019 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Restore %# for PRIxBUSADDR

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 13 05:57:14 2019 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.11: +3 -4 lines
Diff to previous 1.11 (colored)

Use PRIxBUSADDR

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:55 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.8: +202 -8 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:33 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8.4.1: +200 -7 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 14 12:29:22 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, 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
Changes since 1.10: +198 -5 lines
Diff to previous 1.10 (colored)

Support SATA on TEGRA210

Thanks to jmcneill for help with this.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 12 09:55:34 2018 UTC (5 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Trailing whitespace

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:28 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 16 23:11:47 2018 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored)

Add missing pointer <-> integer casts
Use PRI?64 to print uint64_t instead 'll?'

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:54 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.8.2.1: +895 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

update from HEAD

Revision 1.8.2.1, Tue Sep 26 16:12:45 2017 UTC (6 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.8: +0 -895 lines
FILE REMOVED

file tegra210_xusbpad.c was added on branch tls-maxphys on 2017-12-03 11:35:54 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Tue Sep 26 16:12:45 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: tls-maxphys, phil-wifi, pgoyette-compat
Changes since 1.7: +84 -6 lines
Diff to previous 1.7 (colored)

More PCIe / XUSBPAD initialization goo for Tegra210.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 25 00:03:34 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.6: +94 -11 lines
Diff to previous 1.6 (colored)

USB works on Tegra X1 now.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 24 20:09:53 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.5: +210 -160 lines
Diff to previous 1.5 (colored)

More XUSB init. A USB3 memory stick seems to work now.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Sep 23 23:21:35 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.4: +163 -2 lines
Diff to previous 1.4 (colored)

More XUSB init stuff.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 22 11:01:24 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +13 -9 lines
Diff to previous 1.3 (colored)

Print an error if we can't acquire a clock or reset

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 22 01:24:31 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.2: +89 -13 lines
Diff to previous 1.2 (colored)

More USB3 port init stuff

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 20 21:59:23 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +176 -3 lines
Diff to previous 1.1 (colored)

parse ports node and configure usb2/usb3/hsic ports

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 19 23:18:01 2017 UTC (6 years, 6 months ago) by jmcneill
Branch: MAIN

Add basic tegra210 xusbpad driver, shorten tegra*xusbpad driver names to
tegra*xpad to fit in dv_xname

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>