CVS commit: src/sys/dev/i2c

2025-01-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jan 27 17:01:53 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: sys/dev/i2c/i2c.c: KNF No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/dev/i2c/i2c.c Plea

CVS commit: src/sys/dev/i2c

2025-01-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jan 27 17:01:53 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: sys/dev/i2c/i2c.c: KNF No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/dev/i2c/i2c.c Plea

CVS commit: src/sys/dev/i2c

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:05:51 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Fix a likely bug in iic_ioctl. The error variable was being over written by the copyout call. The effect here is that the I2C transaction could have

CVS commit: src/sys/dev/i2c

2025-01-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Jan 23 19:05:51 UTC 2025 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Fix a likely bug in iic_ioctl. The error variable was being over written by the copyout call. The effect here is that the I2C transaction could have

CVS commit: src/sys/dev/i2c

2025-01-08 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Jan 8 08:33:34 UTC 2025 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: s/peridoic/periodic/ in sysctl description and one more typo fix in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/

CVS commit: src/sys/dev/i2c

2025-01-08 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Jan 8 08:33:34 UTC 2025 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: s/peridoic/periodic/ in sysctl description and one more typo fix in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 19:24:04 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Remove WIP To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/dev/i2c/axppmic.c Please note that diffs are not public domain

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 19:24:04 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Remove WIP To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/dev/i2c/axppmic.c Please note that diffs are not public domain

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 08:45:08 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add support for AXP15060 To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/axppmic.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 08:45:08 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add support for AXP15060 To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/axppmic.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 08:31:24 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Wrap a long line. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/i2c/axppmic.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2025-01-05 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 5 08:31:24 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Wrap a long line. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/i2c/axppmic.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2025-01-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 4 14:35:49 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/i2c/axppmic.c Please note that diffs are not pub

CVS commit: src/sys/dev/i2c

2025-01-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 4 14:35:49 UTC 2025 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/i2c/axppmic.c Please note that diffs are not pub

CVS commit: src/sys/dev/i2c

2025-01-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jan 2 18:40:54 UTC 2025 Modified Files: src/sys/dev/i2c: lm75.c Log Message: KNF (whitespace) To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/i2c/lm75.c Please note that diffs are not public domain

CVS commit: src/sys/dev/i2c

2025-01-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jan 2 18:40:54 UTC 2025 Modified Files: src/sys/dev/i2c: lm75.c Log Message: KNF (whitespace) To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/i2c/lm75.c Please note that diffs are not public domain

CVS commit: src/sys/dev/i2c

2025-01-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jan 2 18:40:09 UTC 2025 Modified Files: src/sys/dev/i2c: lm75.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/i2c/lm75.c Please note that diffs are not public do

CVS commit: src/sys/dev/i2c

2025-01-02 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jan 2 18:40:09 UTC 2025 Modified Files: src/sys/dev/i2c: lm75.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/i2c/lm75.c Please note that diffs are not public do

CVS commit: src/sys/dev/i2c

2024-12-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Dec 13 12:03:35 UTC 2024 Modified Files: src/sys/dev/i2c: files.i2c Log Message: remove gpio dependency on ihidev To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/dev/i2c/files.i2c Please note that

CVS commit: src/sys/dev/i2c

2024-12-09 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 22:06:32 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev: Only reset the HID device once during attach. >From OpenBSD: https://github.com/openbsd/src/commit/e773e7e3935196eea663821602d3f77d

CVS commit: src/sys/dev/i2c

2024-12-09 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 22:06:32 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev: Only reset the HID device once during attach. >From OpenBSD: https://github.com/openbsd/src/commit/e773e7e3935196eea663821602d3f77d

CVS commit: src/sys/dev/i2c

2024-12-09 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 22:05:17 UTC 2024 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: ikbd.c Log Message: Import ikbd(4) from OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src

CVS commit: src/sys/dev/i2c

2024-12-09 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 22:05:17 UTC 2024 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: ikbd.c Log Message: Import ikbd(4) from OpenBSD. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src

CVS commit: src/sys/dev/i2c

2024-12-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 01:17:30 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: fixup! remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/i2c/ihidev.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2024-12-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Dec 9 01:17:30 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: fixup! remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/i2c/ihidev.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2024-12-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 8 20:49:56 UTC 2024 Modified Files: src/sys/dev/i2c: files.i2c ihidev.c ihidev.h Log Message: ihidev: Add support for GPIO interrupts. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/dev/i2c/fi

CVS commit: src/sys/dev/i2c

2024-12-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 8 20:49:56 UTC 2024 Modified Files: src/sys/dev/i2c: files.i2c ihidev.c ihidev.h Log Message: ihidev: Add support for GPIO interrupts. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/dev/i2c/fi

CVS commit: src/sys/dev/i2c

2024-11-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 7 20:06:22 UTC 2024 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: The SHT3X_READ_SERIAL_NUMBER command on the SHT3x sensors is undocumented, but used in a lot of other drivers. When I wrote the driver it didn't see

CVS commit: src/sys/dev/i2c

2024-11-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 7 20:06:22 UTC 2024 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: The SHT3X_READ_SERIAL_NUMBER command on the SHT3x sensors is undocumented, but used in a lot of other drivers. When I wrote the driver it didn't see

CVS commit: src/sys/dev/i2c

2024-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 6 19:42:25 UTC 2024 Modified Files: src/sys/dev/i2c: ds2482owvar.h Log Message: dev/i2c/ds4284owvar.h: Add missing includes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ds2482owvar.h

CVS commit: src/sys/dev/i2c

2024-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 6 19:42:25 UTC 2024 Modified Files: src/sys/dev/i2c: ds2482owvar.h Log Message: dev/i2c/ds4284owvar.h: Add missing includes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ds2482owvar.h

CVS commit: src/sys/dev/i2c

2024-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 6 15:49:36 UTC 2024 Modified Files: src/sys/dev/i2c: ds2482ow.c ds2482owvar.h Log Message: ds2482ow(4): KNF No functional change intended. Non-whitespace changes: 1. Sort includes. 2. Say `if (sc->sc_is_800)', not

CVS commit: src/sys/dev/i2c

2024-11-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 6 15:49:36 UTC 2024 Modified Files: src/sys/dev/i2c: ds2482ow.c ds2482owvar.h Log Message: ds2482ow(4): KNF No functional change intended. Non-whitespace changes: 1. Sort includes. 2. Say `if (sc->sc_is_800)', not

CVS commit: src/sys/dev/i2c

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:02:04 UTC 2024 Modified Files: src/sys/dev/i2c: dbcool.c sgsmix.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r

CVS commit: src/sys/dev/i2c

2024-05-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat May 18 00:02:04 UTC 2024 Modified Files: src/sys/dev/i2c: dbcool.c sgsmix.c Log Message: Remove unnecessary include of . To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/i2c/dbcool.c cvs rdiff -u -r

CVS commit: src/sys/dev/i2c

2024-04-29 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Apr 29 21:25:34 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): make driver compile with ACPI option disabled. This change unlikely useful in practice, but adds consistency to already available guar

CVS commit: src/sys/dev/i2c

2024-04-29 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Apr 29 21:25:34 UTC 2024 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): make driver compile with ACPI option disabled. This change unlikely useful in practice, but adds consistency to already available guar

CVS commit: src/sys/dev/i2c

2024-02-11 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Feb 11 09:20:08 UTC 2024 Modified Files: src/sys/dev/i2c: w83795g.c Log Message: s/Nuvaton/Nuvoton/ in log message. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/w83795g.c Please note that diff

CVS commit: src/sys/dev/i2c

2024-02-11 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Feb 11 09:20:08 UTC 2024 Modified Files: src/sys/dev/i2c: w83795g.c Log Message: s/Nuvaton/Nuvoton/ in log message. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/w83795g.c Please note that diff

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/

CVS commit: src/sys/dev/i2c

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 13:27:24 UTC 2023 Modified Files: src/sys/dev/i2c: es8316ac.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/

CVS commit: src/sys/dev/i2c

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 19:36:46 UTC 2023 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Use iic_use_direct_match as intended. This appears to have been a mistake; there's no obvious explanation in the commit history for

CVS commit: src/sys/dev/i2c

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 19:36:46 UTC 2023 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Use iic_use_direct_match as intended. This appears to have been a mistake; there's no obvious explanation in the commit history for

CVS commit: src/sys/dev/i2c

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:10:02 UTC 2023 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/ims.c Please note that diffs ar

CVS commit: src/sys/dev/i2c

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:10:02 UTC 2023 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/ims.c Please note that diffs ar

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jan 24 07:09:48 UTC 2023 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: Don't panic with invalid user data, just return an error. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/ds1307.

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jan 24 07:09:48 UTC 2023 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: Don't panic with invalid user data, just return an error. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/i2c/ds1307.

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 23 22:20:59 UTC 2023 Modified Files: src/sys/dev/i2c: m41st84reg.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/m41st84reg.h Please note that diffs are

CVS commit: src/sys/dev/i2c

2023-01-23 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 23 22:20:59 UTC 2023 Modified Files: src/sys/dev/i2c: m41st84reg.h Log Message: fix typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/m41st84reg.h Please note that diffs are

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please note

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please note

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note t

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note t

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/

Re: CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Taylor R Campbell writes: [snip] > The issue here isn't the duration of the delay -- just the mechanism. > Sleeping for 35ms with kpause(9) is fine, but busy-waiting on the CPU > for 35ms with delay(9) is not (unless HZ is set to something absurdly > low like 10 instead of the usual 100, but I d

Re: CVS commit: src/sys/dev/i2c

2022-11-24 Thread Taylor R Campbell
> Date: Wed, 23 Nov 2022 01:42:13 -0500 > From: Brad Spencer > > Simon Burge writes: > > > + delay(35000); > > > > This will spin for 35 milliseconds (per sensor read if I read this > > correctly). Can you please look at using kpause(9) for this delay? > > See some other i2c drivers for

Re: CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Simon Burge writes: > Hi Brad, > >> Module Name: src >> Committed By:brad >> Date:Tue Nov 22 19:40:31 UTC 2022 >> >> Modified Files: >> >> src/sys/dev/i2c: bmx280.c >> >> Log Message: >> >> Read the datasheet more closely and put in some delays. The chip will >> just

Re: CVS commit: src/sys/dev/i2c

2022-11-22 Thread Simon Burge
Hi Brad, > Module Name: src > Committed By: brad > Date: Tue Nov 22 19:40:31 UTC 2022 > > Modified Files: > > src/sys/dev/i2c: bmx280.c > > Log Message: > > Read the datasheet more closely and put in some delays. The chip will > just return junk if the wait is not long enough to al

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to sta

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to sta

CVS commit: src/sys/dev/i2c

2022-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 30 11:51:20 UTC 2022 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add GPIO support. PR# kern/57030 To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/i2c/axppmic.c Please note that d

CVS commit: src/sys/dev/i2c

2022-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 30 11:51:20 UTC 2022 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add GPIO support. PR# kern/57030 To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/i2c/axppmic.c Please note that d

CVS commit: src/sys/dev/i2c

2022-10-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 24 10:17:40 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: iic(4): Use config_detach_children to simplify. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-10-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 24 10:17:40 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: iic(4): Use config_detach_children to simplify. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-07-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 23 03:05:27 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: If there is a compat string list, parenthetically print the first one in iic_print_direct(). (From thorpej-i2c-spi-conf2 branch.) To generate a d

CVS commit: src/sys/dev/i2c

2022-07-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jul 23 03:05:27 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: If there is a compat string list, parenthetically print the first one in iic_print_direct(). (From thorpej-i2c-spi-conf2 branch.) To generate a d

CVS commit: src/sys/dev/i2c

2022-07-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jul 20 22:58:35 UTC 2022 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: Improve error reporting. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/pcai2cmux.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2022-07-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jul 20 22:58:35 UTC 2022 Modified Files: src/sys/dev/i2c: pcai2cmux.c Log Message: Improve error reporting. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/pcai2cmux.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2022-07-02 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jul 2 16:28:39 UTC 2022 Modified Files: src/sys/dev/i2c: lm87.c Log Message: s/tempurature/temperature/ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/lm87.c Please note that diffs are not pu

CVS commit: src/sys/dev/i2c

2022-07-02 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Jul 2 16:28:39 UTC 2022 Modified Files: src/sys/dev/i2c: lm87.c Log Message: s/tempurature/temperature/ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/i2c/lm87.c Please note that diffs are not pu

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please no

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:34:15 UTC 2022 Modified Files: src/sys/dev/i2c: i2c_io.h Log Message: Bump max transaction size from 32 Bytes to 4kB. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/i2c_io.h Please no

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-06-29 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jun 29 15:33:45 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Allocate data buffer instead of using the stack. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/i2c/i2c.c Please note

CVS commit: src/sys/dev/i2c

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Mar 30 00:06:51 UTC 2022 Modified Files: src/sys/dev/i2c: am2315.c dbcool.c hytp14.c scmdi2c.c sgp40.c sht3x.c sht4x.c si70xx.c spdmem_i2c.c Log Message: These modules need to depend on iic, not just on i2cexec.

CVS commit: src/sys/dev/i2c

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Mar 30 00:06:51 UTC 2022 Modified Files: src/sys/dev/i2c: am2315.c dbcool.c hytp14.c scmdi2c.c sgp40.c sht3x.c sht4x.c si70xx.c spdmem_i2c.c Log Message: These modules need to depend on iic, not just on i2cexec.

CVS commit: src/sys/dev/i2c

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:34:31 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Minimal hack to pass child devices a devhandle created from the OF or ACPI "cookie". Temporary measure until the i2c autoconfiguration overhaul is

CVS commit: src/sys/dev/i2c

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:34:31 UTC 2022 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Minimal hack to pass child devices a devhandle created from the OF or ACPI "cookie". Temporary measure until the i2c autoconfiguration overhaul is

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 15 06:22:30 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/ihidev.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Jan 15 06:22:30 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/i2c/ihidev.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:59 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Prohibit closing an unopened ihidev. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/ihidev.c Pleas

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:59 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Prohibit closing an unopened ihidev. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/ihidev.c Pleas

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:50 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Avoid reference count overflow. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/ihidev.c Please not

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:50 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Avoid reference count overflow. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/ihidev.c Please not

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:42 UTC 2022 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Sprinkle KERNEL_LOCKED_P assertions. Access to the softc and hidms state is currently kernel-locked. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:42 UTC 2022 Modified Files: src/sys/dev/i2c: ims.c Log Message: ims(4): Sprinkle KERNEL_LOCKED_P assertions. Access to the softc and hidms state is currently kernel-locked. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:23 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Take the lock for ihidev_open, ihidev_close. Need this to serialize access to sc_state, sc_refcnt. XXX Should harmonize this with

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:28:23 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Take the lock for ihidev_open, ihidev_close. Need this to serialize access to sc_state, sc_refcnt. XXX Should harmonize this with

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:45 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Check kmem_alloc(..., KM_NOSLEEP) for failure. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/ihide

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:45 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Check kmem_alloc(..., KM_NOSLEEP) for failure. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/i2c/ihide

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:35 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Allocate report buffer with KM_SLEEP. Limited to 64k and only happens on attach anyway. Let's not leave a rake to trip on here.

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:26:35 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c Log Message: ihidev(4): Allocate report buffer with KM_SLEEP. Limited to 64k and only happens on attach anyway. Let's not leave a rake to trip on here.

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:25:49 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: ihidev(4): Fix locking and interrupt handler. - Can't run iic_exec in softint because it does cv_wait, at least on some i2c control

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 22:25:49 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: ihidev(4): Fix locking and interrupt handler. - Can't run iic_exec in softint because it does cv_wait, at least on some i2c control

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:32:27 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.h Log Message: ihidev(4): Add missing includes and header guard. Mark the sections that are conventionally separate files for hardware interface (*reg.h) ver

CVS commit: src/sys/dev/i2c

2022-01-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jan 14 21:32:27 UTC 2022 Modified Files: src/sys/dev/i2c: ihidev.h Log Message: ihidev(4): Add missing includes and header guard. Mark the sections that are conventionally separate files for hardware interface (*reg.h) ver

CVS commit: src/sys/dev/i2c

2021-12-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 19 12:44:35 UTC 2021 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: drm: Fix tda19988 drm build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tda19988.c Please note that diffs

CVS commit: src/sys/dev/i2c

2021-12-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 19 12:44:35 UTC 2021 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: drm: Fix tda19988 drm build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tda19988.c Please note that diffs

CVS commit: src/sys/dev/i2c

2021-12-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Dec 6 16:24:57 UTC 2021 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: Check the return value correctly. Pointed out by pgoyette@. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/s

  1   2   3   >