diff options
author | Xu Yilun <[email protected]> | 2020-06-19 09:43:40 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-19 12:56:05 +0100 |
commit | 3820061d38156d88443d32a9a6c701d281234746 (patch) | |
tree | 6a0503d3487a2f7b7b092fd96ffb61cbcbe04454 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 3c6519736eefebafdf8c82d46f64b214403b5260 (diff) |
spi: altera: support indirect access to the registers
This patch adds support for indirect access to the registers via parent
regmap.
The use case is, the spi master is a sub device of a Multifunction
device, which is connected to host by some indirect bus. To support this
device type, a new platform_device_id is introduced, and the driver tries
to get parent regmap for register accessing like many MFD sub device
drivers do.
Signed-off-by: Xu Yilun <[email protected]>
Signed-off-by: Matthew Gerlach <[email protected]>
Signed-off-by: Wu Hao <[email protected]>
Signed-off-by: Russ Weight <[email protected]>
Reviewed-by: Tom Rix <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions