History log of /netbsd/sys/arch/arm/amlogic/meson_pinctrl.c (Results 1 – 13 of 13)
Revision Date Author Comments
# beecddb6 07-Aug-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs2.


# 3bee0c11 24-Apr-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass a

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

show more ...


# 8e90f9ed 27-Jan-2021 thorpej <thorpej@NetBSD.org>

Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all c

Rename of_match_compat_data() to of_compatible_match(). Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

show more ...


# d86b4146 27-Jan-2021 thorpej <thorpej@NetBSD.org>

Use DEVICE_COMPAT_EOL.


# 42ef9f60 25-Jan-2021 thorpej <thorpej@NetBSD.org>

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.


# 0717bee5 18-Jan-2021 thorpej <thorpej@NetBSD.org>

Remove "struct of_compat_data" and replace its usage with
"struct device_compatible_entry"; they are ABI-compatible.

Fix several "loses const qualifier" bugs encountered during
this conversion.


# 775d4b67 01-Jan-2021 ryo <ryo@NetBSD.org>

Add support for Amlogic S922X(meson-g12b) SoCs


# a4dd1f1a 01-Oct-2019 jmcneill <jmcneill@NetBSD.org>

Add support for devices with separate "init" and "default" pinctrl states.


# 838e36f6 19-Apr-2019 jmcneill <jmcneill@NetBSD.org>

Add support for Amlogic Meson GXL family SoCs.


# cea84bb1 02-Mar-2019 jmcneill <jmcneill@NetBSD.org>

When acquiring a GPIO, disable any conflicting pinctrl function groups


# 82a9c324 25-Feb-2019 jmcneill <jmcneill@NetBSD.org>

Add support for Amlogic S905 (Meson GXBB) SoCs.


# c11fb930 23-Jan-2019 thorpej <thorpej@NetBSD.org>

Implement subroutines for parsing out some of the generic properties
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.

Ok jmcneill@


# 88499cef 19-Jan-2019 jmcneill <jmcneill@NetBSD.org>

Add support for (FDT-ized) Amlogic Meson8b.