diff options
author | Cédric Le Goater <[email protected]> | 2022-06-22 18:16:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-29 18:10:11 +0100 |
commit | 8988ba7dec43aabd43adb1214b922b8873e9da88 (patch) | |
tree | 2727952077e5c94b4e9046e0824a8193013bab87 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 419bc8f681a0dc63588cee693b6d45e7caa6006c (diff) |
spi: aspeed: Add dev_dbg() to dump the spi-mem direct mapping descriptor
The default value of the control register is set using the direct
mapping information passed to the ->dirmap_create() handler. Dump the
mapping range and the SPI memory operation characteristics to analyze
how the register value has been computed.
spi-aspeed-smc 1e630000.spi: CE0 read dirmap [ 0x00000000 - 0x04000000 ] OP 0x6c mode:1.1.1.4 naddr:0x4 ndummies:0x1
...
spi-aspeed-smc 1e630000.spi: CE0 write dirmap [ 0x00000000 - 0x04000000 ] OP 0x12 mode:1.1.0.1 naddr:0x4 ndummies:0x0
Reviewed-by: Paul Menzel <[email protected]>
Signed-off-by: Cédric Le Goater <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions