- 01 2月, 2019 2 次提交
-
-
由 Heiko Schocher 提交于
add DTS from linux tree commit "47bfa6d9dc8c060bf56554a465c9031e286d2f80" change for U-Boot: switch to SPDX-license identifier. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
git://git.denx.de/u-boot-video由 Tom Rini 提交于
- ihs and imx driver fixes - relax EDID validation checks for 0 hsync/vsync pulse width (support some quirky displays)
-
- 31 1月, 2019 16 次提交
-
-
git://git.denx.de/u-boot-amlogic由 Tom Rini 提交于
- Add features and fixups to support video on Amlogic GX SoCs - Add video support for Amlogic GX SoC - Add DT fixups - Enable Video and USB Console for libretech-cc board
-
由 Maxime Jourdan 提交于
libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's enable it by default. Also enable: - CONFIG_SYS_WHITE_ON_BLACK for prettiness - CONFIG_VIDEO_DT_SIMPLEFB for framebuffer sharing with kernel Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
With the recent addition of the meson VPU driver, enable the following config entries by default for meson-64 targets: CONFIG_CONSOLE_MUX, CONFIG_SYS_CONSOLE_IS_IN_ENV. This allows outputting the console via video if CONFIG_VIDEO_MESON is selected. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Neil Armstrong 提交于
Allows displaying the console via video and using a USB keyboard. Also enables CONFIG_SPLASH_SCREEN if using video. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
There's no reliable way to reuse the hhi entry from the vpu as is done in the linux kernel, so we duplicate it here. We will be able to sync against kernel DTS in the future when the VPU gets based on the clock framework rather than the HHI reg. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Neil Armstrong 提交于
The hdmi_5v regulator must be enabled to provide power to the physical HDMI PHY and enables the HDMI 5V presence loopback for the monitor. Fixes: b409f625a6d5 ("ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards") Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NKevin Hilman <khilman@baylibre.com> [backport of linux commit e1f2163deac059ad39f07aba9e314ebe605d5a7a]
-
由 Maxime Jourdan 提交于
Flag the appropriate nodes with u-boot,dm-pre-reloc Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Neil Armstrong 提交于
This adds video output support for Amlogic GXBB/GXL/GXM chips. The supported ports are CVBS and HDMI (based on DW_HDMI). When using HDMI, only DMT modes are supported. There is support for simple-framebuffer (CONFIG_VIDEO_DT_SIMPLEFB) Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NJorge Ramire-Ortiz <jramirez@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> [narmstrong: fixed defines alignment in meson_canvas.c] Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jorge Ramirez-Ortiz 提交于
Some IPs like the meson VPU can only feed a particular pixel format to dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input. This commit enables different pixel format inputs, with the appropriate CSC configuration. Signed-off-by: NJorge Ramire-Ortiz <jramirez@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jorge Ramirez-Ortiz 提交于
Some IPs like the meson VPU have a specific way to write to dw_hdmi registers. Make it configurable. Signed-off-by: NJorge Ramirez-Ortiz <jramirez@baylibre.com> [added commit description] Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Neil Armstrong 提交于
Add entry for Amlogic SoC maintained files and the freshly created mailing-list. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Heinrich Schuchardt 提交于
If `make mrproper` does not delete the generated drivers/video/fonts/*.S files a following `make tests` fails. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Goldschmidt 提交于
This unbreaks dfu mmc_file_op which is currently broken since using the load cmd on a buffer from heap is not allowed - added with commit aa3c609e ("fs: prevent overwriting reserved memory") Fixes: commit aa3c609e ("fs: prevent overwriting reserved memory") Reported-by: NStephen Warren <swarren@wwwdotorg.org> Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: NStephen Warren <swarren@nvidia.com> Acked-by: NLukasz Majewski <lukma@denx.de>
-
-
- 30 1月, 2019 14 次提交
-
-
由 Jagan Teki 提交于
Enable DM_MMC for all Allwinner SoCs, this will eventually enable BLK. Also removed DM_MMC enablement in few parts of sunxi configurations. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Like other Allwinner A64 boards, pinebook also need altering auto-numbering of mmc2 to mmc1 which is available in common sunxi dsti file, sunxi-u-boot.dtsi Pinebook has a separate sun50i-a64-pinebook-u-boot.dtsi which takes more precedence for u-boot.dtsi inclusion and it eventually failed to include the sunxi-u-boot.dtsi. So, this patch add support to include the sunxi-u-boot.dtsi in the sun50i-a64-pinebook-u-boot.dtsi Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> # Pinebook
-
由 Jagan Teki 提交于
Environment and fastboot mmc devices are configured based on the number of mmc slots defined on particular board configs, MMC_SUNXI_SLOT_EXTRA. If MMC_SUNXI_SLOT_EXTRA is more than 1, the default env and fastboot mmc devices is mmc1 by assuming mmc0 is SD and mmc1 is emmc device. But with DM_MMC the mmc devices are numbered as per the dts node enablement. If there is a chance of having enabling all mmc nodes in dts say mmc0, mmc1, mmc2 then the default env and fastboot devices will failed to assign proper emmc device since mmc2 is emmc in most of the Allwinner platforms. So, we need to alter the auto-numbering by aliasing mmc2 to mmc1 since aliases take precedence over auto-numbering. If the dts enables mmc0, mmc1, mmc2, then all the nodes will probe sequentially and auto-numbered as it is. but when aliases mmc1 with mmc2 the resulting number should be that mmc0 is till mmc0, mmc2 become mmc1 and mmc2 become mmc1 Without aliases of mmc1 = &mmc2; ------------------------------- MMC: mmc@1c0f000: 0, mmc@1c10000: 1, mmc@1c11000: 2 With aliases of mmc1 = &mmc2; ---------------------------- MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from FAT... OK Some platforms like A20 has mmc0...mmc3, but there is no usecases now for enabling all mmc controllers in any of A20 board dts files. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Andre Przywara 提交于
Some Allwinner clock devices have parent clocks and reset gates itself, which need to be activated for them to work. Add some code to just assert all resets and enable all clocks given. This should enable the A80 MMC config clock, which requires both to be activated. The full CCU devices typically don't require resets, and have just fixed clocks as their parents. Since we treat both as optional and enabling fixed clocks is a NOP, this works for all cases, without the need to differentiate between those clock types. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com>
-
-
由 Andre Przywara 提交于
If a board DT describes a cd-gpios property, but also marks the storage as non-removable, we must ignore the GPIO (as Linux does). Teach the DM_MMC part of the Allwinner MMC driver about the non-removable DT property, to fix DM_MMC access on the SoPine and Pine64-LTS board. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com>
-
由 Andre Przywara 提交于
Enabling DM_MMC skips the call to mmc_pinmux_setup() in board.c, as this is supposed to be handled by the MMC driver, using DT information. However we don't have a pinctrl driver yet, but would still like to keep the working pinmux setup for our MMC devices. So bring this particular call back to the DM_MMC code flow. When booting from either SD card or eMMC, the SPL does the setup for us, but when booting from SPI or USB we must not skip this part. Fixes, boot via FEL or SPI flash, where the SPL won't setup the pinmux Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com> [jagan: add Fix details on commit message] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Andre Przywara 提交于
Now that we have the gate clocks and the reset gates in our new Allwinner clock driver, let's make use of them in the MMC driver, when DM_MMC is defined. We treat the reset device as optional now, as the older SoCs don't implement it. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Jagan Teki 提交于
A80 gates clock already be part of CLK framework, so just add mod_clk offset with A80 compatible string. Cc: Rask Ingemann Lambertsen <rask@formelder.dk> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Unlike other Allwinner SoC's, H6 uses a different MMC mod clock offset. Connect that with the respective compatible string. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Add MMC compatible strings for A83T, A64, H5. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Andre Przywara 提交于
The A80 handles resets and clock gates for the MMC devices differently, outside of the CCU IP block. Consequently we have a separate clock device with a separate binding for that. Implement that with the respective clock gates and resets to allow the A80 taking part in the DM_MMC game. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> [jagan: fix a80 mmc clock config compatible] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Andre Przywara 提交于
Add the MMC clock gates and reset bits for all the Allwinner SoCs. This allows them to be used by the MMC driver. We don't advertise the mod clock yet, as this is still handled by the MMC driver. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> [jagan: add V3S, A80 gates/resets] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Jagan Teki 提交于
Enable USB host controllers for Amarula A64-Relic board, the respective nodes are already present in DTS. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
- 29 1月, 2019 8 次提交
-
-
由 Patrick Delaunay 提交于
Update generation of spl binaries - continue to generate all SPL files in spl sub-directory - copy in root folder the needed file for user (YOCTO, buildroot): u-boot-spl.stm32 Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
git://git.denx.de/u-boot-amlogic由 Tom Rini 提交于
Adds pinconf support for the Amlogic pinctrl driver (fixed)
-
由 Jerome Brunet 提交于
Adding pinconf support is necessary to enable boot from SPI without breaking the eMMC. When booting from SPI, the ROM code leave pull downs on the eMMC pad. We need to set pinconf provided in DT to solve this Signed-off-by: NJerome Brunet <jbrunet@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> [narmstrong: added missing comma in pinctrl-meson-axg-pmx.c]
-
由 Mario Six 提交于
The ihs_video_out driver's error handling is incorrect in two places (one is a missing negation, and in one place a error should be ignored). Fix these two instances. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Priit Laes 提交于
Current EDID detailed timing parser errors out when either horizontal or vertical pulse sync width is 0, thus not allowing a display with EDID listed below work properly. EDID below works ok within Linux although it warns about these two fields being 0. Therefore relax the checks a bit so we can actually use this the screen out of the box. Of-course, this display itself is somewhat quirky display with following anti-features: - HPD pin is not usable - although resolution is 640x480, only top 240 pixels are visible $ xxd -p display.edid 00ffffffffffff0005a1e00301000000150f0103800f05780a0f6ea05748 9a2610474f200000010101010101010101010101010101012a08804520e0 0b1020004000953600000018000000fd0034441a2403000a202020202020 0000001000310a20202020202020202020200000001000002a4030701300 782d1100001e006b $ edid-decode display.edid EDID version: 1.3 Manufacturer: AMA Model 3e0 Serial Number 1 Digital display Maximum image size: 15 cm x 5 cm Gamma: 2.20 RGB color display First detailed timing is preferred timing Display x,y Chromaticity: Red: 0.6250, 0.3398 Green: 0.2841, 0.6044 Blue: 0.1494, 0.0644 White: 0.2802, 0.3105 Established timings supported: 640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz Standard timings supported: Detailed mode: Clock 20.900 MHz, 149 mm x 54 mm 640 672 672 709 hborder 0 480 484 484 491 vborder 0 -hsync -vsync VertFreq: 60 Hz, HorFreq: 29478 Hz Monitor ranges (GTF): 52-68Hz V, 26-36kHz H, max dotclock 30MHz Dummy block Dummy block Checksum: 0x6b (valid) Signed-off-by: NPriit Laes <priit.laes@paf.com> Signed-off-by: NPriit Laes <plaes@plaes.org>
-
由 Ye Li 提交于
When framebuffer driver init is failed, we should return the err value not 0. So the video init can exit immediately. Signed-off-by: NYe Li <ye.li@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Adam Ford 提交于
This patch enables Falcon Mode by default and updates the README file to show instructions on how to run from the micro SD card or eMMC. This patch also enables fatwrite to help assist with writing the 'args' to the microSD card. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
With the updated device trees in place, this patch enables DM_USB which uses several regulators also enabled with this patch. Signed-off-by: NAdam Ford <aford173@gmail.com>
-