mb/google/zork: Pass oscout system clk to rt5682
In kernel clk for AMD SoCs we expose a generic clk by the name oscclk1. This oscclk1 is a fixed 48Mhz frequency clk in RV. In Zork oscout system clock is linked to rt5682 mclk. Setting mclk-name to oscclk1 tells rt5682 driver its mclk is oscclk1. Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com> BUG=b:158906189 TEST=rt5682 driver get the correct clk and tested audio playback Change-Id: Ic565e8e0573e085e5759b2d3688cc0a4533b67fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/44010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
c49d07c2fd
commit
c7d6d7a971
|
@ -309,10 +309,13 @@ chip soc/amd/picasso
|
||||||
register "uid" = "1"
|
register "uid" = "1"
|
||||||
register "desc" = ""Realtek RT5682""
|
register "desc" = ""Realtek RT5682""
|
||||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(62)"
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(62)"
|
||||||
register "property_count" = "1"
|
register "property_count" = "2"
|
||||||
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
|
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
|
||||||
register "property_list[0].name" = ""realtek,jd-src""
|
register "property_list[0].name" = ""realtek,jd-src""
|
||||||
register "property_list[0].integer" = "1"
|
register "property_list[0].integer" = "1"
|
||||||
|
register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
|
||||||
|
register "property_list[1].name" = ""realtek,mclk-name""
|
||||||
|
register "property_list[1].string" = ""oscout1""
|
||||||
device i2c 1a on end
|
device i2c 1a on end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -334,10 +334,13 @@ chip soc/amd/picasso
|
||||||
register "uid" = "1"
|
register "uid" = "1"
|
||||||
register "desc" = ""Realtek RT5682""
|
register "desc" = ""Realtek RT5682""
|
||||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(62)"
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(62)"
|
||||||
register "property_count" = "1"
|
register "property_count" = "2"
|
||||||
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
|
register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
|
||||||
register "property_list[0].name" = ""realtek,jd-src""
|
register "property_list[0].name" = ""realtek,jd-src""
|
||||||
register "property_list[0].integer" = "1"
|
register "property_list[0].integer" = "1"
|
||||||
|
register "property_list[1].type" = "ACPI_DP_TYPE_STRING"
|
||||||
|
register "property_list[1].name" = ""realtek,mclk-name""
|
||||||
|
register "property_list[1].string" = ""oscout1""
|
||||||
device i2c 1a on end
|
device i2c 1a on end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue