19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

28 Jan, 2019

1 commit


14 Apr, 2016

1 commit


15 Jul, 2015

1 commit


24 Nov, 2013

1 commit


30 Jul, 2013

1 commit


27 May, 2013

1 commit


23 Apr, 2013

1 commit


08 Jan, 2013

1 commit

  • regulator_list_voltage_table() returns -EINVAL if selector >= n_voltages.
    Thus we don't need to check if reg is greater than LP3972_BUCK_VOL_MAX_IDX in
    lp3972_[ldo|dcdc]_get_voltage_sel.

    LP3972_BUCK_VOL_MIN_IDX and LP3972_BUCK_VOL_MAX_IDX are not used, remove them.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

20 Nov, 2012

3 commits


03 Jun, 2012

1 commit


09 Apr, 2012

2 commits


05 Apr, 2012

1 commit


01 Apr, 2012

1 commit


24 Nov, 2011

1 commit

  • With device tree support for regulators, its needed that the
    regulator_dev->dev device has the right of_node attached.
    To be able to do this add an additional parameter to the
    regulator_register() api, wherein the dt-adapted driver can
    then pass this additional info onto the regulator core.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Mark Brown

    Rajendra Nayak
     

01 Nov, 2011

1 commit


12 Jan, 2011

1 commit

  • Change the interface used by set_voltage() to report the selected value
    to the regulator core in terms of a selector used by list_voltage().
    This allows the regulator core to know the voltage that was chosen
    without having to do an explict get_voltage(), which would be much more
    expensive as it will generally access hardware.

    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     

29 Oct, 2010

2 commits

  • This patch includes below fixes based on Mark's comment.
    - Return actual error if i2c_smbus_read_byte_data() fail
    - Add spaces around bitwise AND operator(&) to improve readability
    - Add comment to explain why we need to update voltage change control register
    for LDO1 and LDO5
    - Logging the value for diagnostics if chip reported incorrect voltage value
    - Add __devinit annotation for setup_regulators()
    - Show system control register1 value if the value is mismatched
    - Logging the value for diagnostics if failed to detect device

    Signed-off-by: Axel Lin
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Axel Lin
     
  • This patch adds regulator drivers for National Semiconductors LP3972 PMIC.
    This LP3972 PMIC controller has 3 DC/DC voltage converters and 5 low drop-out
    (LDO) regulators. LP3972 PMIC controller uses I2C interface.

    Signed-off-by: Axel Lin
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Axel Lin