Home
last modified time | relevance | path

Searched refs:matched_node (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/nfc/nfcmrvl/
H A Duart.c62 struct device_node *matched_node; in nfcmrvl_uart_parse_dt() local
65 matched_node = of_get_compatible_child(node, "marvell,nfc-uart"); in nfcmrvl_uart_parse_dt()
66 if (!matched_node) { in nfcmrvl_uart_parse_dt()
67 matched_node = of_get_compatible_child(node, "mrvl,nfc-uart"); in nfcmrvl_uart_parse_dt()
68 if (!matched_node) in nfcmrvl_uart_parse_dt()
72 ret = nfcmrvl_parse_dt(matched_node, pdata); in nfcmrvl_uart_parse_dt()
75 of_node_put(matched_node); in nfcmrvl_uart_parse_dt()
79 pdata->flow_control = of_property_read_bool(matched_node, "flow-control"); in nfcmrvl_uart_parse_dt()
80 pdata->break_control = of_property_read_bool(matched_node, "break-control"); in nfcmrvl_uart_parse_dt()
82 of_node_put(matched_node); in nfcmrvl_uart_parse_dt()