CVS log for src/sys/arch/mips/ingenic/apbus.c
Up to [cvs.NetBSD.org] / src / sys / arch / mips / ingenic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:59 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.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Merge thorpej-cfargs2.
Revision 1.20.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 02:44:15 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -3
lines
Adapt to CFARGS().
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:42 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.19: preferred, colored
Changes since revision 1.19: +3 -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.19.26.1: download - view: text, markup, annotated - select for diffs
Tue Mar 23 07:14:49 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +3 -3
lines
Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
Revision 1.19.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:28 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.19.8.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.8.1: +294 -0
lines
update from HEAD
Revision 1.19.8.1
Fri May 19 07:43:31 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.19: +0 -294
lines
file apbus.c was added on branch tls-maxphys on 2017-12-03 11:36:28 +0000
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 19 07:43:31 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
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,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
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,
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,
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: tls-maxphys,
thorpej-cfargs
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4
lines
Trailing whitespace
Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:38 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.4: +3 -2
lines
Sync with HEAD (as of 26th Dec)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Oct 8 17:54:30 2015 UTC (9 years, 4 months ago) by macallan
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,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -2
lines
add a driver for the chip's EFUSE interface, use it to find the MAC address
for the onboard ethernet controller
Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:47 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +15 -4
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Aug 7 17:39:58 2015 UTC (9 years, 6 months ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -2
lines
add driver for jz4780 random number generator
From Michael McConville
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jul 11 19:00:04 2015 UTC (9 years, 7 months ago) by macallan
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -4
lines
- get rid of private bus space in ingenic_com.c
- move com to apbus
- attach the other UARTs
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:01 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +90 -43
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 18 15:07:52 2015 UTC (9 years, 8 months ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +31 -24
lines
pass the appropriate clock register to devices so different instances of the
same driver don't have to guess
also wire the ddc2 part to iic4 for now so we can see the monitor
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 4 12:23:15 2015 UTC (9 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +42 -9
lines
- fix pclk calculation
- report CPU clock
- pass mclk to child devices
- wire up pins for MSC / sdmmc
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Apr 28 15:08:07 2015 UTC (9 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -2
lines
add entries for sdmmc hosts, no driver yet
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Apr 21 19:57:41 2015 UTC (9 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +38 -34
lines
enable clocks as needed
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:59 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +235 -0
lines
Sync with HEAD
Revision 1.11.2.1
Wed Mar 25 11:25:10 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.11: +0 -235
lines
file apbus.c was added on branch nick-nhusb on 2015-04-06 15:17:59 +0000
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 25 11:25:10 2015 UTC (9 years, 10 months ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Branch point for: nick-nhusb
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +46 -4
lines
- determine bus clock, pass it to devices
- more clock enabling / gpio setup
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 19 12:22:00 2015 UTC (9 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -2
lines
spin up SMBus clocks before attaching drivers
TODO: only enable clocks for drivers that actually attach
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Mar 17 09:26:31 2015 UTC (9 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6
lines
always print the child devices' address, print irq if not -1 and a driver
is actually attaching
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Mar 17 07:25:07 2015 UTC (9 years, 11 months ago) by macallan
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +36 -18
lines
- keep a list of devices, addresses and interrupts in apbus.c
- pass irq numbers to devices
- reduce magic numbers in device drivers
- allow multiple instances of device drivers
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 9 13:24:21 2015 UTC (9 years, 11 months ago) by macallan
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2
lines
moar devices
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 27 17:22:15 2014 UTC (10 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2
lines
restrict DMA buffers to the lower 256MB -> now dwc2 DMA works
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 25 05:10:50 2014 UTC (10 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
un-gate yet another clock
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 23 18:48:52 2014 UTC (10 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
appease nick
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 23 16:16:03 2014 UTC (10 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -2
lines
wake up the USB ports before attaching dwctwo
now it finds a root hub
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 23 15:11:05 2014 UTC (10 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +27 -6
lines
use defflag-ed debug options
enable USB clocks before attaching dwctwo
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Dec 6 14:34:56 2014 UTC (10 years, 2 months ago) by macallan
Branches: MAIN
peripheral bus, not really tested
CVSweb <webmaster@jp.NetBSD.org>