diff options
| author | Andre Przywara <andre.przywara@arm.com> | 2026-03-20 18:52:30 +0100 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-23 14:23:08 +0100 |
| commit | 42e06688c6cb7217578133bed67e9e3c1f061a58 (patch) | |
| tree | b5e80632f6e2b5ca20c0efb390ddba87c66899a5 /scripts/git.orderFile | |
| parent | 8f9f64c8f90dca07d3b9f1d7ce5d34ccd246c9dd (diff) | |
pinctrl: sunxi: pass down flags to pinctrl routines
Recent changes in the Allwinner pinctrl/GPIO IP made us add some quirks,
which the new SoCs (A523 family) need to use. We now have a comfortable
"flags" field on the per-SoC setup side, to tag those quirks we need, but
were translating those flag bits into specific fields for runtime use, in
the init routine.
Now the newest Allwinner GPIO IP adds even more quirks and exceptions,
some of a boolean nature.
To avoid inventing various new boolean flags for the runtime struct
sunxi_pinctrl, let's just directly pass on the flags variable used by the
setup code, so runtime can check for those various quirk bits directly.
Rename the "variant" member to "flags", and directly copy the value from
the setup code into there. Move the variant masking from the init
routine to the functions which actually use the "variant" value.
This mostly paves the way for the new A733 IP generation, which needs
more quirks to be checked at runtime.
Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Michal Piekos <michal.piekos@mmpsystems.pl>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
