summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBenoît Monin <benoit.monin@bootlin.com>2026-02-26 14:33:49 +0100
committerLinus Walleij <linusw@kernel.org>2026-03-02 10:16:56 +0100
commit27a2ef20c0ae458d3dd6a19070dad662d0769001 (patch)
tree0524d0adf2817fbd331aa907a7a3142d1f327728 /tools/perf/scripts/python/bin/stackcollapse-record
parenta901e8705f89f3616fad3bb6aeddba33be86b08a (diff)
pinctrl: eyeq5: Use match data
Instead of using the pin descriptions, pin functions and register offsets of the EyeQ5 directly, access those via a pointer to a newly introduced struct eq5p_match_data. This structure contains, in addition to the pin descriptions and pin functions, an array of pin banks. Each bank holds the number of pins and the register offsets. All functions accessing a pin now use a pointer to a bank structure and an offset inside that bank. The conversion from a pin number to a bank and an offset is done in the new function eq5p_pin_to_bank_offset(), which replace eq5p_pin_to_bank() and eq5p_pin_to_offset(). All the data related to the EyeQ5 is declared with the eq5p_eyeq5_ prefix to distinguish it from the common code. During the probe, we use the parent OF node to get the match data. We cannot directly use an OF node since pinctrl-eyeq5 is an auxiliary device of clk-eyeq. Signed-off-by: Benoît Monin <benoit.monin@bootlin.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions