mb/google/guybrush/var/nipperkin: Add ALC5682I and MAX98360 support
Add ID "10029836" for machine driver, "RTL5682" for ALC5682I and "MX98357A" for MAX98360. BUG=b:198716348 TEST=Build nipperkin, codec is functional with new machine driver. Signed-off-by: Patrick Huang <patrick.huang@amd.corp-partner.google.com> Change-Id: Iab9d11adb7cd08effa2a9b6a627832bd89cb3cb5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57611 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
c42d875448
commit
9de5d8dd39
|
@ -14,6 +14,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select DRIVERS_ACPI_THERMAL_ZONE
|
||||
select DRIVERS_AMD_I2S_MACHINE_DEV
|
||||
select DRIVERS_GENERIC_GPIO_KEYS
|
||||
select DRIVERS_GENERIC_MAX98357A
|
||||
select DRIVERS_I2C_GENERIC
|
||||
select DRIVERS_I2C_HID
|
||||
select DRIVERS_PCIE_RTD3_DEVICE
|
||||
|
|
|
@ -32,7 +32,14 @@ end
|
|||
|
||||
chip soc/amd/cezanne
|
||||
device domain 0 on
|
||||
|
||||
device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
|
||||
device ref acp on
|
||||
chip drivers/amd/i2s_machine_dev
|
||||
register "hid" = ""10029836""
|
||||
device generic 0.0 on end
|
||||
end
|
||||
end # Audio
|
||||
end
|
||||
end # domain
|
||||
|
||||
register "slow_ppt_limit_mW" = "25000"
|
||||
|
@ -101,7 +108,7 @@ chip soc/amd/cezanne
|
|||
|
||||
device ref i2c_2 on
|
||||
chip drivers/i2c/generic
|
||||
register "hid" = ""10EC5682""
|
||||
register "hid" = ""RTL5682""
|
||||
register "name" = ""RT58""
|
||||
register "desc" = ""Realtek RT5682""
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPIO_90)"
|
||||
|
@ -128,4 +135,11 @@ chip soc/amd/cezanne
|
|||
end
|
||||
end
|
||||
|
||||
chip drivers/generic/max98357a
|
||||
register "hid" = ""MX98357A""
|
||||
register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_31)"
|
||||
register "sdmode_delay" = "5"
|
||||
device generic 0.1 on end
|
||||
end
|
||||
|
||||
end # chip soc/amd/cezanne
|
||||
|
|
Loading…
Reference in New Issue