1. 24 Sep, 2019 35 commits
  2. 22 Sep, 2019 5 commits
    • Linus Torvalds's avatar
      Merge tag 'for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 619e17cf
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Core:
         - Ensure HWMON devices are registered with valid names
         - Fix device wakeup code
      
        Drivers:
         - bq25890_charger: Add BQ25895 support
         - axp288_fuel_gauge: Add Minix Neo Z83-4 to blacklist
         - sc27xx: improve battery calibration
         - misc small fixes all over drivers"
      
      * tag 'for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (24 commits)
        power: supply: cpcap-charger: Enable vbus boost voltage
        power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute
        power: supply: sc27xx: Optimize the battery capacity calibration
        power: supply: sc27xx: Make sure the alarm capacity is larger than 0
        power: supply: sc27xx: Fix the the accuracy issue of coulomb calculation
        power: supply: sc27xx: Fix conditon to enable the FGU interrupt
        power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN attribute
        power: supply: max77650: add MODULE_ALIAS()
        power: supply: isp1704: remove redundant assignment to variable ret
        power: supply: bq25890_charger: Add the BQ25895 part
        power: supply: sc27xx: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()
        power: supply: sc27xx: Introduce local variable 'struct device *dev'
        power: reset: reboot-mode: Fix author email format
        power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_range'
        power: supply: max17042_battery: Fix a typo in function names
        power: reset: gpio-restart: Fix typo when gpio reset is not found
        power: supply: Init device wakeup after device_add()
        power: supply: ab8500_charger: Mark expected switch fall-through
        power: supply: sbs-battery: only return health when battery present
        MAINTAINERS: N900: Remove isp1704_charger.h record
        ...
      619e17cf
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · 57f1c3ca
      Linus Torvalds authored
      Pull HSI updates from Sebastian Reichel:
       "Misc cleanups"
      
      * tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: Remove dev_err() usage after platform_get_irq()
        HSI: ssi_protocol: Mark expected switch fall-throughs
      57f1c3ca
    • Linus Torvalds's avatar
      firmware: bcm47xx_nvram: _really_ correct size_t printf format · 5d4156ac
      Linus Torvalds authored
      Commit feb4eb06 ("firmware: bcm47xx_nvram: Correct size_t printf
      format") was wrong, and changed a printout of 'header.len' - which is an
      u32 type - to use '%zu'.
      
      It apparently did pattern matching on the other case, where it printed
      out 'nvram_len', which is indeed of type 'size_t'.
      
      Rather than undoing the change, this just makes it use the variable that
      the change seemed to expect to be used.
      
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
      Cc: Paul Burton <paul.burton@mips.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5d4156ac
    • Linus Torvalds's avatar
      modules: make MODULE_IMPORT_NS() work even when modular builds are disabled · 3e4d890a
      Linus Torvalds authored
      It's an unusual configuration, and was apparently never tested, and not
      caught in linux-next because of a combination of travels and it making
      it into the tree too late.
      
      The fix is to simply move the #define to outside the CONFIG_MODULE
      section, since MODULE_INFO() will do the right thing.
      
      Cc: Martijn Coenen <maco@android.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Matthias Maennich <maennich@google.com>
      Cc: Jessica Yu <jeyu@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3e4d890a
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 9dbd83f6
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Two new drivers and the new pcf2127 feature make the bulk of the
        additions. The rest are the usual fixes and new features.
      
        Subsystem:
         - add debug message when registration fails
      
        New drivers:
         - Amlogic Virtual Wake
         - Freescale FlexTimer Module alarm
      
        Drivers:
         - remove superfluous error messages
         - convert to i2c_new_dummy_device and devm_i2c_new_dummy_device
         - Remove dev_err() usage after platform_get_irq()
         - Set RTC range for: pcf2123, pcf8563, snvs.
         - pcf2127: tamper detection and watchdog support
         - pcf85363: fix regmap issue
         - sun6i: H6 support
         - remove w90x900/nuc900 driver"
      
      * tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (51 commits)
        rtc: meson: mark PM functions as __maybe_unused
        rtc: sc27xx: Remove clearing SPRD_RTC_POWEROFF_ALM_FLAG flag
        dt-bindings: rtc: ds1307: add rx8130 compatible
        rtc: sun6i: Allow using as wakeup source from suspend
        rtc: pcf8563: let the core handle range offsetting
        rtc: pcf8563: remove useless indirection
        rtc: pcf8563: convert to devm_rtc_allocate_device
        rtc: pcf8563: add Microcrystal RV8564 compatible
        rtc: pcf8563: add Epson RTC8564 compatible
        rtc: s35390a: convert to devm_i2c_new_dummy_device()
        rtc: max77686: convert to devm_i2c_new_dummy_device()
        rtc: pcf85363/pcf85263: fix regmap error in set_time
        rtc: snvs: switch to rtc_time64_to_tm/rtc_tm_to_time64
        rtc: snvs: set range
        rtc: snvs: fix possible race condition
        rtc: pcf2127: bugfix: watchdog build dependency
        rtc: pcf2127: add tamper detection support
        rtc: pcf2127: add watchdog feature support
        rtc: pcf2127: bugfix: read rtc disables watchdog
        rtc: pcf2127: cleanup register and bit defines
        ...
      9dbd83f6