Commit Graph

14148 Commits

Author SHA1 Message Date
Takumi Sueda
b70f81f47b sharp: update for 2021.04 / use common header for efficiency 2021-12-26 19:21:27 +09:00
Takumi Sueda
fb3f7768e7 sharp: change board_mmc_init signature 2021-12-26 05:25:53 +09:00
Takumi Sueda
30f72ece5d sharp: fix lack of include 2021-12-26 05:13:12 +09:00
Takumi Sueda
7699efb2ab Ready for PW-x1 (#17)
* pwh1: add board

* pwh1: add eMMC

* pwh1: fix fdt file name

* pwh1: fix defconfig

Co-authored-by: Suguru Saito <sg.sgch07@gmail.com>
Co-authored-by: pepepper <hollyholly2014@outlook.jp>
2021-12-25 02:51:43 +09:00
Suguru Saito
31b79b2ed6 sharp: add pwa7200 2021-12-25 02:46:39 +09:00
Suguru Saito
35192f5638 sharp: add pwg4200 2021-12-25 02:46:39 +09:00
Suguru Saito
90665589a3 sharp: fix implicit declaration 2021-12-25 02:46:39 +09:00
Suguru Saito
85ea200b5b sharp: fix to reset LCDIF module before running linux 2021-12-25 02:46:39 +09:00
Suguru Saito
7d0bfa2ed9 sharp: fix indent 2021-12-25 02:46:39 +09:00
Suguru Saito
894e3cdf68 sharp: change #ifndef for #ifdef 2021-12-25 02:46:39 +09:00
Suguru Saito
3efed1efdd pwg5300: remove unused struct initialization 2021-12-25 02:46:39 +09:00
Suguru Saito
1c2a9c88fb sharp: take care of warning 2021-12-25 02:46:39 +09:00
Suguru Saito
0229f641d1 pwg5300: WIP LCD support 2021-12-25 02:46:39 +09:00
Takumi Sueda
b4a3bd9a94 sharp: add pwsh7 2021-12-25 02:46:39 +09:00
Suguru Saito
adfc527a69 sharp: fix end-of-line 2021-12-25 02:46:39 +09:00
Suguru Saito
031a6d9177 sharp: merged 3rd and 4th gen config 2021-12-25 02:46:39 +09:00
Suguru Saito
64e8e859f6 sharp: add generation config 2021-12-25 02:46:39 +09:00
Suguru Saito
ece6f2e6c8 sharp: add pwg5300 2021-12-25 02:46:39 +09:00
Takumi Sueda
138765c390 sharp: add pwsh6 2021-12-25 02:46:38 +09:00
Takumi Sueda
6d638024ad sharp: add pwsh5 2021-12-25 02:46:38 +09:00
Takumi Sueda
a49c42dc41 sharp: add pwsh4 2021-12-25 02:46:38 +09:00
Takumi Sueda
48f4bdd196 sharp: add pwsh3 2021-12-25 02:46:38 +09:00
Takumi Sueda
0d7a98ed87 sharp: variable screen resolution + flip with GS flag 2021-12-25 02:46:38 +09:00
Takumi Sueda
9c4b8637ca sharp: add pwsh2 2021-12-25 02:46:38 +09:00
Takumi Sueda
380108890d sharp: disable LCDIF DMA just before jumping to Linux 2021-12-25 02:46:38 +09:00
Takumi Sueda
8707fcb7fa pwsh1: clear DDR2 flag to go into LPDDR mode 2021-12-25 02:46:38 +09:00
Takumi Sueda
f22167fa9d pwsh1: specify DRAM regs in per-board impl 2021-12-25 02:46:38 +09:00
Takumi Sueda
fa25f06bfe sharp: format 2021-12-25 02:46:38 +09:00
Takumi Sueda
39ed7888be sharp: split LCD init code into board-specific part and common part 2021-12-25 02:46:38 +09:00
Takumi Sueda
81d7d1344c pwsh1: get rid of unused lines 2021-12-25 02:46:38 +09:00
Takumi Sueda
3ee7fe698b pwsh1: add board 2021-12-25 02:46:38 +09:00
Takumi Sueda
a06779aa2f mxs: enter U-Boot without info from SPL 2021-12-25 02:46:17 +09:00
Fabio Estevam
31d5c44206 pico-imx6ul: Pass the PMIC I2C address in pmic_get()
Pass "pfuze3000@8" in pmic_get() so that the PMIC node can
be found in the devicetree.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2021-04-27 15:13:59 -03:00
Trevor Woerner
381c59c3d1 mx23_olinuxino: convert MMC to driver model
Convert the Olimex Olinuxino board's support for MMC to driver model following
Fabio Estevam's excellent example from:

	commit: 23013aa9619881290dbeb6217f1fab863869050e:
	mx23evk: Convert to driver model

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-04-27 15:13:59 -03:00
Peter Robinson
4844a8dbaa ARM: imx: udoo: convert to DM_ETH
Convert the UDOO board to use DM_ETH.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2021-04-27 15:13:59 -03:00
Peter Robinson
43e7b2bf6f ARM: imx: udoo: Convert block devices to DM
Enable DM block, DM MMC and DM SATA support on iMX6 Udoo
convert board code to match the DM support.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2021-04-27 15:13:59 -03:00
Peter Robinson
661f9d8ab6 ARM: embestmx6boards: convert mars/riot boards to DM_ETH
Convert the boards to use DM_ETH.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: "Eric Bénard" <eric@eukrea.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2021-04-27 15:13:59 -03:00
Peter Robinson
713d1e220f ARM: embestmx6boards: convert the mars/riot boards to DM_MMC
Convert the two Embest boards to use DM MMC.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: "Eric Bénard" <eric@eukrea.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2021-04-27 15:13:59 -03:00
Giulio Benetti
2681dca4c7 board: st: stm32f746-disco: fix console is not enabled while init dram
While initializing dram in spl_dram_init(), mdelay() is called that in
order calls get_ticks() that  verifies if timer exists, if doesn't, it
throws a panic(), but since preloader_console_init() has still not been
called those panic()s will fail. This doesn't help debugging, so let's
setup console before calling spl_dram_init() by moving it after
spl_dram_init().

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2021-04-27 15:13:58 -03:00
Giulio Benetti
c55676b846 board: freescale: imxrt1050-evk: fix console is not enabled while init dram
While initializing dram in spl_dram_init(), mdelay() is called that in
order calls get_ticks() that  verifies if timer exists, if doesn't, it
throws a panic(), but since preloader_console_init() has still not been
called those panic()s will fail. This doesn't help debugging, so let's
setup console before calling spl_dram_init() by moving it after
spl_dram_init().

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2021-04-27 15:13:58 -03:00
Giulio Benetti
91974aaf37 board: freescale: imxrt1020-evk: fix console is not enabled while init dram
While initializing dram in spl_dram_init(), mdelay() is called that in
order calls get_ticks() that  verifies if timer exists, if doesn't, it
throws a panic(), but since preloader_console_init() has still not been
called those panic()s will fail. This doesn't help debugging, so let's
setup console before calling spl_dram_init() by moving it after
spl_dram_init().

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
b9b63790ca board: gateworks: venice: fix gsc_get_dev
use dm_i2c_probe instead of i2c_get_chip which appears to be more
reliable.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2021-04-27 15:13:58 -03:00
Fabio Estevam
985e7afa81 MAINTAINERS: Use my personal e-mail address
Use my personal e-mail address for U-Boot related work.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
83d725eb5a imx: ventana: enable dm for SPI
Enable driver model for SPI which allows us to remove the iomux
and init.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
c335489ccb imx: ventana: enable dm for MTD and NAND
Enable driver model for MTD and NAND support allowing us to remove
the iomux, init, and most of the static configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
18ca9cee6a imx: ventana: enable dm support for MMC and SATA
Enable driver model support for MMC and SATA.

Note that DM_MMC requires aliases for your mmc devices so
they are added to the dts. Linux does not support enumerating mmc
devices by alias so these are not present in the Linux dts.

Note that we still need board_mmc_init() and board_mmc_getcd() for
not DM SPL to support MMC.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
5c56d49dc3 imx: ventana: enable dm support for USB
Enable dm support for USB (which also requires dm support for fixed
regulators used for vbus enable) and remove usb iomux which is no
longer needed.

We can remove the handling of otgpwr_en gpio as this is defined in
dt as usbotg vbus-supply but we need to keep the handling of
USB_HUB_RST# for boards that have a USB HUB as that isn't defined in
the dt's currently.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
c3ac5cee0b imx: ventana: add pinctrl and remove unneeded UART init and config
Once the IMX6 pinctrl driver is added UART is fully using driver mode
so we no longer need to config and initialize it.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
d5cc4d2062 imx: ventana: convert U-Boot to OF_CONTROL using FIT image
In preparation for dm conversion convert to OF_CONTROL by adding FIT image
support and multi dtb.

Add a board_fit_config_name_match to match the dtb based off of EEPROM
model.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00
Tim Harvey
e0dd5a008a imx: ventana: add Gateworks Ventana dts
Add Gateworks Ventana dts/dtsi files from Linux 5.11 in preparation for
conversion to driver-model.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-04-27 15:13:58 -03:00