boardinfo structure array populates slaves on the slimbus.
Framework populates devices specified by the boardinfo array and
the array is not referenced later. Also, while reallocating the
array to populate slaves in the loop, make sure that the existing
array is not leaked if reallocation fails during new slave addition.
Change-Id: Ib7e289ee56c57cad2962529270d55bf4107961df
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
Slimbus slave device drivers need slimbus slave device tree node to
accesses the properties of the slave device node.
Change-Id: Idb40b42eeaa1221d5ebce5a7c4e6766d615568a0
Signed-off-by: Kiran Kandi <kkandi@codeaurora.org>
Slave devices can be added by listing them as child of a SLIMBUS
controller of_node in the Device Tree.
It is required to specify elemental address, and name of the slave
device.
Change-Id: Ie1b2f8fe58988f0237547a84f1bbb14ce4733eff
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>