<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cpufreq, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-06-19T19:33:19Z</updated>
<entry>
<title>MFC r361964:</title>
<updated>2020-06-19T19:33:19Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2020-06-19T19:33:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=305c606857fc860e2e27d6835ed2923eb450dc88'/>
<id>urn:sha1:305c606857fc860e2e27d6835ed2923eb450dc88</id>
<content type='text'>
coufreq_dt: Rename DEBUG to DPRINTF

DEBUG is a kernel configuration flag and if used cpufreq_dt.c will fail the
build of kernel.

PR:		246867
Submitted by:	Oskar Holmund (oskar.holmlund@ohdata.se)
Differential Revision:	https://reviews.freebsd.org/D25080
</content>
</entry>
<entry>
<title>MFC r358555, r358799-r358800</title>
<updated>2020-06-18T23:31:56Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2020-06-18T23:31:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a79dff004bc9964994cf58ae0ca87ae487813879'/>
<id>urn:sha1:a79dff004bc9964994cf58ae0ca87ae487813879</id>
<content type='text'>
r358555:
cpufreq_dt: Improve multiple opp support

When looking for cpu with the same OPP starts from the root /cpus node
so each instance of cpufreq_dt will now each cpu with the same operating
point.
Also test that the node we are testing have the property "device_type" set
to be equal to "cpu".
While here add more debug printfs (off by defaults).

r358799:
cpufreq_dt: Fix r358555

Before skipping the current cpu when trying to find the ones that
have the same opp, record that this one have this opp.

Reported by:	mmel
X-MFC-With:	r358555

r358800:
cpufreq: Unbreak build.
</content>
</entry>
<entry>
<title>MFC r355360-r355361</title>
<updated>2020-03-04T20:30:11Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2020-03-04T20:30:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26bf248c1be4c386a6e89f76a27e69818f4741d8'/>
<id>urn:sha1:26bf248c1be4c386a6e89f76a27e69818f4741d8</id>
<content type='text'>
r355360:
cpufreq_dt: Do not attach the device if the cpu isn't present

If we boot with hw.ncpu=X (available on arm and arm64 at least) we
shouldn't attach the cpufreq driver as cf_set_method will try to get
the cpuid and it doesn't exists.
This solves cpufreq panicing on RockChip RK3399 when booting with
hw.ncpu=4

r355361:
cpufreq_dt: Do not fetch again hw.ncpu

MD code already set the global variable mp_ncpus according to
the tunable hw.ncpu so use the global variable directly.

Reported by:	ian
</content>
</entry>
<entry>
<title>MFC r345297:</title>
<updated>2019-08-09T11:21:42Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2019-08-09T11:21:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d876331e8c7e3c3ddd296e55b0a38f86011fb3b3'/>
<id>urn:sha1:d876331e8c7e3c3ddd296e55b0a38f86011fb3b3</id>
<content type='text'>
  Improve cpufreq_dt.
   - older DT can use 'cpu0-supply' property for power supply binding.  - don't
   expect that actual CPU frequency is contained in CPU
     operational point table, but read current CPU voltage directly from
     reguator. Typically, u-boot can set starting CPU frequency to any value.
</content>
</entry>
<entry>
<title>cpufreq_dt: Add operating-points-v2 support</title>
<updated>2018-07-19T11:31:49Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2018-07-19T11:31:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=41a76289e601b4c6847f6f03ecf9acba75823528'/>
<id>urn:sha1:41a76289e601b4c6847f6f03ecf9acba75823528</id>
<content type='text'>
Oppv2 add more flexibility on regulator value for the core voltage amongst
other new thing.
For now only shared opp table is supported as I don't have hardware with
non-shared opp table.

Tested-On: OrangePi One (with oppv1 and oppv2)
Tested-On: Pine64-LTS
</content>
</entry>
<entry>
<title>Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc</title>
<updated>2018-04-09T22:06:16Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-04-09T22:06:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7604b1b275455fc5506c3c83a4876f567bbc6b3'/>
<id>urn:sha1:f7604b1b275455fc5506c3c83a4876f567bbc6b3</id>
<content type='text'>
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Add generic device-tree cpufreq driver.</title>
<updated>2016-09-06T20:43:26Z</updated>
<author>
<name>Jared McNeill</name>
<email>jmcneill@FreeBSD.org</email>
</author>
<published>2016-09-06T20:43:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=319336a943a5da19130b59cbaac73be19bf8a673'/>
<id>urn:sha1:319336a943a5da19130b59cbaac73be19bf8a673</id>
<content type='text'>
This driver supports two bindings:
 - cpufreq-dt: systems which share clock and voltage across all CPUs
 - arm_big_little_dt: systems which share clock and voltage across all
   CPUs in a single cluster

Reviewed by:		andrew, imp
Relnotes:		yes
Differential Revision:	https://reviews.freebsd.org/D7741
</content>
</entry>
<entry>
<title>Add a quirk to disable this driver for certain older laptops with an ICH2</title>
<updated>2013-02-26T18:30:47Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-02-26T18:30:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ad65edee343f79be93a1ec098d38a7881609e02'/>
<id>urn:sha1:7ad65edee343f79be93a1ec098d38a7881609e02</id>
<content type='text'>
southbridge and an Intel 82815_MC host bridge where the host bridge's
revision is less than 5.

Tested by:	mi
MFC after:	1 week
</content>
</entry>
<entry>
<title>Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays</title>
<updated>2013-01-30T18:01:20Z</updated>
<author>
<name>Sofian Brabez</name>
<email>sbz@FreeBSD.org</email>
</author>
<published>2013-01-30T18:01:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61bfd867626dad25026bafcbc5fbc595d9e85417'/>
<id>urn:sha1:61bfd867626dad25026bafcbc5fbc595d9e85417</id>
<content type='text'>
Reviewed by:	cognet
Approved by:	cognet
</content>
</entry>
</feed>
