The NetBSD Project

CVS log for src/sys/dev/i2c/axppmic.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.37.8.2: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:54 2026 UTC (11 days, 12 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.37.8.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.8.1: +3 -3 lines
Sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Sep 17 13:42:42 2025 UTC (13 months, 4 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
These drivers blindly assume that i2c_attach_args::ia_cookie is an FDT / OF
phandle.  Instead, extract the phandle from self's devhandle, both eliminating
the reference to ia_cookie and providing an assertion that it is, in fact,
an FDT / OF phandle.

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:56:39 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +92 -7 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jan 5 19:24:04 2025 UTC (22 months, 1 week ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -4 lines
Remove WIP

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jan 5 08:45:08 2025 UTC (22 months, 1 week ago) by skrll
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +88 -2 lines
Add support for AXP15060

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jan 5 08:31:24 2025 UTC (22 months, 1 week ago) by skrll
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +4 -3 lines
Wrap a long line.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jan 4 14:35:49 2025 UTC (22 months, 1 week ago) by skrll
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
Trailing whitespace.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Oct 30 11:51:19 2022 UTC (4 years ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-10-base, netbsd-10-2-RELEASE, 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
Branch point for: perseant-exfatfs
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +156 -2 lines
Add GPIO support.

PR# kern/57030

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 9 00:30:09 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf2
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -3 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.36: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:11 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: thorpej-i2c-spi-conf2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
Merge thorpej-cfargs2.

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

Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (5 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +6 -3 lines
Sync w/ HEAD.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:17 2021 UTC (5 years, 5 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -3 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon May 24 05:58:42 2021 UTC (5 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Branch point for: thorpej-cfargs2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -3 lines
Bail out of axpreg_attach if axpreg_get_voltage returns an error.

uvol isn't updated and shouldn't be used.

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sat May 8 16:46:43 2021 UTC (5 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
ia->ia_cookie -> devhandle_to_of(device_handle(self))

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:54 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 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.29.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +10 -10 lines
Sync with HEAD.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:11 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +3 -3 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jan 27 02:29:48 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Use DEVICE_COMPAT_EOL.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jan 25 13:30:20 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -4 lines
Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jan 18 15:28:21 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Change the device_compatible_match() function to only perform the match.
Introduce a device_compatible_lookup() function to return an entry based
on the same matching criteria (a'la of_search_compatible()).

Update iic_compatible_match() to reflect the above change, and introduce
iic_compatible_lookup().  This pattern is less awkward to use.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 17 21:56:20 2021 UTC (5 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +10 -9 lines
Change the device_compatible_entry struct to have a union of
a scalar value (uintptr_t value) and a pointer value (const void *data),
rather than just "uintptr_t data".  This eliminates the need for drivers
to cast this value, and doesn't lose const'ness of pointers assigned
to the field.

Update all of the users of this field to use the correct set of
designated initialisers for each specific case.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:20 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +142 -81 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:07 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +125 -69 lines
Sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 16 20:32:29 2020 UTC (6 years, 9 months ago) by thorpej
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
Branch point for: thorpej-futex
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +125 -69 lines
Don't access the i2c bus in interrupt context.  Instead, mask the
interrupt and process it on a work queue.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Dec 23 14:34:23 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +13 -5 lines
In axppmic_power_poweroff(), check for errors from iic_acquire_bus()
before proceeding with writing to the device.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 23 02:57:32 2019 UTC (6 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +13 -13 lines
No need to do the poll-during-autoconfiguration dance; the i2c code
does the right thing for us.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 3 17:23:11 2019 UTC (7 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +2 -5 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.26: download - view: text, markup, annotated - select for diffs
Tue Oct 1 23:32:52 2019 UTC (7 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -5 lines
Add support for devices with separate "init" and "default" pinctrl states.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jul 27 16:02:27 2019 UTC (7 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -5 lines
No need to check cold to add I2C_F_POLL; the i2c API does it for us now.

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

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 28 20:22:18 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +56 -3 lines
Add more axp809 controls

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 28 10:14:46 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +22 -8 lines
Fix ldo_io[01] enable and disable values for axp809

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 28 09:52:17 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -3 lines
Enable always-on and boot-on regulators at attach time

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon May 27 23:28:41 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +20 -2 lines
Add basic support for AXP809

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon May 27 21:36:07 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -2 lines
Adjust regulator voltage at attach time to be between the min and max values specified in the dts

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon May 27 21:10:44 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +68 -28 lines
Add support for AXP806

Revision 1.9.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:26 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.9.2.5: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.5: +64 -2 lines
Synch with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 2 18:38:03 2019 UTC (7 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -12 lines
Revert part of previous - do not reserve regulators, it's perfectly normal for devices to share one.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 2 17:28:55 2019 UTC (7 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +74 -2 lines
Add support for AXP813 and only allow one consumer per regulator at a time

Revision 1.9.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:31 2018 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.9.2.4: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.4: +52 -3 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 13 19:06:05 2018 UTC (8 years ago) by jakllsch
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +51 -2 lines
Add AXP803 current and maximum battery capacity sensors

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 13 18:27:32 2018 UTC (8 years ago) by jakllsch
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Use semantically-correct "_lo" in AXP_ADC_RAW macro.

Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.3: +11 -13 lines
Sync with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:03:57 2018 UTC (8 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -12 lines
In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication).  So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 26 04:32:35 2018 UTC (8 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Change device_compatible_match() and iic_compatible_match() to return
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +118 -29 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 19 02:08:12 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +16 -23 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jun 16 21:22:13 2018 UTC (8 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -6 lines
More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 26 14:39:20 2018 UTC (8 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +101 -16 lines
Add battery voltage, charge current, and discharge current sensors for
AXP803.

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:05 2018 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +784 -0 lines
Sync with HEAD

Revision 1.9.2.1
Sun May 13 22:58:58 2018 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.9: +0 -784 lines
file axppmic.c was added on branch pgoyette-compat on 2018-05-21 04:36:05 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 13 22:58:58 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-0521
Branch point for: pgoyette-compat
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Battery charge state is invalid until we refresh the first time

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 13 11:13:02 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +98 -48 lines
Use IRQs to update status whenever we can. Reduces the amount of work that
needs to be done whenever sysmon_envsys refreshes sensors.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat May 12 01:31:07 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -18 lines
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 accidentally trigger shutdown. POKLIRQ is triggered if
POK hold time is greater than IRQLEVEL, which is much more reasonable for
this use case.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu May 10 23:57:31 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -5 lines
Fix off by one in axp803 dcdc2/3/4 definitions

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 6 14:25:48 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +31 -9 lines
POKS IRQ register / bit differ between AXP803 and AXP805/806. Handle these
differences.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat May 5 10:56:40 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +17 -10 lines
No need to read battery capacity warning levels each time the sensor is refreshed

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 5 10:25:59 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +42 -3 lines
Add ACIN and VBUS present sensors

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 5 00:39:59 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +173 -21 lines
Add battery sensors.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 4 21:09:55 2018 UTC (8 years, 6 months ago) by jmcneill
Branches: MAIN
Rename axp806pmic to axppmic, and add support for AXP803.

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>