| 1 | /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ |
| 2 | |
| 3 | /* |
| 4 | * This file is created based on MT8189 Functional Specification |
| 5 | * Chapter number: 10.28 |
| 6 | */ |
| 7 | |
| 8 | #include <device/mmio.h> |
| 9 | #include <soc/addressmap.h> |
| 10 | #include <soc/dptx.h> |
| 11 | #include <soc/dp_intf.h> |
| 12 | |
| 13 | void dptx_set_tx_power_con(void) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | void dptx_set_26mhz_clock(void) |
| 18 | { |
| 19 | write32p(CKSYS_BASE + CKSYS_CLK_CFG_16_CLR, 0xFF000000); |
| 20 | write32p(CKSYS_BASE + CKSYS_CLK_CFG_UPDATE, 0x00000020); |
| 21 | } |