16 Jul, 2020

1 commit


08 May, 2020

2 commits


02 Mar, 2020

1 commit


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
     

04 Feb, 2020

1 commit


28 Jan, 2020

1 commit


10 Jan, 2020

1 commit

  • DS3232 is an i2c RTC with 236 bytes of battery-backed SRAM.

    Add an RTC driver for DS3232 device, which provides time and
    date support. Also read and write functions are provided,
    which can be used to access the SRAM memory.

    Signed-off-by: Nandor Han

    Han Nandor
     

27 Dec, 2019

3 commits


07 Dec, 2019

1 commit


03 Dec, 2019

1 commit


20 Sep, 2019

1 commit


27 Aug, 2019

1 commit


22 Aug, 2019

1 commit


12 Aug, 2019

1 commit


29 Jul, 2019

3 commits


22 Jul, 2019

1 commit


18 Jul, 2019

1 commit


13 Jul, 2019

2 commits


09 Jul, 2019

1 commit

  • The previous pcf2127 RTC chip could not read and set the correct time.
    When reading the data of internal registers, the read address was the
    value of register plus 1. This is because this chip requires the host
    to send a stop signal after setting the register address and before
    reading the register data.

    This patch sets the register address using dm_i2c_write and reads
    the register data using the original dm_i2c_xfer in order to generate
    a stop signal after the register address is set, and fixes the bug of
    the original read and write time.

    Signed-off-by: Biwen Li
    Signed-off-by: Chuanhua Han
    Reviewed-by: Lukasz Majewski
    Reviewed-by: Heiko Schocher

    Chuanhua Han
     

01 Jun, 2019

1 commit


25 Apr, 2019

1 commit

  • This adds a compatible string for m41t82. This ensures that this driver
    can be used for m41t82 in DM mode, too (asit was usable for this model in
    non-DM mode before).

    In addition, the HT bit has to be reset during probe, since the m41t82
    chip sets it when entering battery standby mode.

    This patch ensures this driver works on socfpga_socrates.

    Signed-off-by: Simon Goldschmidt
    Reviewed-by: Stefan Roese

    Simon Goldschmidt
     

03 Dec, 2018

4 commits


02 Dec, 2018

2 commits


01 Dec, 2018

2 commits

  • The "Flamingo" carrier-board for the RK3399-Q7 has a RV3029 populated
    and the application will use the off-module RV3029 RTC including the
    battery backed SRAM.

    To support this use case, this commit includes the following changes:
    * updates the rv3029 driver to use DM
    * implements the read8/write8 operations

    This syncs the implementation with the Linux code (based on 4.17),
    porting the trickle-charger support from there (with improvements to
    avoid unnecessary EEPROM updates) and adheres to the Linux DTS
    binding.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • The MicroCrystal RV3029 driver didn't have a Kconfig entry and was not used
    anywhere. Add it to Kconfig to make it selectable.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     

30 Nov, 2018

1 commit


11 Oct, 2018

1 commit


09 Oct, 2018

3 commits