Linux kernel source tree
Go to file
Greg Kroah-Hartman 332037d4bb 2nd set of IIO device support, features, cleanups and yaml conversions for 5.11
v2: Fix some missing Sign offs from me that Greg found in v1.
 
 Includes low priority/late breaking/long standing bug fixes.
 
 Note this includes the last few patches that were listed in the description
 for the previous pull request but weren't actually in the PULL.
 
 New devices support
 * bosch,bmc150-accel
   - Support for BMA222, including adding binding doc that was previously
     missing.
 * st,lsm6dsx
   - Support LSM6DSOP accelerometer + gyroscope sensor.
 
 yaml-conversions by manufacturer
 * core
   - adc
   - iio-binding (drop as now in dt-schema)
   - temperature (drop as not clear it is generic)
 * generic (no specific manufacturer)
   - dpot-dac
   - current-sense-amplifier
   - current-sense-shunt
   - envelope-detector
   - voltage-divider
 * adi,ad5592r adi,ad7124 adi,ad7292 adi,adf4350
 * atmel,sama9260-adc
 * bosch,bma180 bosch,bmg180
 * brcm,iproc-static-adc
 * capella,cm3605
 * fsl,mma8452
 * kionix,kxcjk1013
 * maxim,max1027 (from trivial)
 * mediatek,mt2701-auxdac
 * microchip,mcp4531 (from trivial)
 * qcom,pm8018-adc qcom,spi-iadc
 * st,st-sensors
 * ti,ads124s08 ti,afe4403 ti,afe4404 ti,lmp91000 ti,palmas-gpadc
 
 Features
 * bosch,bmc150
   - Handle unusual ACPI binding where two devices are provided in a single
     ACPI device (BOSC0200).
   - ACPI based mount matrix handling
 * st,hts221
   - regulator control
 * st,lsm6dsx
   - regulator control
 
 Cleanup + minor fixes
 * core
   - Reduce duplication in iio_format_avail_{list,range}() and iio_format_list()
   - Fix an issue in the demux update code that could lead to misaligned data.
     Possible no existing driver hits this. Been there a very long time with
     no bug reports.
   - Improve iio_map_array_register() error handling.
   - Avoid polling driver again if try_reenable() callback returns non 0.
     Only users of this were bugs so also drop the return value.
 * core/cb_buffer
   - Return an error if no callback provided (include adding a dummy for one
     unusual case where no callback is valid).
 * trigger/hrtimer-trig, sysfs-trig
   - Fix an issue seen with PREEMPT_RT by marking irq_work as expiring in hard
     interrupt context.
 * adi,ad_sigma_delta library
   - Avoid putting SPI transfer buffers on stack for DMA safety reasons
 * adi,ad5272
   - Fix discrepancy in polarity of reset line between binding documentation
     (which was right) and driver.
 * adi,ad7298
   - Use devm for all of probe
 * atmel,at91_adc
   - Drop at91_adc_ids as only support DT probe
   - Simplify resolution selection and bindings
   - Drop binding for triggers and move into driver based on compatible.
   - Merge at91_adc_probe_dt() into main at91_adc_probe()
 * bosch,bmc150
   - Drop unused structure member.
 * bosch,bmi160
   - Fix overly long buffer due to wrong channel count.
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 * fsl,mag3110
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 * fsl,mpl3115
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 * invn,mpu3050
   - Use 64 bit local variable and FIELD_GET to simplify code that extracts
     values from OTP.
 * qcom,spmi-vadc
   - Drop wrong use of io-channel-ranges in binding doc.
 * rockchip,saradc
   - Fix a missing clk_disable_unprepare() in an error path.
 * rohm,rpr0521
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 * samsung,exynos-adc
   - Drop wrong use of io-channel-ranges in binding doc.
 * st,lsm6dsx
   - Reduce duplication in the chip model specific tables.
   - Fix an issue with missed edge-interrupts that can occur when using
     the FIFO.
 * st,uvis21
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 * ti,adc084s021
   - Tidy up endian types to clear a warning.
 * ti,ads124s08
   - Fix too long a buffer.
   - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
 
 Counter
 * microchip,tcb-counter
   - Add Kamel Bouhara to MAINTAINERS
   - Fix CMR value check
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAl/JP7cRHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0FojIDRAAgm7Evn9xropmg1LY3GdPuaEXrK3PMTCK
 l2/YQSbtb2LMMNUgFCPypuxXnPDaASNY/iORQACZ2bPyO89I1F8cZjFK214G8uRb
 YuVP60/j1qRbT42LmgNH+mPz5ANseguDcz63/RIcXYXrIADJqpfPUHPSsgv9asGF
 a1aKhn7G3z17DUSAQKNhYkXQ1O1ojwTaXNPPklfV0+G6oJJ6zD7/jNCQh+KxZPXo
 GNLaSJh2jHNqrSPhScQeB6RMy6GEAF8PMYHK38A6S/UldO8YuuZLeRGqWKaC1v9j
 67CuDVwkGZ2NHpv4/aU3wUGYbxU2sPpF9HZLiqxCkFOlhMK00XM3susMndjkdApT
 gB2KuhMIRDjsoE/GievcZxwCGuWvnO7A47lk6hLbFGzxRzzr8qZ44e4VT0/4jPD9
 NkqDrF0/u1WqdLPkD7vFMT0FjKhXaeIYxpNmD9z6HiUdFHgFwrrd2d58mEGP4EKt
 YVlGd3tZh4giP56W30Yd96fk5B5JtLr33mXk9+9aOJa+tMI6rPLHgCPm2AklVeMF
 7ZtG+1so1AdXAyDeeBw9f0nyjikcIfTEMrwxd223QKH7q9SYQ6UCuj6UqOp1laQK
 OKAPVTouPrgjSf4pRbwU0LETjMj9qIpSPhMSQ2xVYU5dgzj5TvtYe/Ew+oFqd7nQ
 GpBgXmyjnL0=
 =1uz5
 -----END PGP SIGNATURE-----

Merge tag 'iio-for-5.11b-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next

Jonathan writes:

2nd set of IIO device support, features, cleanups and yaml conversions for 5.11

v2: Fix some missing Sign offs from me that Greg found in v1.

Includes low priority/late breaking/long standing bug fixes.

Note this includes the last few patches that were listed in the description
for the previous pull request but weren't actually in the PULL.

New devices support
* bosch,bmc150-accel
  - Support for BMA222, including adding binding doc that was previously
    missing.
* st,lsm6dsx
  - Support LSM6DSOP accelerometer + gyroscope sensor.

yaml-conversions by manufacturer
* core
  - adc
  - iio-binding (drop as now in dt-schema)
  - temperature (drop as not clear it is generic)
* generic (no specific manufacturer)
  - dpot-dac
  - current-sense-amplifier
  - current-sense-shunt
  - envelope-detector
  - voltage-divider
* adi,ad5592r adi,ad7124 adi,ad7292 adi,adf4350
* atmel,sama9260-adc
* bosch,bma180 bosch,bmg180
* brcm,iproc-static-adc
* capella,cm3605
* fsl,mma8452
* kionix,kxcjk1013
* maxim,max1027 (from trivial)
* mediatek,mt2701-auxdac
* microchip,mcp4531 (from trivial)
* qcom,pm8018-adc qcom,spi-iadc
* st,st-sensors
* ti,ads124s08 ti,afe4403 ti,afe4404 ti,lmp91000 ti,palmas-gpadc

Features
* bosch,bmc150
  - Handle unusual ACPI binding where two devices are provided in a single
    ACPI device (BOSC0200).
  - ACPI based mount matrix handling
* st,hts221
  - regulator control
* st,lsm6dsx
  - regulator control

Cleanup + minor fixes
* core
  - Reduce duplication in iio_format_avail_{list,range}() and iio_format_list()
  - Fix an issue in the demux update code that could lead to misaligned data.
    Possible no existing driver hits this. Been there a very long time with
    no bug reports.
  - Improve iio_map_array_register() error handling.
  - Avoid polling driver again if try_reenable() callback returns non 0.
    Only users of this were bugs so also drop the return value.
* core/cb_buffer
  - Return an error if no callback provided (include adding a dummy for one
    unusual case where no callback is valid).
* trigger/hrtimer-trig, sysfs-trig
  - Fix an issue seen with PREEMPT_RT by marking irq_work as expiring in hard
    interrupt context.
* adi,ad_sigma_delta library
  - Avoid putting SPI transfer buffers on stack for DMA safety reasons
* adi,ad5272
  - Fix discrepancy in polarity of reset line between binding documentation
    (which was right) and driver.
* adi,ad7298
  - Use devm for all of probe
* atmel,at91_adc
  - Drop at91_adc_ids as only support DT probe
  - Simplify resolution selection and bindings
  - Drop binding for triggers and move into driver based on compatible.
  - Merge at91_adc_probe_dt() into main at91_adc_probe()
* bosch,bmc150
  - Drop unused structure member.
* bosch,bmi160
  - Fix overly long buffer due to wrong channel count.
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
* fsl,mag3110
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
* fsl,mpl3115
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
* invn,mpu3050
  - Use 64 bit local variable and FIELD_GET to simplify code that extracts
    values from OTP.
* qcom,spmi-vadc
  - Drop wrong use of io-channel-ranges in binding doc.
* rockchip,saradc
  - Fix a missing clk_disable_unprepare() in an error path.
* rohm,rpr0521
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
* samsung,exynos-adc
  - Drop wrong use of io-channel-ranges in binding doc.
* st,lsm6dsx
  - Reduce duplication in the chip model specific tables.
  - Fix an issue with missed edge-interrupts that can occur when using
    the FIFO.
* st,uvis21
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()
* ti,adc084s021
  - Tidy up endian types to clear a warning.
* ti,ads124s08
  - Fix too long a buffer.
  - Fix potential buffer alignment into iio_push_to_buffers_with_timestamp()

Counter
* microchip,tcb-counter
  - Add Kamel Bouhara to MAINTAINERS
  - Fix CMR value check

* tag 'iio-for-5.11b-take2' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (80 commits)
  iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
  iio: imu: st_lsm6dsx: fix edge-trigger interrupts
  counter: microchip-tcb-capture: Fix CMR value check
  iio: sysfs-trigger: Mark irq_work to expire in hardirq context
  iio: hrtimer-trigger: Mark hrtimer to expire in hard interrupt context
  iio: accel: bmc150: Get mount-matrix from ACPI
  iio: accel: bmc150: Check for a second ACPI device for BOSC0200
  iio: accel: bmc150: Removed unused bmc150_accel_dat irq member
  iio:gyro:mpu3050 Treat otp value as a __le64 and use FIELD_GET() to break up
  iio:adc:ti-ads124s08: Fix alignment and data leak issues.
  iio:adc:ti-ads124s08: Fix buffer being too long.
  iio:pressure:mpl3115: Force alignment of buffer
  iio:imu:bmi160: Fix alignment and data leak issues
  iio:imu:bmi160: Fix too large a buffer.
  iio:magnetometer:mag3110: Fix alignment and data leak issues.
  iio:light:st_uvis25: Fix timestamp alignment and prevent data leak.
  iio:light:rpr0521: Fix timestamp alignment and prevent data leak.
  iio:adc:ti-adc084s021 Tidy up endian types
  iio:trigger: rename try_reenable() to reenable() plus return void
  iio: Fix: Do not poll the driver again if try_reenable() callback returns non 0.
  ...
2020-12-03 22:10:58 +01:00
arch Linux 5.10-rc5 2020-11-23 08:21:37 +01:00
block blk-cgroup: fix a hd_struct leak in blkcg_fill_root_iostats 2020-11-14 11:17:34 -07:00
certs .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
crypto drivers-5.10-2020-10-12 2020-10-13 13:04:41 -07:00
Documentation dt-bindings: iio: imu: st_lsm6dsx: add lsm6dsop device bindings 2020-12-03 19:40:24 +00:00
drivers 2nd set of IIO device support, features, cleanups and yaml conversions for 5.11 2020-12-03 22:10:58 +01:00
fs Couple of EFI fixes for v5.10: 2020-11-22 13:05:48 -08:00
include iio:trigger: rename try_reenable() to reenable() plus return void 2020-12-03 19:40:26 +00:00
init bootconfig: Extend the magic check range to the preceding 3 bytes 2020-11-12 20:36:52 -05:00
ipc ipc: adjust proc_ipc_sem_dointvec definition to match prototype 2020-09-05 12:14:29 -07:00
kernel A couple of scheduler fixes: 2020-11-22 13:26:07 -08:00
lib lib/strncpy_from_user.c: Mask out bytes after NUL terminator. 2020-11-19 11:56:16 -08:00
LICENSES LICENSES/deprecated: add Zlib license text 2020-09-16 14:33:49 +02:00
mm mm: fix madvise WILLNEED performance problem 2020-11-22 10:48:22 -08:00
net Linux 5.10-rc5 2020-11-23 08:21:37 +01:00
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2020-11-06 17:49:34 -08:00
scripts Networking fixes for 5.10-rc4, including fixes from the bpf subtree. 2020-11-12 14:02:04 -08:00
security selinux/stable-5.10 PR 20201113 2020-11-14 12:04:02 -08:00
sound ASoC: stm32: dfsdm: add stm32_adfsdm_dummy_cb() callback 2020-12-03 19:32:40 +00:00
tools Linux 5.10-rc5 2020-11-23 08:21:37 +01:00
usr Merge branch 'work.fdpic' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 13:29:39 -07:00
virt kvm: x86/mmu: Support dirty logging for the TDP MMU 2020-10-23 03:42:13 -04:00
.clang-format RDMA 5.10 pull request 2020-10-17 11:18:18 -07:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: docs: ignore sphinx_*/ directories 2020-09-10 10:44:31 -06:00
.mailmap mailmap: fix entry for Dmitry Baryshkov/Eremin-Solenikov 2020-11-14 11:26:03 -08:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS Samsung changes for v5.10 2020-11-13 13:16:27 +01:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer 2020-12-03 19:32:39 +00:00
Makefile Linux 5.10-rc5 2020-11-22 15:36:08 -08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.