spi: altera: add platform data for slave information.
authorXu Yilun <yilun.xu@intel.com>
Thu, 11 Jun 2020 03:25:08 +0000 (11:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 22:36:03 +0000 (23:36 +0100)
commit1fccd182a4694a848f2d6f3b1820d6fc71d9c99d
treef2aec1a3fadc6995e449c25cb4267fb3577bad41
parent8e04187c1bc7953f6dfad3400c58b1b0b0ad767b
spi: altera: add platform data for slave information.

This patch introduces platform data for slave information, it allows
spi-altera to add new spi devices once master registration is done.

Signed-off-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/1591845911-10197-4-git-send-email-yilun.xu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-altera.c
include/linux/spi/altera.h