diff options
| author | Hugo Villeneuve <[email protected]> | 2024-01-18 10:22:04 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 19:05:04 -0800 |
| commit | 609aabb259d497578ffa2d66ced57c22044f821c (patch) | |
| tree | 9e556c5648d928fecfc9dce6f582f7ea5ee44085 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | dbaa0083896cb44d2b9023c04fc15d1324c88d10 (diff) | |
serial: max310x: use separate regmap name for each port
Use a separate regmap name for each port so they can each have their own
debugfs entry, allowing to access each port registers independently.
For example, a four channels/ports device like the MAX14830 will have four
entries in its regmap debugfs:
$ find /sys/kernel/debug/regmap -type d | grep spi0.0
/sys/kernel/debug/regmap/spi0.0-port0
/sys/kernel/debug/regmap/spi0.0-port1
/sys/kernel/debug/regmap/spi0.0-port2
/sys/kernel/debug/regmap/spi0.0-port3
Cc: Jan Kundrát <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions