The NetBSD Project

CVS log for src/sys/dev/fdt/dwc3_fdt.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / fdt

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 12 08:04:07 2022 UTC (22 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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.19: +25 -4 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Nov 7 17:14:20 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.18: +6 -3 lines
Diff to previous 1.18 (colored)

Look for child node by compat string snps,dwc3 instead of by name.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 14 22:00:11 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.17: +2 -8 lines
Diff to previous 1.17 (colored)

Remove "no IOMMU" hack.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 30 22:49:42 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +8 -2 lines
Diff to previous 1.16 (colored)

Until we have proper FDT iommu support, refuse to attach when an iommu
is required.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:10 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Merge thorpej-cfargs2.

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

Adapt to CFARGS().

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:27 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync w/ HEAD.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:17 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 18 11:13:31 2021 UTC (2 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Branch point for: thorpej-cfargs2
Changes since 1.14: +15 -15 lines
Diff to previous 1.14 (colored)

Unbreak previous; we have to look for a child node iff our node isn't
compatible with snps,dwc3.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:53 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (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.11.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.11: +24 -19 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:11 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored) next main 1.14 (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.13 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:21 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.12: +22 -17 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Jan 15 20:50:49 2021 UTC (3 years, 3 months ago) by ryo
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

use fdtbus_intr_establish_xname

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 15 09:33:44 2020 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Initialise xhci_softc sc_ios

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:04 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.2.2.1: +24 -6 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 26 00:21:27 2020 UTC (4 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

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.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:30 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.8: +11 -4 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 15 01:09:57 2020 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.8: +11 -4 lines
Diff to previous 1.8 (colored)

Add support for NXP i.MX 8M Dual/8M QuadLite/8M Quad family SoCs.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Thu Dec 12 11:40:53 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.7: +14 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 12 00:45:59 2019 UTC (4 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.7: +14 -4 lines
Diff to previous 1.7 (colored)

Add support for snps,dis-tx-ipgap-linecheck-quirk quirk

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:07 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.2: +51 -22 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 19 19:05:56 2019 UTC (5 years ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.6: +7 -8 lines
Diff to previous 1.6 (colored)

Add support for Meson GXL USB3 controller

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:49 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.4: +27 -15 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 12 19:10:14 2018 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Changes since 1.5: +27 -15 lines
Diff to previous 1.5 (colored)

Add support for RK3399

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.3: +26 -8 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 3 16:05:31 2018 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.4: +24 -7 lines
Diff to previous 1.4 (colored)

Add support for Samsung Exynos USB3 DRD.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 3 08:52:36 2018 UTC (5 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix name of snps,dis_u2_susphy_quirk property

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 29 17:48:24 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

 Detect USB 3.1.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:49 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.2: +69 -9 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 21 10:45:25 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.1: +69 -9 lines
Diff to previous 1.1 (colored)

Add support for RK3328

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed May 2 07:20:06 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1.2.1: +219 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Synch with HEAD

Revision 1.1.2.1, Tue May 1 23:59:15 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -219 lines
FILE REMOVED

file dwc3_fdt.c was added on branch pgoyette-compat on 2018-05-02 07:20:06 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue May 1 23:59:15 2018 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: pgoyette-compat

Add DesignWare DWC3 XHCI driver.

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>