aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/extres/hwreset
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-162-4/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Add support for an array of hwresetsAndrew Turner2022-12-212-0/+147
| | | | | | | | | | In some drivers we need to assert and deassert a group of hardware resets in any order. To support this add a new hwreset_array that manages all hwresets defined for a device. Reviewed by: bz, manu, mmel Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37357
* Include opt_platform.h to ensure FDT is definedAndrew Turner2022-10-041-0/+2
| | | | | | We need to include opt_platform.h as it's where FDT will be defined. Sponsored by: The FreeBSD Foundation
* Remove redundant declarations. Newer gcc has a warning for these so willAndrew Turner2017-08-191-2/+0
| | | | | | | | | fail when building with -Werror. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=322697
* EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions.Michal Meloun2016-07-102-9/+14
| | | | | | | | | | | In some cases, the driver must handle given properties located in specific OF subnode. Instead of creating duplicate set of function, add 'node' as argument to existing functions, defaulting it to device OF node. MFC after: 3 weeks Notes: svn path=/head/; revision=302528
* Use OF_prop_free instead of direct call to free(9)Oleksandr Tymoshenko2016-05-141-2/+2
| | | | | | | Reviewed by: mmel@ Notes: svn path=/head/; revision=299714
* Add reset framework, a second part of new 'extended resources' family ofMichal Meloun2016-01-243-0/+325
support frameworks (i.e. regulators/phy/tsensors/fuses...). It provides simple unified consumers interface for manipulations with on-chip resets. Reviewed by: ian, imp (paritaly) Notes: svn path=/head/; revision=294661