The NetBSD Project

CVS log for src/sys/arch/arm/sunxi/sunxi_thermal.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / sunxi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14.4.1 / (download) - annotate - [select for diffs], Thu May 4 18:56:36 2023 UTC (10 months ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.14: +12 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #156):

	sys/arch/arm/sunxi/sunxi_thermal.c: revision 1.15
	sys/arch/arm/sunxi/sunxi_thermal.c: revision 1.16

apparently the 'ahb' and 'ths' clocks were renamed to 'bus' and 'mod' in the

fdt at some point, so look for those as well
with this my pinebook's sensors work again

Cleanup previous: Try new bindings first, document old with DTCOMPAT, KNF

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 2 23:08:58 2023 UTC (10 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.15: +12 -6 lines
Diff to previous 1.15 (colored)

Cleanup previous: Try new bindings first, document old with DTCOMPAT, KNF

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 2 10:18:54 2023 UTC (10 months ago) by macallan
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

apparently the 'ahb' and 'ths' clocks were renamed to 'bus' and 'mod' in the
fdt at some point, so look for those as well
with this my pinebook's sensors work again

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 7 17:11:58 2021 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.13: +10 -2 lines
Diff to previous 1.13 (colored)

dts: adapt to dts-5.15 bindings

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:19 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 27 03:10:20 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 27 02:09:39 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 25 14:20:39 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 18 02:35:49 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.9: +11 -10 lines
Diff to previous 1.9 (colored)

Remove "struct of_compat_data" and replace its usage with
"struct device_compatible_entry"; they are ABI-compatible.

Fix several "loses const qualifier" bugs encountered during
this conversion.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 15 22:47:32 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

use fdtbus_intr_establish_xname

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:31 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.5.4.1: +3 -3 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Merge changes from current as of 20200406

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 1 22:57:16 2020 UTC (4 years, 2 months ago) by thorpej
Branch: 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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

- Introduce a new global kernel variable "shutting_down" to indicate that
  the system is shutting down or rebooting.
- Set this global in a new function called kern_reboot(), which is currently
  just a basic wrapper around cpu_reboot().
- Call kern_reboot() instead of cpu_reboot() almost everywhere; a few
  places remain where it's still called directly, but those are in early
  pre-main() machdep locations.

Eventually, all of the various cpu_reboot() functions should be re-factored
and common functionality moved to kern_reboot(), but that's for another day.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:57 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.5: +22 -22 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:15 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.5.2.1: +20 -20 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Synch with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 2 19:32:41 2019 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.6: +20 -20 lines
Diff to previous 1.6 (colored)

Clocks and resets are not present on all SoCs

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:27 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 21 14:09:41 2018 UTC (5 years, 6 months ago) by bsiegert
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

Fix two typos in the Sunxi thermal driver.

Noticed by rudolf in PR port-arm/53537.

ok jmcneill@

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 28 18:24:50 2018 UTC (6 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.4: +85 -17 lines
Diff to previous 1.4 (colored)

Add support for H5 CPU and GPU thermal sensors.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 13 21:37:10 2017 UTC (6 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Fix regression introduced in r1.2

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:56 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.2.1: +572 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

update from HEAD

Revision 1.3.2.1, Wed Nov 1 05:42:32 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3: +0 -572 lines
FILE REMOVED

file sunxi_thermal.c was added on branch tls-maxphys on 2017-12-03 11:35:56 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 1 05:42:32 2017 UTC (6 years, 4 months ago) by kre
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)


Complete last change...

Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 1 01:47:00 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Simplify, and avoid compiler warning for variable format string.

As discussed on IRC.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 5 01:30:26 2017 UTC (6 years, 5 months ago) by jmcneill
Branch: MAIN

Add driver for thermal sensor controller found in Allwinner H3, A64, and
A83T SoCs.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>