1. 20 Jul, 2021 1 commit
  2. 19 Jul, 2021 1 commit
  3. 16 Jul, 2021 1 commit
  4. 15 Jul, 2021 3 commits
  5. 14 Jul, 2021 2 commits
  6. 12 Jul, 2021 2 commits
    • Mark Brown's avatar
      Merge series "regulator: devres: remove unused device-managed unregister APIs"... · 9705c49c
      Mark Brown authored
      Merge series "regulator: devres: remove unused device-managed unregister APIs" from Alexandru Ardelean <aardelean@deviqon.com>:
      
      These APIs aren't used anywhere and most-likely exist because of the
      general principle of C APIs, where if an API function does an
      allocation/registration, it must also have an equivalent
      deallocation/deregistration counterpart.
      
      For devm_ functions this isn't all that true (for all cases), as the idea
      of these function is to provide an auto-cleanup logic on drivers/system
      de-init.
      
      Removing these discourages any weird logic that could be created with
      such an API functions.
      
      Alexandru Ardelean (4):
        regulator: devres: remove devm_regulator_unregister_notifier()
          function
        regulator: devres: remove devm_regulator_unregister() function
        regulator: devres: remove
          devm_regulator_bulk_unregister_supply_alias()
        regulator: devres: unexport devm_regulator_unregister_supply_alias()
      
       drivers/regulator/devres.c         | 105 +----------------------------
       include/linux/regulator/consumer.h |  23 -------
       include/linux/regulator/driver.h   |   1 -
       3 files changed, 2 insertions(+), 127 deletions(-)
      
      --
      2.31.1
      9705c49c
    • Mark Brown's avatar
      Merge series "Move Hisilicon 6421v600 SPMI and USB drivers out of staging"... · 2c8dad1e
      Mark Brown authored
      Merge series "Move Hisilicon 6421v600 SPMI and USB drivers out of staging" from Mauro Carvalho Chehab <mchehab+huawei@kernel.org>:
      
      Hi Greg,
      
      As promised, that's the version 11, meant to be applied after -rc1.
      
      It depends on a regression fix patch merged via the regulator's tree:
      
      https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?h=for-5.14&id=5db5dd5be70eaf808d9fd90174b957fc5c2912cb
      
      (the dependence is just because of a trivial merge conflict)
      
      This series contain the final bits needed for the USB3 bus to work
      without staging drivers on Hikey 970.
      
      Mauro Carvalho Chehab (8):
        staging: hi6421-spmi-pmic:  add a missing dot at copyright
        regulator: hi6421v600-regulator: add a missing dot at copyright
        staging: hikey9xx: split hi6421v600 irq into a separate driver
        staging: hi6421-spmi-pmic: cleanup drvdata
        staging: hi6421-spmi-pmic: rename spmi_device struct
        mfd: hi6421-spmi-pmic: move driver from staging
        dts: hisilicon: add support for the PMIC found on Hikey 970
        dts: hisilicon: add support for USB3 on Hikey 970
      
       .../mfd/hisilicon,hi6421-spmi-pmic.yaml       | 134 ++++++++
       MAINTAINERS                                   |   7 +
       .../boot/dts/hisilicon/hi3670-hikey970.dts    | 129 ++++++--
       arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |  56 ++++
       .../boot/dts/hisilicon/hikey970-pmic.dtsi     |  87 +++++
       drivers/mfd/Kconfig                           |  16 +
       drivers/mfd/Makefile                          |   1 +
       drivers/mfd/hi6421-spmi-pmic.c                |  66 ++++
       drivers/misc/Kconfig                          |  10 +
       drivers/misc/Makefile                         |   1 +
       drivers/misc/hi6421v600-irq.c                 | 313 ++++++++++++++++++
       drivers/regulator/hi6421v600-regulator.c      |  12 +-
       drivers/staging/Kconfig                       |   2 -
       drivers/staging/Makefile                      |   1 -
       drivers/staging/hikey9xx/Kconfig              |  19 --
       drivers/staging/hikey9xx/Makefile             |   3 -
       drivers/staging/hikey9xx/TODO                 |   5 -
       drivers/staging/hikey9xx/hi6421-spmi-pmic.c   | 311 -----------------
       .../hikey9xx/hisilicon,hi6421-spmi-pmic.yaml  | 134 --------
       include/linux/mfd/hi6421-spmi-pmic.h          |  30 --
       20 files changed, 807 insertions(+), 530 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
       create mode 100644 arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi
       create mode 100644 drivers/mfd/hi6421-spmi-pmic.c
       create mode 100644 drivers/misc/hi6421v600-irq.c
       delete mode 100644 drivers/staging/hikey9xx/Kconfig
       delete mode 100644 drivers/staging/hikey9xx/Makefile
       delete mode 100644 drivers/staging/hikey9xx/TODO
       delete mode 100644 drivers/staging/hikey9xx/hi6421-spmi-pmic.c
       delete mode 100644 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
       delete mode 100644 include/linux/mfd/hi6421-spmi-pmic.h
      
      --
      2.31.1
      2c8dad1e
  7. 11 Jul, 2021 26 commits
  8. 10 Jul, 2021 4 commits
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · de554096
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Mostly documentation/comment changes and non urgent fixes.
      
         - add or fix SPDX identifiers
      
         - NXP pcf*: fix datasheet URLs
      
         - imxdi: add wakeup support
      
         - pcf2127: handle timestamp interrupts, this fixes a possible
           interrupt storm
      
         - bd70528: Drop BD70528 support"
      
      * tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (33 commits)
        rtc: pcf8523: rename register and bit defines
        rtc: pcf2127: handle timestamp interrupts
        rtc: at91sam9: Remove unnecessary offset variable checks
        rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt()
        rtc: spear: convert to SPDX identifier
        rtc: tps6586x: convert to SPDX identifier
        rtc: tps80031: convert to SPDX identifier
        rtc: rtd119x: Fix format of SPDX identifier
        rtc: sc27xx: Fix format of SPDX identifier
        rtc: palmas: convert to SPDX identifier
        rtc: max6900: convert to SPDX identifier
        rtc: ds1374: convert to SPDX identifier
        rtc: au1xxx: convert to SPDX identifier
        rtc: pcf85063: Update the PCF85063A datasheet revision
        dt-bindings: rtc: ti,bq32k: take maintainership
        rtc: pcf8563: Fix the datasheet URL
        rtc: pcf85063: Fix the datasheet URL
        rtc: pcf2127: Fix the datasheet URL
        dt-bindings: rtc: ti,bq32k: Convert to json-schema
        dt-bindings: rtc: rx8900: Convert to YAML schema
        ...
      de554096
    • Mel Gorman's avatar
      mm/page_alloc: Revert pahole zero-sized workaround · 6bce2443
      Mel Gorman authored
      Commit dbbee9d5 ("mm/page_alloc: convert per-cpu list protection to
      local_lock") folded in a workaround patch for pahole that was unable to
      deal with zero-sized percpu structures.
      
      A superior workaround is achieved with commit a0b8200d ("kbuild:
      skip per-CPU BTF generation for pahole v1.18-v1.21").
      
      This patch reverts the dummy field and the pahole version check.
      
      Fixes: dbbee9d5 ("mm/page_alloc: convert per-cpu list protection to local_lock")
      Signed-off-by: default avatarMel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6bce2443
    • Alexandre Belloni's avatar
      rtc: pcf8523: rename register and bit defines · 4aa90c03
      Alexandre Belloni authored
      arch/arm/mach-ixp4xx/include/mach/platform.h now gets included indirectly
      and defines REG_OFFSET. Rename the register and bit definition to something
      specific to the driver.
      
      Fixes: 7fd70c65 ("ARM: irqstat: Get rid of duplicated declaration")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      Link: https://lore.kernel.org/r/20210710211431.1393589-1-alexandre.belloni@bootlin.com
      4aa90c03
    • Linus Torvalds's avatar
      Merge tag '5.14-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 1e16624d
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "13 cifs/smb3 fixes. Most are to address minor issues pointed out by
        Coverity.
      
        Also includes a packet signing enhancement and mount improvement"
      
      * tag '5.14-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal version number
        cifs: prevent NULL deref in cifs_compose_mount_options()
        SMB3.1.1: Add support for negotiating signing algorithm
        cifs: use helpers when parsing uid/gid mount options and validate them
        CIFS: Clarify SMB1 code for POSIX Lock
        CIFS: Clarify SMB1 code for rename open file
        CIFS: Clarify SMB1 code for delete
        CIFS: Clarify SMB1 code for SetFileSize
        smb3: fix typo in header file
        CIFS: Clarify SMB1 code for UnixSetPathInfo
        CIFS: Clarify SMB1 code for UnixCreateSymLink
        cifs: clarify SMB1 code for UnixCreateHardLink
        cifs: make locking consistent around the server session status
      1e16624d