// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) // Copyright(c) 2021 Intel Corporation. /* * Soundwire DMI quirks */ #include <linux/device.h> #include <linux/dmi.h> #include <linux/soundwire/sdw.h> #include "bus.h" struct adr_remap { … }; /* * Some TigerLake devices based on an initial Intel BIOS do not expose * the correct _ADR in the DSDT. * Remap the bad _ADR values to the ones reported by hardware */ static const struct adr_remap intel_tgl_bios[] = …; /* * The initial version of the Dell SKU 0A3E did not expose the devices * on the correct links. */ static const struct adr_remap dell_sku_0A3E[] = …; /* * The HP Omen 16-k0005TX does not expose the correct version of RT711 on link0 * and does not expose a RT1316 on link3 */ static const struct adr_remap hp_omen_16[] = …; /* * Intel NUC M15 LAPRC510 and LAPRC710 */ static const struct adr_remap intel_rooks_county[] = …; static const struct dmi_system_id adr_remap_quirk_table[] = …; u64 sdw_dmi_override_adr(struct sdw_bus *bus, u64 addr) { … }