1. 04 Feb, 2019 11 commits
    • Stefan Roese's avatar
      staging: spi: mt7621: Sort register definitions · 376a6220
      Stefan Roese authored
      This patch sorts the SPI register definitions by increasing addresses.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewd-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      376a6220
    • Stefan Roese's avatar
      staging: spi: mt7621: Use recommended comment style · feec667e
      Stefan Roese authored
      This patch changes some comments to use the recommended multi-line
      comment style.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewed-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      feec667e
    • Stefan Roese's avatar
      staging: spi: mt7621: Minor cosmetic changes · 718a4917
      Stefan Roese authored
      Align  macro definitions and add some empty lines to make the code better
      readable.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewd-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      718a4917
    • Stefan Roese's avatar
      staging: spi: mt7621: Remove superfluous SPI_BPW_MASK definition · da05e373
      Stefan Roese authored
      This patch removes the SPI_BPW_MASK definition as this is already
      available in include/linux/spi/spi.h.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewed-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      da05e373
    • Stefan Roese's avatar
      staging: spi: mt7621: Add return code check on device_reset() · 46c33787
      Stefan Roese authored
      This patch adds a return code check on device_reset() and removes the
      compile warning.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewed-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      46c33787
    • Stefan Roese's avatar
      staging: spi: mt7621: Clean up excessive header usage · dab7ed43
      Stefan Roese authored
      This patch removes unnecessary header includes and sorts the remaining
      ones alphabetically.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewed-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dab7ed43
    • Stefan Roese's avatar
      staging: spi: mt7621: Switch to SPDX identifier · 9ad67a12
      Stefan Roese authored
      Adopt the SPDX license identifier headers to ease license compliance
      management.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Sankalp Negi <sankalpnegi2310@gmail.com>
      Cc: Chuanhong Guo <gch981213@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Reviewed-by: default avatarNeilBrown <neil@brown.name>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9ad67a12
    • Carlos Henrique Lima Melara's avatar
      staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier · 7cbc1968
      Carlos Henrique Lima Melara authored
      This patch fixes the checkpatch.p1 warning:
      
      WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
      +/*
      
      It includes the SPDX expression for GPL-2.0 according to the text license
      in the top of the C file.
      Signed-off-by: default avatarCarlos Henrique Lima Melara <charlesmelara@outlook.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7cbc1968
    • Masahiro Yamada's avatar
      staging: prefix header search paths with $(srctree)/ · 2fa49589
      Masahiro Yamada authored
      Currently, the Kbuild core manipulates header search paths in a crazy
      way [1].
      
      To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
      the search paths in the srctree. Some Makefiles are already written in
      that way, but not all. The goal of this work is to make the notation
      consistent, and finally get rid of the gross hacks.
      
      Having whitespaces after -I does not matter since commit 48f6e3cf
      ("kbuild: do not drop -I without parameter").
      
      [1]: https://patchwork.kernel.org/patch/9632347/Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2fa49589
    • Sandesh Kenjana Ashok's avatar
      staging: comedi: comedi_fops.c: Remove redundant blank line · ee593133
      Sandesh Kenjana Ashok authored
      Removed redunant blank line. Issue found by checkpatch.
      Signed-off-by: default avatarSandesh Kenjana Ashok <kas.sandesh@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ee593133
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.1a' of... · 1dcc3ed4
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.1a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First set of new device support, features and cleanup for IIO in the 5.1 cycle
      
      A number of interesting new devices supported plus a good set of staging
      cleanup including one graduation and one drop.
      
      New device support
      * ad56886
        - Add support for AD5674R/AD5679R with some minor driver changes to support
          more channels.
      * ad7768
        - New driver and dt bindings for this 24 bit ADC.
      * max44009
        - New driver and dt bindings for this ambient light sensor.
      * mpu6050
        - Support the ICM 20602 IMU. Minor tweaks due to slightly different
          register map.
      * NPCM adc
        - New driver and dt bindings for this BMC ADC.
      * Sensiron SGP30
        - Modifiers for ethanol and H2.
        - New driver and dt bindings.
        - Follow patch added self cleaning support.
      * Sensiron SPS30
        - New channel type for mass concentration.
        - New driver and bindings.
        - Minor tidy up patch followed (drop fmt specifier as unused)
      * st_pressure
        - lps22hh support. ID plus information structures and dt bindings.
      * ti-ads124s08
        - Add binding doc and driver.
      
      Staging graduations
      * ad7606 driver and bindings.
      
      Staging drops
      * ad7152 CDC driver dropped.  This part is near EoL and no one is known
        to be using it.  If anyone surfaces obviously we can bring the driver
        back.  If not, good to drop it to avoid wasting anyone's time cleaning
        it up.
      
      New features
      * bme680
        - DT support and bindings doc.
      * isl29018
        - Add regulator for VCC.
      * mag3110
        - Add regulators for supplies.
      * meson-saradc
        - Support the temperature sensors of more SoCs.
      * mma8452
        - Add regulators for power suplies and binding docs to reflect them.
      * st-accel
        - Support the undocumented but it seems fairly common _ONT ACPI method
          to specify orientation of the sensor.
      
      Cleanup, minor fixes and fixes for staging driver that have been broken a
      long time
      * ad5933
        - Drop platform data alternative to specifying the reference voltage
          using a regulator.
        - Use the clock framework to contorl the reference clock.
        - Add a DT binding doc to cover the defacto binding.
      * ad7280a
        - Split up some big functions to improve readability.
      * ad7606
        - Allow for timeout if interrupt never occurs.
        - Use devm functions to simplify probe and remove.
        - Use the find_closest macro to avoid need for precise values from
          userspace.
        - Add missing vendor prefixes for various DT properties. Note the
          driver is in staging still and there are no known devicetrees.
        - Add explict OF device ID table.
        - Simplify the Kconfig choices
        - Change to a threaded IRQ.
        - SPDX and simple stype fixes.
      * ad7816
        - Drop unnecessary variable init.
      * ad9523
        - Check a return value that was ignored.
      * ad9833
        - Drop platform data.  It was just setting most values to the hardware
          defaults.
        - Use the clock framework to provide the input clock.
      * adt7316 (lots of staging cleanup)
        - Fix some wrong register / bit definitions
        - Invert the logic of the check for an ldac pin so it actually makes sense.
        - Read the right register to get internal vref settings
        - Allow adt751x chips to use the internal vref for all DAC channels rather
          than a subset.
        - Remove dac vref bypass control from parts that don't have one.
        - Make the store DAC update mode function consistent with the show one.
        - Fix some spellings and other minor tidy up.
        - Avoid passing irq numbers around by putting all the irq logic in
          one place.
        - Fix an issue with the resolution of DAC control.
        - Fix support of the high resolution DAC mode (for temp proportional output)
          where supported.
        - Fix DAC read and write calculations.
      * st_lsm6dsx
        - Drop an unused variable (set but not read)
      * xilinx-xadc
        - Check an unhandled return value.
      
      * tag 'iio-for-5.1a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (67 commits)
        iio: chemical: sps30: remove printk format specifier
        staging: iio: frequency: ad9833: Load clock using clock framework
        staging: iio: frequency: ad9833: Get frequency value statically
        dt-bindings: iio: light: Add max44009
        iio: light: add driver for MAX44009
        dt-bindings: iio: adc: Add docs for AD7768-1
        iio: adc: Add AD7768-1 ADC basic support
        staging: iio: cdc: ad7152: remove driver completely
        iio: imu: mpu6050: Add support for the ICM 20602 IMU
        dt-bindings: iio: imu: add icm20602 bindings to mpu6050
        dt-bindings: iio: pressure: add LPS22HH bindings
        iio: st_accel: use ACPI orientation data
        iio: adc: add NPCM ADC driver
        dt-binding: iio: add NPCM ADC documentation
        iio: chemical: sps30: allow changing self cleaning period
        dt-bindings: iio: chemical: Add bindings for bme680
        iio: chemical: bme680: Add device-tree support
        iio:st_pressure:initial lps22hh sensor support
        iio: accell: mma8452: add vdd/vddio regulator operation support
        dt-bindings: iio: accel: mma8452: add power supplies property
        ...
      1dcc3ed4
  2. 02 Feb, 2019 12 commits
  3. 30 Jan, 2019 13 commits
  4. 28 Jan, 2019 1 commit
  5. 27 Jan, 2019 3 commits
    • Linus Torvalds's avatar
      Linux 5.0-rc4 · f17b5f06
      Linus Torvalds authored
      f17b5f06
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8a5f0605
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of fixes for x86:
      
         - Fix the swapped outb() parameters in the KASLR code
      
         - Fix the PKEY handling at fork which missed to preserve the pkey
           state for the child. Comes with a test case to validate that.
      
         - Fix the entry stack handling for XEN PV to respect that XEN PV
           systems enter the function already on the current thread stack and
           not on the trampoline.
      
         - Fix kexec load failure caused by using a stale value when the
           kexec_buf structure is reused for subsequent allocations.
      
         - Fix a bogus sizeof() in the memory encryption code
      
         - Enforce PCI dependency for the Intel Low Power Subsystem
      
         - Enforce PCI_LOCKLESS_CONFIG when PCI is enabled"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled
        x86/entry/64/compat: Fix stack switching for XEN PV
        x86/kexec: Fix a kexec_file_load() failure
        x86/mm/mem_encrypt: Fix erroneous sizeof()
        x86/selftests/pkeys: Fork() to check for state being preserved
        x86/pkeys: Properly copy pkey state at fork()
        x86/kaslr: Fix incorrect i8254 outb() parameters
        x86/intel/lpss: Make PCI dependency explicit
      8a5f0605
    • Linus Torvalds's avatar
      Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 351e1aa6
      Linus Torvalds authored
      Pull x86 timer fixes from Thomas Gleixner:
       "Two commits which were missed to be sent during the merge window.
      
         - The TSC calibration fix turns out to be more urgent as recent
           Skylake-X systems seem to have massive trouble with calibration
           disturbance. This should go back into stable for that reason and it
           the risk of breakage is rather low.
      
         - Drop an unused define"
      
      * 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/hpet: Remove unused FSEC_PER_NSEC define
        x86/tsc: Make calibration refinement more robust
      351e1aa6