Lines Matching +full:uart +full:- +full:attached
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * In some cases UART attached devices which require an in kernel driver,
4 * e.g. UART attached Bluetooth HCIs are described in the ACPI tables
7 * This causes the kernel to create a /dev/ttyS# char-device for the UART
8 * instead of creating an in kernel serdev-controller + serdev-device pair
12 * create a serdev-controller device for these UARTs instead of a /dev/ttyS#.
14 * Instantiating the actual serdev-device to bind to is up to pdx86 code,
15 * this header provides a helper for getting the serdev-controller device.
33 /* Walk host -> uart-ctrl -> port -> serdev-ctrl */ in get_serdev_controller_from_parent()
52 return ERR_PTR(-ENODEV); in get_serdev_controller_from_parent()
70 adev = acpi_dev_get_first_match_dev(serial_ctrl_hid, serial_ctrl_uid, -1); in get_serdev_controller()
72 pr_err("error could not get %s/%s serial-ctrl adev\n", in get_serdev_controller()
74 return ERR_PTR(-ENODEV); in get_serdev_controller()
81 pr_err("error could not get %s/%s serial-ctrl physical node\n", in get_serdev_controller()
83 return ERR_PTR(-ENODEV); in get_serdev_controller()