Skip to content
Unverified Commit 2b2142f2 authored by Jay Fang's avatar Jay Fang Committed by Mark Brown
Browse files

spi: hisi-kunpeng: Add debugfs support



This patch uses debugfs_regset32 interface to create the registers dump
file. Use it instead of creating a generic debugfs file with manually
written read callback function.

With these entries, users can check all the SPI controller registers
during run time.

Signed-off-by: default avatarJay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1622789718-13977-1-git-send-email-f.fangjian@huawei.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6829222b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment