Module Name:src
Committed By: thorpej
Date: Sun Aug 8 01:06:57 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
If OFW_I2C_ALLOW_MISSING_COMPATIBLE_PROPERTY, ensure that clist_size
is not negative for the call to kmem_tmpbuf_all
Module Name:src
Committed By: thorpej
Date: Sun Aug 1 22:42:46 UTC 2021
Modified Files:
src/sys/altq [thorpej-i2c-spi-conf]: altq_cbq.c altq_cbq.h
altq_rmclass.c altq_rmclass.h
src/sys/arch/aarch64/aarch64 [thorpej-i2c-spi-conf]: cpu.c
src/sys/a
Module Name:src
Committed By: thorpej
Date: Thu Jun 17 04:46:37 UTC 2021
Modified Files:
src/sys/arch/aarch64/aarch64 [thorpej-i2c-spi-conf]: aarch32_syscall.c
aarch64_machdep.c db_interface.c netbsd32_machdep.c pmap.c
procfs_machdep.c
src/sy
Module Name:src
Committed By: thorpej
Date: Wed May 19 14:17:08 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: ssdfb_spi.c
Log Message:
If we were attached via FDT, check for a "dc-gpios" property and,
if present, use the specified GPIO pin for 4-wire mod
Module Name:src
Committed By: thorpej
Date: Wed May 19 13:40:57 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp3k.c
Log Message:
If we were directly configured using the platform device tree, consult
the device tree for our reference voltage and make t
Module Name:src
Committed By: thorpej
Date: Wed May 19 13:23:23 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c
Log Message:
Oops, fix 2 paste-o's.
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.4 -r1.2.2.5 src/sys/dev/spi/mcp23s17.c
Module Name:src
Committed By: thorpej
Date: Wed May 19 12:37:47 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c
Log Message:
Use instead of .
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/sys/dev/spi/mcp23s17.c
Plea
Module Name:src
Committed By: thorpej
Date: Wed May 19 12:35:28 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c
Log Message:
The MCP23S17 can multiplex multiple chips on the same chip select.
This driver has traditionally used cf_flags (from the
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:46:26 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: m25p.c mcp23s17.c mcp3k.c
mcp48x1.c oj6sh.c ssdfb_spi.c tmp121.c
Log Message:
match/probe routines should not have side-effects; cal
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:34:11 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: tmp121.c
Log Message:
Use spi_compatible_match().
XXX Should support the other variants of this device.
To generate a diff of this commit:
cv
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:33:33 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp48x1.c
Log Message:
Use spi_compatible_match().
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.54.1 src/sys/dev/spi/mcp48x1.c
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:33:05 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp3k.c
Log Message:
Use spi_compatible_match().
XXX More work to do for proper FDT integration.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:32:27 UTC 2021
Modified Files:
src/sys/dev/spi [thorpej-i2c-spi-conf]: mcp23s17.c
Log Message:
Use spi_compatible_match().
XXX More work to do for proper FDT integration.
To generate a diff of this commit:
cvs rd
Module Name:src
Committed By: thorpej
Date: Wed May 19 03:14:25 UTC 2021
Modified Files:
src/sys/arch/arm/broadcom [thorpej-i2c-spi-conf]: bcm2835_bsc_fdt.c
src/sys/arch/arm/nvidia [thorpej-i2c-spi-conf]: tegra_i2c.c
src/sys/arch/arm/rockchip [thorpej-i2c-sp
Module Name:src
Committed By: thorpej
Date: Wed May 19 02:58:26 UTC 2021
Modified Files:
src/sys/arch/arm/imx [thorpej-i2c-spi-conf]: imxspi.c
src/sys/arch/arm/rockchip [thorpej-i2c-spi-conf]: rk_spi.c
src/sys/arch/arm/sunxi [thorpej-i2c-spi-conf]: sun4i_spi
Module Name:src
Committed By: thorpej
Date: Tue May 18 23:48:16 UTC 2021
Modified Files:
src/sys/dev/fdt [thorpej-i2c-spi-conf]: fdt_spi.c
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_spi_subr.c
src/sys/dev/spi [thorpej-i2c-spi-conf]: spi.c spivar.h
Log Mess
Module Name:src
Committed By: thorpej
Date: Tue May 18 23:30:56 UTC 2021
Modified Files:
src/sys/arch/arm/at91 [thorpej-i2c-spi-conf]: at91spi.c
src/sys/arch/arm/broadcom [thorpej-i2c-spi-conf]: bcm2835_spi.c
src/sys/arch/arm/imx [thorpej-i2c-spi-conf]: imxs
Module Name:src
Committed By: thorpej
Date: Tue May 18 23:26:46 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c
Log Message:
Correct a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.78.2.6 -r1.78.2.7 src/sys/dev/i2c/i2c.c
Please note
Module Name:src
Committed By: thorpej
Date: Tue May 18 01:24:39 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
There is no code of DEC lineage in this file.
To generate a diff of this commit:
cvs rdiff -u -r1.1.6.7 -r1.1.6.8
Module Name:src
Committed By: thorpej
Date: Mon May 17 00:05:56 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c i2cvar.h
Log Message:
Remove "count" from the device enumeration callback arguments.
To generate a diff of this commit:
cvs rdiff -u -r1
Module Name:src
Committed By: thorpej
Date: Sun May 16 23:45:12 UTC 2021
Modified Files:
src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: ofw_patch.c
Log Message:
- i2c_fixup_enumerate_devices(): handle getting a NULL "compatible"
property.
- sparcle_smbus_fixup(): r
Module Name:src
Committed By: thorpej
Date: Sun May 16 22:56:48 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c
Log Message:
Tweak previous to deal better with "device tree node describes empty
DIMM slot" problem.
To generate a diff of this
Module Name:src
Committed By: thorpej
Date: Sun May 16 22:53:57 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c
Log Message:
Go back to probing in the direct config case, and return a high confidence
match value if the SPD probe succeeds. Thi
Module Name:src
Committed By: thorpej
Date: Sun May 16 21:04:59 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c
Log Message:
Check for errors from iic_acquire_bus() in iic_ioctl_exec().
To generate a diff of this commit:
cvs rdiff -u -r1.78.2.4 -r1
Module Name:src
Committed By: thorpej
Date: Sun May 16 21:03:38 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c
Log Message:
- Set D_MCLOSE in the iic_cdevsw so that we get a d_close call for
each close so that the module ref counting works properl
Module Name:src
Committed By: thorpej
Date: Sun May 16 15:40:20 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c
Log Message:
Check for errors from iic_acquire_bus().
To generate a diff of this commit:
cvs rdiff -u -r1.21.4.2 -r1.21.4.3 src/s
Module Name:src
Committed By: thorpej
Date: Sun May 16 15:27:12 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c
Log Message:
The last change had an unfortunate side-effect on empty DIMM slots, so
roll that back. Instead, if we used direct con
Module Name:src
Committed By: thorpej
Date: Sun May 16 05:16:21 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c
Log Message:
SPD stands for "Serial Presence Detect". This implies that
if we're using direct configuration that we should treat
t
Module Name:src
Committed By: thorpej
Date: Sun May 16 04:40:08 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c
Log Message:
Rather than allocating 8KB (!!) of space per i2c bus for a sparsely
populated array of child devices, use a sorted list inste
Module Name:src
Committed By: thorpej
Date: Sat May 15 21:19:46 UTC 2021
Modified Files:
src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: ofw_patch.c
Log Message:
Fix the path to the E450 envctrl DT node. Thanks, he@!
To generate a diff of this commit:
cvs rdiff -u -
Module Name:src
Committed By: thorpej
Date: Sat May 15 03:22:17 UTC 2021
Modified Files:
src/sys/arch/sparc64/dev [thorpej-i2c-spi-conf]: pcf8591_envctrl.c
src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: autoconf.c
ofw_patch.c ofw_patch.h
Log Messa
Module Name:src
Committed By: thorpej
Date: Sat May 15 00:32:41 UTC 2021
Modified Files:
src/sys/kern [thorpej-i2c-spi-conf]: subr_device.c
src/sys/sys [thorpej-i2c-spi-conf]: device.h
Log Message:
Expose devhandle_lookup_device_call(), which can be useful when
"su
Module Name:src
Committed By: thorpej
Date: Fri May 14 22:46:37 UTC 2021
Modified Files:
src/sys/dev/pci [thorpej-i2c-spi-conf]: alipm.c
Log Message:
Pass along our devhandle to the iic bus instance.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.2.1 src/s
Module Name:src
Committed By: thorpej
Date: Fri May 14 06:53:14 UTC 2021
Modified Files:
src/sys/arch/sparc64/dev [thorpej-i2c-spi-conf]: pcfiic_ebus.c
src/sys/dev/ic [thorpej-i2c-spi-conf]: pcf8584.c pcf8584var.h
Log Message:
Update the pcfiic driver for the new i
Module Name:src
Committed By: thorpej
Date: Fri May 14 03:57:52 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c
Log Message:
No need to device_set_handle(); it's done for us by the i2c enumeration
code.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: thorpej
Date: Fri May 14 03:11:49 UTC 2021
Modified Files:
src/sys/arch/sparc64/dev [thorpej-i2c-spi-conf]: jbus-i2c.c
Log Message:
Adapt jbusi2c to the new i2c device enumeration scheme.
To generate a diff of this commit:
cvs rdiff -u -r1.6
Module Name:src
Committed By: thorpej
Date: Fri May 14 03:05:52 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
Do that again, but slightly differently: a "compatible" property is
required by the Device Tree i2c bindings, and is
Module Name:src
Committed By: thorpej
Date: Fri May 14 02:51:43 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
Ooops, no, revert that.
To generate a diff of this commit:
cvs rdiff -u -r1.1.6.5 -r1.1.6.6 src/sys/dev/ofw/ofw_i2
Module Name:src
Committed By: thorpej
Date: Fri May 14 02:48:43 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
Skip nodes without a "compatible" property.
To generate a diff of this commit:
cvs rdiff -u -r1.1.6.4 -r1.1.6.5 sr
Module Name:src
Committed By: thorpej
Date: Fri May 14 01:52:36 UTC 2021
Modified Files:
src/sys/arch/sparc64/include [thorpej-i2c-spi-conf]: types.h
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c
Log Message:
Define __HAVE_OPENFIRMWARE_VARIANT_SUNW for spa
Module Name:src
Committed By: thorpej
Date: Fri May 14 01:08:53 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: ki2c.c smu.c
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c_subr.c i2cmux.c i2cvar.h
Log Message:
Move the bus/channel number for m
Module Name:src
Committed By: thorpej
Date: Fri May 14 00:44:13 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: pmu.c smu.c
src/sys/arch/macppc/include [thorpej-i2c-spi-conf]: types.h
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_s
Module Name:src
Committed By: thorpej
Date: Thu May 13 00:59:27 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: lmu.c
Log Message:
Don't use the OF phandle here.
To generate a diff of this commit:
cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/sys/arch/mac
Module Name:src
Committed By: thorpej
Date: Thu May 13 00:47:33 UTC 2021
Modified Files:
src/sys/arch/aarch64/aarch64 [thorpej-i2c-spi-conf]: db_interface.c
db_machdep.c pmap.c pmapboot.c
src/sys/arch/aarch64/include [thorpej-i2c-spi-conf]: asan.h
Module Name:src
Committed By: thorpej
Date: Sun May 9 23:26:53 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: pcai2cmux.c
Log Message:
Don't include fdtvar.h directly here.
To generate a diff of this commit:
cvs rdiff -u -r1.8.4.1 -r1.8.4.2 src/sys/dev
Module Name:src
Committed By: thorpej
Date: Sun May 9 23:19:10 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmuxvar.h
Log Message:
Revert most of previous -- some consumers of this file still have
ACPI-specific requirements.
To generate a diff of t
Module Name:src
Committed By: thorpej
Date: Sun May 9 22:36:35 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: deq.c lmu.c psoc.c
smusat.c
Log Message:
ia->ia_cookie -> devhandle_to_of(device_handle(self))
To generate a diff of this
Module Name:src
Committed By: thorpej
Date: Sun May 9 22:29:54 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: smusat.c
Log Message:
No need to include smuiicvar.h.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.4.1 src/sys/arch/mac
Module Name:src
Committed By: thorpej
Date: Sun May 9 21:37:04 UTC 2021
Modified Files:
src/sys/arch/macppc/conf [thorpej-i2c-spi-conf]: POWERMAC_G5
POWERMAC_G5_11_2 files.macppc
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: smu.c
Removed Files:
Module Name:src
Committed By: thorpej
Date: Sat May 8 22:39:41 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: pmu.c
Log Message:
Adapt the pmu driver to the new i2c device enumeration mechanism. This
follows the OpenFirmware bindings for the mos
Module Name:src
Committed By: thorpej
Date: Sat May 8 21:58:12 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: ki2c.c ki2cvar.h
Log Message:
Adapt the Keywest i2c controller driver to the new i2c device enumeration
mechanism. We need to provide o
Module Name:src
Committed By: thorpej
Date: Sat May 8 16:56:10 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: adadc.c fcu.c
Log Message:
ia->ia_cookie -> devhandle_to_of(device_handle(self))
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10
Module Name:src
Committed By: thorpej
Date: Sat May 8 16:46:43 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: ac100.c anxedp.c as3722.c
axp20x.c axppmic.c cwfg.c es8316ac.c fan53555.c max77620.c
pca9685.c pcf8563.c rkpmic.c sy8106a
Module Name:src
Committed By: thorpej
Date: Sat May 8 15:51:31 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: cuda.c
src/sys/arch/sandpoint/sandpoint [thorpej-i2c-spi-conf]: autoconf.c
src/sys/dev/acpi [thorpej-i2c-spi-conf]: acpi_
Module Name:src
Committed By: thorpej
Date: Sat May 8 15:44:12 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: ihidev.c ihidev.h
Log Message:
Rather than using the "cookie" from the i2c_attach_args, use the
device handle that's already associated with our
Module Name:src
Committed By: thorpej
Date: Sat May 8 15:10:44 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmux.c i2cmuxvar.h
Log Message:
Use device_enumerate_children() to eliminate all of the ACPI-specific
code and most of the FDT-specific code f
Module Name:src
Committed By: thorpej
Date: Sat May 8 14:23:15 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: files.i2c i2c_subr.c i2cmux.c
i2cvar.h
Log Message:
- Add an optional bus number to i2cbus_attach_args, and a corresponding
option
Module Name:src
Committed By: thorpej
Date: Sat May 8 11:40:02 UTC 2021
Modified Files:
src/sys/arch/macppc/dev [thorpej-i2c-spi-conf]: cuda.c videopll.c
Log Message:
Children of the "cuda" i2c controller don't appear in the OF device tree,
so we need to supply our own "i
Module Name:src
Committed By: thorpej
Date: Sat May 8 11:34:38 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c
Log Message:
iic_print_direct(): In the "not configured" case, parenthetically print
the first element of the compat list, if we got a com
Module Name:src
Committed By: thorpej
Date: Sat May 8 02:44:22 UTC 2021
Modified Files:
src/sys/dev/fdt [thorpej-i2c-spi-conf]: i2cmux_fdt.c
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2cmux.c i2cmuxvar.h
pcai2cmux.c
Log Message:
Update the i2c mux code f
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 23:19:16 UTC 2021
Modified Files:
src/sys/arch/sandpoint/sandpoint [thorpej-i2c-spi-conf]: autoconf.c
Log Message:
Use a private devhandle to implement i2c device enumeration on the
Sandpoint-based NAS devices.
To ge
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 22:20:08 UTC 2021
Modified Files:
src/sys/dev/fdt [thorpej-i2c-spi-conf]: fdt_i2c.c
Log Message:
- Don't call of_enter_i2c_devs() -- it no longer exists.
- Pass along the provided devhandle to the i2c bus instance.
XX
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 22:16:05 UTC 2021
Modified Files:
src/sys/dev/ofw [thorpej-i2c-spi-conf]: ofw_i2c_subr.c openfirm.h
Log Message:
Implement "i2c-enumerate-devices" for OFW / FDT.
To generate a diff of this commit:
cvs rdiff -u -r1.1
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 22:02:59 UTC 2021
Modified Files:
src/sys/arch/arm/broadcom [thorpej-i2c-spi-conf]: bcm2835_bsc_acpi.c
src/sys/arch/x86/pci [thorpej-i2c-spi-conf]: dwiic_pci.c
src/sys/dev/acpi [thorpej-i2c-spi-conf]: dw
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 21:52:28 UTC 2021
Modified Files:
src/sys/arch/arm/broadcom [thorpej-i2c-spi-conf]: bcm2835_bsc_acpi.c
src/sys/arch/x86/pci [thorpej-i2c-spi-conf]: dwiic_pci.c
src/sys/dev/acpi [thorpej-i2c-spi-conf]: dw
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 21:49:56 UTC 2021
Modified Files:
src/sys/dev/acpi [thorpej-i2c-spi-conf]: acpi_i2c.c
Removed Files:
src/sys/dev/acpi [thorpej-i2c-spi-conf]: acpi_i2c.h
Log Message:
Implement "i2c-enumerate-devices" for ACPI.
Module Name:src
Committed By: thorpej
Date: Sun Apr 25 21:45:16 UTC 2021
Modified Files:
src/sys/dev/i2c [thorpej-i2c-spi-conf]: i2c.c i2cvar.h
Log Message:
Stop using a prop_array of child device data to perform direct
configuration of i2c devices. Instead, introduce and
67 matches
Mail list logo