Up to [cvs.NetBSD.org] / src / sys / arch / arm / fdt
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 12 21:59:05 2021 UTC (14 months, 3 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.11: +23 -2
lines
Diff to previous 1.11 (colored)
gtmr: Add support for arm,cpu-registers-not-fw-configured property. On armv7, arm,cpu-registers-not-fw-configured means that firmware hasn't bothered to configure any generic timer registers and we need to initialize cntfrq ourselves.
Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:43 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Merge thorpej-cfargs2.
Revision 1.10.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 16:51:27 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Adapt to CFARGS().
Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:26 2021 UTC (21 months, 2 weeks 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.9: +3 -3
lines
Diff to previous 1.9 (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.7.18.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:17 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.7: +11 -10
lines
Diff to previous 1.7 (colored) next main 1.8 (colored)
Sync with HEAD.
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:08:55 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored) next main 1.10 (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.9 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:19 2021 UTC (2 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.8: +9 -8
lines
Diff to previous 1.8 (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 / (download) - annotate - [select for diffs], Fri Jan 15 18:42:40 2021 UTC (2 years ago) by ryo
Branch: MAIN
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
use fdtbus_intr_establish_xname
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:52 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.7.2.1: +107 -0
lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
update from HEAD
Revision 1.7.2.1, Thu Nov 30 14:51:01 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.7: +0 -107
lines
FILE REMOVED
file gtmr_fdt.c was added on branch tls-maxphys on 2017-12-03 11:35:52 +0000
Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 30 14:51:01 2017 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
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,
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,
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-futex
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
typo
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 30 14:50:34 2017 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.5: +22 -3
lines
Diff to previous 1.5 (colored)
When attaching gtmr at fdt use fdtbus_intr_establish to establish the gtmr interrupt.
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:30 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.1: +88 -0
lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Sync with HEAD
Revision 1.5.2.1, Thu Aug 24 13:06:23 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +0 -88
lines
FILE REMOVED
file gtmr_fdt.c was added on branch nick-nhusb on 2017-08-28 17:51:30 +0000
Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 24 13:06:23 2017 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Branch point for: nick-nhusb
Changes since 1.4: +3 -2
lines
Diff to previous 1.4 (colored)
Add __HAVE_GENERIC_CPU_INITCLOCKS option. If set, don't export cpu_initclocks from device drivers as common code (in this case FDT) will provide its own copy.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 20 01:52:17 2017 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +3 -2
lines
Diff to previous 1.3 (colored)
Match arm,armv8-timer compat string
Revision 1.3 / (download) - annotate - [select for diffs], Tue May 30 22:00:25 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
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
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Use an FDT-based ARM_INTR_IMPL for Tegra.
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 30 21:12:41 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +14 -2
lines
Diff to previous 1.1 (colored)
Allow ARM FDT drivers to register per-cpu init callbacks. Run through this callback list when a CPU hatches instead of calling gtmr_init_cpu_clock directly.
Revision 1.1 / (download) - annotate - [select for diffs], Sun May 28 00:40:20 2017 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Enumerate CPUs, GIC, and generic timer using FDT data instead of relying on hard-coded tables in mainbus.