The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Mar 4 08:19:06 2022 UTC (2 years, 10 months ago) by skrll
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-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.45: preferred, colored
Changes since revision 1.45: +4 -2 lines
Add mailbox and power-domain support.

power-domain support is very rudimentary.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jan 22 11:49:17 2022 UTC (2 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -4 lines
Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Nov 7 17:12:15 2021 UTC (3 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
fdtbus: match simple-pm-bus

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Sep 6 14:03:18 2021 UTC (3 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +34 -3 lines
Instead of requiring drivers to be explicit about their device memory
mapping requirements, move this decision into the fdt layer. This
introduces a new MD function, fdtbus_bus_tag_create, which is responsible
for returning per-node bus_space handles.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:10 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +13 -14 lines
Merge thorpej-cfargs2.

Revision 1.41.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 18:24:13 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +13 -14 lines
Adapt to CFARGS().

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:53 2021 UTC (3 years, 8 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.40: preferred, colored
Changes since revision 1.40: +19 -24 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.35.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +25 -6 lines
Sync with HEAD.

Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:21:08 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.40.2.3: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.3: +10 -25 lines
- FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.

Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Sat Apr 3 06:54:29 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.2: +6 -4 lines
config_attach_loc() -> config_attach() with CFARG_LOCATORS argument.

Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 02:00:59 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +8 -4 lines
Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 20 19:33:40 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -3 lines
The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
  tag-value variadic arguments that can be passed to the various
  config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
  for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
  variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
  Noticed several incorrect usages along the way, which will be
  audited in a future commit.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 5 17:20:32 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +15 -4 lines
Assign device handles to devices that attach to the "fdt" interface attribute
in fdtbus_device_register().

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Feb 4 22:14:08 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -2 lines
Add fdtbus_device_register().  Just a placeholder for now.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:21 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 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.37: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:24:10 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Use DEVICE_COMPAT_EOL.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 26 14:55:34 2021 UTC (3 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -6 lines
Replace 2 uses of of_match_compatible().

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Sep 20 11:25:36 2020 UTC (4 years, 3 months ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +35 -38 lines
Adjust fdt_rescan to speed up booting by significantly reducing the number
of times that we call config_match. Now we only call it 11 times per node.
Previously, each scan pass of an unconfigured device triggered 11 calls to
config_match, and adding a new simplebus causes the scan to restart, so
we are avoiding potentially hundreds of calls to config_match per node now.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jun 11 02:39:30 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Update for proplib(3) API changes.

Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:19 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.2: +44 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:04 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +73 -3 lines
Merge changes from current as of 20200406

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:07 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +66 -4 lines
Sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Feb 20 01:35:55 2020 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +64 -2 lines
Add dma-ranges support.

Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 28 09:06:37 2020 UTC (4 years, 11 months ago) by msaitoh
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
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.2: +4 -4 lines
Pull up following revision(s) (requested by martin in ticket #665):
	sys/dev/fdt/fdtbus.c: revision 1.32
First arg of cpu_setmodel needs to be a format string - fix the llvm build.
From maxv.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 28 08:09:19 2020 UTC (4 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
First arg of cpu_setmodel needs to be a format string - fix the llvm build.
From maxv.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:30 2020 UTC (5 years ago) by ad
Branches: ad-namecache
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +11 -3 lines
Sync with head.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 9 17:16:47 2020 UTC (5 years ago) by snj
Branches: netbsd-9
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +11 -3 lines
Pull up following revision(s) (requested by martin in ticket #614):

	sys/arch/aarch64/aarch64/cpu.c: 1.32
	sys/arch/arm/arm32/cpu.c: 1.138
	sys/dev/fdt/fdtbus.c: 1.31

When attaching the first fdtbus, use the root "comptabile" (or failing that:
"model") property to set the cpu model (in userland aka sysctl hw.model).
When attaching the first cpu, do not overwrite a cpu model if it already
had been set.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jan 9 16:23:41 2020 UTC (5 years ago) by martin
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +11 -3 lines
When attaching the first fdtbus, use the root "comptabile" (or failing that:
"model") property to set the cpu model (in userland aka sysctl hw.model).
When attaching the first cpu, do not overwrite a cpu model if it already
had been set.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 3 17:23:11 2019 UTC (5 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +46 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #276):

	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.14
	sys/arch/arm/rockchip/rk3399_iomux.c: revision 1.6
	sys/dev/fdt/fdtvar.h: revision 1.54
	sys/arch/arm/broadcom/bcm2835_gpio.c: revision 1.14
	sys/dev/i2c/axppmic.c: revision 1.26
	sys/arch/arm/nvidia/tegra_pinmux.c: revision 1.4
	sys/arch/arm/rockchip/rk3328_iomux.c: revision 1.3
	sys/dev/fdt/fdt_pinctrl.c: revision 1.10
	sys/arch/arm/amlogic/meson_pinctrl.c: revision 1.6
	sys/dev/fdt/fdtbus.c: revision 1.30
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.27

Add support for devices with separate "init" and "default" pinctrl states.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Oct 1 23:32:52 2019 UTC (5 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +46 -2 lines
Add support for devices with separate "init" and "default" pinctrl states.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:08 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +184 -87 lines
Sync with HEAD

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat May 25 19:21:34 2019 UTC (5 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +30 -15 lines
Restore "not configured" autoconfiguration prints by using config_found_sm_loc on the default pass

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon May 20 11:12:10 2019 UTC (5 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +16 -7 lines
Reduce the number of times we need to call driver match functions. Makes
a noticeable difference in boot time on an ODROID-XU4.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Feb 25 19:28:36 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: isaki-audio2-base, isaki-audio2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Attach syscon to "simple-mfd" devices and fix a bug with fdt_find_with_property

Revision 1.15.4.6: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.15.4.5: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.5: +20 -2 lines
Sync with HEAD

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 19 20:50:48 2019 UTC (5 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +20 -2 lines
Add a helper to search the tree for a node with the specified property

Revision 1.15.4.5: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:25 2019 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.4.4: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.4.4: +24 -16 lines
Synch with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jan 2 14:54:54 2019 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190118
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +24 -16 lines
Do not sort cpu nodes when enumerating so they attach in the order listed
in the devicetree.

Revision 1.15.4.4: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:49 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.4.3: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.4.3: +44 -6 lines
Ssync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 23 19:32:03 2018 UTC (6 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +30 -5 lines
Support rescan and child detachment

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Sep 9 21:14:04 2018 UTC (6 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +16 -3 lines
Add fdt_add_bus_match, which is like fdt_add_bus but allows for the caller to filter child nodes on their own

Revision 1.15.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.4.2: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.4.2: +89 -80 lines
Sync with HEAD

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jun 30 17:28:09 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -54 lines
Store node path in device properties "fdt-path" property:

    # drvctl -p ehci0 fdt-path
    /soc/usb@5101000

While here, remove fdt_scan_bus (no longer required) and some debug printfs.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jun 30 16:22:56 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +60 -48 lines
Allow nodes to attach child devices using the same sorting rules as used
by the simplebus driver.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jun 30 13:44:50 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +39 -2 lines
When attaching child devices, consider the best match for all passes
instead of just the current pass. Fixes an issue where a driver with a
lower match number and early pass number will attach instead of a better
match on a later pass.

Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:49 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.4.1: +3 -3 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jun 20 19:11:01 2018 UTC (6 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
Revert previous.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 20 05:59:17 2018 UTC (6 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
In fdtbus_print(), aprint_normal the path to the device (rather than
aprint_debug).  This info is every bit as useful as, say, PCI device
locations.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 12 00:19:17 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
If we don't have a native driver for a node and it has a simple-mfd
compatible string, treat it the same as a simple-bus.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:57 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -2 lines
Sync with HEAD, resolve some conflicts

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Apr 7 18:05:08 2018 UTC (6 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -2 lines
Allow to remove entries from the fdt, either by handle or
by compatible string. Proposed on tech-kern and port-arm, ok jmcneill@

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:01 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +317 -0 lines
update from HEAD

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:02 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +214 -62 lines
Sync with HEAD

Revision 1.15.2.1
Sun Aug 27 19:13:31 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.15: +0 -317 lines
file fdtbus.c was added on branch tls-maxphys on 2017-12-03 11:37:01 +0000

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Aug 27 19:13:31 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -6 lines
Scan children of the /chosen node to pick up simplefb nodes

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 18 19:13:09 2017 UTC (7 years, 6 months ago) by snj
Branches: netbsd-8
CVS tags: 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, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +25 -6 lines
Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 28 23:45:20 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +25 -6 lines
Attach fdtbus to a /clocks node with no compatible string.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun May 28 00:28:17 2017 UTC (7 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Change first pass from 1 to 0.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue May 2 03:19:18 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +20 -32 lines
Sync with HEAD - tag prg-localcount2-base1

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Apr 29 12:49:05 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -8 lines
Rename fdt_print to fdtbus_print and make it public.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Apr 29 12:38:26 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +8 -20 lines
Move logic for checking "status" property out of fdtbus into a public
fdtbus_status_okay function.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 28 10:37:41 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -8 lines
Print node path in debug log.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:11 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +159 -49 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 26 01:51:52 2017 UTC (7 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base
Branch point for: prg-localcount2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +44 -9 lines
Allow for specifying (optional) pass number locator for devices at fdt.

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:45 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +160 -50 lines
Sync with HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Apr 16 12:24:57 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-localcount-20170426, bouyer-socketcan-base1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +89 -46 lines
Attach devices in order of "phandle" property inserted by DTC.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Apr 15 00:34:29 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +97 -41 lines
Change order in which nodes in the devicetree are processed.

1. Attach all known busses.
2. Attach all "early init" devices (by compatible string).
3. Finally, attach all other devices.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Apr 14 22:55:06 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -3 lines
Remove simplebus driver and allow fdtbus to attach directly to itself.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 13 22:27:07 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -7 lines
Allow devices to attach to nodes without a "compatible" property, but only
print "not configured" messages for nodes with one.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 13 22:12:53 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -3 lines
Print the full DT node path in "not configured" autoconf messages.

Before:  clock at fdt2 not configured
After:   /clocks/clock@0 at fdt2 not configured

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:27 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 7 09:14:52 2017 UTC (7 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Fix non-DIAGNOSTIC build

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:49 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +162 -0 lines
Sync with HEAD (as of 26th Dec)

Revision 1.2.2.1
Wed Dec 16 19:33:16 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -162 lines
file fdtbus.c was added on branch nick-nhusb on 2015-12-27 12:09:49 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Dec 16 19:33:16 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -3 lines
sometimes status is "ok" instead of "okay", allow both

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Dec 13 17:30:40 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
Add a framework for enumerating devices using a Flattened Device Tree (FDT).

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>