CVS log for src/sys/arch/sparc64/sparc64/ofw_patch.h
Up to [cvs.NetBSD.org] / src / sys / arch / sparc64 / sparc64
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.4.16.1: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:30:08 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -10
lines
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Sat May 15 03:22:17 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -10
lines
- Move all of the stuff-missing-from-OFW-device-tree stuff into a
new function sparc64_device_tree_fixup(), and call it from
device_register().
- sparc64_device_tree_fixup() is table-driven, selecting the table
based on the machine_model. It can appy "dtnode" fixups (by matching
the device's OFW path) and "special" fixups, which are especially
useful when a property needs to be added to another device that happens
to not be in the OFW device tree.
- Implement enumeration of missing-from-OFW-device-tree i2c devices
by "sub-classing" the controller's device handle, intercepting the
"i2c-enumerate-devices" device call. We let the "super" first
enumerate any i2c devices that are in the OFW device tree, and then
enumerate our own additions after that is done. i2c additions are
provided by the machine_model fixup tables.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Oct 29 06:47:38 2020 UTC (4 years, 2 months ago) by jdc
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Branch point for: thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Add information about GPIO pin assignments and drive bays in the E250 and
v240. Consolidate common code for v210/v240 and E250.
Modify the GPIO pin names to include a type (currently LED or INDICATOR)
which we can then handle in the driver.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 23 15:18:10 2020 UTC (4 years, 2 months ago) by jdc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1
lines
Move E250 and E450 i2c patches from dev/pcfiic_ebus.c to sparc64/ofw_patch.c.
They are now co-located with the other OFW patch routines.
New i2c devices are created for E250/E450 and v210/v240, so create new
functions to avoid duplicate code.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 17 08:10:31 2020 UTC (4 years, 3 months ago) by jdc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Avoid declaring autoconf_debug twice when building with DEBUG.
Pointed out by palle@ - thanks!
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 16 07:35:16 2020 UTC (4 years, 3 months ago) by jdc
Branches: MAIN
Move OFW patching routines into their own file.
CVSweb <webmaster@jp.NetBSD.org>