The NetBSD Project

CVS log for src/sys/arch/arm/fdt/a9ptmr_fdt.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 5 17:30:06 2022 UTC (2 years ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +18 -2 lines
Handle speed change events

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 1 11:05:18 2022 UTC (2 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -10 lines
On a system with both global and private timers, we cannot drive hardclock
from both or else time will move too fast.

Check MPIDR and install the global timer interrupt handler on uniprocessor
configs, and the private timer interrupt handler on MPCore configs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:43 2021 UTC (3 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.4.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 16:51:27 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3 lines
Adapt to CFARGS().

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:26 2021 UTC (3 years, 7 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.3: preferred, colored
Changes since revision 1.3: +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.1.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +11 -10 lines
Sync with HEAD.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:08:55 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -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.3: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:19 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -8 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.2: download - view: text, markup, annotated - select for diffs
Fri Jan 15 18:42:40 2021 UTC (3 years, 10 months ago) by ryo
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
use fdtbus_intr_establish_xname

Revision 1.1.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:34 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.10.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.10.1: +141 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 15 09:49:49 2019 UTC (5 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: 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
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +141 -0 lines
Pull up following revision(s) (requested by skrll in ticket #55):

	sys/arch/arm/cortex/a9wdt.c: revision 1.10
	sys/arch/evbarm/conf/HUMMINGBOARD: revision 1.9
	sys/arch/evbarm/conf/GENERIC: revision 1.50
	sys/arch/evbarm/conf/NITROGEN6X: revision 1.24
	sys/arch/arm/cortex/a9tmr_var.h: revision 1.7
	sys/arch/arm/fdt/files.fdt: revision 1.29
	sys/arch/arm/amlogic/meson_platform.c: revision 1.12
	sys/arch/arm/amlogic/meson8b_pinctrl.c: revision 1.2
	sys/arch/arm/amlogic/meson_platform.c: revision 1.13
	sys/arch/evbarm/conf/BCM5301X: revision 1.34
	sys/arch/arm/dts/meson8b.dtsi: revision 1.6
	sys/arch/arm/fdt/a9ptmr_fdt.c: revision 1.1
	sys/arch/arm/dts/meson8b.dtsi: revision 1.7
	sys/arch/arm/cortex/a9ptmr_var.h: revision 1.1
	sys/arch/evbarm/conf/PANDABOARD: revision 1.30
	sys/arch/evbarm/conf/DUOVERO: revision 1.14
	sys/arch/arm/cortex/a9ptmr.c: revision 1.1
	sys/arch/arm/cortex/a9ptmr.c: revision 1.2
	sys/arch/arm/fdt/a9wdt_fdt.c: revision 1.1
	sys/arch/evbarm/conf/BCM56340: revision 1.19
	sys/arch/evbarm/conf/CUBOX-I: revision 1.23
	sys/arch/arm/amlogic/meson8b_clkc.c: revision 1.4
	sys/arch/evbarm/conf/PARALLELLA: revision 1.7
	sys/arch/arm/cortex/files.cortex: revision 1.12
	sys/arch/arm/dts/meson8b-odroidc1.dts: revision 1.4
	sys/arch/arm/cortex/a9wdt.c: revision 1.9
	sys/arch/evbarm/conf/ZEDBOARD: revision 1.6

spaces to tab

 -

Add a driver for the A5/A9 Private timer.
While here FDTise the Watchdog driver.

 -

Update for recent a9wdt changes
 -

Trailing whitespace

 -
Updates to get Odroid-C1 in better shape since the last DTS import

 -

Various fixes / changes
- don't use prescaler
- improve AB_DEBUG output
- fix a9ptmr_delay to work with a decrementing counter!
Thanks to jmcneill@ for proving I'm an idiot

 -

Add eth_rxd3 and eth_rxd2 pinctrl groups

 -

Catch up to recent mainline dts changes

Revision 1.1.10.1
Sat Aug 10 17:03:59 2019 UTC (5 years, 3 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.1: +0 -141 lines
file a9ptmr_fdt.c was added on branch phil-wifi on 2020-04-13 08:03:34 +0000

Revision 1.1.2.1
Sat Aug 10 17:03:59 2019 UTC (5 years, 3 months ago) by martin
Branches: netbsd-9
FILE REMOVED
Changes since revision 1.1: +0 -141 lines
file a9ptmr_fdt.c was added on branch netbsd-9 on 2019-08-15 09:49:49 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 10 17:03:59 2019 UTC (5 years, 3 months ago) by skrll
Branches: 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, phil-wifi, netbsd-9
Add a driver for the A5/A9 Private timer.

While here FDTise the Watchdog driver.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>