diff options
| author | 2026-01-23 17:26:29 +0800 | |
|---|---|---|
| committer | 2026-01-27 11:17:26 +0100 | |
| commit | 43090d6993341b977ca66f4c72e776e99f7ba996 (patch) | |
| tree | 24896a3989318895fca4cd71bdfbec6358c472a1 /tools/perf/scripts/python | |
| parent | gpio: aspeed-sgpio: Create llops to handle hardware access (diff) | |
gpio: aspeed-sgpio: Convert IRQ functions to use llops callbacks
Update aspeed_sgpio_irq_handler() and aspeed_sgpio_setup_irqs() to use
the llops callbacks for register access instead of direct iowrite32().
This creates a unified hardware access layer, which is essential for
supporting SoCs with different register layouts like the AST2700.
Additionally, change the loop bounds to use ngpio instead of the static
ARRAY_SIZE(aspeed_sgpio_banks). This allows the driver to adapt to the
actual number of supported pins on the running SoC.
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20260123-upstream_sgpio-v2-4-69cfd1631400@aspeedtech.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
