31 Mar, 2020

2 commits

  • Pull EFI updates from Ingo Molnar:
    "The EFI changes in this cycle are much larger than usual, for two
    (positive) reasons:

    - The GRUB project is showing signs of life again, resulting in the
    introduction of the generic Linux/UEFI boot protocol, instead of
    x86 specific hacks which are increasingly difficult to maintain.
    There's hope that all future extensions will now go through that
    boot protocol.

    - Preparatory work for RISC-V EFI support.

    The main changes are:

    - Boot time GDT handling changes

    - Simplify handling of EFI properties table on arm64

    - Generic EFI stub cleanups, to improve command line handling, file
    I/O, memory allocation, etc.

    - Introduce a generic initrd loading method based on calling back
    into the firmware, instead of relying on the x86 EFI handover
    protocol or device tree.

    - Introduce a mixed mode boot method that does not rely on the x86
    EFI handover protocol either, and could potentially be adopted by
    other architectures (if another one ever surfaces where one
    execution mode is a superset of another)

    - Clean up the contents of 'struct efi', and move out everything that
    doesn't need to be stored there.

    - Incorporate support for UEFI spec v2.8A changes that permit
    firmware implementations to return EFI_UNSUPPORTED from UEFI
    runtime services at OS runtime, and expose a mask of which ones are
    supported or unsupported via a configuration table.

    - Partial fix for the lack of by-VA cache maintenance in the
    decompressor on 32-bit ARM.

    - Changes to load device firmware from EFI boot service memory
    regions

    - Various documentation updates and minor code cleanups and fixes"

    * 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (114 commits)
    efi/libstub/arm: Fix spurious message that an initrd was loaded
    efi/libstub/arm64: Avoid image_base value from efi_loaded_image
    partitions/efi: Fix partition name parsing in GUID partition entry
    efi/x86: Fix cast of image argument
    efi/libstub/x86: Use ULONG_MAX as upper bound for all allocations
    efi: Fix a mistype in comments mentioning efivar_entry_iter_begin()
    efi/libstub: Avoid linking libstub/lib-ksyms.o into vmlinux
    efi/x86: Preserve %ebx correctly in efi_set_virtual_address_map()
    efi/x86: Ignore the memory attributes table on i386
    efi/x86: Don't relocate the kernel unless necessary
    efi/x86: Remove extra headroom for setup block
    efi/x86: Add kernel preferred address to PE header
    efi/x86: Decompress at start of PE image load address
    x86/boot/compressed/32: Save the output address instead of recalculating it
    efi/libstub/x86: Deal with exit() boot service returning
    x86/boot: Use unsigned comparison for addresses
    efi/x86: Avoid using code32_start
    efi/x86: Make efi32_pe_entry() more readable
    efi/x86: Respect 32-bit ABI in efi32_pe_entry()
    efi/x86: Annotate the LOADED_IMAGE_PROTOCOL_GUID with SYM_DATA
    ...

    Linus Torvalds
     
  • Pull PNP subsystem updates from Rafael Wysocki:

    - Update MAINTAINERS to cover include/linux/pnp.h and add the
    linux-acpi list to the PNP entry in it

    - add the const modifier to the name field definition in struct
    pnp_driver

    - drop a pointer case in the RTC CMOS driver that has become redundant

    All by Corentin Labbe.

    * tag 'pnp-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    MAINTAINERS: Add linux-acpi list to PNP
    rtc: cmos: remove useless cast for driver_name
    PNP: constify driver name
    PNP: add missing include/linux/pnp.h to MAINTAINERS

    Linus Torvalds
     

20 Mar, 2020

1 commit

  • I have hit the following build error:

    armv7a-hardfloat-linux-gnueabi-ld: drivers/rtc/rtc-max8907.o: in function `max8907_rtc_probe':
    rtc-max8907.c:(.text+0x400): undefined reference to `regmap_irq_get_virq'

    max8907 should select REGMAP_IRQ

    Fixes: 94c01ab6d7544 ("rtc: add MAX8907 RTC driver")
    Cc: stable
    Signed-off-by: Corentin Labbe
    Signed-off-by: Linus Torvalds

    Corentin Labbe
     

18 Mar, 2020

1 commit


24 Feb, 2020

1 commit


04 Feb, 2020

2 commits

  • …ernel/git/chrome-platform/linux

    Pull chrome platform updates from Benson Leung:
    "CrOS EC:

    - Refactoring of some of cros_ec's headers:

    include/linux/mfd/cros_ec.h now removed, new cros_ec.h added to
    drivers/platform/chrome which contains shared operations of cros_ec
    transport drivers.

    - Response tracing in cros_ec_proto

    Wilco EC:

    - Fix unregistration order.

    - Fix keyboard backlight probing on systems without keyboard
    backlight

    - Minor cleanup (newlines in printks, COMPILE_TEST)

    Misc:

    - chromeos_laptop converted to use i2c_new_scanned_device instead of
    i2c_new_probed_device"

    * tag 'tag-chrome-platform-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
    platform/chrome: cros_ec: Match implementation with headers
    platform/chrome: cros_ec: Drop unaligned.h include
    platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST
    platform/chrome: wilco_ec: Add newlines to printks
    platform/chrome: wilco_ec: Fix unregistration order
    cros_ec: treewide: Remove 'include/linux/mfd/cros_ec.h'
    platform/chrome: cros_ec_ishtp: Make init_lock static
    platform/chrome: chromeos_laptop: Convert to i2c_new_scanned_device
    platform/chrome: cros_ec_lpc: Use platform_get_irq_optional() for optional IRQs
    platform/chrome: cros_ec_proto: Add response tracing
    platform/chrome: cros_ec_trace: Match trace commands with EC commands

    Linus Torvalds
     
  • Pull RTC updates from Alexandre Belloni:
    "The VL_READ and VL_CLR ioctls have been reworked to be more useful.
    This will not break userspace as there are very few users and they are
    using the integer value as a boolean.

    Apart from that, two drivers were reworked and a few fixes here and
    there for a net reduction of number of lines.

    Summary:

    Subsystem:
    - the VL_READ and VL_CLR ioctls are now documented and their behavior
    is unified across all the drivers.
    - RTC_I2C_AND_SPI Kconfig option rework to avoid selecting both
    REGMAP_I2C and REGMAP_SPI unecessarily.

    Drivers:
    - at91rm9200: remove deprecated procfs, add sam9x60, sama5d4 and
    sama5d2 compatibles.
    - cmos: solve lost interrupts issue on MS Surface 3
    - hym8563: return proper errno when time is invalid
    - rv3029: many fixes, nvram support"

    * tag 'rtc-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (63 commits)
    dt-bindings: rtc: at91rm9200: document clocks property
    rtc: i2c/spi: Avoid inclusion of REGMAP support when not needed
    rtc: Kconfig: select REGMAP_I2C when necessary
    rtc: Kconfig: properly indent sd3078 entry
    rtc: cmos: Refactor code by using the new dmi_get_bios_year() helper
    rtc: cmos: Use predefined value for RTC IRQ on legacy x86
    rtc: cmos: Stop using shared IRQ
    rtc: tps6586x: Use IRQ_NOAUTOEN flag
    rtc: at91rm9200: use FIELD_PREP/FIELD_GET
    rtc: at91rm9200: avoid time readout in at91_rtc_setalarm
    rtc: at91rm9200: move register definitions to C file
    rtc: at91rm9200: add sama5d4 and sama5d2 compatibles
    dt-bindings: rtc: at91rm9200: convert bindings to json-schema
    rtc: at91rm9200: remove procfs information
    dt-bindings: atmel, at91rm9200-rtc: add microchip, sam9x60-rtc
    rtc: pcf8563: Use BIT
    rtc: moxart: Convert to SPDX identifier
    rtc: ds1343: Remove unused struct spi_device in struct ds1343_priv
    rtc: rx8025: Remove struct i2c_client from struct rx8025_data
    rtc: hym8563: Read the valid flag directly instead of caching it
    ...

    Linus Torvalds
     

03 Feb, 2020

1 commit

  • Pull MFD updates from Lee Jones:
    "New Drivers:
    - Add support for ROHM BD71828 PMICs and GPIOs
    - Add support for Qualcomm Aqstic Audio Codecs WCD9340 and WCD9341

    New Device Support:
    - Add support for BD71828 to BD70528 RTC driver
    - Add support for Intel's Jasper Lake to LPSS PCI

    New Functionality:
    - Add support for Power Key to ROHM BD71828
    - Add support for Clocks to ROHM BD71828
    - Add support for GPIOs to Dialog DA9062
    - Add support for USB PD Notify to ChromiumOS EC
    - Allow callers to specify args when requesting regmap lookup; syscon

    Fix-ups:
    - Improve error handling and sanity checking; atmel-hlcdc, dln2
    - Device Tree support/documentation; bd71828, da9062, xylon,logicvc,
    ab8500, max14577, atmel-usart
    - Match devices using platform IDs; bd7xxxx
    - Refactor BD718x7 regulator component; bd718x7-regulator
    - Use standard interfaces/helpers; syscon, sm501
    - Trivial (whitespace, spelling, etc); ab8500-core, Kconfig
    - Remove unused code; db8500-prcmu, tqmx86
    - Wait until boot has finished before accessing registers;
    madera-core
    - Provide missing register value defaults; cs47l15-tables
    - Allow more time for hardware to reset; madera-core

    Bug Fixes:
    - Fix erroneous register values; rohm-bd70528
    - Fix register volatility; axp20x, rn5t618
    - Fix Kconfig dependencies; MFD_MAX77650
    - Fix incorrect compatible string; da9062-core
    - Fix syscon_regmap_lookup_by_phandle_args() stub; syscon"

    * tag 'mfd-next-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (41 commits)
    mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummy
    mfd: wcd934x: Add support to wcd9340/wcd9341 codec
    mfd: syscon: Add arguments support for syscon reference
    mfd: rn5t618: Mark ADC control register volatile
    dt-bindings: atmel-usart: Add microchip,sam9x60-{usart, dbgu}
    dt-bindings: atmel-usart: Remove wildcard
    mfd: cros_ec: Add cros-usbpd-notify subdevice
    mfd: da9062: Fix watchdog compatible string
    mfd: madera: Allow more time for hardware reset
    mfd: cs47l15: Add missing register default
    mfd: madera: Wait for boot done before accessing any other registers
    mfd: Kconfig: Rename Samsung to lowercase
    mfd: tqmx86: remove set but not used variable 'i2c_ien'
    mfd: dbx500-prcmu: Drop DSI pll clock functions
    mfd: dbx500-prcmu: Drop set_display_clocks()
    mfd: max77650: Select REGMAP_IRQ in Kconfig
    mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile
    mfd: ab8500: Fix ab8500-clk typo
    mfd: intel-lpss: Add Intel Jasper Lake PCI IDs
    dt-bindings: mfd: max14577: Add reference to max14040_battery.txt descriptions
    ...

    Linus Torvalds
     

01 Feb, 2020

1 commit

  • Pull MIPS changes from Paul Burton:
    "Nothing too big or scary in here:

    - Support mremap() for the VDSO, primarily to allow CRIU to restore
    the VDSO to its checkpointed location.

    - Restore the MIPS32 cBPF JIT, after having reverted the enablement
    of the eBPF JIT for MIPS32 systems in the 5.5 cycle.

    - Improve cop0 counter synchronization behaviour whilst onlining CPUs
    by running with interrupts disabled.

    - Better match FPU behaviour when emulating multiply-accumulate
    instructions on pre-r6 systems that implement IEEE754-2008 style
    MACs.

    - Loongson64 kernels now build using the MIPS64r2 ISA, allowing them
    to take advantage of instructions introduced by r2.

    - Support for the Ingenic X1000 SoC & the really nice little CU Neo
    development board that's using it.

    - Support for WMAC on GARDENA Smart Gateway devices.

    - Lots of cleanup & refactoring of SGI IP27 (Origin 2*) support in
    preparation for introducing IP35 (Origin 3*) support.

    - Various Kconfig & Makefile cleanups"

    * tag 'mips_5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (60 commits)
    MIPS: PCI: Add detection of IOC3 on IO7, IO8, IO9 and Fuel
    MIPS: Loongson64: Disable exec hazard
    MIPS: Loongson64: Bump ISA level to MIPSR2
    MIPS: Make DIEI support as a config option
    MIPS: OCTEON: octeon-irq: fix spelling mistake "to" -> "too"
    MIPS: asm: local: add barriers for Loongson
    MIPS: Loongson64: Select mac2008 only feature
    MIPS: Add MAC2008 Support
    Revert "MIPS: Add custom serial.h with BASE_BAUD override for generic kernel"
    MIPS: sort MIPS and MIPS_GENERIC Kconfig selects alphabetically (again)
    MIPS: make CPU_HAS_LOAD_STORE_LR opt-out
    MIPS: generic: don't unconditionally select PINCTRL
    MIPS: don't explicitly select LIBFDT in Kconfig
    MIPS: sync-r4k: do slave counter synchronization with disabled HW interrupts
    MIPS: SGI-IP30: Check for valid pointer before using it
    MIPS: syscalls: fix indentation of the 'SYSNR' message
    MIPS: boot: fix typo in 'vmlinux.lzma.its' target
    MIPS: fix indentation of the 'RELOCS' message
    dt-bindings: Document loongson vendor-prefix
    MIPS: CU1000-Neo: Refresh defconfig to support HWMON and WiFi.
    ...

    Linus Torvalds
     

28 Jan, 2020

4 commits

  • Merely enabling I2C and RTC selects REGMAP_I2C and REGMAP_SPI, even when
    no driver needs it. While the former can be moduler, the latter cannot,
    and thus becomes built-in.

    Fix this by moving the select statements for REGMAP_I2C and REGMAP_SPI
    from the RTC_I2C_AND_SPI helper to the individual drivers that depend on
    it.

    Note that the comment for RTC_I2C_AND_SPI refers to SND_SOC_I2C_AND_SPI
    for more information, but the latter does not select REGMAP_{I2C,SPI}
    itself, and defers that to the individual drivers, too.

    Fixes: 080481f54ef62121 ("rtc: merge ds3232 and ds3234")
    Signed-off-by: Geert Uytterhoeven
    Reported-by: kbuild test robot
    Reported-by: kbuild test robot
    Link: https://lore.kernel.org/r/20200112171349.22268-1-geert@linux-m68k.org
    Signed-off-by: Alexandre Belloni

    Geert Uytterhoeven
     
  • Some i2c RTC drivers are using regmap but are not selecting REGMAP_I2C
    which may lead to build failures.

    Link: https://lore.kernel.org/r/20200127221724.10160-2-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • The RTC_DRV_SD3078 is indented using spaces, use tabs instead.

    Link: https://lore.kernel.org/r/20200127221724.10160-1-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • Pull ioremap updates from Christoph Hellwig:
    "Remove the ioremap_nocache API (plus wrappers) that are always
    identical to ioremap"

    * tag 'ioremap-5.6' of git://git.infradead.org/users/hch/ioremap:
    remove ioremap_nocache and devm_ioremap_nocache
    MIPS: define ioremap_nocache to ioremap

    Linus Torvalds
     

26 Jan, 2020

4 commits

  • Refactor code by using the new dmi_get_bios_year() helper instead of
    open coding its functionality. This also makes logic slightly clearer.

    No changes intended.

    Cc: Hans de Goede
    Signed-off-by: Andy Shevchenko
    Tested-by: Guilherme G. Piccoli
    Reviewed-by: Hans de Goede
    Link: https://lore.kernel.org/r/20200123131437.28157-3-andriy.shevchenko@linux.intel.com
    Signed-off-by: Alexandre Belloni

    Andy Shevchenko
     
  • When legacy devices are present on x86 machine, the RTC IRQ has
    a dedicated pre-defined value. Use it instead of hard coded number.

    Cc: Hans de Goede
    Signed-off-by: Andy Shevchenko
    Tested-by: Guilherme G. Piccoli
    Reviewed-by: Hans de Goede
    Link: https://lore.kernel.org/r/20200123131437.28157-2-andriy.shevchenko@linux.intel.com
    Signed-off-by: Alexandre Belloni

    Andy Shevchenko
     
  • As reported by Guilherme G. Piccoli:

    ---8300 calls to hpet_rtc_interrupt() when "irqpoll" was set, whereas without
    sharing interrupts this number reduced to 1 interrupt. Machines with more
    hardware than a VM should generate even more unnecessary HPET interrupts
    in this scenario.

    ---8
    Cc: Hans de Goede
    Signed-off-by: Andy Shevchenko
    Tested-by: Guilherme G. Piccoli
    Reviewed-by: Hans de Goede
    Link: https://lore.kernel.org/r/20200123131437.28157-1-andriy.shevchenko@linux.intel.com
    Signed-off-by: Alexandre Belloni

    Andy Shevchenko
     
  • The IRQ_NOAUTOEN flag tells interrupt core that interrupt shall not be
    auto-enabled at the time of requesting interrupt. This is a minor clean-up
    change that doesn't fix any problems.

    Signed-off-by: Dmitry Osipenko
    Link: https://lore.kernel.org/r/20200106015615.12602-1-digetx@gmail.com
    Signed-off-by: Alexandre Belloni

    Dmitry Osipenko
     

24 Jan, 2020

1 commit

  • ROHM BD71828 PMIC RTC block is from many parts similar to one
    on BD70528. Support BD71828 RTC using BD70528 RTC driver and
    avoid re-inventing the wheel.

    Signed-off-by: Matti Vaittinen
    Acked-by: Alexandre Belloni
    Signed-off-by: Lee Jones

    Matti Vaittinen
     

15 Jan, 2020

5 commits


10 Jan, 2020

1 commit

  • Our chosen byte swapping, which is what firmware already uses, is to
    do readl/writel by normal lw/sw intructions (data invariance). This
    also means we need to mangle addresses for u8 and u16 accesses. The
    mangling for 16bit has been done aready, but 8bit one was missing.
    Correcting this causes different addresses for accesses to the
    SuperIO and local bus of the IOC3 chip. This is fixed by changing
    byte order in ioc3 and m48rtc_rtc structs.

    Acked-by: Alexandre Belloni
    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Paul Burton
    Cc: Ralf Baechle
    Cc: James Hogan
    Cc: David S. Miller
    Cc: Alessandro Zummo
    Cc: linux-mips@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Cc: linux-rtc@vger.kernel.org

    Thomas Bogendoerfer
     

08 Jan, 2020

1 commit

  • This header file now only includes the cros_ec_dev struct, however, is the
    'include/linux/platform_data/cros_ec_proto.h' who contains the definition of
    all the Chrome OS EC related structs. There is no reason to have a
    separate include for this struct so move to the place where other
    structs are defined. That way, we can remove the include itself, but also
    simplify the common pattern

    #include
    #include

    for a single include

    #include

    The changes to remove the cros_ec.h include were generated with the
    following shell script:

    git grep -l "" | xargs sed -i '//d'

    Signed-off-by: Enric Balletbo i Serra
    Acked-by: Lee Jones
    Acked-by: Alexandre Belloni
    Acked-by: Jonathan Cameron
    Acked-by: Sebastian Reichel
    Acked-by: Hans Verkuil

    Enric Balletbo i Serra
     

06 Jan, 2020

1 commit


04 Jan, 2020

1 commit

  • There are multiple reports of this patch breaking RTC time setting for AMD
    platforms.

    This reverts commit 7ad295d5196a58c22abecef62dd4f99e2f86e831.

    Cc: Jinke Fan
    Link: https://lore.kernel.org/r/CABXGCsMLob0DC25JS8wwAYydnDoHBSoMh2_YLPfqm3TTvDE-Zw@mail.gmail.com
    Fixes: 7ad295d5196a ("rtc: Fix the AltCentury value on AMD/Hygon platform")
    Link: https://lore.kernel.org/r/20200104043110.707810-1-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     

23 Dec, 2019

13 commits

  • Replace (1 << ...) with BIT().

    CC: Alessandro Zummo
    CC: Alexandre Belloni
    Signed-off-by: Nobuhiro Iwamatsu
    Link: https://lore.kernel.org/r/20191218082553.3309554-1-iwamatsu@nigauri.org
    Signed-off-by: Alexandre Belloni

    Nobuhiro Iwamatsu
     
  • Use SPDX-License-Identifier instead of a verbose license text.

    CC: Alessandro Zummo
    CC: Alexandre Belloni
    CC: Jonas Jensen
    Signed-off-by: Nobuhiro Iwamatsu
    Link: https://lore.kernel.org/r/20191218082836.3309808-1-iwamatsu@nigauri.org
    Signed-off-by: Alexandre Belloni

    Nobuhiro Iwamatsu
     
  • struct spi_device in struct ds1343_priv is not used, remove it.

    CC: Alessandro Zummo
    CC: Alexandre Belloni
    CC: Raghavendra Chandra Ganiga
    CC: Ankur Srivastava
    Signed-off-by: Nobuhiro Iwamatsu
    Link: https://lore.kernel.org/r/20191218081917.3308211-1-iwamatsu@nigauri.org
    Signed-off-by: Alexandre Belloni

    Nobuhiro Iwamatsu
     
  • struct i2c_client can be referenced from the device structure, so this
    doesn't need to have it in struct rx8025_data.
    Remove struct i2c_client from struct rx8025_data.

    CC: Alessandro Zummo
    CC: Alexandre Belloni
    CC: Wolfgang Grandegger
    Signed-off-by: Nobuhiro Iwamatsu
    Link: https://lore.kernel.org/r/20191218081624.3307752-1-iwamatsu@nigauri.org
    Signed-off-by: Alexandre Belloni

    Nobuhiro Iwamatsu
     
  • The RTC has a valid bit in the seconds register that indicates whether
    power was lost since the pevious time set. This bit is currently read
    once at probe time, cached and updated with set_time.

    Howeever, caching the bit may prevent detecting power loss at runtime
    (which can happen if the RTC's supply is distinct from the the platform's).

    Writing the seconds register when setting time will clear the bit,
    so there should be no downside in reading the bit directly instead of
    caching it.

    Signed-off-by: Paul Kocialkowski
    Link: https://lore.kernel.org/r/20191212153111.966923-2-paul.kocialkowski@bootlin.com
    Signed-off-by: Alexandre Belloni

    Paul Kocialkowski
     
  • The current code returns -EPERM when the voltage loss bit is set.
    Since the bit indicates that the time value is not valid, return
    -EINVAL instead, which is the appropriate error code for this
    situation.

    Fixes: dcaf03849352 ("rtc: add hym8563 rtc-driver")
    Signed-off-by: Paul Kocialkowski
    Link: https://lore.kernel.org/r/20191212153111.966923-1-paul.kocialkowski@bootlin.com
    Signed-off-by: Alexandre Belloni

    Paul Kocialkowski
     
  • In the current code, the return value of devm_request_threaded_irq may be
    returned. This fixes it.

    CC: Alessandro Zummo
    CC: Alexandre Belloni
    CC: Akshay Bhat
    Signed-off-by: Nobuhiro Iwamatsu
    Link: https://lore.kernel.org/r/20191217121231.2698817-2-iwamatsu@nigauri.org
    Signed-off-by: Alexandre Belloni

    Nobuhiro Iwamatsu
     
  • Fixes coccicheck warning:

    drivers/rtc/rtc-omap.c:619:2-3: Unneeded semicolon

    Reported-by: Hulk Robot
    Signed-off-by: zhengbin
    Link: https://lore.kernel.org/r/1576466353-45384-1-git-send-email-zhengbin13@huawei.com
    Signed-off-by: Alexandre Belloni

    zhengbin
     
  • The driver misses a check for devm_clk_get().
    Add the check to fix it.

    Signed-off-by: Chuhong Yuan
    Link: https://lore.kernel.org/r/20191214074528.16806-1-hslester96@gmail.com
    Signed-off-by: Alexandre Belloni

    Chuhong Yuan
     
  • Remove redundant messages or messages that would not add any value because
    the information is already conveyed properly using errno.

    Link: https://lore.kernel.org/r/20191223100108.1083078-1-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • rv30{2,4}9_register_driver and rv30{2,4}9_unregister_driver are only called
    from the init and exit functions of the module. Annotate them properly.

    Link: https://lore.kernel.org/r/20191223101430.1091572-1-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • The compatibles have been marked obsolete for more that 2 years, drop them
    now. Note that this doesn't currently prevent the driver from probing
    because the i2c core will still match using the i2c_device_id table.

    Link: https://lore.kernel.org/r/20191212230239.65784-1-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • Export the 8 byte RAM using nvmem.

    Link: https://lore.kernel.org/r/20191214221022.622482-17-alexandre.belloni@bootlin.com
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni