summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/brya/variants/agah/overridetree.cb
diff options
context:
space:
mode:
authorMeera Ravindranath <meera.ravindranath@intel.com>2022-07-21 20:45:32 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-08-03 12:45:20 +0000
commitd307d0d2fb69f960ba300e27937105135f1a1a9c (patch)
tree1feca40afdb7c6ab2c6d148ddd24bfc807012dad /src/mainboard/google/brya/variants/agah/overridetree.cb
parent3046948867ea060d59d7cad31c0718e3dc12c698 (diff)
downloadcoreboot-d307d0d2fb69f960ba300e27937105135f1a1a9c.tar.gz
coreboot-d307d0d2fb69f960ba300e27937105135f1a1a9c.tar.bz2
coreboot-d307d0d2fb69f960ba300e27937105135f1a1a9c.zip
soc/soc/intel: Add UFS device with ref-clk-freq property
UFS storage devices require the bRefClkFreq attribute to be set to operate correctly in high speed mode. The correct value is determined by what the SoC / board supports. For the ADL UFS controller, it is 19.2 MHz. a) Introduce a new ACPI property "ref-clk-freq". b) Add support to configure this property using an SoC Kconfig. Kernel patch: https://web.archive.org/web/20220801060732/https://lore.kernel.org/all/ 20220715210230.1.I365d113d275117dee8fd055ce4fc7e6aebd0bce9@changeid/ BUG=b:238262674 TEST=Build,boot Nirwen and dump SSDT entries and check that the kernel correctly parses ref-clk-freq as 19.2 MHz. Scope (\_SB.PCI0) { Device (UFS) { Name (_ADR, 0x0000000000120007) // _ADR: Address Name (_DDN, "UFS Controller") // _DDN: DOS Device Name Name (_DSD, Package (0x02) // _DSD: Device-Specific Data { ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301") /* Device Properties for _DSD */, Package (0x01) { Package (0x02) { "ref-clk-freq", 0x0124F800 } } }) } } Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com> Signed-off-by: Reka Norman <rekanorman@chromium.org> Change-Id: I80c338a8a61f161b0feb6c5a3ca00cf5e0cfb36c Reviewed-on: https://review.coreboot.org/c/coreboot/+/66051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/agah/overridetree.cb')
0 files changed, 0 insertions, 0 deletions