History log of /freebsd-12.1/sys/dev/extres/syscon/syscon.c (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0
# add41077 13-Sep-2019 Emmanuel Vadot <[email protected]>

MFC r351184, r351189, r351217

r351184:
Add method for getting of syscon handle from parent device.

If simple multifuction device also provides syscon interface, its
childern should be able to consu

MFC r351184, r351189, r351217

r351184:
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

r351189:
Fix bug introduced by r351184.
We should check the returned handle, not the pointer to it.

Noticed by: ian
X-MFC with: r351184

r351217:
arm64: a37x0_gpio: Use syscon instead of MMIO region

The fdt node for this driver is a simple-mfd and syscon compatible one
meaning that simplemfd will be the driver attached for it. The gpio driver
is attached to the 'gpio' subnode so use syscon_get_handle_default to
obtain the handle of the syscon from the parent device and use this
to read/write to the memory region.

show more ...


# ccd3424f 09-Aug-2019 Michal Meloun <[email protected]>

MFC r345295:

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 - ENXI

MFC r345295:

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

show more ...


Revision tags: release/11.3.0, 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.