14 May, 2019

1 commit


23 Oct, 2018

2 commits

  • The main MFD driver for Samsung PMICs (S2MPSXX, S5M876X) used with
    Exynos SoCs can be compiled and used as a module. The dependent clock,
    regulator and RTC drivers already can be built as a module.

    Building entire set of drivers as modules might require using initial
    ramdisk and can make booting process longer (due to probe deferrals).
    However adding such option is useful for testing and for multi-platform
    configurations.

    This also add required module authors to sec-irq.c file based on recent
    main contributors.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Krzysztof Kozlowski
     
  • Replace GPL v2.0+ license statements with SPDX license identifiers.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Krzysztof Kozlowski
     

09 May, 2016

1 commit


23 Nov, 2015

1 commit

  • Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15
    PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz
    clock outputs and battery charger. This patch adds initial support for
    LDO and buck regulators of S2MPS15 device.

    Signed-off-by: Thomas Abraham
    Signed-off-by: Alim Akhtar
    Reviewed-by: Krzysztof Kozlowski
    [Alim: Added s2mps15_devs like rtc and clk and related changes]
    Signed-off-by: Lee Jones

    Thomas Abraham
     

09 Apr, 2015

1 commit

  • The RTC on S2MPS11 is the same as S2MPS14. However interrupt numbers of
    RTC alarms 0 and 1 were inversed between these two devices. So when
    rtc-s5m driver requested S2MPS14_IRQ_RTCA0 interrupt, it matched to
    S2MPS11_IRQ_RTCA1, not RTCA0.

    Fix this by using consistent RTC alarm interrupt numbers and adding a
    BUILD_BUG_ON for future generations.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Krzysztof Kozlowski
     

25 Nov, 2014

1 commit


09 Jul, 2014

1 commit


03 Jun, 2014

1 commit

  • The device type was stored in sec_pmic_dev state container twice:
    - unsigned long type (initialized from of_device_id or i2c_device_id)
    - int device_type (initialized as above or from board files when there
    is no DTS)

    The 'type' field was never used outside of probe so it can be safely
    removed.

    Change also the device_type in sec_pmic_dev and sec_platform_data to
    unsigned long to avoid any casts.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Krzysztof Kozlowski
     

18 Mar, 2014

2 commits


21 Jan, 2014

1 commit


13 Dec, 2013

1 commit

  • Rename old regmap field of "struct sec_pmic_dev" to "regmap_pmic" and
    add new regmap for RTC.

    On S5M8767A registers were not properly updated and read due to usage of
    the same regmap as the PMIC. This could be observed in various hangs,
    e.g. in infinite loop during waiting for UDR field change.

    On this chip family the RTC has different I2C address than PMIC so
    additional regmap is needed.

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Kyungmin Park
    Reviewed-by: Mark Brown
    Acked-by: Sangbeom Kim
    Cc: Samuel Ortiz
    Cc: Lee Jones
    Cc: Liam Girdwood
    Cc: Alessandro Zummo
    Cc: Marek Szyprowski
    Cc: Geert Uytterhoeven
    Cc: Kyungmin Park
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Kozlowski
     

26 Nov, 2012

1 commit


16 Jul, 2012

4 commits