blob: 3341c3ec0d7ccba1af27bd89141f42d299034882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
#include <device/mmio.h>
#include <soc/iocfg.h>
#include <soc/pmif_spi.h>
/* IOCFG_BM, PWRAP_SPI_DRIVING */
DEFINE_BITFIELD(PWRAP_SPI_DRIVING, 11, 9)
void pmif_spi_iocfg(void)
{
/* Set SoC SPI IO driving strength to 6 mA */
SET32_BITFIELDS(&mtk_iocfg_lt->drv_cfg2, PWRAP_SPI_DRIVING, IO_6_MA);
}
|