Commit Graph

71734 Commits

Author SHA1 Message Date
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
a327755440 pwg5300: change pclk 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
37663da595 pwg5300: add boot logo 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
4cde6eb607 sharp: specify 6x11
this argument will be exported to external env in the future
2021-12-25 02:46:39 +09:00
Takumi Sueda
209485c91d sharp: fix lack of PW-SH7 logo 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
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