23 .test_mode_supported =
false,
24 .clock_stop_mode1_supported =
true,
25 .simplified_clockstopprepare_sm_supported =
true,
26 .clockstopprepare_hard_reset_behavior =
false,
27 .highPHY_capable =
false,
28 .paging_supported =
false,
29 .bank_delay_supported =
false,
30 .port15_read_behavior =
false,
39 .bus_frequency_configs = {
48 .max_data_per_frame = 470,
49 .min_us_between_transactions = 0
54 .port_min_wordlength = 1,
55 .bra_imp_def_response_supported =
false,
56 .simplified_channel_prepare_sm =
true,
57 .imp_def_dp0_interrupts_supported = 0,
58 .imp_def_bpt_supported =
true,
60 .bra_mode_list = { 0 }
65 .bus_frequency_configs = {
75 .max_sampling_frequency = 192 *
KHz,
76 .min_sampling_frequency = 8 *
KHz,
82 .port_wordlength_configs = { 16, 20, 24 },
85 .simplified_channelprepare_sm =
false,
86 .imp_def_dpn_interrupts_supported = 0,
87 .min_channel_number = 1,
88 .max_channel_number = 2,
91 .block_packing_mode =
true,
92 .port_audio_mode_count = 1,
93 .port_audio_mode_list = { 0 }
177 CHIP_NAME(
"Realtek ALC5682 SoundWire Codec")
void acpi_dp_write(struct acpi_dp *table)
int acpi_device_status(const struct device *dev)
const char * acpi_device_name(const struct device *dev)
struct acpi_dp * acpi_dp_new_table(const char *name)
const char * acpi_device_scope(const struct device *dev)
void soundwire_gen_codec(struct acpi_dp *dsd, const struct soundwire_codec *codec, soundwire_dp_prop_cb dp_prop_cb)
soundwire_gen_codec() - Generate SoundWire properties for codec device.
void acpigen_pop_len(void)
void acpigen_write_scope(const char *name)
void acpigen_write_STA(uint8_t status)
void acpigen_write_ADR_soundwire_device(const struct soundwire_address *address)
acpigen_write_ADR_soundwire_device() - SoundWire ACPI Device Address Encoding.
void acpigen_write_device(const char *name)
void acpigen_write_name_string(const char *name, const char *string)
static struct soundwire_bra_mode alc5682_dp0_bra_mode
struct chip_operations drivers_soundwire_alc5682_ops
static struct soundwire_slave alc5682_slave
static void soundwire_alc5682_fill_ssdt(const struct device *dev)
static const struct soundwire_codec alc5682_codec
static struct soundwire_audio_mode alc5682_audio_mode
static const char * soundwire_alc5682_acpi_name(const struct device *dev)
static struct soundwire_address alc5682_address
static struct soundwire_dp0 alc5682_dp0
static struct device_operations soundwire_alc5682_ops
static struct soundwire_dpn alc5682_dpn
static void soundwire_alc5682_enable(struct device *dev)
#define MIPI_MFG_ID_REALTEK
#define MIPI_DEV_ID_REALTEK_ALC5682
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
#define SOUNDWIRE_PORT(port)
@ CHANNEL_PREPARE_ANY_FREQUENCY
void(* read_resources)(struct device *dev)
struct generic_path generic
struct chip_operations * chip_ops
struct device_operations * ops
DEVTREE_CONST void * chip_info
enum soundwire_version version
struct soundwire_audio_mode - Properties for each supported Audio Mode.
size_t bus_frequency_configs_count
struct soundwire_bra_mode - Bulk Register Access mode properties.
size_t bus_frequency_configs_count
struct soundwire_codec - Contains all configuration for a SoundWire codec slave device.
struct soundwire_slave * slave
struct soundwire_dp0 - Configuration properties for SoundWire DP0 Data Port.
unsigned int port_max_wordlength
struct soundwire_dpn - Configuration properties for SoundWire DPn Data Ports.
size_t port_wordlength_configs_count
struct soundwire_slave - SoundWire slave device properties.
int snprintf(char *buf, size_t size, const char *fmt,...)
Note: This file is only for POSIX compatibility, and is meant to be chain-included via string....