class HdmiClockControl
Defined at line 419 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
HHI_HDMI_CLK_CNTL - Configures "cts_hdmitx_sys_clk" and
"cts_hdmitx_pixel_clk".
A311D Datasheet, Section 8.7.6 Register Descriptions, Page 157.
S905D2 Datasheet, Section 6.6.6 Register Descriptions, Page 142.
S905D3 Datasheet, Section 6.7.6 Register Descriptions, Page 133.
Public Members
field_RsvdZ_471
field_hdmi_tx_pixel_clock_selection_473
field_RsvdZ_475
field_hdmi_tx_system_clock_selection_477
field_hdmi_tx_system_clock_enabled_479
field_RsvdZ_481
field_hdmi_tx_system_clock_divider_minus_one_485
static const int kMinHdmiTxSystemClockDivider
static const int kMaxHdmiTxSystemClockDivider
Public Methods
hwreg::RegisterAddr<HdmiClockControl> Get ()
Defined at line 469 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
HdmiTxPixelClockSource hdmi_tx_pixel_clock_selection ()
Defined at line 473 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_hdmi_tx_pixel_clock_selection (HdmiTxPixelClockSource val)
Defined at line 473 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
HdmiTxSystemClockSource hdmi_tx_system_clock_selection ()
Defined at line 477 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_hdmi_tx_system_clock_selection (HdmiTxSystemClockSource val)
Defined at line 477 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType hdmi_tx_system_clock_enabled ()
NOLINTEND(misc-non-private-member-variables-in-classes)
Defined at line 479 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_hdmi_tx_system_clock_enabled (typename SelfType::ValueType val)
Defined at line 479 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
typename SelfType::ValueType hdmi_tx_system_clock_divider_minus_one ()
Prefer `HdmiTxSystemClockDivider()` and `SetHdmiTxSystemClockDivider()` to
accessing the field directly.
Defined at line 485 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
template <, >
SelfType & set_hdmi_tx_system_clock_divider_minus_one (typename SelfType::ValueType val)
Prefer `HdmiTxSystemClockDivider()` and `SetHdmiTxSystemClockDivider()` to
accessing the field directly.
Defined at line 485 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
HdmiClockControl & SetHdmiTxSystemClockDivider (int divider)
Defined at line 487 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
int HdmiTxSystemClockDivider ()
Defined at line 493 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
Enumerations
enum HdmiTxPixelClockSource
| Name | Value |
|---|---|
| kVideoClock1 | 0 |
| kVideoClock1Div2 | 1 |
| kVideoClock1Div4 | 2 |
| kVideoClock1Div6 | 3 |
| kVideoClock1Div12 | 4 |
| kVideoClock2 | 8 |
| kVideoClock2Div2 | 9 |
| kVideoClock2Div4 | 10 |
| kVideoClock2Div6 | 11 |
| kVideoClock2Div12 | 12 |
| kTimingControllerClock | 15 |
Selection of video clock muxes.
The mux value
<
-> clock source mapping is shown in the following diagram
of the Amlogic datasheets:
A311D Datasheet, Figure 8-13 "Video Clock Tree", Section 8.7.1.4 EE Clock
Tree, Page 114.
S905D2 Datasheet, Figure 6-12 "Video Clock Tree", Section 6.6.2.4 EE Clock
Tree, Page 98.
S905D3 Datasheet, Figure 6-13 "Video Clock Tree", Section 6.7.2.4 EE Clock
Tree, Page 99.
Defined at line 431 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h
enum HdmiTxSystemClockSource
| Name | Value |
|---|---|
| kExternalOscillator24Mhz | 0 |
| kFixed500Mhz | 1 |
| kFixed666Mhz | 2 |
| kFixed400Mhz | 3 |
Defined at line 458 of file ../../src/graphics/display/drivers/amlogic-display/clock-regs.h