The E850-96 board has a LAN9514 chip which acts as a USB hub and Ethernet controller. It's connected to the SoC via USB lines. In order to make this chip functional the USB controller in Exynos850 SoC has to be configured in the host role, and the corresponding power regulator has to be enabled as well.
This patch series enables USB host and network support on the E850-96 by making use of the LAN9514 chip. While at it, enable all power regulators (LDO) in the PMIC chip which can be useful in the bootloader and kernel, including the regulator used for LAN9514. Sam Protsenko (10): usb: host: dwc3-of-simple: Add exynos850 compatible board: samsung: e850-96: Set ethaddr board: samsung: e850-96: Add ACPM code board: samsung: e850-96: Add PMIC code board: samsung: e850-96: Configure PMIC regulators board: samsung: e850-96: Extract device info from fw loading code board: samsung: e850-96: Add bootdev var to choose boot device configs: e850-96: Disable CONFIG_DEFAULT_FDT_FILE configs: e850-96: Enable USB host support configs: e850-96: Enable Ethernet board/samsung/e850-96/Makefile | 2 +- board/samsung/e850-96/acpm.c | 169 ++++++++++++++++++++++++++++++ board/samsung/e850-96/acpm.h | 27 +++++ board/samsung/e850-96/e850-96.c | 97 +++++++++++++++-- board/samsung/e850-96/e850-96.env | 2 +- board/samsung/e850-96/fw.c | 45 ++++---- board/samsung/e850-96/fw.h | 4 +- board/samsung/e850-96/pmic.c | 144 +++++++++++++++++++++++++ board/samsung/e850-96/pmic.h | 14 +++ configs/e850-96_defconfig | 10 +- drivers/usb/host/dwc3-of-simple.c | 1 + 11 files changed, 482 insertions(+), 33 deletions(-) create mode 100644 board/samsung/e850-96/acpm.c create mode 100644 board/samsung/e850-96/acpm.h create mode 100644 board/samsung/e850-96/pmic.c create mode 100644 board/samsung/e850-96/pmic.h -- 2.39.5

