Home | History | Annotate | Download | only in marvell
History log of /src/sys/arch/arm/marvell/mvsocgpp.c
RevisionDateAuthorComments
 1.9  19-Jun-2023  msaitoh Fix typo. unknwon -> unknown
 1.8  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.7  24-Apr-2021  thorpej branches: 1.7.8;
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?).
 1.6  28-Jan-2014  martin branches: 1.6.44;
Remove an unused variable
 1.5  21-Nov-2012  msaitoh branches: 1.5.2;
Fix a uvm_fault panic that memory is not allocated for the last few GPIO bits.
 1.4  10-Sep-2012  msaitoh branches: 1.4.2;
Fix a bug that the irq_masks of GPIO are incorrectly set on Marvell SoCs.
 1.3  13-Aug-2011  jakllsch branches: 1.3.2; 1.3.8;
In *find_pending_irqs() return the value of pic_mark_pending_sources() instead
of 1. Changed to match other ARM PIC code.
 1.2  24-Jan-2011  jakllsch branches: 1.2.2;
Capture more initial GPIO state.
Also, fix behaviour if the number of GPIOs exceed 32.
 1.1  03-Oct-2010  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
Discovery Innovation not yet.
 1.1.8.1  08-Feb-2011  bouyer Sync with HEAD
 1.1.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.1.4.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.4.1  03-Oct-2010  uebayasi file mvsocgpp.c was added on branch uebayasi-xip on 2010-10-22 09:23:12 +0000
 1.1.2.2  09-Oct-2010  yamt sync with head
 1.1.2.1  03-Oct-2010  yamt file mvsocgpp.c was added on branch yamt-nfs-mp on 2010-10-09 03:31:40 +0000
 1.2.2.2  05-Mar-2011  rmind sync with head
 1.2.2.1  24-Jan-2011  rmind file mvsocgpp.c was added on branch rmind-uvmplock on 2011-03-05 20:49:37 +0000
 1.3.8.2  24-Nov-2012  jdc Pull up revision 1.5 (requested by msaitoh in ticket #713).

Fix a uvm_fault panic that memory is not allocated for the last few GPIO bits.
 1.3.8.1  23-Oct-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #623):
sys/arch/arm/marvell/mvsocgpp.c: revision 1.4
Fix a bug that the irq_masks of GPIO are set on Marvell SoCs.
 1.3.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.2.2  16-Jan-2013  yamt sync with (a bit old) head
 1.3.2.1  30-Oct-2012  yamt sync with head
 1.4.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1  25-Feb-2013  tls resync with head
 1.5.2.1  18-May-2014  rmind sync with head
 1.6.44.1  23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.7.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed