11 Feb, 2020

1 commit


10 Feb, 2020

6 commits

  • Drop PPD_UART_PAD_CTRL since it matches defaults.
    Enable DM serial and MXC uart.

    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Ian Ray
     
  • Remove legacy uart pad and iomux code
    Enable DM serial and mxc uart

    Signed-off-by: Robert Beckett

    Robert Beckett
     
  • Remove legacy iomux setup for fec.
    Enable phylib and DM fec.
    Use Kconfig for enabling fec.

    Signed-off-by: Robert Beckett

    Robert Beckett
     
  • Add backlight and panel devicetree definitions
    Use UCLASS_PANEL to enable backlight via display enable handler
    Remove old explicit gpio code for handling backlight
    Use cls command to initiate display in HW agnostic manner
    Enable DM regulator and pwm

    Signed-off-by: Robert Beckett

    Robert Beckett
     
  • Enable DM_VIDEO for mx53ppd.
    Enable DM_REGULATOR_FIXED and DM_PWM for the backlight.
    Remove unused MX53PPD_LCD_POWER.
    Remove old (incorrect) setup_iomux_lcd.
    Enable backlight via display enable handler.
    Use cls command to initiate display in HW agnostic manner.
    Modify `failbootcmd' to use lcdputs.

    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Ian Ray
     
  • Remove old (pre-DM) i2c setup code.
    Enable DM i2c.
    Convert common code to use DM rtc.
    Convert common code to read VPD from eeprom partition.
    Convert the generic i2c PMIC init code to use the new da9063 driver.

    mx53ppd only:
    Correct RTC compatible in device tree.
    Enable MXC DM i2c driver.
    Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc.
    Make GPIO banks available during preloc, since initialisation is done
    in board_early_init_f().
    Add gpio_request() calls to satisfy the DM_GPIO compatibility API.
    Remove unused power configuration.

    Signed-off-by: Robert Beckett
    Signed-off-by: Ian Ray

    Robert Beckett
     

06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

07 Jan, 2020

6 commits

  • Enable DM imx WDT
    Enable SYSRESET_WATCHDOG to maintain WDT based reset ability

    Signed-off-by: Robert Beckett

    Robert Beckett
     
  • Pass rtc_status via the device tree, instead of on kernel command line.
    Additionally, the 2038 mitigation is reported, if applied successfully.

    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Ian Ray
     
  • DM for PCI pulls DM for ethernet that also needs other changes described
    below to build u-boot and keep existing functionality - ability to update
    MAC addresses of FEC ethernet adapter and I210 adapter connected to the
    Marvell switch.

    - fec_mxc driver with DM needs PHYLIB;

    - configuration items are moved from ge_bx50v3.h to ge_bx50v3_defconfig;

    - FEC is marked as eth0 because it is always present, so indices changed:
    I210 are still probed in the same order;

    - board_eth_init() was used by legacy ethernet, setup for enet iomux and
    pcie is moved to the board_late_init();

    - pci_init() is called from the board_late_init() to initiate PCI bus
    probing, so I210 devices are propagated to the device tree;

    Signed-off-by: Denis Zalevskiy
    [Describe PHY reset in device tree]
    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Denis Zalevskiy
     
  • Use vidconsole for output to the LCD, now that DM_VIDEO is used. Write
    white text on a black background, like before migrating to DM_VIDEO.

    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Ian Ray
     
  • Fix GPIO reservation warning on code paths that do not need LVDS power.

    Signed-off-by: Ian Ray
    Signed-off-by: Robert Beckett

    Ian Ray
     
  • Copy device trees from linux, keeping them as separate files for
    each board to ease future sync.

    Update board code to use generic bx50v3 dt initially, then select
    the specific dt based on board detection.

    Signed-off-by: Robert Beckett

    Robert Beckett
     

03 Dec, 2019

1 commit


12 Aug, 2019

2 commits


23 Jun, 2019

1 commit


14 Apr, 2019

6 commits


01 Jan, 2019

2 commits

  • board/ge/mx53ppd/mx53ppd.c: In function 'board_late_init':
    board/ge/mx53ppd/mx53ppd.c:359:23: error: passing argument 2 of 'read_vpd' from incompatible pointer type [-Werror=incompatible-pointer-types]
    res = read_vpd(&vpd, vpd_callback);
    ^~~~~~~~~~~~
    In file included from board/ge/mx53ppd/mx53ppd.c:37:0:
    board/ge/mx53ppd/../../ge/common/vpd_reader.h:19:5: note: expected 'int (*)(struct vpd_cache *, u8, u8, u8, size_t, const u8 *) {aka int (*)(struct vpd_cache *, unsigned char, unsigned char, unsigned char, unsigned int, const unsigned char *)}' but argument is of type 'int (*)(void *, u8, u8, u8, size_t, const u8 *) {aka int (*)(void *, unsigned char, unsigned char, unsigned char, unsigned int, const unsigned char *)}'
    int read_vpd(struct vpd_cache *cache,
    ^~~~~~~~
    cc1: all warnings being treated as errors

    Signed-off-by: Peng Fan
    Acked-by: Stefano Babic

    Peng Fan
     
  • Merge functionality duplicated in bx50v3 and mx53ppd: the logic
    is the same except that process_vpd is called at different phases.
    Also read_vpd could end up in error, so there is no VPD data in this
    case - it shouldn't be processed.

    Signed-off-by: Denis Zalevskiy
    Signed-off-by: Fabien Lahoudere

    Denis Zalevskiy
     

17 Dec, 2018

2 commits


22 Oct, 2018

4 commits

  • I2C bus 0 was not initialized correctly. There is an offset between i2c
    index and the structure number of pad info. So i2c bus 0 can be in an
    inconsistent state.

    This problem become visible on B{4,6}50v3 with the CPUC HW watchdog enabled.
    Sometimes when the CPUC HW watchdog interrupted the boot process, U-Boot was
    not able to read VPD from I2C/EEPROM and the system failed to boot up again,
    because a device connected to that bus was stuck in data transfer state (from
    previous boot attempt) and there was no method to recover (struct
    mxc_i2c_bus::idle_bus_fn was not set) courtesy of incorrect initialization.

    Signed-off-by: Dan Cimpoca
    Signed-off-by: Fabien Lahoudere

    Dan Cimpoca
     
  • The b{4,6}50v3 kernel framebuffer console requires a modeline otherwise
    the LVDS panel shows garbage.

    Signed-off-by: Ian Ray
    Signed-off-by: Fabien Lahoudere

    Ian Ray
     
  • Use Video PLL to provide 65MHz for all displays.

    Signed-off-by: Ian Ray
    Signed-off-by: Fabien Lahoudere

    Ian Ray
     
  • While using ./scripts/get_maintainer.pl I detect that the Maintainer name
    and address for bx50v3 boards are not valid.
    The new maintainer for GE bx50v3 products must be Ian Ray.

    Signed-off-by: Fabien Lahoudere

    Fabien Lahoudere
     

27 Jun, 2018

1 commit


17 May, 2018

7 commits