<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/uart/uart_cpu_fdt.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-12-02T21:01:52Z</updated>
<entry>
<title>uart: allow UART_DEV_DBGPORT for fdt consoles</title>
<updated>2020-12-02T21:01:52Z</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2020-12-02T21:01:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1c5d066a72cf6069d72e395e79a658749f2ce23a'/>
<id>urn:sha1:1c5d066a72cf6069d72e395e79a658749f2ce23a</id>
<content type='text'>
Allow fdt devices to be used as debug ports for gdb(4).

A debug console can be specified with the "freebsd,debug-path" property
in the device tree's /chosen node, or using the environment variable
hw.fdt.dbgport.

The device should be specified by its name in the device tree, for
example hw.fdt.dbgport="serial2".

PR:		251053
Submitted by:	Dmitry Salychev &lt;dsl@mcusim.org&gt;
Submitted by:   stevek (original patch, D5986)
Reviewed by:	andrew, mhorne
Differential Revision:	https://reviews.freebsd.org/D27422
</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-test/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>Allow setting access-width for UART registers.</title>
<updated>2017-02-27T20:08:42Z</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2017-02-27T20:08:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c214a270f501ce3711165c0d18f55733bcc0ca93'/>
<id>urn:sha1:c214a270f501ce3711165c0d18f55733bcc0ca93</id>
<content type='text'>
This is required for FDT's standard "reg-io-width" property
(similar to "reg-shift" property) found in many DTS files.

This fixes operation on Altera Arria 10 SOC Development Kit,
where standard ns8250 uart allows 4-byte access only.

Reviewed by:	kan, marcel
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9785
</content>
</entry>
<entry>
<title>Remove now unused functions from the FDT uart cpu driver.</title>
<updated>2016-07-24T08:52:49Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-07-24T08:52:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=07ef31f240d84c5ad35b2490d38dc78d5bc2ee12'/>
<id>urn:sha1:07ef31f240d84c5ad35b2490d38dc78d5bc2ee12</id>
<content type='text'>
Obtained from:	ABT Systems Ltd
MFC after:	1 month
X-MFC with:	r303100
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>We will be switching to a new arm64 uart cpu driver that handles both FDT</title>
<updated>2016-07-20T17:19:47Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-07-20T17:19:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d4c893910db65fc996011aea6a118b5672ae453c'/>
<id>urn:sha1:d4c893910db65fc996011aea6a118b5672ae453c</id>
<content type='text'>
and ACPI. As such pull out what will be the common parts of the FDT cpu
detection to a new function that can be shared between them.

Reviewed by:	manu
Obtained from:	ABT Systems Ltd
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7262
</content>
</entry>
<entry>
<title>Stop including machine/fdt.h from the fdt uart code, it's unneeded.</title>
<updated>2016-04-26T13:16:45Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-04-26T13:16:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9c42d415a392c52026806ba59511ce4ecb390ba8'/>
<id>urn:sha1:9c42d415a392c52026806ba59511ce4ecb390ba8</id>
<content type='text'>
Sponsored by:	ABT Systems Ltd
</content>
</entry>
<entry>
<title>Do not include fdt.h on RISC-V.</title>
<updated>2016-04-26T12:31:23Z</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2016-04-26T12:31:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5c3a3f25ce4c5e017cbd51079ad4d03becd65405'/>
<id>urn:sha1:5c3a3f25ce4c5e017cbd51079ad4d03becd65405</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This code no longer references fdtbus_bs_tag, no need for a special extern</title>
<updated>2016-02-23T03:01:46Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2016-02-23T03:01:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b1c2e02c10610c03a5baaa15e049bdad0e9b45dc'/>
<id>urn:sha1:b1c2e02c10610c03a5baaa15e049bdad0e9b45dc</id>
<content type='text'>
declaration of it for aarch64.
</content>
</entry>
<entry>
<title>Now that we have OF_decode_addr(), with proper MD implementations, to obtain</title>
<updated>2016-02-23T02:57:45Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2016-02-23T02:57:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=99c4102214945a60ce9cc37b2d5c539301bc9dff'/>
<id>urn:sha1:99c4102214945a60ce9cc37b2d5c539301bc9dff</id>
<content type='text'>
the bus space tag and handle for a uart console, use the values returned by
that routine to set the global uart_bus_space_mem, instead of assuming that
there will be a global variable named fdtbus_bs_tag to set it from.

Also, use OF_getencprop() instead calling fdt32_to_cpu() separately.
</content>
</entry>
<entry>
<title>Allow callers of OF_decode_addr to get the size of the found mapping. This</title>
<updated>2016-02-16T15:18:12Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-02-16T15:18:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=45fd18628594ac9dec327bca7b9142fbd374d309'/>
<id>urn:sha1:45fd18628594ac9dec327bca7b9142fbd374d309</id>
<content type='text'>
will allow for code that uses the old fdt_get_range and fdt_regsize
functions to find a range, map it, access, then unmap to replace this, up
to and including the map, with a call to OF_decode_addr.

As this function should only be used in the early boot code the unmap is
mostly do document we no longer need the mapping as it's a no-op, at least
on arm.

Reviewed by:	jhibbits
Sponsored by:	ABT Systems Ltd
Differential Revision:	https://reviews.freebsd.org/D5258
</content>
</entry>
</feed>
