class TypeCDdiClockSelect

Defined at line 880 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

DDI_CLK_SEL

Type C DDI Clock Selection

Each Type-C DDI has 5 PLL inputs: Type-C PLL, and Thunderbolt PLL with 4

different frequencies.

Tiger Lake: IHD-OS-TGL-Vol 12-1.22-Rev 2.0, Page 169 "PLL Arrangement"

This register selects the clock source for a given Type-C DDI.

Tiger Lake: IHD-OS-TGL-Vol 2c-1.22-Rev 2.0 Part 1, Page 356-357

Public Members

 field_clock_select_raw_887

Public Methods

template <, >
typename SelfType::ValueType clock_select_raw ()

Select which clock to use for this DDI.

Valid values are listed below in `ClockSelect` enum class.

Driver can use `clock_select` and `set_clock_select` helper methods to

read / write to this field.

Defined at line 887 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

template <, >
SelfType & set_clock_select_raw (typename SelfType::ValueType val)

Select which clock to use for this DDI.

Valid values are listed below in `ClockSelect` enum class.

Driver can use `clock_select` and `set_clock_select` helper methods to

read / write to this field.

Defined at line 887 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

std::optional<ClockSelect> clock_select ()

Helper method to read the `clock_select_raw` field and check its validity.

Defined at line 899 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

SelfType & set_clock_select (ClockSelect clock)

Helper method to set the `clock_select_raw` field using a strongly-typed

enum class.

Defined at line 910 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

hwreg::RegisterAddr<SelfType> GetForDdi (intel_display::DdiId ddi_id)

Defined at line 914 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

Enumerations

enum ClockSelect
Name Value
kNone 0b0000
kTypeCPll 0b1000
kThunderbolt162MHz 0b1100
kThunderbolt270MHz 0b1101
kThunderbolt540MHz 0b1110
kThunderbolt810MHz 0b1111

Defined at line 889 of file ../../src/graphics/display/drivers/intel-display/registers-ddi.h

Records