24 Jan, 2020

2 commits

  • ROHM BD71850 PMIC is almost identical to BD71847. Main difference is some
    initial voltage values for regulators. The BD71850 can be handled by
    BD71847 driver but adding own compatible makes it clearer for one who
    creates the DT for board containing this PMIC and allows SW to be
    differentiating PMICs if needed.

    Signed-off-by: Matti Vaittinen
    Signed-off-by: Lee Jones

    Matti Vaittinen
     
  • Thanks to Stephen Boyd I today learned we can use platform_device_id
    to do device and module matching for MFD sub-devices!

    Do device matching using the platform_device_id instead of using
    explicit module_aliases to load modules and custom parent-data field
    to do module loading and sub-device matching.

    Cc: Stephen Boyd
    Signed-off-by: Matti Vaittinen
    Acked-by: Mark Brown
    Signed-off-by: Lee Jones

    Matti Vaittinen
     

02 Jul, 2019

2 commits

  • Allow overwriting the values in BD718XX_REG_PWRONCONFIG0 and
    BD718XX_REG_PWRONCONFIG1 via devicetree. Read values in milliseconds and
    attempt to round them to something supported by the hardware.

    Keep existing values (from bootloader or OTP) if property is not
    present.

    Signed-off-by: Leonard Crestez
    Reviewed-By: Matti Vaittinen
    [Lee: Fixed-up merge/API conflict]
    Signed-off-by: Lee Jones

    Leonard Crestez
     
  • The reset button on imx8mm-evk is tied to PWRON_B pin of bd71847 and the
    long press duration is set to zero from OTP. The linux driver overrides
    those values and breaks reset from button.

    Overwriting OTP or bootloader configuration with some hardcoded defaults
    is not desirable, keep already programmed values instead.

    Signed-off-by: Leonard Crestez
    Acked-By: Matti Vaittinen
    Signed-off-by: Lee Jones

    Leonard Crestez
     

27 Jun, 2019

1 commit

  • Split the bd718x7.h to ROHM common and bd718x7 specific parts
    so that we do not need to add same things in every new ROHM
    PMIC header. Please note that this change requires changes also
    in bd718x7 sub-device drivers for regulators and clk.

    Signed-off-by: Matti Vaittinen
    Acked-by: Mark Brown
    Acked-by: Stephen Boyd
    Signed-off-by: Lee Jones

    Matti Vaittinen
     

02 Oct, 2018

1 commit


28 Sep, 2018

2 commits


16 Aug, 2018

1 commit