Commit Graph

71722 Commits

Author SHA1 Message Date
Suguru Saito
64e8e859f6 sharp: add generation config 2021-12-25 02:46:39 +09:00
Suguru Saito
2a59e92e94 pwg5300: remove video support 2021-12-25 02:46:39 +09:00
Suguru Saito
ece6f2e6c8 sharp: add pwg5300 2021-12-25 02:46:39 +09:00
Takumi Sueda
6f65358197 sharp: update dtb file name 2021-12-25 02:46:38 +09:00
Takumi Sueda
e836e9a29e sharp: fix wrong header define 2021-12-25 02:46:38 +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
2badb893f7 pwsh1: update logo 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
da8e30c97f pwsh1: add BMP logo 2021-12-25 02:46:38 +09:00
Takumi Sueda
81e132b8d9 video: add 6x11 font copied from Linux 2021-12-25 02:46:38 +09:00
Takumi Sueda
b55c285de8 pwsh1: show console on the LCD 2021-12-25 02:46:38 +09:00
Takumi Sueda
79a28533d2 pwsh1: enable video 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
91de1519bc dma: export mxs_dma_disable 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
f65c699aca pwsh1: define missing VIDEO_MXS 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
758f5938d4 mxs: place U-Boot to where EBOOT looks at 2021-12-25 02:46:17 +09:00
Takumi Sueda
a06779aa2f mxs: enter U-Boot without info from SPL 2021-12-25 02:46:17 +09:00
Takumi Sueda
bf305324d2 arm: imx: implement PWM regs 2021-12-25 02:46:17 +09:00
Max Krummenacher
31cf6b483b imx: bootaux fix elf loading
This reverts the arch/arm/mach-imx/imx_bootaux.c changes of commit
805b3cac1e. The loader function name was changed so that it does
not clash with the generically available function in lib/elf.c.

imx-bootaux loads an elf file linked for an auxilary core. Thus the
loader function requires address translation from the auxilary core's
address space to where those are mapped into U-Boot's address space.

So the elf loader is specific and must not be replaced with a generic
loader which doesn't provide the address translation functionality.

Fixes commit 805b3cac1e ("lib: elf: Move the generic elf
loading/validating functions to lib")

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-04-27 15:13:59 -03: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
Haibo Chen
0c4c8a47ff mmc: fsl_esdhc_imx: add extra delay for IO voltage switch if necessary
Some board like imx8mm-evkb, IO voltage switch from 3.3v to 1.8v need
around 18ms, common code only delay 10ms, so need to delay extra 8ms.
Otherwise voltage switch will timeout when wait for data0 line.

This IO voltage switch time depends on board design, depend on the
PMIC and capacitance. imx8mm-evkb board use PCA9450(PMIC) and 10uF
capacitance.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2021-04-27 15:13:59 -03:00
Haibo Chen
4400755501 mmc: fsl_esdhc_imx: remove redundant cmd11 related code.
Common code already handle the voltage switch sequence based on spec,
so remove the redundant voltage switch code.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2021-04-27 15:13:59 -03:00
Heinrich Schuchardt
99f45acc2a imx6: icorem6: chmod 644 enigcam.bmp
Bitmap files should not be executable.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2021-04-27 15:13:59 -03:00
Yuichiro Goto
f373b70e65 imx: imx6ull: fix pinmux sel_input value for uart5 pins
sel_input value for the following uart5 pins is
different between i.MX6UL and i.MX6ULL:

MX6_PAD_UART5_TX_DATA__UART5_DTE_RX
MX6_PAD_UART5_RX_DATA__UART5_DCE_RX
MX6_PAD_ENET1_RX_EN__UART5_DCE_RTS
MX6_PAD_ENET1_TX_DATA0__UART5_DTE_RTS
MX6_PAD_CSI_DATA02__UART5_DCE_RTS

As sel_input value for the second one is fixed by
the previous commit, fix the rest.

Signed-off-by: Yuichiro Goto <goto@k-tech.co.jp>
2021-04-27 15:13:59 -03:00
Marek Vasut
2057560647 doc: imx: psb: Document usage of SRC_GPR10 PERSIST_SECONDARY_BOOT for A/B switching
Document SRC_GPR10 PERSIST_SECONDARY_BOOT functionality. This is useful for
reliable bootloader A/B updates, as it permits switching between two copies
of bootloader at different offsets of the same storage. The switch happens
in case one copy is corrupted OR can be enforced by user. This functionality
is present at least since i.MX53, however is poorly documented in all known
SoC datasheets, hence this document aims to clarify the usage, currently on
i.MX7D and i.MX8MM.

Signed-off-by: Marek Vasut <marex@denx.de> # Original MX7D work, this document
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io> # All the MX8M work
Cc: Christoph Niedermaier <cniedermaier@dh-electronics.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Harald Seiler <hws@denx.de>
Cc: Igor Opaniuk <igor.opaniuk@foundries.io>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2021-04-27 15:13:59 -03:00
Niel Fourie
45209a09cd ARM: pcm058: Match mainline Linux NAND ECC layout/behaviour
Enabled "fsl,legacy-bch-geometry" in U-Boot device tree overlay
to match the legacy BCH geometry layout, which mainline Linux
applies when "fsl,use-minimum-ecc" is not specified in the device
tree.

Reinstated SYS_NAND_ONFI_DETECTION, which when disabled, masked
the mismatch on SOMs with Winbond NAND flash chips.

Signed-off-by: Niel Fourie <lusus@denx.de>
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
Trevor Woerner
e4b05f259e mx23_olinuxino: enable device tree
Add the dts file for the Olimex Olinuxino from the linux kernel, and enable
its use in this machine's defconfig.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-04-27 15:13:59 -03:00
Haibo Chen
bc135db5ff mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output
For FSL_USDHC, it do not implement VENDORSPEC_CKEN/PEREN/HCKEN/IPGEN, these
are reserved bits. Instead, use VENDORSPEC_FRC_SDCLK_ON to gate on/off the
card clock output.

After commit b5874b552f ("mmc: fsl_esdhc_imx: add wait_dat0() support"),
we meet SD3.0 card can't work at UHS mode, mmc_switch_voltage() fail because
the second mmc_wait_dat0 return -ETIMEDOUT. According to SD spec, during
voltage switch, need to gate off/on the card clock. If not set the FRC_SDCLK_ON,
after CMD11, hardware will gate off the card clock automatically, so card do
not detect the clock off/on behavior, so will draw the data0 line low until
next command.

Fixes: b5874b552f ("mmc: fsl_esdhc_imx: add wait_dat0() support")
Tested-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.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
0dd0629036 ARM: imx: udoo: drop MTD config
The UDOO doesn't have any MTD storage so drop the config.

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
cf53d1ce03 ARM: imx: udoo: Enable OF_CONTROL and DM gpio/pin control
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6 based Udoo boards.

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
3f87a85fb9 ARM: board: udoo: Import UDOO dts files
Import the i.MX6 based UDOO dts files from Linux 5.12-rc1.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2021-04-27 15:13:59 -03:00
Peter Robinson
5349a08587 ARM: embestmx6boards: convert the mars/riot boards to DM SPI
Enable DM_SPI and DM_SPI_FLASH on the mars/riot boards.

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
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
d07f4a4166 ARM: embestmx6boards: convert mars/riot boards to DM_USB
Convert the marsboard/riotboard to use DM_USB.

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
Peter Robinson
bbcdd277ab ARM: riotboard: Enable OF_CONTROL and DM gpio/pin control
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6D based riotboard.

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
50d152210a ARM: embestmx6boards: merge the riotboard's configs together
It doesn't make much sense to have two separate configs for
the riotboard so let's merge the SPL config into the main one
for less duplication.

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