mb/google/nissa/var/craask: Add ALC5682I-VS codec support
Add ALC5682I-VS related settings. And add codec/amplifier space in fw_config. BUG=b:229048361, b:235436515 TEST=emerge-nissa coreboot Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Change-Id: I567d3567318c810e19ae9e9ba5e0dc8332517866 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65058 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org>
This commit is contained in:
		| @@ -17,6 +17,13 @@ fw_config | ||||
| 		option SD_GL9750S		0 | ||||
| 		option SD_ABSENT		1 | ||||
| 	end | ||||
| 	field CODEC 6 7 | ||||
| 		option CODEC_NAU8825		0 | ||||
| 		option CODEC_ALC5682I_VS	1 | ||||
| 	end | ||||
| 	field AMP 8 9 | ||||
| 		option AMP_MX98360A		0 | ||||
| 	end | ||||
| end | ||||
|  | ||||
| chip soc/intel/alderlake | ||||
| @@ -294,7 +301,23 @@ chip soc/intel/alderlake | ||||
| 				register "short_key_debounce" = "2"	# 100ms | ||||
| 				register "jack_insert_debounce" = "7"	# 512ms | ||||
| 				register "jack_eject_debounce" = "7"	# 512ms | ||||
| 				device i2c 1a on end | ||||
| 				device i2c 1a on | ||||
| 					probe CODEC CODEC_NAU8825 | ||||
| 				end | ||||
| 			end | ||||
|                         chip drivers/i2c/generic | ||||
| 				register "hid" = ""RTL5682"" | ||||
| 				register "name" = ""RT58"" | ||||
| 				register "desc" = ""Headset Codec"" | ||||
| 				register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" | ||||
| 				# Set the jd_src to RT5668_JD1 for jack detection | ||||
| 				register "property_count" = "1" | ||||
| 				register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" | ||||
| 				register "property_list[0].name" = ""realtek,jd-src"" | ||||
| 				register "property_list[0].integer" = "1" | ||||
| 				device i2c 1a on | ||||
| 					probe CODEC CODEC_ALC5682I_VS | ||||
| 				end | ||||
| 			end | ||||
| 		end | ||||
| 		device ref i2c5 on | ||||
| @@ -321,7 +344,9 @@ chip soc/intel/alderlake | ||||
| 				register "hid" = ""MX98360A"" | ||||
| 				register "sdmode_gpio" =  "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" | ||||
| 				register "sdmode_delay" = "5" | ||||
| 				device generic 0 on end | ||||
| 				device generic 0 on | ||||
| 					probe AMP AMP_MX98360A | ||||
| 				end | ||||
| 			end | ||||
| 		end | ||||
| 		device ref pcie_rp7 on | ||||
|   | ||||
		Reference in New Issue
	
	Block a user