[PATCH v2 07/22] thunderbolt: Try reading host DROM from device tree first
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Tue Sep 15 10:20:24 PDT 2026
On 9/6/26 8:36 PM, Sven Peter wrote:
> On Apple Silicon SoCs the DROM is provided by a device tree property.
> Try reading from that property first.
>
> Signed-off-by: Sven Peter <sven at kernel.org>
> Reviewed-by: Joshua Peisach <jpeisach at ubuntu.com>
> ---
[...]
> +static int tb_drom_copy_of_apple(struct tb_switch *sw, u16 *size)
> +{
> + return tb_drom_copy_property(sw, "apple,thunderbolt-drom", size);
> +}
I don't know how prevalent this property is in your ecosystem right now,
but generally I believe this would be more fitting as a vendor-neutral
property.
Konrad
More information about the linux-arm-kernel
mailing list