- 12 Dec, 2019 40 commits
-
-
Bob Beckett authored
Use test command to test for file existance instead of relying on old functionality of ext2load. ext2load now errors if it tries to load a zero length file that exists. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Drop PPD_UART_PAD_CTRL since it matches defaults. Enable DM serial and mxc uart Signed-off-by:
Ian Ray <ian.ray@ge.com> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Cover-letter: board: ge: complete DM conversion This series finishes the conversion to DM mode for drivers used on GE boards. The bulk of the work is for converting i2c board code to DM driver accesses for the various drivers. END
-
Bob Beckett authored
Remove legacy uart pad and iomux code Enable DM serial and mxc uart Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Remove legacy iomux setup for fec. Enable phylib and DM fec. Use Kconfig for enabling fec. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
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 <bob.beckett@collabora.com>
-
Enable DM_VIDEO for mx53ppd. This also requires DM_REGULATOR_FIXED and DM_PWM for the backlight, and `failbootcmd' is changed to use lcdputs. 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. Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Bob Beckett authored
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Remove old (pre-DM) i2c setup code. Enable DM i2c. board: ge: convert vpd to use i2c eeprom Convert common code to use DM rtc. Convert the generic i2c PMIC init code to use the new da9063 driver. mx53ppd only: 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. Note: this is a squash of a few commits due to dropping of i2c compat api Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Bob Beckett authored
Add eepropm partitions to device tree. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Set the correct offset length and chip address offset mask for each device to allow correct access to total capacity of the devices. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Cover-letter: misc: i2c_eeprom: add paritioning and size query Add ability to specify paritions for eeprom in device tree, and query eeprom device sizes. Each partition creates a child device, allowing board code to find the eeprom parition by name. END
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
-
Bob Beckett authored
Add compatible string used by Linux. Allows for simpler syncing of device trees. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
The 3-bit "command", or register, is encoded within the device address. Configure the device accordingly, and pass command in DM I2C read/write calls correctly. Signed-off-by:
Ian Ray <ian.ray@ge.com> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Add a driver for the regulators in the the DA9063 PMIC. Robert Beckett: move regulator modes to header so board code can set modes. Correct mode mask used in ldo_set_mode. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Cover-letter: power: pmic: add Dialog DA9063 PMIC and regulators Add a PMIC driver for DA9063 PMIC and associated registers. Allow pmic dump command to skip register holes. END
-
This adds the basic register access operations and child regulator binding (if a regulator driver exists). Robert Beckett: simplify accesses by using bottom bit of address as offset overflow. This avoids the need to track which page we are on. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Some PMICs (such as the DA9063) have non-contiguous register maps. Attempting to read the non implemented registers returns an error rather than a dummy value which causes 'pmic dump' to terminate prematurely. Fix this by allowing the PMIC driver to return -ENODATA for such registers, which will then be displayed as '--' by pmic dump. Use a single error code rather than any error code so that we can distinguish between a hardware failure reading the PMIC and a non implemented register known to the driver. Signed-off-by:
Martin Fuzzey <martin.fuzzey@flowbird.group>
-
Bob Beckett authored
Add compatible strings used by Linux. Allows for simpler syncing of device trees. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
pass the udevice by reference instead of double ref Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
This driver allows the use of i2c eeprom device or partition as backing store for boot counter values with DM enabled. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Add ability to query size of eeprom device and partitions Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Cover-letter: misc: i2c_eeprom: add paritioning and size query Add ability to specify paritions for eeprom in device tree, and query eeprom device sizes. Each partition creates a child device, allowing board code to find the eeprom parition by name. END
-
Bob Beckett authored
Add ability to partition eeprom via devicetree bindings Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Add support for setting the chip address offset mask to EEPROM sumulator and add tests to test it. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Cover-letter: i2c: add support for offset overflow in to chip address Add support for devices that can overflow the offset in to the chip address. This makes the devices effectively steal consecutive chip addresses. Also improve i2c testing and add new test for this new addressing mode. END
-
Bob Beckett authored
Improve i2c EEPROM simulator testing by providing access functions to check the previous chip addr and offset. Given that we can now directly test the offsets, also simplified the offset mapping and allow for wrapping acceses. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Bob Beckett authored
Some devices (2 wire eeproms for example) use some bits from the chip address to represent the high bits of the offset instead of or as well as using multiple bytes for the offset, effectively stealing chip addresses on the bus. Add a chip offset mask that can be set for any i2c chip which gets filled with the offset overflow during offset setup. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Bob Beckett authored
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Series-to: u-boot@lists.denx.de Series-cc: Robert Beckett <bob.beckett@collabora.com> Series-prefix: RESEND Cover-letter: GE boards initial DM conversion This searies syncs the device trees from Linux, fixes a couple of issues and starts enabling DM features for GE boards. END
-
Bob Beckett authored
Enable DM imx WDT Enable SYSRESET_WATCHDOG to maintain WDT based reset ability Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
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 <ian.ray@ge.com>
-
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 <denis.zalevskiy@ge.com> [Describe PHY reset in device tree] Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
DM should be used for USB since 2019.07, it also requires DM for regulators. Signed-off-by:
Denis Zalevskiy <denis.zalevskiy@ge.com>
-
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 <ian.ray@ge.com>
-
Fix GPIO reservation warning on code paths that do not need LVDS power. Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Fixes commit: 0b09f7b1, which converted to DM_VIDEO, but requires more memory. [Inspired by 9002e735 ] Signed-off-by:
Ian Ray <ian.ray@ge.com>
-