| 1 | /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ |
| 2 | |
| 3 | #include <device/mmio.h> |
| 4 | #include <soc/addressmap.h> |
| 5 | #include <soc/dptx.h> |
| 6 | #include <soc/dp_intf.h> |
| 7 | |
| 8 | void dptx_set_tx_power_con(void) |
| 9 | { |
| 10 | write32p(EDP_CLK_BASE + DISP_EDPTX_PWR_CON, 0xC2FC224D); |
| 11 | } |
| 12 | |
| 13 | void dptx_set_26mhz_clock(void) |
| 14 | { |
| 15 | write32p(CKSYS_GP2_BASE + CKSYS2_CLK_CFG_3_CLR, 0xFF000000); |
| 16 | write32p(CKSYS_GP2_BASE + CKSYS2_CLK_CFG_UPDATE, 0x00008000); |
| 17 | } |