CVS commit: src/sys/dev/i2c

2020-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:31:10 UTC 2020 Modified Files: src/sys/dev/i2c: m41t00.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/i2c/m41t00.c Please note that diffs

CVS commit: src/sys/dev/i2c

2020-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:28:02 UTC 2020 Modified Files: src/sys/dev/i2c: m41st84.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/i2c/m41st84.c Please note that

CVS commit: src/sys/dev/i2c

2020-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:24:51 UTC 2020 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/i2c/ds1307.c Please note that diffs

CVS commit: src/sys/dev/i2c

2020-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 2 16:18:37 UTC 2020 Modified Files: src/sys/dev/i2c: i2c_exec.c Log Message: Also force I2C_F_POLL if shutting_down. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/i2c_exec.c Please

CVS commit: src/sys/dev/i2c

2020-01-01 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 1 18:09:44 UTC 2020 Modified Files: src/sys/dev/i2c: anxedp.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/anxedp.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-31 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jan 1 00:38:31 UTC 2020 Modified Files: src/sys/dev/i2c: rkpmic.c Log Message: Add clk provider To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/rkpmic.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2019-12-31 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 31 14:27:50 UTC 2019 Modified Files: src/sys/dev/i2c: nxt2k.c Log Message: Fix mis-placed parentheses. PR kern/54813. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/nxt2k.c Please note

CVS commit: src/sys/dev/i2c

2019-12-31 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Dec 31 14:25:33 UTC 2019 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: Fix mis-placed parentheses. PR kern/54812. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/cx24227.c Please

CVS commit: src/sys/dev/i2c

2019-12-25 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Dec 25 14:08:47 UTC 2019 Modified Files: src/sys/dev/i2c: gttwsi_core.c gttwsivar.h Log Message: Remove assertions that no longer make sense now that the bus acquire / release logic is handled by the upper layer. To

CVS commit: src/sys/dev/i2c

2019-12-24 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Dec 25 01:19:56 UTC 2019 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: Revert previous until issues can be sorted out. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 21:24:59 UTC 2019 Modified Files: src/sys/dev/i2c: tps65217pmic.c Log Message: - No need to use I2C_F_POLL here. - Refactor register read / write functions, splitting out i2c bus acquire / release everywhere. This

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 20:49:09 UTC 2019 Modified Files: src/sys/dev/i2c: tea5767.c Log Message: No need to use I2C_F_POLL here. Also fix an uninitialized error variable in tea5767_read(). To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 20:38:08 UTC 2019 Modified Files: src/sys/dev/i2c: tcakp.c Log Message: - Don't use I2C_F_POLL. - Don't access the i2c from hard interrupt context. Instead, schedule a soft interrupt to do the real work. (No need

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:38:58 UTC 2019 Modified Files: src/sys/dev/i2c: tcagpio.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/tcagpio.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:35:07 UTC 2019 Modified Files: src/sys/dev/i2c: sy8106a.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/sy8106a.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:22:46 UTC 2019 Modified Files: src/sys/dev/i2c: fan53555.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/fan53555.c Please note that

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:20:18 UTC 2019 Modified Files: src/sys/dev/i2c: max77620.c Log Message: Actually, the local mutex is unnecesary; the i2c bus lock is held across all register r/m/w cycles, so we can just piggy back on that. (I

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:12:22 UTC 2019 Modified Files: src/sys/dev/i2c: axp20x.c Log Message: - Don't read/write the device if iic_acquire_bus() fails. - axp20x_poweroff(): report the error code if power off fails. - Don't use polled

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 19:00:59 UTC 2019 Modified Files: src/sys/dev/i2c: nxt2k.c Log Message: - No need to use I2C_F_POLL here. - If iic_acquire_bus() fails, return the error, not false (because false looks like "everything A-OK!" to the

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:57:30 UTC 2019 Modified Files: src/sys/dev/i2c: mt2131.c Log Message: - No need to use I2C_F_POLL here. - Don't write to the device if iic_acquire_bus() fails. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:49:14 UTC 2019 Modified Files: src/sys/dev/i2c: max77620.c Log Message: - No need to use I2C_F_POLL here. - Use a local mutex to protect register read-modify-write cycles. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:27:11 UTC 2019 Modified Files: src/sys/dev/i2c: i2c.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/dev/i2c/i2c.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:12:50 UTC 2019 Modified Files: src/sys/dev/i2c: ddc.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/ddc.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:09:06 UTC 2019 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/cx24227.c Please note that

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 18:03:14 UTC 2019 Modified Files: src/sys/dev/i2c: cx24227.c Log Message: In cx24227_writereg() / cx24227_readreg(), return the error from iic_acquire_bus(), not some bogus return value that can potentially be

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:51:50 UTC 2019 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Oops, missed one more instance of unneeded-I2C_F_POLL. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:48:51 UTC 2019 Modified Files: src/sys/dev/i2c: as3722.c Log Message: In as3722_poweroff and as3722_reboot(), check for errors from iic_acquire_bus() before proceeding with writing to the device. To generate a

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:25:08 UTC 2019 Modified Files: src/sys/dev/i2c: tvpll.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/tvpll.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:07:42 UTC 2019 Modified Files: src/sys/dev/i2c: titemp.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/titemp.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 15:05:32 UTC 2019 Modified Files: src/sys/dev/i2c: tda19988.c Log Message: No need to check 'cold' for I2C_F_POLL; the i2c code does it for us. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:55:22 UTC 2019 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/i2c/spdmem_i2c.c Please note

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:50:44 UTC 2019 Modified Files: src/sys/dev/i2c: mpl115a.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/mpl115a.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:48:58 UTC 2019 Modified Files: src/sys/dev/i2c: mcp980x.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/mcp980x.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:43:03 UTC 2019 Modified Files: src/sys/dev/i2c: lm87.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/i2c/lm87.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:41:41 UTC 2019 Modified Files: src/sys/dev/i2c: lm75.c Log Message: No need to use I2C_F_POLL here. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/dev/i2c/lm75.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:34:23 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: In axppmic_power_poweroff(), check for errors from iic_acquire_bus() before proceeding with writing to the device. To generate a diff of this

CVS commit: src/sys/dev/i2c

2019-12-23 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 14:26:19 UTC 2019 Modified Files: src/sys/dev/i2c: i2c_exec.c Log Message: Disable the not-in-interrupt assertions for now; more work needs to be done in several i2c client drivers. To generate a diff of this

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 02:57:32 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: No need to do the poll-during-autoconfiguration dance; the i2c code does the right thing for us. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 02:50:50 UTC 2019 Modified Files: src/sys/dev/i2c: axp20x.c Log Message: No need to do the poll-during-autoconfiguration dance; the i2c code does the right thing for us. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 02:39:47 UTC 2019 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: seeprom_bootstrap_read(): no need to hard-code I2C_F_POLL here because the i2c code will ensure it's there if the system is cold. To generate

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 02:35:18 UTC 2019 Modified Files: src/sys/dev/i2c: as3722.c Log Message: No need to do the poll-during-autoconfiguration dance; the i2c code does the right thing for us. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 23 02:25:28 UTC 2019 Modified Files: src/sys/dev/i2c: adm1026.c Log Message: No need to do the poll-during-autoconfiguration dance; the i2c code does the right thing for us. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/i2c

2019-12-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Dec 22 16:44:35 UTC 2019 Modified Files: src/sys/dev/i2c: ihidev.c ihidev.h Log Message: The hid-over-i2c spec specifies that compliant devices use level-sensitive interrupts. However, it's not safe to do i2c bus access in

CVS commit: src/sys/dev/i2c

2019-12-11 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 11 21:00:11 UTC 2019 Modified Files: src/sys/dev/i2c: adm1026.c adm1026reg.h Log Message: Chip matching improvements: only match for currently known addresses don't generate messages when matching Tested on Sun Blade

CVS commit: src/sys/dev/i2c

2019-12-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Thu Dec 5 06:28:09 UTC 2019 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Revert previous. Indirect matches are not wanted on platforms that use external configuration data (FDT or OF). To generate a diff of this

CVS commit: src/sys/dev/i2c

2019-03-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Mar 26 09:22:17 UTC 2019 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: provide compatible names for all sizes. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/i2c/at24cxx.c Please note

CVS commit: src/sys/dev/i2c

2019-03-26 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Mar 26 09:20:38 UTC 2019 Modified Files: src/sys/dev/i2c: i2c.c Log Message: touch match_result only on success. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/dev/i2c/i2c.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-03-16 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Mar 17 01:47:57 UTC 2019 Modified Files: src/sys/dev/i2c: ssdfb_i2c.c Log Message: delete unused variable To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/ssdfb_i2c.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2019-03-16 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Mar 17 01:03:47 UTC 2019 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: ssdfb_i2c.c Log Message: add i2c attachment for ssdfb To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99

CVS commit: src/sys/dev/i2c

2019-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 20 18:19:46 UTC 2019 Modified Files: src/sys/dev/i2c: lm75.c Log Message: moar match string To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/dev/i2c/lm75.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2019-02-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Feb 6 08:37:12 UTC 2019 Modified Files: src/sys/dev/i2c: dbcool.c Log Message: Change a aprint_verbose into aprint_debug - the message does not add real value to the dmesg(8) output. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2019-02-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 3 13:56:38 UTC 2019 Modified Files: src/sys/dev/i2c: anxedp.c Log Message: Broadcast PMF display on/off events when our connector is handling dpms so we can turn off the backlight To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2019-02-03 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Feb 3 13:17:12 UTC 2019 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: anxedp.c Log Message: Add basic support for Analogix eDP transmitters. This driver doesn't know how to mode set yet

CVS commit: src/sys/dev/i2c

2019-02-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 3 12:18:21 UTC 2019 Modified Files: src/sys/dev/i2c: si70xx.c Log Message: add missing break. fairly sure this is correct, otherwise modelstr would be overwritten with the next entry in this list.. To generate a diff of

CVS commit: src/sys/dev/i2c

2019-02-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 3 11:58:02 UTC 2019 Modified Files: src/sys/dev/i2c: dbcool.c Log Message: - dbcool_pmf_suspend() set the wrong bit out of the suspended data as it is stored as a bool and thus when bit 2 was wanted, bit 1 was restored.

CVS commit: src/sys/dev/i2c

2019-01-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Jan 27 11:41:52 UTC 2019 Modified Files: src/sys/dev/i2c: ddcreg.h Log Message: Add a definition for the DDC segment address (30h). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ddcreg.h

CVS commit: src/sys/dev/i2c

2019-01-02 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jan 2 18:38:03 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Revert part of previous - do not reserve regulators, it's perfectly normal for devices to share one. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2019-01-02 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Jan 2 17:28:55 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add support for AXP813 and only allow one consumer per regulator at a time To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/dev/i2c

2018-12-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Dec 20 21:36:53 UTC 2018 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: make DSRTC_FLAG_YEAR_START_2K settable by device property To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/dev/i2c

2018-12-14 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Dec 14 22:05:36 UTC 2018 Modified Files: src/sys/dev/i2c: ds1307.c files.i2c Log Message: add options DSRTC_YEAR_START_2K for machines which use 2000 and not 1970 as base to count years from, like Iyonix. While there apply

CVS commit: src/sys/dev/i2c

2018-12-09 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Dec 10 00:31:45 UTC 2018 Modified Files: src/sys/dev/i2c: i2c_exec.c i2cvar.h Log Message: Make i2c_acquire_bus() / i2c_release_bus() real symbols. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/dev/i2c

2018-11-13 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Nov 13 19:06:05 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add AXP803 current and maximum battery capacity sensors To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/dev/i2c

2018-11-13 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Nov 13 18:27:32 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Use semantically-correct "_lo" in AXP_ADC_RAW macro. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/axppmic.c

CVS commit: src/sys/dev/i2c

2018-10-19 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Oct 20 03:23:05 UTC 2018 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: match "i2c-at34c02", found in various sparc64 boxes To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/dev/i2c

2018-10-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Oct 17 16:56:40 UTC 2018 Modified Files: src/sys/dev/i2c: tcakp.c Log Message: lock/unlock I2C bus around transfers as required by API To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/tcakp.c

CVS commit: src/sys/dev/i2c

2018-10-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Oct 1 09:39:20 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c Log Message: Expand code covered by sc->sc_mtx, to make sure an interrupt would not be handled before the cv_timedwait_sig() call, or while polling.

CVS commit: src/sys/dev/i2c

2018-09-26 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Sep 26 20:15:08 UTC 2018 Modified Files: src/sys/dev/i2c: spdmem_i2c.c Log Message: match spdmem_i2c on "atmel,spd" compatible string To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys/dev/i2c

2018-09-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Sep 20 09:02:46 UTC 2018 Modified Files: src/sys/dev/i2c: rkpmic.c Log Message: Add support for RK805 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/rkpmic.c Please note that diffs are not

CVS commit: src/sys/dev/i2c

2018-09-01 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 2 01:16:58 UTC 2018 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: rkpmic.c Log Message: Add driver for Rockchip RK808 Power Management IC. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/i2c

2018-08-29 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 29 11:08:30 UTC 2018 Modified Files: src/sys/dev/i2c: fan53555.c Log Message: Initialize transition slew rate if specified in the DT To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2018-08-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 29 01:57:38 UTC 2018 Modified Files: src/sys/dev/i2c: files.i2c Added Files: src/sys/dev/i2c: fan53555.c Log Message: Add driver for Silergy SY827/SY828 step down regulator. To generate a diff of this commit:

CVS commit: src/sys/dev/i2c

2018-06-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jun 28 21:21:03 UTC 2018 Modified Files: src/sys/dev/i2c: fcu.c Log Message: fix a tpyo so now we get the correct maximum speed for CPU intake fans while there, be a bit more responsive to temperature changes To generate

CVS commit: src/sys/dev/i2c

2018-06-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 26 06:34:55 UTC 2018 Modified Files: src/sys/dev/i2c: at24cxx.c files.i2c i2c.c i2cvar.h Log Message: Remove the i2c "size" locator and corresponding property / attach arg. It was a hack meant only for EEPROMs, which

CVS commit: src/sys/dev/i2c

2018-06-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 26 06:21:23 UTC 2018 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Encode the size information in the compat data. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/dev/i2c/at24cxx.c

CVS commit: src/sys/dev/i2c

2018-06-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jun 22 15:52:00 UTC 2018 Modified Files: src/sys/dev/i2c: i2c.c Log Message: iic_use_direct_match(): when iic_compatible_match() does not find a comptible entry, set match quality to 0. Otherwise callers might use random

CVS commit: src/sys/dev/i2c

2018-06-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jun 22 15:48:57 UTC 2018 Modified Files: src/sys/dev/i2c: dbcool.c Log Message: Add a kernel panic when we matched but can not handle a string - better die explicitly instead of crashing a few lines later with strange NULL

CVS commit: src/sys/dev/i2c

2018-06-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 19 02:08:12 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Use the device_compatible_entry mechanism rather than of_compat_data; all of the OF / FDT data we need is already in the i2c_attach_args. To

CVS commit: src/sys/dev/i2c

2018-06-18 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Mon Jun 18 12:42:29 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c Log Message: Bail early if gttwsi_send_start() fails in gttwsi_initiate_xfer() to avoid unexpected state error message later (on Allwinner H5). To

CVS commit: src/sys/dev/i2c

2018-06-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jun 17 14:50:54 UTC 2018 Modified Files: src/sys/dev/i2c: max77620.c Log Message: Fix compilation error pointed out by nishimura@. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/max77620.c

CVS commit: src/sys/dev/i2c

2018-06-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jun 17 01:08:15 UTC 2018 Modified Files: src/sys/dev/i2c: am2315.c Log Message: Oops, another one. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/am2315.c Please note that diffs are not public

CVS commit: src/sys/dev/i2c

2018-06-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Jun 17 01:07:06 UTC 2018 Modified Files: src/sys/dev/i2c: am2315.c Log Message: Remove now-unused variable. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/am2315.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2018-06-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jun 16 21:24:36 UTC 2018 Modified Files: src/sys/dev/i2c: hytp14.c Log Message: More cleanup to i2c autoconfiguration: - Get all of the drivers onto the new match quality constants. - Introduce a new helper function,

CVS commit: src/sys/dev/i2c

2018-06-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jun 16 21:28:07 UTC 2018 Modified Files: src/sys/dev/i2c: ds1307.c Log Message: More cleanup to i2c autoconfiguration: - Get all of the drivers onto the new match quality constants. - Introduce a new helper function,

CVS commit: src/sys/dev/i2c

2018-06-12 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jun 12 13:18:48 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c Log Message: When initiating a transfer, if a device isn't present, we won't get an ACK after sending the address. Check for this alternate state and

CVS commit: src/sys/dev/i2c

2018-06-07 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jun 7 13:30:49 UTC 2018 Modified Files: src/sys/dev/i2c: i2c.c i2cvar.h Log Message: Changes / enhancements to i2c indirect device auto-configuration: — iic_search() chooses a “probe strategy” based on the

CVS commit: src/sys/dev/i2c

2018-06-06 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jun 7 05:56:18 UTC 2018 Modified Files: src/sys/dev/i2c: i2c.c i2cvar.h Log Message: Back out unintended commits. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/i2c/i2c.c cvs rdiff -u -r1.11

CVS commit: src/sys/dev/i2c

2018-06-06 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jun 7 05:54:24 UTC 2018 Modified Files: src/sys/dev/i2c: i2c.c i2cvar.h tsl256x.c Log Message: Adjust come defaults: - Initial gain -> 16x - auto_gain -> true To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/dev/i2c

2018-05-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun May 27 14:03:56 UTC 2018 Modified Files: src/sys/dev/i2c: tsl256x.c Log Message: Update the compat strings to match what Linux uses, per jmcneill@. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2018-05-26 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 26 14:39:20 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add battery voltage, charge current, and discharge current sensors for AXP803. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/dev/i2c

2018-05-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 15 02:02:18 UTC 2018 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Fix a problem reported by jmcneill@ where by a system with multuple i2c busses would end up with "ghost" device instances on the second bus. This

CVS commit: src/sys/dev/i2c

2018-05-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 13 22:58:58 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Battery charge state is invalid until we refresh the first time To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/i2c

2018-05-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 13 11:13:02 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Use IRQs to update status whenever we can. Reduces the amount of work that needs to be done whenever sysmon_envsys refreshes sensors. To

CVS commit: src/sys/dev/i2c

2018-05-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 12 01:31:08 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Trigger shutdown on POKLIRQ instead of POKSIRQ. POKSIRQ is triggered if POK remains low for less than IRQLEVEL. This makes it way too easy to

CVS commit: src/sys/dev/i2c

2018-05-10 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu May 10 23:57:31 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Fix off by one in axp803 dcdc2/3/4 definitions To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/axppmic.c Please

CVS commit: src/sys/dev/i2c

2018-05-08 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed May 9 02:46:22 UTC 2018 Modified Files: src/sys/dev/i2c: ibmhawk.c Log Message: The probe this driver uses is potentially destructive; at the very least, filter on the I2C address the device is expected at before we unleash

CVS commit: src/sys/dev/i2c

2018-05-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 7 15:03:19 UTC 2018 Modified Files: src/sys/dev/i2c: gttwsi_core.c gttwsivar.h Log Message: Don't sleep with IPL_VM lock held. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/gttwsi_core.c

CVS commit: src/sys/dev/i2c

2018-05-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun May 6 14:25:48 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: POKS IRQ register / bit differ between AXP803 and AXP805/806. Handle these differences. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/i2c

2018-05-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 5 10:56:40 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: No need to read battery capacity warning levels each time the sensor is refreshed To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/sys/dev/i2c

2018-05-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 5 10:25:59 UTC 2018 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add ACIN and VBUS present sensors To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/axppmic.c Please note that

CVS commit: src/sys/dev/i2c

2018-05-04 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 5 02:01:34 UTC 2018 Modified Files: src/sys/dev/i2c: files.i2c Log Message: axppmic depends on sysmon_envsys To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/sys/dev/i2c/files.i2c Please note that

<    1   2   3   4   5   >