|
@@ -45,6 +45,8 @@ int of_graph_parse_endpoint(const struct device_node *node,
|
|
struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id);
|
|
struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id);
|
|
struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
|
|
struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
|
|
struct device_node *previous);
|
|
struct device_node *previous);
|
|
|
|
+struct device_node *of_graph_get_endpoint_by_regs(
|
|
|
|
+ const struct device_node *parent, int port_reg, int reg);
|
|
struct device_node *of_graph_get_remote_port_parent(
|
|
struct device_node *of_graph_get_remote_port_parent(
|
|
const struct device_node *node);
|
|
const struct device_node *node);
|
|
struct device_node *of_graph_get_remote_port(const struct device_node *node);
|
|
struct device_node *of_graph_get_remote_port(const struct device_node *node);
|
|
@@ -69,6 +71,12 @@ static inline struct device_node *of_graph_get_next_endpoint(
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+struct device_node *of_graph_get_endpoint_by_regs(
|
|
|
|
+ const struct device_node *parent, int port_reg, int reg)
|
|
|
|
+{
|
|
|
|
+ return NULL;
|
|
|
|
+}
|
|
|
|
+
|
|
static inline struct device_node *of_graph_get_remote_port_parent(
|
|
static inline struct device_node *of_graph_get_remote_port_parent(
|
|
const struct device_node *node)
|
|
const struct device_node *node)
|
|
{
|
|
{
|