23 Feb, 2017

1 commit


09 Feb, 2017

1 commit


20 Jan, 2017

3 commits

  • commit 85b037442e3f0e84296ab1010fd6b057eee18496 upstream.

    The handling of bypass_val_on that was added in
    regulator_get_bypass_regmap is done unconditionally however
    several drivers don't define a value for bypass_val_on. This
    results in those drivers reporting bypass being enabled when
    it is not. In regulator_set_bypass_regmap we use bypass_mask
    if bypass_val_on is zero. This patch adds similar handling in
    regulator_get_bypass_regmap.

    Fixes: commit dd1a571daee7 ("regulator: helpers: Ensure bypass register field matches ON value")
    Signed-off-by: Charles Keepax
    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Charles Keepax
     
  • commit 618c808968852609d2d9f0e5cfc351a4807ef8d0 upstream.

    The maximum supported voltage for ldo_io# is 3.3V, but on cold boot
    the selector comes up at 0x1f, which maps to 3.8V. This was previously
    corrected by Allwinner's U-boot, which set all regulators on the PMICs
    to some pre-configured voltage. With recent progress in U-boot SPL
    support, this is no longer the case. In any case we should handle
    this quirk in the kernel driver as well.

    This invalid setting causes _regulator_get_voltage() to fail with -EINVAL
    which causes regulator registration to fail when constrains are used:

    [ 1.054181] vcc-pg: failed to get the current voltage(-22)
    [ 1.059670] axp20x-regulator axp20x-regulator.0: Failed to register ldo_io0
    [ 1.069749] axp20x-regulator: probe of axp20x-regulator.0 failed with error -22

    This commits makes the axp20x regulator driver accept the 0x1f register
    value, fixing this.

    The datasheet does not guarantee reliable operation above 3.3V, so on
    boards where this regulator is used the regulator-max-microvolt setting
    must be 3.3V or less.

    This is essentially the same as the commit f40d4896bf32 ("regulator:
    axp20x: Fix axp22x ldo_io registration error on cold boot") for AXP22x
    PMICs.

    Fixes: a51f9f4622a3 ("regulator: axp20x: support AXP809 variant")
    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Chen-Yu Tsai
     
  • commit d8ca5bd158f738c4fa6974ee388c381f64db7905 upstream.

    The BUCK regulators 3, 4, and 5 also have a 10mV step mode,
    adjust the tables and logic to reflect the data-sheet for
    these regulators.

    fixes: d2a2e729a666 ("regulator: tps65086: Add regulator driver for the TPS65086 PMIC")
    Signed-off-by: Andrew F. Davis
    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Andrew F. Davis
     

09 Jan, 2017

1 commit

  • commit 295070e9aa015abb9b92cccfbb1e43954e938133 upstream.

    The regulator has never been properly enabled, it has been
    dormant all the time. It's strange that MMC was working
    at all, but it likely worked by the signals going through
    the levelshifter and reaching the card anyways.

    Fixes: 3615a34ea1a6 ("regulator: add STw481x VMMC driver")
    Signed-off-by: Linus Walleij
    Signed-off-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

29 Oct, 2016

1 commit

  • commit 73e705bf81ce ("regulator: core: Add set_voltage_time op")

    introduced a new rdev_warn() if the ramp_delay is 0.

    Apparently, on omap3/twl4030 platforms with dynamic voltage
    management this results in non-ending spurious messages like

    [ 511.143066] VDD1: ramp_delay not set
    [ 511.662322] VDD1: ramp_delay not set
    [ 513.903625] VDD1: ramp_delay not set
    [ 514.222198] VDD1: ramp_delay not set
    [ 517.062835] VDD1: ramp_delay not set
    [ 517.382568] VDD1: ramp_delay not set
    [ 520.142791] VDD1: ramp_delay not set
    [ 520.502593] VDD1: ramp_delay not set
    [ 523.062896] VDD1: ramp_delay not set
    [ 523.362701] VDD1: ramp_delay not set
    [ 526.143035] VDD1: ramp_delay not set

    I have observed this on GTA04 while it is reported to occur on
    N900 as well: https://bugzilla.kernel.org/show_bug.cgi?id=178371

    This patch makes the warning appear only in debugging mode.

    Signed-off-by: H. Nikolaus Schaller
    Signed-off-by: Mark Brown

    H. Nikolaus Schaller
     

13 Oct, 2016

1 commit

  • Pull thermal managament updates from Zhang Rui:

    - Enhance thermal "userspace" governor to export the reason when a
    thermal event is triggered and delivered to user space. From Srinivas
    Pandruvada

    - Introduce a single TSENS thermal driver for the different versions of
    the TSENS IP that exist, on different qcom msm/apq SoCs'. Support for
    msm8916, msm8960, msm8974 and msm8996 families is also added. From
    Rajendra Nayak

    - Introduce hardware-tracked trip points support to the device tree
    thermal sensor framework. The framework supports an arbitrary number
    of trip points. Whenever the current temperature is changed, the trip
    points immediately below and above the current temperature are found,
    driver callback is invoked to program the hardware to get notified
    when either of the two trip points are triggered. Hardware-tracked
    trip points support for rockchip thermal driver is also added at the
    same time. From Sascha Hauer, Caesar Wang

    - Introduce a new thermal driver, which enables TMU (Thermal Monitor
    Unit) on QorIQ platform. From Jia Hongtao

    - Introduce a new thermal driver for Maxim MAX77620. From Laxman
    Dewangan

    - Introduce a new thermal driver for Intel platforms using WhiskeyCove
    PMIC. From Bin Gao

    - Add mt2701 chip support to MTK thermal driver. From Dawei Chien

    - Enhance Tegra thermal driver to enable soctherm node and set
    "critical", "hot" trips, for Tegra124, Tegra132, Tegra210. From Wei
    Ni

    - Add resume support for tango thermal driver. From Marc Gonzalez

    - several small fixes and improvements for rockchip, qcom, imx, rcar,
    mtk thermal drivers and thermal core code. From Caesar Wang, Keerthy,
    Rocky Hao, Wei Yongjun, Peter Robinson, Bui Duc Phuc, Axel Lin, Hugh
    Kang

    * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (48 commits)
    thermal: int3403: Process trip change notification
    thermal: int340x: New Interface to read trip and notify
    thermal: user_space gov: Add additional information in uevent
    thermal: Enhance thermal_zone_device_update for events
    arm64: tegra: set hot trips for Tegra210
    arm64: tegra: set critical trips for Tegra210
    arm64: tegra: add soctherm node for Tegra210
    arm64: tegra: set hot trips for Tegra132
    arm64: tegra: set critical trips for Tegra132
    arm64: tegra: use tegra132-soctherm for Tegra132
    arm: tegra: set hot trips for Tegra124
    arm: tegra: set critical trips for Tegra124
    thermal: tegra: add hw-throttle for Tegra132
    thermal: tegra: add hw-throttle function
    of: Add bindings of hw throttle for Tegra soctherm
    thermal: mtk_thermal: Check return value of devm_thermal_zone_of_sensor_register
    thermal: Add Mediatek thermal driver for mt2701.
    dt-bindings: thermal: Add binding document for Mediatek thermal controller
    thermal: max77620: Add thermal driver for reporting junction temp
    thermal: max77620: Add DT binding doc for thermal driver
    ...

    Linus Torvalds
     

07 Oct, 2016

1 commit

  • Pull MFD updates from Lee Jones:
    "Core framework:
    - Add the MFD bindings doc to MAINTAINERS

    New drivers:
    - X-Powers AC100 Audio CODEC and RTC
    - TI LP873x PMIC
    - Rockchip RK808 PMIC
    - Samsung Exynos Low Power Audio

    New device support:
    - Add support for STMPE1600 variant to stmpe
    - Add support for PM8018 PMIC to pm8921-core
    - Add support for AXP806 PMIC in axp20x
    - Add support for AXP209 GPIO in axp20x

    New functionality:
    - Add support for Reset to all STMPE variants
    - Add support for MKBP event support to cros_ec
    - Add support for USB to intel_soc_pmic_bxtwc
    - Add support for IRQs and Power Button to tps65217

    Fix-ups:
    - Clean-up defunct author emails (da9063, max14577)
    - Kconfig fixups (wm8350-i2c, as37220
    - Constify (altera-a10sr, sm501)
    - Supply PCI IDs (intel-lpss-pci)
    - Improve clocking (qcom_rpm)
    - Fix IRQ probing (ucb1x00-core)
    - Ensure fault log is cleared (da9052)
    - Remove NO_IRQ check (ucb1x00-core)
    - Supply I2C properties (intel-lpss-acpi, intel-lpss-pci)
    - Non standard declaration (tps65217, max8997-irq)
    - Remove unused code (lp873x, db8500-prcmu, ab8500-debugfs,
    cros_ec_spi)
    - Make non-modular (altera-a10sr, intel_msic, smsc-ece1099,
    sun6i-prcm, twl-core)
    - OF bindings (ac100, stmpe, qcom-pm8xxx, qcom-rpm, rk808, axp20x,
    lp873x, exynos5433-lpass, act8945a, aspeed-scu, twl6040, arizona)

    Bugfixes:
    - Release OF pointer (qcom_rpm)
    - Avoid double shifting in suspend/resume (88pm80x)
    - Fix 'defined but not used' error (exynos-lpass)
    - Fix 'sleeping whilst attomic' (atmel-hlcdc)"

    * tag 'mfd-for-linus-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (69 commits)
    mfd: arizona: Handle probe deferral for reset GPIO
    mfd: arizona: Remove arizona_of_get_named_gpio helper function
    mfd: arizona: Add DT options for max_channels_clocked and PDM speaker config
    mfd: twl6040: Register child device for twl6040-pdmclk
    mfd: cros_ec_spi: Remove unused variable 'request'
    mfd: omap-usb-host: Return value is not 'const int'
    mfd: ab8500-debugfs: Remove 'weak' function suspend_test_wake_cause_interrupt_is_mine()
    mfd: ab8500-debugfs: Remove ab8500_dump_all_banks_to_mem()
    mfd: db8500-prcmu: Remove unused *prcmu_set_ddr_opp() calls
    mfd: ab8500-debugfs: Prevent initialised field from being over-written
    mfd: max8997-irq: 'inline' should be at the beginning of the declaration
    mfd: rk808: Fix RK818_IRQ_DISCHG_ILIM initializer
    mfd: tps65217: Fix nonstandard declaration
    mfd: lp873x: Remove unused mutex lock from struct lp873x
    mfd: atmel-hlcdc: Do not sleep in atomic context
    mfd: exynos-lpass: Mark PM functions as __maybe_unused
    mfd: intel-lpss: Add default I2C device properties for Apollo Lake
    mfd: twl-core: Make it explicitly non-modular
    mfd: sun6i-prcm: Make it explicitly non-modular
    mfd: smsc-ece1099: Make it explicitly non-modular
    ...

    Linus Torvalds
     

06 Oct, 2016

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v4.9 series:

    Subsystem improvements:

    - do away with the last users of the obsolete Kconfig options
    ARCH_REQUIRE_GPIOLIB and ARCH_WANT_OPTIONAL_GPIOLIB (the latter
    always sounded like an item on a wishlist to Santa Claus to me). We
    can now select GPIOLIB and be done with it, for all archs. After
    some struggle it even work on UM. Not that it has GPIO, but if it
    wants to, it can select the library.

    - continued efforts to make drivers properly either tristate or bool.

    - introduce a warning for drivers assigning default triggers to their
    irqchip lines when probed from device tree, so we find and fix
    these ambigous drivers. It is agreed that in the OF config path,
    the device tree defines trigger characteristics.

    - the same warning, mutatis mutandis, for ACPI-probed GPIO irqchips.

    - we introduce the ability to mark certain IRQ lines as "unusable" as
    they can be taken by BIOS/firmware, unrouted in silicon and
    generally nasty if you use them, and such things. This is put to
    good use in the STMPE driver and also in the Cherryview pin control
    driver.

    - a new "mockup" virtual GPIO device that can be used for testing.
    The plan is to add unit tests under tools/* for exercising this
    device and verify that the kernel code paths are working as they
    should.

    - make memory-mapped I/O-drivers depend on HAS_IOMEM. This was
    implicit all the time, but when people started building UM with
    allyesconfig or allmodconfig it exploded in their face.

    - move some stray bits of device tree and ACPI HW description
    callbacks down into their respective implementation silo. These
    were causing issues when compiling on !HAS_IOMEM as well, so now
    eventually UM compiles the GPIOLIB library if it wants to.

    New drivers:

    - new driver for the Aspeed GPIO front-end companion to the pin
    controller merged through the pin control tree.

    - new driver for the LP873x PMIC GPIO portions.

    - new driver for Technologic Systems' I2C FPGA GPIO such as TS4900,
    TS-7970, TS-7990 and TS-4100.

    - new driver for the Broadcom BCM63xx series including BCM6338 and
    BCM6345.

    - new driver for the Intel WhiskeyCove PMIC GPIO.

    - new driver for the Allwinner AXP209 PMIC GPIO portions.

    - new driver for Diamond Systems 48 line GPIO-MM, another of these
    port-mapped I/O expansion cards.

    - support the STMicroelectronics STMPE1600 variant in the STMPE
    driver.

    Driver improvements:

    - the STMPE driver now supports rising/falling edge detection
    properly for IRQs.

    - the PCA954x will now fetch and enable its VCC regulator properly.

    - major rework of the PCA953x driver with the goal of eventually
    switching it over to use regmap and thus modernize it even more.

    - switch the IOP driver to use the generic MMIO GPIO library.

    - move the ages old HTC EGPIO (extended GPIO) GPIO expander driver
    over to this subsystem from MFD, achieveing some separation of
    concerns"

    * tag 'gpio-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (81 commits)
    gpio: add missing static inline
    gpio: OF: localize some gpiochip init functions
    gpio: acpi: separation of concerns
    gpio: OF: separation of concerns
    gpio: make memory-mapped drivers depend on HAS_IOMEM
    gpio: stmpe: use BIT() macro
    gpio: stmpe: forbid unused lines to be mapped as IRQs
    mfd/gpio: Move HTC GPIO driver to GPIO subsystem
    gpio: MAINTAINERS: Add an entry for GPIO mockup driver
    gpio/mockup: add virtual gpio device
    gpio: Added zynq specific check for special pins on bank zero
    gpio: axp209: Implement get_direction
    gpio: aspeed: remove redundant return value check
    gpio: loongson1: remove redundant return value check
    ARM: omap2: fix missing include
    gpio: tc3589x: fix up complaints on unsigned
    gpio: tc3589x: add .get_direction() and small cleanup
    gpio: f7188x: use gpiochip_get_data instead of container_of
    gpio: tps65218: use devm_gpiochip_add_data() for gpio registration
    gpio: aspeed: fix return value check in aspeed_gpio_probe()
    ...

    Linus Torvalds
     

04 Oct, 2016

1 commit


01 Oct, 2016

4 commits


27 Sep, 2016

2 commits

  • Added one additional parameter to thermal_zone_device_update() to provide
    caller with an optional capability to specify reason.
    Currently this event is used by user space governor to trigger different
    processing based on event code. Also it saves an additional call to read
    temperature when the event is received.
    The following events are cuurently defined:
    - Unspecified event
    - New temperature sample
    - Trip point violated
    - Trip point changed
    - thermal device up and down
    - thermal device power capability changed

    Signed-off-by: Srinivas Pandruvada
    Signed-off-by: Zhang Rui

    Srinivas Pandruvada
     
  • We get 2 warnings when building kernel with W=1:
    drivers/regulator/dbx500-prcmu.c:78:6: warning: no previous prototype for 'ux500_regulator_suspend_debug' [-Wmissing-prototypes]
    drivers/regulator/dbx500-prcmu.c:87:6: warning: no previous prototype for 'ux500_regulator_resume_debug' [-Wmissing-prototypes]

    In fact, these functions are unused in
    dbx500-prcmu.c, but should be removed.

    So this patch removes the unused functions.

    Signed-off-by: Baoyou Xie
    Acked-by: Arnd Bergmann
    Signed-off-by: Mark Brown

    Baoyou Xie
     

26 Sep, 2016

1 commit

  • Three files are modified, the driver, header file and the binding document.

    Updates for the regulator source file include and .of_match_table entry
    and node match checking in the probe() function for a compatible pv88080
    silicon type. A new "HVBUCK" is added in source file and added
    regsiter definition in header file for pv88080 bb silicion.
    The binding documentation changes have been made to reflect these updates.

    Signed-off-by: Eric Jeong
    Signed-off-by: Mark Brown

    Eric Jeong
     

25 Sep, 2016

2 commits

  • drms_uA_update() always returns failure when it cannot find regulator's
    input voltage. But if hardware supports load configuration with
    ops->set_load() and the input regulator isn't specified with valid reason
    such as the input regulator is battery, not finding input voltage is
    normal so such case should not return with an error.

    Avoid such inadequate error return by checking input/output voltages
    only when drms_uA_update() is about to configure load with enum based
    ops->set_mode().

    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Bjorn Andersson
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Joonwoo Park
    Signed-off-by: Mark Brown

    Joonwoo Park
     
  • http://www.ti.com/lit/pdf/SWCZ010:
    DCDC o/p voltage can go higher than programmed value

    Impact:
    VDDI, VDD2, and VIO output programmed voltage level can go higher than
    expected or crash, when coming out of PFM to PWM mode or using DVFS.

    Description:
    When DCDC CLK SYNC bits are 11/01:
    * VIO 3-MHz oscillator is the source clock of the digital core and input
    clock of VDD1 and VDD2
    * Turn-on of VDD1 and VDD2 HSD PFETis synchronized or at a constant
    phase shift
    * Current pulled though VCC1+VCC2 is Iload(VDD1) + Iload(VDD2)
    * The 3 HSD PFET will be turned-on at the same time, causing the highest
    possible switching noise on the application. This noise level depends
    on the layout, the VBAT level, and the load current. The noise level
    increases with improper layout.

    When DCDC CLK SYNC bits are 00:
    * VIO 3-MHz oscillator is the source clock of digital core
    * VDD1 and VDD2 are running on their own 3-MHz oscillator
    * Current pulled though VCC1+VCC2 average of Iload(VDD1) + Iload(VDD2)
    * The switching noise of the 3 SMPS will be randomly spread over time,
    causing lower overall switching noise.

    Workaround:
    Set DCDCCTRL_REG[1:0]= 00.

    Signed-off-by: Jan Remmet
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Jan Remmet
     

17 Sep, 2016

3 commits

  • The new op is analogous to set_voltage_time_sel. It can be used by
    regulators which don't have a table of discrete voltages. The function
    returns the time for the regulator output voltage to stabilize after
    being set to a new value, in microseconds. If the op is not set a
    default implementation is used to calculate the delay.

    This change also removes the ramp_delay calculation in the PWM
    regulator, since the driver now uses the core code for the calculation
    of the delay.

    Signed-off-by: Matthias Kaehlcke
    Signed-off-by: Mark Brown

    Matthias Kaehlcke
     
  • The current code assumes that only the ramp_delay is used to determine
    the time needed for the voltage to stabilize. This may be true for the
    calculation done by regulator_set_voltage_time_sel(), however regulators
    can implement their own set_voltage_time_sel() op which would be skipped
    if no ramp delay is specified. Remove the check in
    _regulator_do_set_voltage(), the functions calculating the ramp delay
    return 0 anyway when the ramp delay is not configured.

    Signed-off-by: Matthias Kaehlcke
    Signed-off-by: Mark Brown

    Matthias Kaehlcke
     
  • If the voltage can not be set jump to the end of the function. This
    avoids having to check for an error multiple times and eliminates one
    level of nesting in a follow-up change.

    Signed-off-by: Matthias Kaehlcke
    Signed-off-by: Mark Brown

    Matthias Kaehlcke
     

15 Sep, 2016

1 commit


13 Sep, 2016

1 commit

  • The X-Powers AXP806 PMIC has a new set of buck and LDO regulators, and
    also a switch. The buck regulators support teaming into multi-phase
    groups, with A+B, A+B+C, D+E groupings.

    Some registers controlling DCDC converter work settings are at different
    offsets. Deal with them as well.

    Add support for this new variant.

    Signed-off-by: Chen-Yu Tsai
    Acked-by: Mark Brown
    Signed-off-by: Lee Jones

    Chen-Yu Tsai
     

06 Sep, 2016

1 commit


02 Sep, 2016

1 commit

  • We get 1 warning when building kernel with W=1:
    drivers/regulator/hi6421-regulator.c:480:14: warning: no previous prototype for
    'hi6421_regulator_ldo_get_optimum_mode' [-Wmissing-prototypes]

    In fact, this function is only used in the file in which it is
    declared and don't need a declaration, but can be made static.
    So this patch marks it 'static'.

    Signed-off-by: Baoyou Xie
    Acked-by: Arnd Bergmann
    Signed-off-by: Mark Brown

    Baoyou Xie
     

31 Aug, 2016

3 commits


23 Aug, 2016

1 commit


17 Aug, 2016

2 commits


16 Aug, 2016

1 commit


15 Aug, 2016

1 commit


11 Aug, 2016

1 commit


06 Aug, 2016

1 commit

  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "This set of changes improve some aspects of the atomic API as well as
    make use of this new API in the regulator framework to allow properly
    dealing with critical regulators controlled by a PWM.

    Aside from that there's a bunch of updates and cleanups for existing
    drivers, as well as the addition of new drivers for the Broadcom
    iProc, STMPE and ChromeOS EC controllers"

    * tag 'pwm/for-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (44 commits)
    regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range
    regulator: pwm: Support extra continuous mode cases
    pwm: Add ChromeOS EC PWM driver
    dt-bindings: pwm: Add binding for ChromeOS EC PWM
    mfd: cros_ec: Add EC_PWM function definitions
    mfd: cros_ec: Add cros_ec_cmd_xfer_status() helper
    pwm: atmel: Use of_device_get_match_data()
    pwm: atmel: Fix checkpatch warnings
    pwm: atmel: Fix disabling of PWM channels
    dt-bindings: pwm: Add R-Car H3 device tree bindings
    pwm: rcar: Use ARCH_RENESAS
    pwm: tegra: Add support for Tegra186
    dt-bindings: pwm: tegra: Add compatible string for Tegra186
    pwm: tegra: Avoid overflow when calculating duty cycle
    pwm: tegra: Allow 100 % duty cycle
    pwm: tegra: Add support for reset control
    pwm: tegra: Rename mmio_base to regs
    pwm: tegra: Remove useless padding
    pwm: tegra: Drop NUM_PWM macro
    pwm: lpc32xx: Set PWM_PIN_LEVEL bit to default value
    ...

    Linus Torvalds
     

05 Aug, 2016

2 commits

  • The voltage ranges listed here are wrong. The pma8084 pldo
    supports three different overlapping voltage ranges with
    differing step sizes and the pma8084 ftsmps supports two. These
    ranges can be seen in the "native" spmi regulator driver
    (qcom_spmi-regulator.c) at pldo_ranges[] and ftsmps_ranges[]
    respectively. Port these ranges over to the RPM SMD regulator
    driver so that we list the appropriate set of supported voltages
    on these types of regulators.

    Fixes: ee01d0c91ef1 ("regulator: qcom-smd: Add support for PMA8084")
    Signed-off-by: Stephen Boyd
    Reviewed-by: Andy Gross
    Signed-off-by: Mark Brown

    Stephen Boyd
     
  • The voltage ranges listed here are wrong. The correct ranges can
    be seen in the "native" spmi regulator driver
    qcom_spmi-regulator.c at pldo_ranges[], ftsmps_ranges[] and
    boost_ranges[] for the pldo, ftsmps, and boost type regulators.
    Port these ranges over to the RPM SMD regulator driver so that we
    list the appropriate set of supported voltages on pldos.

    Doing this allows us to specify a voltage like 3075000 for l24,
    whereas before that wasn't a supported voltage.

    Fixes: da65e367b67e ("regulator: Regulator driver for the Qualcomm RPM")
    Signed-off-by: Stephen Boyd
    Reviewed-by: Andy Gross
    Signed-off-by: Mark Brown

    Stephen Boyd
     

02 Aug, 2016

1 commit

  • Pull ARM SoC driver updates from Olof Johansson:
    "Driver updates for ARM SoCs.

    A slew of changes this release cycle. The reset driver tree, that we
    merge through arm-soc for historical reasons, is also sizable this
    time around.

    Among the changes:

    - clps711x: Treewide changes to compatible strings, merged here for simplicity.
    - Qualcomm: SCM firmware driver cleanups, move to platform driver
    - ux500: Major cleanups, removal of old mach-specific infrastructure.
    - Atmel external bus memory driver
    - Move of brcmstb platform to the rest of bcm
    - PMC driver updates for tegra, various fixes and improvements
    - Samsung platform driver updates to support 64-bit Exynos platforms
    - Reset controller cleanups moving to devm_reset_controller_register() APIs
    - Reset controller driver for Amlogic Meson
    - Reset controller driver for Hisilicon hi6220
    - ARM SCPI power domain support"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (100 commits)
    ARM: ux500: consolidate base platform files
    ARM: ux500: move soc_id driver to drivers/soc
    ARM: ux500: call ux500_setup_id later
    ARM: ux500: consolidate soc_device code in id.c
    ARM: ux500: remove cpu_is_u* helpers
    ARM: ux500: use CLK_OF_DECLARE()
    ARM: ux500: move l2x0 init to .init_irq
    mfd: db8500 stop passing around platform data
    ASoC: ab8500-codec: remove platform data based probe
    ARM: ux500: move ab8500_regulator_plat_data into driver
    ARM: ux500: remove unused regulator data
    soc: raspberrypi-power: add CONFIG_OF dependency
    firmware: scpi: add CONFIG_OF dependency
    video: clps711x-fb: Changing the compatibility string to match with the smallest supported chip
    input: clps711x-keypad: Changing the compatibility string to match with the smallest supported chip
    pwm: clps711x: Changing the compatibility string to match with the smallest supported chip
    serial: clps711x: Changing the compatibility string to match with the smallest supported chip
    irqchip: clps711x: Changing the compatibility string to match with the smallest supported chip
    clocksource: clps711x: Changing the compatibility string to match with the smallest supported chip
    clk: clps711x: Changing the compatibility string to match with the smallest supported chip
    ...

    Linus Torvalds