Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 337a0006 authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Will Mcvicker
Browse files

UPSTREAM: device connection: Add fwnode member to struct device_connection



This will prepare the device connection API for connections
described in firmware.

Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarJun Li <jun.li@nxp.com>
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 09aa11cfda9d8186046bcd1adcd6498b688114f4)
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Bug: 150958419
Change-Id: Ia44efefed94198c36b52624fb9e2f5cbf24a996c
parent 8e37367a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -770,11 +770,17 @@ struct device_dma_parameters {

/**
 * struct device_connection - Device Connection Descriptor
 * @fwnode: The device node of the connected device
 * @endpoint: The names of the two devices connected together
 * @id: Unique identifier for the connection
 * @list: List head, private, for internal use only
 *
 * NOTE: @fwnode is not used together with @endpoint. @fwnode is used when
 * platform firmware defines the connection. When the connection is registered
 * with device_connection_add() @endpoint is used instead.
 */
struct device_connection {
	struct fwnode_handle	*fwnode;
	const char		*endpoint[2];
	const char		*id;
	struct list_head	list;