summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2021-05-06 11:41:14 +0200
committerLee Jones <lee.jones@linaro.org>2021-06-02 10:49:59 +0100
commit7addf7e705c897d78f5b0f829cb7626a9279ec1e (patch)
tree13870faa763a112dfdd0286ad6c2229b7de377fb /tools/perf/scripts/python/syscall-counts.py
parent9a2601ebc2e909ec2260ca224d886936f56d41e7 (diff)
mfd: mt6397: Use named IRQs instead of index (keys)
Some pmics of the mt6397 family (such as MT6358), have two IRQs per physical key: one for press event, another for release event. The mtk-pmic-keys driver assumes that each key only has one IRQ. The key index and the RES_IRQ resource index have a 1/1 mapping. This won't work for MT6358, as we have multiple resources (2) for one key. To prepare mtk-pmic-keys to support MT6358, retrieve IRQs by name instead of by index. Note: The keys_resources are not part of the device-tree bindings so this won't break any DT schemas. Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions