17 May, 2019

1 commit


16 May, 2019

1 commit

  • Now that we've gotten rid of clk_readl() we can remove io.h from the
    clk-provider header and push out the io.h include to any code that isn't
    already including the io.h header but using things like readl/writel,
    etc.

    Found with this grep:

    git grep -l clk-provider.h | grep '.c$' | xargs git grep -L 'linux/io.h' | \
    xargs git grep -l \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\'

    I also reordered a couple includes when they weren't alphabetical and
    removed clk.h from kona, replacing it with clk-provider.h because
    that driver doesn't use clk consumer APIs.

    Acked-by: Geert Uytterhoeven
    Cc: Chen-Yu Tsai
    Acked-by: Maxime Ripard
    Acked-by: Tero Kristo
    Acked-by: Sekhar Nori
    Cc: Krzysztof Kozlowski
    Acked-by: Mark Brown
    Cc: Chris Zankel
    Acked-by: Max Filippov
    Acked-by: John Crispin
    Acked-by: Heiko Stuebner
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

15 May, 2019

1 commit

  • Pull MFD updates from Lee Jones:
    "Core Framework:
    - Document (kerneldoc) core mfd_add_devices() API

    New Drivers:
    - Altera SOCFPGA System Manager
    - Maxim MAX77650/77651 PMIC
    - Maxim MAX77663 PMIC
    - ST Multi-Function eXpander (STMFX)

    New Device Support:
    - LEDs support in Intel Cherry Trail Whiskey Cove PMIC
    - RTC support in SAMSUNG Electronics S2MPA01 PMIC
    - SAM9X60 support in Atmel HLCDC (High-end LCD Controller)
    - USB X-Powers AXP 8xx PMICs
    - Integrated Sensor Hub (ISH) in ChromeOS EC
    - USB PD Logger in ChromeOS EC
    - AXP223 in X-Powers AXP series PMICs
    - Power Supply in X-Powers AXP 803 PMICs
    - Comet Lake in Intel Low Power Subsystem
    - Fingerprint MCU in ChromeOS EC
    - Touchpad MCU in ChromeOS EC
    - Move TI LM3532 support to LED

    New Functionality:
    - max77650, max77620: Add/extend DT support
    - max77620 power-off
    - syscon clocking
    - croc_ec host sleep event

    Fix-ups:
    - Trivial; Formatting, spelling, etc; Kconfig, sec-core, ab8500-debugfs
    - Remove unused functionality; rk808, da9063-*
    - SPDX conversion; da9063-*, atmel-*,
    - Adapt/add new register definitions; cs47l35-tables, cs47l90-tables, imx6q-iomuxc-gpr
    - Fix-up DT bindings; ti-lmu, cirrus,lochnagar
    - Simply obtaining driver data; ssbi, t7l66xb, tc6387xb, tc6393xb

    Bug Fixes:
    - Fix incorrect defined values; max77620, da9063
    - Fix device initialisation; twl6040
    - Reset device on init; intel-lpss
    - Fix build warnings when !OF; sun6i-prcm
    - Register OF match tables; tps65912-spi
    - Fix DMI matching; intel_quark_i2c_gpio"

    * tag 'mfd-next-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (65 commits)
    mfd: Use dev_get_drvdata() directly
    mfd: cros_ec: Instantiate properly CrOS Touchpad MCU device
    mfd: cros_ec: Instantiate properly CrOS FP MCU device
    mfd: cros_ec: Update the EC feature codes
    mfd: intel-lpss: Add Intel Comet Lake PCI IDs
    mfd: lochnagar: Add links to binding docs for sound and hwmon
    mfd: ab8500-debugfs: Fix a typo ("deubgfs")
    mfd: imx6sx: Add MQS register definition for iomuxc gpr
    dt-bindings: mfd: LMU: Fix lm3632 dt binding example
    mfd: intel_quark_i2c_gpio: Adjust IOT2000 matching
    mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
    mfd: tps65912-spi: Add missing of table registration
    mfd: axp20x: Add USB power supply mfd cell to AXP803
    mfd: sun6i-prcm: Fix build warning for non-OF configurations
    mfd: intel-lpss: Set the device in reset state when init
    platform/chrome: Add support for v1 of host sleep event
    mfd: cros_ec: Add host_sleep_event_v1 command
    mfd: cros_ec: Instantiate the CrOS USB PD logger driver
    mfd: cs47l90: Make DAC_AEC_CONTROL_2 readable
    mfd: cs47l35: Make DAC_AEC_CONTROL_2 readable
    ...

    Linus Torvalds
     

14 May, 2019

28 commits

  • Using dev_get_drvdata directly.

    Signed-off-by: Kefeng Wang
    Signed-off-by: Lee Jones

    Kefeng Wang
     
  • Support Touchpad MCU as a special of CrOS EC devices. The current
    Touchpad MCU is used on Eve Chromebook and used the same protocol as
    other CrOS EC devices.

    When a MCU has touchpad support (aka EC_FEATURE_TOUCHPAD), it is
    instantiated as a special CrOS EC device with device name 'cros_tp'. So
    regardless of the probing order between the actual cros_ec and cros_tp,
    the userspace and other kernel drivers should not confuse them.

    Signed-off-by: Wei-Ning Huang
    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Lee Jones

    Enric Balletbo i Serra
     
  • Support Fingerprint MCU as a special of CrOS EC devices. The current FP
    MCU uses the same EC SPI protocol v3 as other CrOS EC devices on a SPI
    bus.

    When a MCU has fingerprint support (aka EC_FEATURE_FINGERPRINT), it is
    instantiated as a special CrOS EC device with device name 'cros_fp'. So
    regardless of the probing order between the actual cros_ec and cros_fp,
    the userspace and other kernel drivers should not confuse them.

    Signed-off-by: Vincent Palatin
    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Lee Jones

    Enric Balletbo i Serra
     
  • Intel Comet Lake has the same LPSS than Intel Cannon Lake.
    Add the new IDs to the list of supported devices.

    Signed-off-by: Andy Shevchenko
    Reviewed-by: Jarkko Nikula
    Tested-by: Evan Green
    Signed-off-by: Lee Jones

    Andy Shevchenko
     
  • "debugfs" was misspelled.

    Signed-off-by: Jonathan Neuschäfer
    Signed-off-by: Lee Jones

    Jonathan Neuschäfer
     
  • Since there are more IOT2040 variants with identical hardware but
    different asset tags, the asset tag matching should be adjusted to
    support them.

    For the board name "SIMATIC IOT2000", currently there are 2 types of
    hardware, IOT2020 and IOT2040. Both are identical regarding the
    intel_quark_i2c_gpio. In the future there will be no other devices with
    the "SIMATIC IOT2000" DMI board name but different hardware. So remove
    the asset tag matching from this driver.

    Signed-off-by: Su Bao Cheng
    Reviewed-by: Jan Kiszka
    Acked-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Su Bao Cheng
     
  • MODULE_DEVICE_TABLE(of, should be called to complete DT
    OF mathing mechanism and register it.

    Before this patch:
    modinfo drivers/mfd/tps65912-spi.ko | grep alias
    alias: spi:tps65912

    After this patch:
    modinfo drivers/mfd/tps65912-spi.ko | grep alias
    alias: of:N*T*Cti,tps65912C*
    alias: of:N*T*Cti,tps65912
    alias: spi:tps65912

    Reported-by: Javier Martinez Canillas
    Signed-off-by: Daniel Gomez
    Signed-off-by: Lee Jones

    Daniel Gomez
     
  • The AXP803 has a VBUS power input. Its functionality is the same as the
    one found in the AXP813. Now that the axp20x_usb_power driver supports
    this variant, we can add an mfd cell for it to use it.

    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Lee Jones

    Chen-Yu Tsai
     
  • When CONFIG_OF is disabled, we get a harmless warning about an
    unused variable:

    drivers/mfd/sun6i-prcm.c: In function 'sun6i_prcm_probe':
    drivers/mfd/sun6i-prcm.c:151:22: error: unused variable 'np' [-Werror=unused-variable]

    Remove the variable and open-code the value in the only place
    it is used, so it can get left out as well without CONFIG_OF.

    Fixes: a05a2e7998ab ("mfd: sun6i-prcm: Allow to compile with COMPILE_TEST")
    Signed-off-by: Arnd Bergmann
    Acked-by: Maxime Ripard
    Signed-off-by: Lee Jones

    Arnd Bergmann
     
  • In virtualized setup, when system reboots due to warm
    reset interrupt storm is seen.

    Call Trace:

    dump_stack+0x70/0xa5
    __report_bad_irq+0x2e/0xc0
    note_interrupt+0x248/0x290
    ? add_interrupt_randomness+0x30/0x220
    handle_irq_event_percpu+0x54/0x80
    handle_irq_event+0x39/0x60
    handle_fasteoi_irq+0x91/0x150
    handle_irq+0x108/0x180
    do_IRQ+0x52/0xf0
    common_interrupt+0xf/0xf

    RIP: 0033:0x76fc2cfabc1d
    Code: 24 28 bf 03 00 00 00 31 c0 48 8d 35 63 77 0e 00 48 8d 15 2e
    94 0e 00 4c 89 f9 49 89 d9 4c 89 d3 e8 b8 e2 01 00 48 8b 54 24 18
    89 ef 48 89 de 4c 89 e1 e8 d5 97 01 00 84 c0 74 2d 48 8b 04
    24
    RSP: 002b:00007ffd247c1fc0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffffda
    RAX: 0000000000000000 RBX: 00007ffd247c1ff0 RCX: 000000000003d3ce
    RDX: 0000000000000000 RSI: 00007ffd247c1ff0 RDI: 000076fc2cbb6010
    RBP: 000076fc2cded010 R08: 00007ffd247c2210 R09: 00007ffd247c22a0
    R10: 000076fc29465470 R11: 0000000000000000 R12: 00007ffd247c1fc0
    R13: 000076fc2ce8e470 R14: 000076fc27ec9960 R15: 0000000000000414
    handlers:
    [] idma64_irq
    Disabling IRQ #27

    To avoid interrupt storm, set the device in reset state
    before bringing out the device from reset state.

    Changelog v2:
    - correct the subject line by adding "mfd: "

    Signed-off-by: Binbin Wu
    Acked-by: Mika Westerberg
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Binbin Wu
     
  • Add support in code for the new forms of the host sleep event.
    Detects the presence of this version of the command at runtime,
    and use whichever form the EC supports. At this time, always
    request the default timeout, and only report the failing response
    via a WARN_ONCE(). Future versions could accept the sleep parameter
    from outside the driver, and return the response information to
    usermode or elsewhere.

    Signed-off-by: Evan Green
    Reviewed-by: Rajat Jain
    Reviewed-by: Guenter Roeck
    Acked-by: Enric Balletbo i Serra
    Signed-off-by: Lee Jones

    Evan Green
     
  • Add the cros-usbpd-logger driver for logging event data for the USB PD
    charger available in the Embedded Controller on ChromeOS systems. The
    logging feature is logically separate functionality from charge manager,
    hence is instantiated as a different driver.

    Signed-off-by: Enric Balletbo i Serra
    Reviewed-by: Guenetr Roeck
    Signed-off-by: Lee Jones

    Enric Balletbo i Serra
     
  • There is a second AEC loopback on cs47l90 so the registers for it should
    be readable.

    Signed-off-by: Ajit Pandey
    Signed-off-by: Charles Keepax
    Signed-off-by: Lee Jones

    Ajit Pandey
     
  • There is a second AEC loopback on cs47l35 so the registers for it should
    be readable.

    Signed-off-by: Richard Fitzgerald
    Signed-off-by: Charles Keepax
    Signed-off-by: Lee Jones

    Richard Fitzgerald
     
  • There are no in-kernel users anymore, so remove this outdated interface.

    Signed-off-by: Wolfram Sang
    Acked-by: Steve Twiss
    Tested-by: Steve Twiss
    Reviewed-by: Simon Horman
    Signed-off-by: Lee Jones

    Wolfram Sang
     
  • Covnert the headers of the source and include files to SPDX.
    And fix some typos in the descriptions ("interrupt" instead of "I2C").

    Signed-off-by: Wolfram Sang
    Acked-by: Steve Twiss
    Reviewed-by: Simon Horman
    Signed-off-by: Lee Jones

    Wolfram Sang
     
  • The AXP223 can be used both using the RSB proprietary bus, or a more
    traditional I2C bus. The RSB is a faster bus and provides more features
    (like some integrity checks on the messages), so it's usually preferrable
    to use it, but since it's proprietary, when we want to use the PMIC in a
    multi-master setup, the i2c might make sense as well.

    Let's add that possibility.

    Signed-off-by: Maxime Ripard
    Acked-by: Chen-Yu Tsai
    Signed-off-by: Lee Jones

    Maxime Ripard
     
  • Remove the id_table because it's not used.

    Signed-off-by: Tony Xie
    Signed-off-by: Lee Jones

    Tony Xie
     
  • Integrated Sensor Hub (ISH) is also a MCU running EC
    having feature bit EC_FEATURE_ISH. Instantiate it as
    a special CrOS EC device with device name 'cros_ish'.

    Signed-off-by: Rushikesh S Kadam
    Reviewed-by: Andy Shevchenko
    Acked-by: Enric Balletbo i Serra
    Reviewed-by: Gwendal Grignou
    Signed-off-by: Lee Jones

    Rushikesh S Kadam
     
  • Add compatible for SAM9X60 HLCD controller.

    Signed-off-by: Claudiu Beznea
    Signed-off-by: Lee Jones

    Claudiu Beznea
     
  • Formatting of Kconfig files doesn't look so pretty, so let the
    Great White Handkerchief come around and clean it up.

    Signed-off-by: Enrico Weigelt, metux IT consult
    Signed-off-by: Lee Jones

    Enrico Weigelt, metux IT consult
     
  • The AXP813 has a VBUS power input. Now that the axp20x_usb_power driver
    supports this variant, we can add an mfd cell for it to use it.

    Signed-off-by: Quentin Schulz
    [wens@csie.org: add commit message]
    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Lee Jones

    Quentin Schulz
     
  • I noticed that we can get a -EREMOTEIO errors on at least omap4 duovero:

    twl6040 0-004b: Failed to write 2d = 19: -121

    And then any following register access will produce errors.

    There 2d offset above is register ACCCTL that gets written on twl6040
    powerup. With error checking added to the related regcache_sync() call,
    the -EREMOTEIO error is reproducable on twl6040 powerup at least
    duovero.

    To fix the error, we need to wait until twl6040 is accessible after the
    powerup. Based on tests on omap4 duovero, we need to wait over 8ms after
    powerup before register write will complete without failures. Let's also
    make sure we warn about possible errors too.

    Note that we have twl6040_patch[] reg_sequence with the ACCCTL register
    configuration and regcache_sync() will write the new value to ACCCTL.

    Signed-off-by: Tony Lindgren
    Acked-by: Peter Ujfalusi
    Signed-off-by: Lee Jones

    Tony Lindgren
     
  • Some system control registers need to be clocked, so the registers can
    be accessed. Add an optional clock and attach it to regmap.

    Signed-off-by: Fabrice Gasnier
    Acked-by: Arnd Bergmann
    Signed-off-by: Lee Jones

    Fabrice Gasnier
     
  • The RTC portion of the S2MPA01 appears to have the same
    register layout as the S2MPS14.

    Signed-off-by: Stuart Menefy
    Reviewed-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Stuart Menefy
     
  • Change the layout of the initialisation of structures with one
    element to a single line of code. This keeps the coding style
    consistent.

    Signed-off-by: Stuart Menefy
    Signed-off-by: Lee Jones

    Stuart Menefy
     
  • Add MFD cell for LEDs driver to the Intel Cherry Trail Whiskey Cove PMIC
    mfd device driver.

    Signed-off-by: Yauhen Kharuzhy
    Signed-off-by: Lee Jones

    Yauhen Kharuzhy
     
  • …d-pinctrl-5.2-2' and 'ib-mfd-regulator-5.2', tag 'ib-mfd-arm-net-5.2' into ibs-for-mfd-merged

    Immutable branch between MFD, ARM and Net due for the 5.2 merge window

    Lee Jones
     

10 May, 2019

1 commit

  • STMicroelectronics Multi-Function eXpander (STMFX) is a slave controller
    using I2C for communication with the main MCU. Main features are:
    - 16 fast GPIOs individually configurable in input/output
    - 8 alternate GPIOs individually configurable in input/output when other
    STMFX functions are not used
    - Main MCU IDD measurement
    - Resistive touchscreen controller

    Signed-off-by: Amelie Delaunay
    Signed-off-by: Lee Jones

    Amelie Delaunay
     

09 May, 2019

2 commits

  • Pull dmaengine updates from Vinod Koul:

    - Updates to stm32 dma residue calculations

    - Interleave dma capability to axi-dmac and support for ZynqMP arch

    - Rework of channel assignment for rcar dma

    - Debugfs for pl330 driver

    - Support for Tegra186/Tegra194, refactoring for new chips and support
    for pause/resume

    - Updates to axi-dmac, bcm2835, fsl-edma, idma64, imx-sdma, rcar-dmac,
    stm32-dma etc

    - dev_get_drvdata() updates on few drivers

    * tag 'dmaengine-5.2-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (34 commits)
    dmaengine: tegra210-adma: restore channel status
    dmaengine: tegra210-dma: free dma controller in remove()
    dmaengine: tegra210-adma: add pause/resume support
    dmaengine: tegra210-adma: add support for Tegra186/Tegra194
    Documentation: DT: Add compatibility binding for Tegra186
    dmaengine: tegra210-adma: prepare for supporting newer Tegra chips
    dmaengine: at_xdmac: remove a stray bottom half unlock
    dmaengine: fsl-edma: Adjust indentation
    dmaengine: fsl-edma: Fix typo in Vybrid name
    dmaengine: stm32-dma: fix residue calculation in stm32-dma
    dmaengine: nbpfaxi: Use dev_get_drvdata()
    dmaengine: bcm-sba-raid: Use dev_get_drvdata()
    dmaengine: stm32-dma: Fix unsigned variable compared with zero
    dmaengine: stm32-dma: use platform_get_irq()
    dmaengine: rcar-dmac: Update copyright information
    dmaengine: imx-sdma: Only check ratio on parts that support 1:1
    dmaengine: xgene-dma: fix spelling mistake "descripto" -> "descriptor"
    dmaengine: idma64: Move driver name to the header
    dmaengine: bcm2835: Drop duplicate capability setting.
    dmaengine: pl330: _stop: clear interrupt status
    ...

    Linus Torvalds
     
  • Pull Kbuild updates from Masahiro Yamada:

    - allow users to invoke 'make' out of the source tree

    - refactor scripts/mkmakefile

    - deprecate KBUILD_SRC, which was used to track the source tree
    location for O= build.

    - fix recordmcount.pl in case objdump output is localized

    - turn unresolved symbols in external modules to errors from warnings
    by default; pass KBUILD_MODPOST_WARN=1 to get them back to warnings

    - generate modules.builtin.modinfo to collect .modinfo data from
    built-in modules

    - misc Makefile cleanups

    * tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (21 commits)
    .gitignore: add more all*.config patterns
    moduleparam: Save information about built-in modules in separate file
    Remove MODULE_ALIAS() calls that take undefined macro
    .gitignore: add leading and trailing slashes to generated directories
    scripts/tags.sh: fix direct execution of scripts/tags.sh
    scripts: override locale from environment when running recordmcount.pl
    samples: kobject: allow CONFIG_SAMPLE_KOBJECT to become y
    samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option
    kbuild: move Documentation to vmlinux-alldirs
    kbuild: move samples/ to KBUILD_VMLINUX_OBJS
    modpost: make KBUILD_MODPOST_WARN also configurable for external modules
    kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build
    kbuild: remove unneeded dependency for include/config/kernel.release
    memory: squash drivers/memory/Makefile.asm-offsets
    kbuild: use $(srctree) instead of KBUILD_SRC to check out-of-tree build
    kbuild: mkmakefile: generate a simple wrapper of top Makefile
    kbuild: mkmakefile: do not check the generated Makefile marker
    kbuild: allow Kbuild to start from any directory
    kbuild: pass $(MAKECMDGOALS) to sub-make as is
    kbuild: fix warning "overriding recipe for target 'Makefile'"
    ...

    Linus Torvalds
     

08 May, 2019

5 commits

  • Provide system power-off functionality that allows to turn off machine
    gracefully.

    Signed-off-by: Dmitry Osipenko
    Signed-off-by: Lee Jones

    Dmitry Osipenko
     
  • Add support for Maxim 77663 using the Max77620 driver. The hardware
    is very similar to Max77663/20024, although there are couple minor
    differences.

    Signed-off-by: Dmitry Osipenko
    Signed-off-by: Lee Jones

    Dmitry Osipenko
     
  • Add the core MFD driver for max77650 PMIC. We define five sub-devices
    for which the drivers will be added in subsequent patches.

    Signed-off-by: Bartosz Golaszewski
    Signed-off-by: Lee Jones

    Bartosz Golaszewski
     
  • Add a kernel doc for mfd_add_devices().

    Signed-off-by: Bartosz Golaszewski
    Acked-by: Pavel Machek
    Signed-off-by: Lee Jones

    Bartosz Golaszewski
     
  • …anaszewski/linux-leds

    Pull LED updates from Jacek Anaszewski:
    "LED core fixes and improvements:

    - avoid races with workqueue
    - Kconfig: pedantic cleanup
    - small fixes for Flash class description

    leds-lt3593:

    - remove unneeded assignment in lt3593_led_probe
    - drop pdata handling code

    leds-blinkm:

    - clean up double assignment to data->i2c_addr

    leds-pca955x, leds-pca963x:

    - revert ACPI support, as it turned out that there is no evidence
    of officially registered ACPI IDs for these devices.
    - make use of device property API

    leds-as3645a:

    - switch to fwnode property API

    LED related addition to ACPI documentation:

    - document how to refer to LEDs from remote nodes

    LED related fix to ALSA line6/toneport driver:

    - avoid polluting led_* namespace

    And lm3532 driver relocation from MFD to LED subsystem, accompanied by
    various improvements and optimizations; it entails also a change in
    omap4-droid4-xt894.dts:

    - leds: lm3532: Introduce the lm3532 LED driver
    - mfd: ti-lmu: Remove LM3532 backlight driver references
    - ARM: dts: omap4-droid4: Update backlight dt properties
    - dt: lm3532: Add lm3532 dt doc and update ti_lmu doc"

    * tag 'leds-for-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
    leds: avoid races with workqueue
    ALSA: line6: Avoid polluting led_* namespace
    leds: lm3532: Introduce the lm3532 LED driver
    mfd: ti-lmu: Remove LM3532 backlight driver references
    ARM: dts: omap4-droid4: Update backlight dt properties
    dt: lm3532: Add lm3532 dt doc and update ti_lmu doc
    leds: Small fixes for Flash class description
    leds: blinkm: clean up double assignment to data->i2c_addr
    leds: pca963x: Make use of device property API
    leds: pca955x: Make use of device property API
    leds: lt3593: Remove unneeded assignment in lt3593_led_probe
    leds: lt3593: drop pdata handling code
    leds: pca955x: Revert "Add ACPI support"
    leds: pca963x: Revert "Add ACPI support"
    drivers: leds: Kconfig: pedantic cleanups
    ACPI: Document how to refer to LEDs from remote nodes
    leds: as3645a: Switch to fwnode property API

    Linus Torvalds
     

07 May, 2019

1 commit

  • These files do not define (USBHS_)DRIVER_NAME. Yet, they can be
    successfully compiled because they are never built as a module by
    anyone, i.e, the MODULE_ALIAS() calls are always no-op.

    A problem showed up when a patch "moduleparam: Save information about
    built-in modules in separate file" was applied. With this new feature,
    MODULE_*() will be populated even if the callers are built-in.

    To avoid the build errors, the lines referencing to the undefined
    macro must be removed.

    The complete fix is to remove all MODULE_* and #include
    like many "make ... explicitly non-modular" commits did.

    For now, I am touching only the offending lines.

    Reported-by: Stephen Rothwell
    Signed-off-by: Masahiro Yamada
    Acked-by: Daniel Lezcano
    Acked-by: Tony Lindgren

    Masahiro Yamada