Re: [PATCH v2 07/22] thunderbolt: Try reading host DROM from device tree first

From: Konrad Dybcio

Date: Tue Sep 15 2026 - 13:20:39 EST




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@xxxxxxxxxx>
> Reviewed-by: Joshua Peisach <jpeisach@xxxxxxxxxx>
> ---

[...]

> +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