History log of /freebsd-14.2/sys/dev/extres/syscon/syscon.c (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# 685dc743 16-Aug-2023 Warner Losh <[email protected]>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <[email protected]>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0, release/12.4.0
# 79794d5c 29-Sep-2022 Kyle Evans <[email protected]>

extres: syscon: pull in sys/malloc.h (fix !FDT)

syscon currently includes sys/malloc.h via header pollution from
dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT
defined by includ

extres: syscon: pull in sys/malloc.h (fix !FDT)

syscon currently includes sys/malloc.h via header pollution from
dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT
defined by including sys/malloc.h directly.

Reviewed by: andrew, imp, manu
Differential Revision: https://reviews.freebsd.org/D36787

show more ...


Revision tags: release/13.1.0, release/12.3.0, release/13.0.0
# e35c28a2 17-Nov-2020 Emmanuel Vadot <[email protected]>

syscon: Add syscon_get_by_ofw_node

This allow to get a syscon node defined under a specific fdt node (which isn't
always the device one).


Revision tags: release/12.2.0
# 01d0f9c0 25-Sep-2020 Michal Meloun <[email protected]>

Refine locking inside of syscon driver.
In some cases, the syscon driver may be used by consumer requiring better
control about locking (ie. it may be used as registe file provider for clock
driver w

Refine locking inside of syscon driver.
In some cases, the syscon driver may be used by consumer requiring better
control about locking (ie. it may be used as registe file provider for clock
driver which needs locked access to multiple registers).
Add fine locking protocol methods together with bunch of helper functions
in syscon driver and implement this functionality in syscon_generic driver.

MFC after: 4 weeks

show more ...


Revision tags: release/11.4.0, release/12.1.0
# 7f8c4c78 18-Aug-2019 Michal Meloun <[email protected]>

Add method for getting of syscon handle from parent device.

If simple multifuction device also provides syscon interface, its
childern should be able to consume it. Due to this:
- declare corespondi

Add method for getting of syscon handle from parent device.

If simple multifuction device also provides syscon interface, its
childern should be able to consume it. Due to this:
- declare coresponding method in syscon interface
- implement it in simple multifunction device driver

MFC after: 1 week

show more ...


Revision tags: release/11.3.0
# 2dd13cf6 19-Mar-2019 Michal Meloun <[email protected]>

extres: Unify error codes for <foo>_get_by_ofw_property() methods.
Return:
- ENOENT if requested property doesn't exist
- ENODEV if producer device is not (yet) attached
- ENXIO otherwise

MFC aft

extres: Unify error codes for <foo>_get_by_ofw_property() methods.
Return:
- ENOENT if requested property doesn't exist
- ENODEV if producer device is not (yet) attached
- ENXIO otherwise

MFC after: 2 weeks

show more ...


Revision tags: release/12.0.0, release/11.2.0
# 4b3c64f7 09-May-2018 Kyle Evans <[email protected]>

Remove "All Rights Reserved" on files that I hold sole copyright on

See r333391 for more detail; in summary: it holds no weight and may be
removed.


# f7604b1b 09-Apr-2018 Oleksandr Tymoshenko <[email protected]>

Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc

Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number o

Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc

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.

show more ...


# 5996fd28 13-Jan-2018 Kyle Evans <[email protected]>

Add SPDX tags to syscon bits, correct inconsistency in Copyright line.


# 198ca831 26-Dec-2017 Kyle Evans <[email protected]>

extres/syscon: Commit missing bits from r327106

r327106 introduced kobj to syscon so it can be subclassed and fit in with
the rest of the syscon framework. The diff for syscon.c was misapplied in a

extres/syscon: Commit missing bits from r327106

r327106 introduced kobj to syscon so it can be subclassed and fit in with
the rest of the syscon framework. The diff for syscon.c was misapplied in a
clean tree prior to commit, so bring it back to what was included in the
review and tested. The entire file has basically been rewritten from what
was present prior to the kobj work.

Pointy hat to: me

show more ...


# cd04523f 23-Dec-2017 Kyle Evans <[email protected]>

Move syscon into extres framework

This should help reduce confusion between syscon/syscons a little bit.
syscon is a resource generally modeled by FDT platforms, and not to be
confused with syscons.