mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-19 05:24:11 +00:00
ASoC: Updates for v5.6
A pretty big release this time around, a lot of new drivers and both Morimoto-san and Takashi were doing subsystem wide updates as well: - Further big refactorings from Morimoto-san simplifying the core interfaces and moving things to the component level. - Transition of drivers to managed buffer allocation and removal of redundant PCM ioctls. - New driver support for Ingenic JZ4770, Mediatek MT6660, Qualcomm WCD934x and WSA881x, and Realtek RT700, RT711, RT715, RT1011, RT1015 and RT1308. -----BEGIN PGP SIGNATURE----- iQFHBAABCgAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl4vEpMTHGJyb29uaWVA a2VybmVsLm9yZwAKCRAk1otyXVSH0KN+B/47oBWAdJYYSrwXyQtlQgpJv/o9fEB+ OnhlvCVjC3gPc8rBnUmgyUNYpBEqtmIH1CVdG/2844e0w1g9JJ5UFPp0SJWZp3Nu toRznG64JKE0l9qZsLMOKXbPAtb/KvANM1dy7eTTtbHQhP4jA72f3jmDKfLDa/Xc vsOBWhBKKAkffu9AIYuMLG2sxuyw0lX3T1yxx7BfJE9NzHXwhYaBP7loLoQn33xg 9DrjNuT+gTadUZKsZRw0kNBWC9IIryZ9oGFrfORI51G41sD2DgY3u0xd+Tm44XXe UPwUFxDSMslpIKKu6jn/14TjbOZX2i2D2bYs8DRcppA38Ltdc70DzbgV =C1LS -----END PGP SIGNATURE----- Merge tag 'asoc-v5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Updates for v5.6 A pretty big release this time around, a lot of new drivers and both Morimoto-san and Takashi were doing subsystem wide updates as well: - Further big refactorings from Morimoto-san simplifying the core interfaces and moving things to the component level. - Transition of drivers to managed buffer allocation and removal of redundant PCM ioctls. - New driver support for Ingenic JZ4770, Mediatek MT6660, Qualcomm WCD934x and WSA881x, and Realtek RT700, RT711, RT715, RT1011, RT1015 and RT1308.
This commit is contained in:
commit
90fb04f890
1813 changed files with 39045 additions and 13162 deletions
.mailmapMAINTAINERSMakefile
Documentation
ABI
admin-guide
dev-tools
devicetree/bindings
arm
bus
clock
crypto
display
dma
i2c
iio/adc
input
interrupt-controller
media
memory-controllers
mfd
mmc
mtd
net
allwinner,sun4i-a10-emac.yamlallwinner,sun4i-a10-mdio.yamlallwinner,sun7i-a20-gmac.yamlallwinner,sun8i-a83t-emac.yaml
can
snps,dwmac.yamlti,cpsw-switch.yamlnvmem
phy
pinctrl
pwm
remoteproc
reset
rtc
serio
sound
allwinner,sun4i-a10-codec.yamlallwinner,sun4i-a10-i2s.yamlallwinner,sun4i-a10-spdif.yamlallwinner,sun50i-a64-codec-analog.yamlallwinner,sun8i-a23-codec-analog.yamlallwinner,sun8i-a33-codec.yamlamlogic,axg-fifo.txtfsl,asrc.txtgtm601.txtingenic,codec.yamlingenic,jz4725b-codec.txtingenic,jz4740-codec.txtqcom,sdm845.txtqcom,wcd934x.yamlqcom,wsa881x.yamlrt1015.txtrt5645.txt
spi
timer
usb
watchdog
features/debug/gcov-profile-all
filesystems
kbuild
media/v4l-drivers
networking
process
riscv
scsi
translations
5
.mailmap
5
.mailmap
|
@ -99,6 +99,7 @@ Jacob Shin <Jacob.Shin@amd.com>
|
||||||
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk@google.com>
|
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk@google.com>
|
||||||
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk@motorola.com>
|
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk@motorola.com>
|
||||||
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk.kim@samsung.com>
|
Jaegeuk Kim <jaegeuk@kernel.org> <jaegeuk.kim@samsung.com>
|
||||||
|
Jakub Kicinski <kuba@kernel.org> <jakub.kicinski@netronome.com>
|
||||||
James Bottomley <jejb@mulgrave.(none)>
|
James Bottomley <jejb@mulgrave.(none)>
|
||||||
James Bottomley <jejb@titanic.il.steeleye.com>
|
James Bottomley <jejb@titanic.il.steeleye.com>
|
||||||
James E Wilson <wilson@specifix.com>
|
James E Wilson <wilson@specifix.com>
|
||||||
|
@ -152,6 +153,7 @@ Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@web.de>
|
||||||
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@ascom.ch>
|
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@ascom.ch>
|
||||||
Li Yang <leoyang.li@nxp.com> <leo@zh-kernel.org>
|
Li Yang <leoyang.li@nxp.com> <leo@zh-kernel.org>
|
||||||
Li Yang <leoyang.li@nxp.com> <leoli@freescale.com>
|
Li Yang <leoyang.li@nxp.com> <leoli@freescale.com>
|
||||||
|
Lukasz Luba <lukasz.luba@arm.com> <l.luba@partner.samsung.com>
|
||||||
Maciej W. Rozycki <macro@mips.com> <macro@imgtec.com>
|
Maciej W. Rozycki <macro@mips.com> <macro@imgtec.com>
|
||||||
Marc Zyngier <maz@kernel.org> <marc.zyngier@arm.com>
|
Marc Zyngier <maz@kernel.org> <marc.zyngier@arm.com>
|
||||||
Marcin Nowakowski <marcin.nowakowski@mips.com> <marcin.nowakowski@imgtec.com>
|
Marcin Nowakowski <marcin.nowakowski@mips.com> <marcin.nowakowski@imgtec.com>
|
||||||
|
@ -265,6 +267,7 @@ Vinod Koul <vkoul@kernel.org> <vkoul@infradead.org>
|
||||||
Viresh Kumar <vireshk@kernel.org> <viresh.kumar@st.com>
|
Viresh Kumar <vireshk@kernel.org> <viresh.kumar@st.com>
|
||||||
Viresh Kumar <vireshk@kernel.org> <viresh.linux@gmail.com>
|
Viresh Kumar <vireshk@kernel.org> <viresh.linux@gmail.com>
|
||||||
Viresh Kumar <vireshk@kernel.org> <viresh.kumar2@arm.com>
|
Viresh Kumar <vireshk@kernel.org> <viresh.kumar2@arm.com>
|
||||||
|
Vivien Didelot <vivien.didelot@gmail.com> <vivien.didelot@savoirfairelinux.com>
|
||||||
Vlad Dogaru <ddvlad@gmail.com> <vlad.dogaru@intel.com>
|
Vlad Dogaru <ddvlad@gmail.com> <vlad.dogaru@intel.com>
|
||||||
Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@virtuozzo.com>
|
Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@virtuozzo.com>
|
||||||
Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@parallels.com>
|
Vladimir Davydov <vdavydov.dev@gmail.com> <vdavydov@parallels.com>
|
||||||
|
@ -276,3 +279,5 @@ Gustavo Padovan <gustavo@las.ic.unicamp.br>
|
||||||
Gustavo Padovan <padovan@profusion.mobi>
|
Gustavo Padovan <padovan@profusion.mobi>
|
||||||
Changbin Du <changbin.du@intel.com> <changbin.du@intel.com>
|
Changbin Du <changbin.du@intel.com> <changbin.du@intel.com>
|
||||||
Changbin Du <changbin.du@intel.com> <changbin.du@gmail.com>
|
Changbin Du <changbin.du@intel.com> <changbin.du@gmail.com>
|
||||||
|
Steve Wise <larrystevenwise@gmail.com> <swise@chelsio.com>
|
||||||
|
Steve Wise <larrystevenwise@gmail.com> <swise@opengridcomputing.com>
|
||||||
|
|
|
@ -29,13 +29,13 @@ Description: This file shows the system fans direction:
|
||||||
|
|
||||||
The files are read only.
|
The files are read only.
|
||||||
|
|
||||||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
|
||||||
|
|
||||||
Date: November 2018
|
Date: November 2018
|
||||||
KernelVersion: 5.0
|
KernelVersion: 5.0
|
||||||
Contact: Vadim Pasternak <vadimpmellanox.com>
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
||||||
Description: These files show with which CPLD versions have been burned
|
Description: These files show with which CPLD versions have been burned
|
||||||
on LED board.
|
on LED or Gearbox board.
|
||||||
|
|
||||||
The files are read only.
|
The files are read only.
|
||||||
|
|
||||||
|
@ -121,6 +121,15 @@ Description: These files show the system reset cause, as following: ComEx
|
||||||
|
|
||||||
The files are read only.
|
The files are read only.
|
||||||
|
|
||||||
|
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
|
||||||
|
Date: November 2018
|
||||||
|
KernelVersion: 5.0
|
||||||
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
||||||
|
Description: These files show with which CPLD versions have been burned
|
||||||
|
on LED board.
|
||||||
|
|
||||||
|
The files are read only.
|
||||||
|
|
||||||
Date: June 2019
|
Date: June 2019
|
||||||
KernelVersion: 5.3
|
KernelVersion: 5.3
|
||||||
Contact: Vadim Pasternak <vadimpmellanox.com>
|
Contact: Vadim Pasternak <vadimpmellanox.com>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
What: /sys/bus/platform/devices/MLNXBF04:00/driver/lifecycle_state
|
What: /sys/bus/platform/devices/MLNXBF04:00/lifecycle_state
|
||||||
Date: Oct 2019
|
Date: Oct 2019
|
||||||
KernelVersion: 5.5
|
KernelVersion: 5.5
|
||||||
Contact: "Liming Sun <lsun@mellanox.com>"
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
||||||
|
@ -10,7 +10,7 @@ Description:
|
||||||
GA Non-Secured - Non-Secure chip and not able to change state
|
GA Non-Secured - Non-Secure chip and not able to change state
|
||||||
RMA - Return Merchandise Authorization
|
RMA - Return Merchandise Authorization
|
||||||
|
|
||||||
What: /sys/bus/platform/devices/MLNXBF04:00/driver/post_reset_wdog
|
What: /sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog
|
||||||
Date: Oct 2019
|
Date: Oct 2019
|
||||||
KernelVersion: 5.5
|
KernelVersion: 5.5
|
||||||
Contact: "Liming Sun <lsun@mellanox.com>"
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
||||||
|
@ -19,7 +19,7 @@ Description:
|
||||||
to reboot the chip and recover it to the old state if the new
|
to reboot the chip and recover it to the old state if the new
|
||||||
boot partition fails.
|
boot partition fails.
|
||||||
|
|
||||||
What: /sys/bus/platform/devices/MLNXBF04:00/driver/reset_action
|
What: /sys/bus/platform/devices/MLNXBF04:00/reset_action
|
||||||
Date: Oct 2019
|
Date: Oct 2019
|
||||||
KernelVersion: 5.5
|
KernelVersion: 5.5
|
||||||
Contact: "Liming Sun <lsun@mellanox.com>"
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
||||||
|
@ -30,7 +30,7 @@ Description:
|
||||||
emmc - boot from the onchip eMMC
|
emmc - boot from the onchip eMMC
|
||||||
emmc_legacy - boot from the onchip eMMC in legacy (slow) mode
|
emmc_legacy - boot from the onchip eMMC in legacy (slow) mode
|
||||||
|
|
||||||
What: /sys/bus/platform/devices/MLNXBF04:00/driver/second_reset_action
|
What: /sys/bus/platform/devices/MLNXBF04:00/second_reset_action
|
||||||
Date: Oct 2019
|
Date: Oct 2019
|
||||||
KernelVersion: 5.5
|
KernelVersion: 5.5
|
||||||
Contact: "Liming Sun <lsun@mellanox.com>"
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
||||||
|
@ -44,7 +44,7 @@ Description:
|
||||||
swap_emmc - swap the primary / secondary boot partition
|
swap_emmc - swap the primary / secondary boot partition
|
||||||
none - cancel the action
|
none - cancel the action
|
||||||
|
|
||||||
What: /sys/bus/platform/devices/MLNXBF04:00/driver/secure_boot_fuse_state
|
What: /sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state
|
||||||
Date: Oct 2019
|
Date: Oct 2019
|
||||||
KernelVersion: 5.5
|
KernelVersion: 5.5
|
||||||
Contact: "Liming Sun <lsun@mellanox.com>"
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
||||||
|
|
|
@ -144,7 +144,7 @@ journal_crypt:algorithm(:key) (the key is optional)
|
||||||
Encrypt the journal using given algorithm to make sure that the
|
Encrypt the journal using given algorithm to make sure that the
|
||||||
attacker can't read the journal. You can use a block cipher here
|
attacker can't read the journal. You can use a block cipher here
|
||||||
(such as "cbc(aes)") or a stream cipher (for example "chacha20",
|
(such as "cbc(aes)") or a stream cipher (for example "chacha20",
|
||||||
"salsa20", "ctr(aes)" or "ecb(arc4)").
|
"salsa20" or "ctr(aes)").
|
||||||
|
|
||||||
The journal contains history of last writes to the block device,
|
The journal contains history of last writes to the block device,
|
||||||
an attacker reading the journal could see the last sector nubmers
|
an attacker reading the journal could see the last sector nubmers
|
||||||
|
|
|
@ -8,6 +8,7 @@ Device Mapper
|
||||||
cache-policies
|
cache-policies
|
||||||
cache
|
cache
|
||||||
delay
|
delay
|
||||||
|
dm-clone
|
||||||
dm-crypt
|
dm-crypt
|
||||||
dm-dust
|
dm-dust
|
||||||
dm-flakey
|
dm-flakey
|
||||||
|
|
|
@ -319,7 +319,7 @@
|
||||||
182 = /dev/perfctr Performance-monitoring counters
|
182 = /dev/perfctr Performance-monitoring counters
|
||||||
183 = /dev/hwrng Generic random number generator
|
183 = /dev/hwrng Generic random number generator
|
||||||
184 = /dev/cpu/microcode CPU microcode update interface
|
184 = /dev/cpu/microcode CPU microcode update interface
|
||||||
186 = /dev/atomicps Atomic shapshot of process state data
|
186 = /dev/atomicps Atomic snapshot of process state data
|
||||||
187 = /dev/irnet IrNET device
|
187 = /dev/irnet IrNET device
|
||||||
188 = /dev/smbusbios SMBus BIOS
|
188 = /dev/smbusbios SMBus BIOS
|
||||||
189 = /dev/ussp_ctl User space serial port control
|
189 = /dev/ussp_ctl User space serial port control
|
||||||
|
|
|
@ -181,14 +181,17 @@ When mounting an ext4 filesystem, the following option are accepted:
|
||||||
system after its metadata has been committed to the journal.
|
system after its metadata has been committed to the journal.
|
||||||
|
|
||||||
commit=nrsec (*)
|
commit=nrsec (*)
|
||||||
Ext4 can be told to sync all its data and metadata every 'nrsec'
|
This setting limits the maximum age of the running transaction to
|
||||||
seconds. The default value is 5 seconds. This means that if you lose
|
'nrsec' seconds. The default value is 5 seconds. This means that if
|
||||||
your power, you will lose as much as the latest 5 seconds of work (your
|
you lose your power, you will lose as much as the latest 5 seconds of
|
||||||
filesystem will not be damaged though, thanks to the journaling). This
|
metadata changes (your filesystem will not be damaged though, thanks
|
||||||
default value (or any low value) will hurt performance, but it's good
|
to the journaling). This default value (or any low value) will hurt
|
||||||
for data-safety. Setting it to 0 will have the same effect as leaving
|
performance, but it's good for data-safety. Setting it to 0 will have
|
||||||
it at the default (5 seconds). Setting it to very large values will
|
the same effect as leaving it at the default (5 seconds). Setting it
|
||||||
improve performance.
|
to very large values will improve performance. Note that due to
|
||||||
|
delayed allocation even older data can be lost on power failure since
|
||||||
|
writeback of those data begins only after time set in
|
||||||
|
/proc/sys/vm/dirty_expire_centisecs.
|
||||||
|
|
||||||
barrier=<0|1(*)>, barrier(*), nobarrier
|
barrier=<0|1(*)>, barrier(*), nobarrier
|
||||||
This enables/disables the use of write barriers in the jbd code.
|
This enables/disables the use of write barriers in the jbd code.
|
||||||
|
|
|
@ -253,7 +253,7 @@ The following sysctls are available for the XFS filesystem:
|
||||||
pool.
|
pool.
|
||||||
|
|
||||||
fs.xfs.speculative_prealloc_lifetime
|
fs.xfs.speculative_prealloc_lifetime
|
||||||
(Units: seconds Min: 1 Default: 300 Max: 86400)
|
(Units: seconds Min: 1 Default: 300 Max: 86400)
|
||||||
The interval at which the background scanning for inodes
|
The interval at which the background scanning for inodes
|
||||||
with unused speculative preallocation runs. The scan
|
with unused speculative preallocation runs. The scan
|
||||||
removes unused preallocation from clean inodes and releases
|
removes unused preallocation from clean inodes and releases
|
||||||
|
|
|
@ -251,11 +251,11 @@ selectively from different subsystems.
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
struct kcov_remote_arg {
|
struct kcov_remote_arg {
|
||||||
unsigned trace_mode;
|
__u32 trace_mode;
|
||||||
unsigned area_size;
|
__u32 area_size;
|
||||||
unsigned num_handles;
|
__u32 num_handles;
|
||||||
uint64_t common_handle;
|
__aligned_u64 common_handle;
|
||||||
uint64_t handles[0];
|
__aligned_u64 handles[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define KCOV_INIT_TRACE _IOR('c', 1, unsigned long)
|
#define KCOV_INIT_TRACE _IOR('c', 1, unsigned long)
|
||||||
|
|
|
@ -203,12 +203,12 @@ Test Module
|
||||||
Kselftest tests the kernel from userspace. Sometimes things need
|
Kselftest tests the kernel from userspace. Sometimes things need
|
||||||
testing from within the kernel, one method of doing this is to create a
|
testing from within the kernel, one method of doing this is to create a
|
||||||
test module. We can tie the module into the kselftest framework by
|
test module. We can tie the module into the kselftest framework by
|
||||||
using a shell script test runner. ``kselftest_module.sh`` is designed
|
using a shell script test runner. ``kselftest/module.sh`` is designed
|
||||||
to facilitate this process. There is also a header file provided to
|
to facilitate this process. There is also a header file provided to
|
||||||
assist writing kernel modules that are for use with kselftest:
|
assist writing kernel modules that are for use with kselftest:
|
||||||
|
|
||||||
- ``tools/testing/kselftest/kselftest_module.h``
|
- ``tools/testing/kselftest/kselftest_module.h``
|
||||||
- ``tools/testing/kselftest/kselftest_module.sh``
|
- ``tools/testing/kselftest/kselftest/module.sh``
|
||||||
|
|
||||||
How to use
|
How to use
|
||||||
----------
|
----------
|
||||||
|
@ -247,7 +247,7 @@ A bare bones test module might look like this:
|
||||||
|
|
||||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||||
|
|
||||||
#include "../tools/testing/selftests/kselftest_module.h"
|
#include "../tools/testing/selftests/kselftest/module.h"
|
||||||
|
|
||||||
KSTM_MODULE_GLOBALS();
|
KSTM_MODULE_GLOBALS();
|
||||||
|
|
||||||
|
@ -276,7 +276,7 @@ Example test script
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
$(dirname $0)/../kselftest_module.sh "foo" test_foo
|
$(dirname $0)/../kselftest/module.sh "foo" test_foo
|
||||||
|
|
||||||
|
|
||||||
Test Harness
|
Test Harness
|
||||||
|
|
|
@ -9,6 +9,7 @@ KUnit - Unit Testing for the Linux Kernel
|
||||||
|
|
||||||
start
|
start
|
||||||
usage
|
usage
|
||||||
|
kunit-tool
|
||||||
api/index
|
api/index
|
||||||
faq
|
faq
|
||||||
|
|
||||||
|
|
57
Documentation/dev-tools/kunit/kunit-tool.rst
Normal file
57
Documentation/dev-tools/kunit/kunit-tool.rst
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
=================
|
||||||
|
kunit_tool How-To
|
||||||
|
=================
|
||||||
|
|
||||||
|
What is kunit_tool?
|
||||||
|
===================
|
||||||
|
|
||||||
|
kunit_tool is a script (``tools/testing/kunit/kunit.py``) that aids in building
|
||||||
|
the Linux kernel as UML (`User Mode Linux
|
||||||
|
<http://user-mode-linux.sourceforge.net/>`_), running KUnit tests, parsing
|
||||||
|
the test results and displaying them in a user friendly manner.
|
||||||
|
|
||||||
|
What is a kunitconfig?
|
||||||
|
======================
|
||||||
|
|
||||||
|
It's just a defconfig that kunit_tool looks for in the base directory.
|
||||||
|
kunit_tool uses it to generate a .config as you might expect. In addition, it
|
||||||
|
verifies that the generated .config contains the CONFIG options in the
|
||||||
|
kunitconfig; the reason it does this is so that it is easy to be sure that a
|
||||||
|
CONFIG that enables a test actually ends up in the .config.
|
||||||
|
|
||||||
|
How do I use kunit_tool?
|
||||||
|
========================
|
||||||
|
|
||||||
|
If a kunitconfig is present at the root directory, all you have to do is:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./tools/testing/kunit/kunit.py run
|
||||||
|
|
||||||
|
However, you most likely want to use it with the following options:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
|
||||||
|
|
||||||
|
- ``--timeout`` sets a maximum amount of time to allow tests to run.
|
||||||
|
- ``--jobs`` sets the number of threads to use to build the kernel.
|
||||||
|
|
||||||
|
If you just want to use the defconfig that ships with the kernel, you can
|
||||||
|
append the ``--defconfig`` flag as well:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all` --defconfig
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This command is particularly helpful for getting started because it
|
||||||
|
just works. No kunitconfig needs to be present.
|
||||||
|
|
||||||
|
For a list of all the flags supported by kunit_tool, you can run:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./tools/testing/kunit/kunit.py run --help
|
|
@ -19,21 +19,21 @@ The wrapper can be run with:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
./tools/testing/kunit/kunit.py run
|
./tools/testing/kunit/kunit.py run --defconfig
|
||||||
|
|
||||||
Creating a kunitconfig
|
For more information on this wrapper (also called kunit_tool) checkout the
|
||||||
======================
|
:doc:`kunit-tool` page.
|
||||||
The Python script is a thin wrapper around Kbuild as such, it needs to be
|
|
||||||
configured with a ``kunitconfig`` file. This file essentially contains the
|
Creating a .kunitconfig
|
||||||
|
=======================
|
||||||
|
The Python script is a thin wrapper around Kbuild. As such, it needs to be
|
||||||
|
configured with a ``.kunitconfig`` file. This file essentially contains the
|
||||||
regular Kernel config, with the specific test targets as well.
|
regular Kernel config, with the specific test targets as well.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
git clone -b master https://kunit.googlesource.com/kunitconfig $PATH_TO_KUNITCONFIG_REPO
|
|
||||||
cd $PATH_TO_LINUX_REPO
|
cd $PATH_TO_LINUX_REPO
|
||||||
ln -s $PATH_TO_KUNIT_CONFIG_REPO/kunitconfig kunitconfig
|
cp arch/um/configs/kunit_defconfig .kunitconfig
|
||||||
|
|
||||||
You may want to add kunitconfig to your local gitignore.
|
|
||||||
|
|
||||||
Verifying KUnit Works
|
Verifying KUnit Works
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -59,8 +59,8 @@ If everything worked correctly, you should see the following:
|
||||||
followed by a list of tests that are run. All of them should be passing.
|
followed by a list of tests that are run. All of them should be passing.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Because it is building a lot of sources for the first time, the ``Building
|
Because it is building a lot of sources for the first time, the
|
||||||
kunit kernel`` step may take a while.
|
``Building KUnit kernel`` step may take a while.
|
||||||
|
|
||||||
Writing your first test
|
Writing your first test
|
||||||
=======================
|
=======================
|
||||||
|
@ -148,7 +148,7 @@ and the following to ``drivers/misc/Makefile``:
|
||||||
|
|
||||||
obj-$(CONFIG_MISC_EXAMPLE_TEST) += example-test.o
|
obj-$(CONFIG_MISC_EXAMPLE_TEST) += example-test.o
|
||||||
|
|
||||||
Now add it to your ``kunitconfig``:
|
Now add it to your ``.kunitconfig``:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ Now you can run the test:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
./tools/testing/kunit/kunit.py
|
./tools/testing/kunit/kunit.py run
|
||||||
|
|
||||||
You should see the following failure:
|
You should see the following failure:
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Organization of this document
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
This document is organized into two main sections: Testing and Isolating
|
This document is organized into two main sections: Testing and Isolating
|
||||||
Behavior. The first covers what a unit test is and how to use KUnit to write
|
Behavior. The first covers what unit tests are and how to use KUnit to write
|
||||||
them. The second covers how to use KUnit to isolate code and make it possible
|
them. The second covers how to use KUnit to isolate code and make it possible
|
||||||
to unit test code that was otherwise un-unit-testable.
|
to unit test code that was otherwise un-unit-testable.
|
||||||
|
|
||||||
|
@ -174,13 +174,13 @@ Test Suites
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
Now obviously one unit test isn't very helpful; the power comes from having
|
Now obviously one unit test isn't very helpful; the power comes from having
|
||||||
many test cases covering all of your behaviors. Consequently it is common to
|
many test cases covering all of a unit's behaviors. Consequently it is common
|
||||||
have many *similar* tests; in order to reduce duplication in these closely
|
to have many *similar* tests; in order to reduce duplication in these closely
|
||||||
related tests most unit testing frameworks provide the concept of a *test
|
related tests most unit testing frameworks - including KUnit - provide the
|
||||||
suite*, in KUnit we call it a *test suite*; all it is is just a collection of
|
concept of a *test suite*. A *test suite* is just a collection of test cases
|
||||||
test cases for a unit of code with a set up function that gets invoked before
|
for a unit of code with a set up function that gets invoked before every test
|
||||||
every test cases and then a tear down function that gets invoked after every
|
case and then a tear down function that gets invoked after every test case
|
||||||
test case completes.
|
completes.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ KUnit test framework.
|
||||||
.. note::
|
.. note::
|
||||||
A test case will only be run if it is associated with a test suite.
|
A test case will only be run if it is associated with a test suite.
|
||||||
|
|
||||||
For a more information on these types of things see the :doc:`api/test`.
|
For more information on these types of things see the :doc:`api/test`.
|
||||||
|
|
||||||
Isolating Behavior
|
Isolating Behavior
|
||||||
==================
|
==================
|
||||||
|
@ -338,7 +338,7 @@ We can easily test this code by *faking out* the underlying EEPROM:
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t fake_eeprom_write(struct eeprom *this, size_t offset, const char *buffer, size_t count)
|
ssize_t fake_eeprom_write(struct eeprom *parent, size_t offset, const char *buffer, size_t count)
|
||||||
{
|
{
|
||||||
struct fake_eeprom *this = container_of(parent, struct fake_eeprom, parent);
|
struct fake_eeprom *this = container_of(parent, struct fake_eeprom, parent);
|
||||||
|
|
||||||
|
@ -454,7 +454,7 @@ KUnit on non-UML architectures
|
||||||
By default KUnit uses UML as a way to provide dependencies for code under test.
|
By default KUnit uses UML as a way to provide dependencies for code under test.
|
||||||
Under most circumstances KUnit's usage of UML should be treated as an
|
Under most circumstances KUnit's usage of UML should be treated as an
|
||||||
implementation detail of how KUnit works under the hood. Nevertheless, there
|
implementation detail of how KUnit works under the hood. Nevertheless, there
|
||||||
are instances where being able to run architecture specific code, or test
|
are instances where being able to run architecture specific code or test
|
||||||
against real hardware is desirable. For these reasons KUnit supports running on
|
against real hardware is desirable. For these reasons KUnit supports running on
|
||||||
other architectures.
|
other architectures.
|
||||||
|
|
||||||
|
@ -557,7 +557,7 @@ run your tests on your hardware setup just by compiling for your architecture.
|
||||||
.. important::
|
.. important::
|
||||||
Always prefer tests that run on UML to tests that only run under a particular
|
Always prefer tests that run on UML to tests that only run under a particular
|
||||||
architecture, and always prefer tests that run under QEMU or another easy
|
architecture, and always prefer tests that run under QEMU or another easy
|
||||||
(and monitarily free) to obtain software environment to a specific piece of
|
(and monetarily free) to obtain software environment to a specific piece of
|
||||||
hardware.
|
hardware.
|
||||||
|
|
||||||
Nevertheless, there are still valid reasons to write an architecture or hardware
|
Nevertheless, there are still valid reasons to write an architecture or hardware
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner platforms device tree bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
$nodename:
|
$nodename:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A64 Display Engine Bus Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
$nodename:
|
$nodename:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A23 RSB Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells":
|
"#address-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner Clock Control Unit Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Security System Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A31 MIPI-DSI Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells": true
|
"#address-cells": true
|
||||||
|
|
|
@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
title: Ronbo RB070D30 DSI Display Panel
|
title: Ronbo RB070D30 DSI Display Panel
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 DMA Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "dma-controller.yaml#"
|
- $ref: "dma-controller.yaml#"
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A64 DMA Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "dma-controller.yaml#"
|
- $ref: "dma-controller.yaml#"
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A31 DMA Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "dma-controller.yaml#"
|
- $ref: "dma-controller.yaml#"
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A31 P2WI (Push/Pull 2 Wires Interface) Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/i2c/i2c-controller.yaml#
|
- $ref: /schemas/i2c/i2c-controller.yaml#
|
||||||
|
|
|
@ -18,8 +18,10 @@ Optional properties:
|
||||||
- dma-names: should contain "tx" and "rx".
|
- dma-names: should contain "tx" and "rx".
|
||||||
- atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO
|
- atmel,fifo-size: maximum number of data the RX and TX FIFOs can store for FIFO
|
||||||
capable I2C controllers.
|
capable I2C controllers.
|
||||||
- i2c-sda-hold-time-ns: TWD hold time, only available for "atmel,sama5d4-i2c"
|
- i2c-sda-hold-time-ns: TWD hold time, only available for:
|
||||||
and "atmel,sama5d2-i2c".
|
"atmel,sama5d4-i2c",
|
||||||
|
"atmel,sama5d2-i2c",
|
||||||
|
"microchip,sam9x60-i2c".
|
||||||
- Child nodes conforming to i2c bus binding
|
- Child nodes conforming to i2c bus binding
|
||||||
|
|
||||||
Examples :
|
Examples :
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
%YAML 1.2
|
%YAML 1.2
|
||||||
---
|
---
|
||||||
$id: http://devicetree.org/schemas/iio/adc/adi,ad7292.yaml#
|
$id: http://devicetree.org/schemas/iio/adc/adi,ad7292.yaml#
|
||||||
|
@ -53,7 +53,8 @@ patternProperties:
|
||||||
description: |
|
description: |
|
||||||
The channel number. It can have up to 8 channels numbered from 0 to 7.
|
The channel number. It can have up to 8 channels numbered from 0 to 7.
|
||||||
items:
|
items:
|
||||||
maximum: 7
|
- minimum: 0
|
||||||
|
maximum: 7
|
||||||
|
|
||||||
diff-channels:
|
diff-channels:
|
||||||
description: see Documentation/devicetree/bindings/iio/adc/adc.txt
|
description: see Documentation/devicetree/bindings/iio/adc/adc.txt
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A33 Thermal Sensor Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 LRADC Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Interrupt Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/interrupt-controller.yaml#
|
- $ref: /schemas/interrupt-controller.yaml#
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A20 Non-Maskable Interrupt Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/interrupt-controller.yaml#
|
- $ref: /schemas/interrupt-controller.yaml#
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 CMOS Sensor Interface (CSI) Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
description: |-
|
description: |-
|
||||||
The Allwinner A10 and later has a CMOS Sensor Interface to retrieve
|
The Allwinner A10 and later has a CMOS Sensor Interface to retrieve
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Infrared Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "rc.yaml#"
|
- $ref: "rc.yaml#"
|
||||||
|
|
|
@ -60,7 +60,8 @@ patternProperties:
|
||||||
maximum: 1066000000
|
maximum: 1066000000
|
||||||
|
|
||||||
nvidia,emem-configuration:
|
nvidia,emem-configuration:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
allOf:
|
||||||
|
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
description: |
|
description: |
|
||||||
Values to be written to the EMEM register block. See section
|
Values to be written to the EMEM register block. See section
|
||||||
"15.6.1 MC Registers" in the TRM.
|
"15.6.1 MC Registers" in the TRM.
|
||||||
|
|
|
@ -56,7 +56,8 @@ patternProperties:
|
||||||
maximum: 900000000
|
maximum: 900000000
|
||||||
|
|
||||||
nvidia,emc-auto-cal-interval:
|
nvidia,emc-auto-cal-interval:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
allOf:
|
||||||
|
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||||
description:
|
description:
|
||||||
Pad calibration interval in microseconds.
|
Pad calibration interval in microseconds.
|
||||||
minimum: 0
|
minimum: 0
|
||||||
|
@ -78,7 +79,8 @@ patternProperties:
|
||||||
Mode Register 0.
|
Mode Register 0.
|
||||||
|
|
||||||
nvidia,emc-zcal-cnt-long:
|
nvidia,emc-zcal-cnt-long:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
allOf:
|
||||||
|
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||||
description:
|
description:
|
||||||
Number of EMC clocks to wait before issuing any commands after
|
Number of EMC clocks to wait before issuing any commands after
|
||||||
sending ZCAL_MRW_CMD.
|
sending ZCAL_MRW_CMD.
|
||||||
|
@ -96,7 +98,8 @@ patternProperties:
|
||||||
FBIO "read" FIFO periodic resetting enabled.
|
FBIO "read" FIFO periodic resetting enabled.
|
||||||
|
|
||||||
nvidia,emc-configuration:
|
nvidia,emc-configuration:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
allOf:
|
||||||
|
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
description:
|
description:
|
||||||
EMC timing characterization data. These are the registers
|
EMC timing characterization data. These are the registers
|
||||||
(see section "18.13.2 EMC Registers" in the TRM) whose values
|
(see section "18.13.2 EMC Registers" in the TRM) whose values
|
||||||
|
|
|
@ -77,7 +77,8 @@ patternProperties:
|
||||||
maximum: 900000000
|
maximum: 900000000
|
||||||
|
|
||||||
nvidia,emem-configuration:
|
nvidia,emem-configuration:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32-array
|
allOf:
|
||||||
|
- $ref: /schemas/types.yaml#/definitions/uint32-array
|
||||||
description: |
|
description: |
|
||||||
Values to be written to the EMEM register block. See section
|
Values to be written to the EMEM register block. See section
|
||||||
"18.13.1 MC Registers" in the TRM.
|
"18.13.1 MC Registers" in the TRM.
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Resistive Touchscreen Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#thermal-sensor-cells":
|
"#thermal-sensor-cells":
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells": true
|
"#address-cells": true
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells": true
|
"#address-cells": true
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 MDIO Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "mdio.yaml#"
|
- $ref: "mdio.yaml#"
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A83t EMAC Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 CAN Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -10,7 +10,6 @@ Required properties:
|
||||||
- #size-cells: 0
|
- #size-cells: 0
|
||||||
- spi-max-frequency: Maximum frequency of the SPI bus the chip can
|
- spi-max-frequency: Maximum frequency of the SPI bus the chip can
|
||||||
operate at should be less than or equal to 18 MHz.
|
operate at should be less than or equal to 18 MHz.
|
||||||
- device-wake-gpios: Wake up GPIO to wake up the TCAN device.
|
|
||||||
- interrupt-parent: the phandle to the interrupt controller which provides
|
- interrupt-parent: the phandle to the interrupt controller which provides
|
||||||
the interrupt.
|
the interrupt.
|
||||||
- interrupts: interrupt specification for data-ready.
|
- interrupts: interrupt specification for data-ready.
|
||||||
|
@ -23,6 +22,7 @@ Optional properties:
|
||||||
reset.
|
reset.
|
||||||
- device-state-gpios: Input GPIO that indicates if the device is in
|
- device-state-gpios: Input GPIO that indicates if the device is in
|
||||||
a sleep state or if the device is active.
|
a sleep state or if the device is active.
|
||||||
|
- device-wake-gpios: Wake up GPIO to wake up the TCAN device.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
tcan4x5x: tcan4x5x@0 {
|
tcan4x5x: tcan4x5x@0 {
|
||||||
|
@ -36,5 +36,5 @@ tcan4x5x: tcan4x5x@0 {
|
||||||
interrupts = <14 GPIO_ACTIVE_LOW>;
|
interrupts = <14 GPIO_ACTIVE_LOW>;
|
||||||
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
||||||
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
|
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
|
||||||
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
|
reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -347,6 +347,7 @@ allOf:
|
||||||
- st,spear600-gmac
|
- st,spear600-gmac
|
||||||
|
|
||||||
then:
|
then:
|
||||||
|
properties:
|
||||||
snps,tso:
|
snps,tso:
|
||||||
$ref: /schemas/types.yaml#definitions/flag
|
$ref: /schemas/types.yaml#definitions/flag
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
%YAML 1.2
|
%YAML 1.2
|
||||||
---
|
---
|
||||||
$id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml#
|
$id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml#
|
||||||
|
@ -44,7 +44,6 @@ properties:
|
||||||
description: CPSW functional clock
|
description: CPSW functional clock
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
maxItems: 1
|
|
||||||
items:
|
items:
|
||||||
- const: fck
|
- const: fck
|
||||||
|
|
||||||
|
@ -70,7 +69,6 @@ properties:
|
||||||
Phandle to the system control device node which provides access to
|
Phandle to the system control device node which provides access to
|
||||||
efuse IO range with MAC addresses
|
efuse IO range with MAC addresses
|
||||||
|
|
||||||
|
|
||||||
ethernet-ports:
|
ethernet-ports:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -82,8 +80,6 @@ properties:
|
||||||
patternProperties:
|
patternProperties:
|
||||||
"^port@[0-9]+$":
|
"^port@[0-9]+$":
|
||||||
type: object
|
type: object
|
||||||
minItems: 1
|
|
||||||
maxItems: 2
|
|
||||||
description: CPSW external ports
|
description: CPSW external ports
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
|
@ -91,23 +87,20 @@ properties:
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
items:
|
||||||
enum: [1, 2]
|
- enum: [1, 2]
|
||||||
description: CPSW port number
|
description: CPSW port number
|
||||||
|
|
||||||
phys:
|
phys:
|
||||||
$ref: /schemas/types.yaml#definitions/phandle-array
|
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
description: phandle on phy-gmii-sel PHY
|
description: phandle on phy-gmii-sel PHY
|
||||||
|
|
||||||
label:
|
label:
|
||||||
$ref: /schemas/types.yaml#/definitions/string-array
|
|
||||||
maxItems: 1
|
|
||||||
description: label associated with this port
|
description: label associated with this port
|
||||||
|
|
||||||
ti,dual-emac-pvid:
|
ti,dual-emac-pvid:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
allOf:
|
||||||
maxItems: 1
|
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||||
minimum: 1
|
minimum: 1
|
||||||
maximum: 1024
|
maximum: 1024
|
||||||
description:
|
description:
|
||||||
|
@ -136,7 +129,6 @@ properties:
|
||||||
description: CPTS reference clock
|
description: CPTS reference clock
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
maxItems: 1
|
|
||||||
items:
|
items:
|
||||||
- const: cpts
|
- const: cpts
|
||||||
|
|
||||||
|
@ -201,7 +193,7 @@ examples:
|
||||||
phys = <&phy_gmii_sel 1>;
|
phys = <&phy_gmii_sel 1>;
|
||||||
phy-handle = <ðphy0_sw>;
|
phy-handle = <ðphy0_sw>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
ti,dual_emac_pvid = <1>;
|
ti,dual-emac-pvid = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpsw_port2: port@2 {
|
cpsw_port2: port@2 {
|
||||||
|
@ -211,7 +203,7 @@ examples:
|
||||||
phys = <&phy_gmii_sel 2>;
|
phys = <&phy_gmii_sel 2>;
|
||||||
phy-handle = <ðphy1_sw>;
|
phy-handle = <ðphy1_sw>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
ti,dual_emac_pvid = <2>;
|
ti,dual-emac-pvid = <2>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Security ID Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "nvmem.yaml#"
|
- $ref: "nvmem.yaml#"
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A31 MIPI D-PHY Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#phy-cells":
|
"#phy-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Pin Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#gpio-cells":
|
"#gpio-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 PWM Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#pwm-cells":
|
"#pwm-cells":
|
||||||
|
|
|
@ -50,6 +50,8 @@ properties:
|
||||||
description: Should contain the WWDG1 watchdog reset interrupt
|
description: Should contain the WWDG1 watchdog reset interrupt
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
wakeup-source: true
|
||||||
|
|
||||||
mboxes:
|
mboxes:
|
||||||
description:
|
description:
|
||||||
This property is required only if the rpmsg/virtio functionality is used.
|
This property is required only if the rpmsg/virtio functionality is used.
|
||||||
|
|
|
@ -22,6 +22,6 @@ Example:
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet_switch {
|
ðernet_switch {
|
||||||
resets = <&reset>;
|
resets = <&reset 26>;
|
||||||
reset-names = "switch";
|
reset-names = "switch";
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A31 RTC Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 PS2 Host Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
description:
|
description:
|
||||||
A20 PS2 is dual role controller (PS2 host and PS2 device). These
|
A20 PS2 is dual role controller (PS2 host and PS2 device). These
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Codec Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#sound-dai-cells":
|
"#sound-dai-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 I2S Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#sound-dai-cells":
|
"#sound-dai-cells":
|
||||||
|
|
|
@ -10,7 +10,7 @@ maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Liam Girdwood <lgirdwood@gmail.com>
|
- Liam Girdwood <lgirdwood@gmail.com>
|
||||||
- Mark Brown <broonie@kernel.org>
|
- Mark Brown <broonie@kernel.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#sound-dai-cells":
|
"#sound-dai-cells":
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A64 Analog Codec Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A23 Analog Codec Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A33 Codec Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#sound-dai-cells":
|
"#sound-dai-cells":
|
||||||
|
|
|
@ -17,6 +17,9 @@ Required properties:
|
||||||
* "arb" : memory ARB line (required)
|
* "arb" : memory ARB line (required)
|
||||||
* "rst" : dedicated device reset line (optional)
|
* "rst" : dedicated device reset line (optional)
|
||||||
- #sound-dai-cells: must be 0.
|
- #sound-dai-cells: must be 0.
|
||||||
|
- amlogic,fifo-depth: The size of the controller's fifo in bytes. This
|
||||||
|
is useful for determining certain configuration such
|
||||||
|
as the flush threshold of the fifo
|
||||||
|
|
||||||
Example of FRDDR A on the A113 SoC:
|
Example of FRDDR A on the A113 SoC:
|
||||||
|
|
||||||
|
@ -27,4 +30,5 @@ frddr_a: audio-controller@1c0 {
|
||||||
interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
|
||||||
clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
|
clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
|
||||||
resets = <&arb AXG_ARB_FRDDR_A>;
|
resets = <&arb AXG_ARB_FRDDR_A>;
|
||||||
|
fifo-depth = <512>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,12 @@ three substreams within totally 10 channels.
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
|
|
||||||
- compatible : Contains "fsl,imx35-asrc" or "fsl,imx53-asrc".
|
- compatible : Compatible list, should contain one of the following
|
||||||
|
compatibles:
|
||||||
|
"fsl,imx35-asrc",
|
||||||
|
"fsl,imx53-asrc",
|
||||||
|
"fsl,imx8qm-asrc",
|
||||||
|
"fsl,imx8qxp-asrc",
|
||||||
|
|
||||||
- reg : Offset and length of the register set for the device.
|
- reg : Offset and length of the register set for the device.
|
||||||
|
|
||||||
|
@ -35,6 +40,11 @@ Required properties:
|
||||||
|
|
||||||
- fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends.
|
- fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends.
|
||||||
|
|
||||||
|
- fsl,asrc-clk-map : Defines clock map used in driver. which is required
|
||||||
|
by imx8qm/imx8qxp platform
|
||||||
|
<0> - select the map for asrc0 in imx8qm/imx8qxp
|
||||||
|
<1> - select the map for asrc1 in imx8qm/imx8qxp
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
|
|
||||||
- big-endian : If this property is absent, the little endian mode
|
- big-endian : If this property is absent, the little endian mode
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
GTM601 UMTS modem audio interface CODEC
|
GTM601 UMTS modem audio interface CODEC
|
||||||
|
|
||||||
This device has no configuration interface. Sample rate is fixed - 8kHz.
|
This device has no configuration interface. The sample rate and channels are
|
||||||
|
based on the compatible string
|
||||||
|
"option,gtm601" = 8kHz mono
|
||||||
|
"broadmobi,bm818" = 48KHz stereo
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
|
|
||||||
- compatible : "option,gtm601"
|
- compatible : one of
|
||||||
|
"option,gtm601"
|
||||||
|
"broadmobi,bm818"
|
||||||
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
55
Documentation/devicetree/bindings/sound/ingenic,codec.yaml
Normal file
55
Documentation/devicetree/bindings/sound/ingenic,codec.yaml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/sound/ingenic,codec.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Ingenic JZ47xx internal codec DT bindings
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Paul Cercueil <paul@crapouillou.net>
|
||||||
|
|
||||||
|
properties:
|
||||||
|
$nodename:
|
||||||
|
pattern: '^audio-codec@.*'
|
||||||
|
|
||||||
|
compatible:
|
||||||
|
oneOf:
|
||||||
|
- const: ingenic,jz4770-codec
|
||||||
|
- const: ingenic,jz4725b-codec
|
||||||
|
- const: ingenic,jz4740-codec
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
items:
|
||||||
|
- const: aic
|
||||||
|
|
||||||
|
'#sound-dai-cells':
|
||||||
|
const: 0
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- clocks
|
||||||
|
- clock-names
|
||||||
|
- '#sound-dai-cells'
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
#include <dt-bindings/clock/jz4740-cgu.h>
|
||||||
|
codec: audio-codec@10020080 {
|
||||||
|
compatible = "ingenic,jz4740-codec";
|
||||||
|
reg = <0x10020080 0x8>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
clocks = <&cgu JZ4740_CLK_AIC>;
|
||||||
|
clock-names = "aic";
|
||||||
|
};
|
||||||
|
|
||||||
|
...
|
|
@ -1,20 +0,0 @@
|
||||||
Ingenic JZ4725B codec controller
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- compatible : "ingenic,jz4725b-codec"
|
|
||||||
- reg : codec registers location and length
|
|
||||||
- clocks : phandle to the AIC clock.
|
|
||||||
- clock-names: must be set to "aic".
|
|
||||||
- #sound-dai-cells: Must be set to 0.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
codec: audio-codec@100200a4 {
|
|
||||||
compatible = "ingenic,jz4725b-codec";
|
|
||||||
reg = <0x100200a4 0x8>;
|
|
||||||
|
|
||||||
#sound-dai-cells = <0>;
|
|
||||||
|
|
||||||
clocks = <&cgu JZ4725B_CLK_AIC>;
|
|
||||||
clock-names = "aic";
|
|
||||||
};
|
|
|
@ -1,20 +0,0 @@
|
||||||
Ingenic JZ4740 codec controller
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
- compatible : "ingenic,jz4740-codec"
|
|
||||||
- reg : codec registers location and length
|
|
||||||
- clocks : phandle to the AIC clock.
|
|
||||||
- clock-names: must be set to "aic".
|
|
||||||
- #sound-dai-cells: Must be set to 0.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
codec: audio-codec@10020080 {
|
|
||||||
compatible = "ingenic,jz4740-codec";
|
|
||||||
reg = <0x10020080 0x8>;
|
|
||||||
|
|
||||||
#sound-dai-cells = <0>;
|
|
||||||
|
|
||||||
clocks = <&cgu JZ4740_CLK_AIC>;
|
|
||||||
clock-names = "aic";
|
|
||||||
};
|
|
|
@ -5,7 +5,10 @@ This binding describes the SDM845 sound card, which uses qdsp for audio.
|
||||||
- compatible:
|
- compatible:
|
||||||
Usage: required
|
Usage: required
|
||||||
Value type: <stringlist>
|
Value type: <stringlist>
|
||||||
Definition: must be "qcom,sdm845-sndcard"
|
Definition: must be one of this
|
||||||
|
"qcom,sdm845-sndcard"
|
||||||
|
"qcom,db845c-sndcard"
|
||||||
|
"lenovo,yoga-c630-sndcard"
|
||||||
|
|
||||||
- audio-routing:
|
- audio-routing:
|
||||||
Usage: Optional
|
Usage: Optional
|
||||||
|
|
175
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml
Normal file
175
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml
Normal file
|
@ -0,0 +1,175 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/sound/qcom,wcd934x.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Bindings for Qualcomm WCD9340/WCD9341 Audio Codec
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC.
|
||||||
|
It has in-built Soundwire controller, pin controller, interrupt mux and
|
||||||
|
supports both I2S/I2C and SLIMbus audio interfaces.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: slim217,250
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
reset-gpios:
|
||||||
|
description: GPIO spec for reset line to use
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
slim-ifc-dev: true
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clock-names:
|
||||||
|
const: extclk
|
||||||
|
|
||||||
|
vdd-buck-supply:
|
||||||
|
description: A reference to the 1.8V buck supply
|
||||||
|
|
||||||
|
vdd-buck-sido-supply:
|
||||||
|
description: A reference to the 1.8V SIDO buck supply
|
||||||
|
|
||||||
|
vdd-rx-supply:
|
||||||
|
description: A reference to the 1.8V rx supply
|
||||||
|
|
||||||
|
vdd-tx-supply:
|
||||||
|
description: A reference to the 1.8V tx supply
|
||||||
|
|
||||||
|
vdd-vbat-supply:
|
||||||
|
description: A reference to the vbat supply
|
||||||
|
|
||||||
|
vdd-io-supply:
|
||||||
|
description: A reference to the 1.8V I/O supply
|
||||||
|
|
||||||
|
vdd-micbias-supply:
|
||||||
|
description: A reference to the micbias supply
|
||||||
|
|
||||||
|
qcom,micbias1-microvolt:
|
||||||
|
description: micbias1 voltage
|
||||||
|
minimum: 1800000
|
||||||
|
maximum: 2850000
|
||||||
|
|
||||||
|
qcom,micbias2-microvolt:
|
||||||
|
description: micbias2 voltage
|
||||||
|
minimum: 1800000
|
||||||
|
maximum: 2850000
|
||||||
|
|
||||||
|
qcom,micbias3-microvolt:
|
||||||
|
description: micbias3 voltage
|
||||||
|
minimum: 1800000
|
||||||
|
maximum: 2850000
|
||||||
|
|
||||||
|
qcom,micbias4-microvolt:
|
||||||
|
description: micbias4 voltage
|
||||||
|
minimum: 1800000
|
||||||
|
maximum: 2850000
|
||||||
|
|
||||||
|
clock-output-names:
|
||||||
|
const: mclk
|
||||||
|
|
||||||
|
clock-frequency:
|
||||||
|
description: Clock frequency of output clk in Hz
|
||||||
|
|
||||||
|
interrupt-controller: true
|
||||||
|
|
||||||
|
'#interrupt-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
'#clock-cells':
|
||||||
|
const: 0
|
||||||
|
|
||||||
|
'#sound-dai-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
"#address-cells":
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
"#size-cells":
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
gpio@42:
|
||||||
|
type: object
|
||||||
|
allOf:
|
||||||
|
- $ref: ../gpio/qcom,wcd934x-gpio.yaml#
|
||||||
|
|
||||||
|
patternProperties:
|
||||||
|
"^.*@[0-9a-f]+$":
|
||||||
|
type: object
|
||||||
|
description: |
|
||||||
|
WCD934x subnode for each slave devices. Bindings of each subnodes
|
||||||
|
depends on the specific driver providing the functionality and
|
||||||
|
documented in their respective bindings.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- reg
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- reset-gpios
|
||||||
|
- slim-ifc-dev
|
||||||
|
- interrupts
|
||||||
|
- interrupt-controller
|
||||||
|
- clock-frequency
|
||||||
|
- clock-output-names
|
||||||
|
- qcom,micbias1-microvolt
|
||||||
|
- qcom,micbias2-microvolt
|
||||||
|
- qcom,micbias3-microvolt
|
||||||
|
- qcom,micbias4-microvolt
|
||||||
|
- "#interrupt-cells"
|
||||||
|
- "#clock-cells"
|
||||||
|
- "#sound-dai-cells"
|
||||||
|
- "#address-cells"
|
||||||
|
- "#size-cells"
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
codec@1,0{
|
||||||
|
compatible = "slim217,250";
|
||||||
|
reg = <1 0>;
|
||||||
|
reset-gpios = <&tlmm 64 0>;
|
||||||
|
slim-ifc-dev = <&wcd9340_ifd>;
|
||||||
|
#sound-dai-cells = <1>;
|
||||||
|
interrupt-parent = <&tlmm>;
|
||||||
|
interrupts = <54 4>;
|
||||||
|
interrupt-controller;
|
||||||
|
#interrupt-cells = <1>;
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clock-frequency = <9600000>;
|
||||||
|
clock-output-names = "mclk";
|
||||||
|
qcom,micbias1-microvolt = <1800000>;
|
||||||
|
qcom,micbias2-microvolt = <1800000>;
|
||||||
|
qcom,micbias3-microvolt = <1800000>;
|
||||||
|
qcom,micbias4-microvolt = <1800000>;
|
||||||
|
clock-names = "extclk";
|
||||||
|
clocks = <&rpmhcc 2>;
|
||||||
|
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
gpio@42 {
|
||||||
|
compatible = "qcom,wcd9340-gpio";
|
||||||
|
reg = <0x42 0x2>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
...
|
68
Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml
Normal file
68
Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Bindings for Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
WSA8810 is a class-D smart speaker amplifier and WSA8815
|
||||||
|
is a high-output power class-D smart speaker amplifier.
|
||||||
|
Their primary operating mode uses a SoundWire digital audio
|
||||||
|
interface. This binding is for SoundWire interface.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: sdw10217201000
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
powerdown-gpios:
|
||||||
|
description: GPIO spec for Powerdown/Shutdown line to use
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
'#thermal-sensor-cells':
|
||||||
|
const: 0
|
||||||
|
|
||||||
|
'#sound-dai-cells':
|
||||||
|
const: 0
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- powerdown-gpios
|
||||||
|
- "#thermal-sensor-cells"
|
||||||
|
- "#sound-dai-cells"
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
soundwire@c2d0000 {
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x0c2d0000 0x2000>;
|
||||||
|
|
||||||
|
speaker@0,1 {
|
||||||
|
compatible = "sdw10217201000";
|
||||||
|
reg = <0 1>;
|
||||||
|
powerdown-gpios = <&wcdpinctrl 2 0>;
|
||||||
|
#thermal-sensor-cells = <0>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
speaker@0,2 {
|
||||||
|
compatible = "sdw10217201000";
|
||||||
|
reg = <0 2>;
|
||||||
|
powerdown-gpios = <&wcdpinctrl 2 0>;
|
||||||
|
#thermal-sensor-cells = <0>;
|
||||||
|
#sound-dai-cells = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
...
|
17
Documentation/devicetree/bindings/sound/rt1015.txt
Normal file
17
Documentation/devicetree/bindings/sound/rt1015.txt
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
RT1015 Mono Class D Audio Amplifier
|
||||||
|
|
||||||
|
This device supports I2C only.
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
|
||||||
|
- compatible : "realtek,rt1015".
|
||||||
|
|
||||||
|
- reg : The I2C address of the device.
|
||||||
|
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
rt1015: codec@28 {
|
||||||
|
compatible = "realtek,rt1015";
|
||||||
|
reg = <0x28>;
|
||||||
|
};
|
|
@ -10,6 +10,10 @@ Required properties:
|
||||||
|
|
||||||
- interrupts : The CODEC's interrupt output.
|
- interrupts : The CODEC's interrupt output.
|
||||||
|
|
||||||
|
- avdd-supply: Power supply for AVDD, providing 1.8V.
|
||||||
|
|
||||||
|
- cpvdd-supply: Power supply for CPVDD, providing 3.5V.
|
||||||
|
|
||||||
Optional properties:
|
Optional properties:
|
||||||
|
|
||||||
- hp-detect-gpios:
|
- hp-detect-gpios:
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells": true
|
"#address-cells": true
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#address-cells": true
|
"#address-cells": true
|
||||||
|
|
|
@ -111,7 +111,7 @@ patternProperties:
|
||||||
spi-rx-bus-width:
|
spi-rx-bus-width:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||||
- enum: [ 1, 2, 4 ]
|
- enum: [ 1, 2, 4, 8 ]
|
||||||
- default: 1
|
- default: 1
|
||||||
description:
|
description:
|
||||||
Bus width to the SPI bus used for MISO.
|
Bus width to the SPI bus used for MISO.
|
||||||
|
@ -123,7 +123,7 @@ patternProperties:
|
||||||
spi-tx-bus-width:
|
spi-tx-bus-width:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: /schemas/types.yaml#/definitions/uint32
|
- $ref: /schemas/types.yaml#/definitions/uint32
|
||||||
- enum: [ 1, 2, 4 ]
|
- enum: [ 1, 2, 4, 8 ]
|
||||||
- default: 1
|
- default: 1
|
||||||
description:
|
description:
|
||||||
Bus width to the SPI bus used for MOSI.
|
Bus width to the SPI bus used for MOSI.
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 Timer Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A13 High-Speed Timer Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Allwinner A10 mUSB OTG Controller Device Tree Bindings
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -11,7 +11,7 @@ allOf:
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- Chen-Yu Tsai <wens@csie.org>
|
- Chen-Yu Tsai <wens@csie.org>
|
||||||
- Maxime Ripard <maxime.ripard@bootlin.com>
|
- Maxime Ripard <mripard@kernel.org>
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
| openrisc: | TODO |
|
| openrisc: | TODO |
|
||||||
| parisc: | TODO |
|
| parisc: | TODO |
|
||||||
| powerpc: | ok |
|
| powerpc: | ok |
|
||||||
| riscv: | TODO |
|
| riscv: | ok |
|
||||||
| s390: | ok |
|
| s390: | ok |
|
||||||
| sh: | ok |
|
| sh: | ok |
|
||||||
| sparc: | TODO |
|
| sparc: | TODO |
|
||||||
|
|
|
@ -24,11 +24,11 @@ Here is the main features of EROFS:
|
||||||
- Metadata & data could be mixed by design;
|
- Metadata & data could be mixed by design;
|
||||||
|
|
||||||
- 2 inode versions for different requirements:
|
- 2 inode versions for different requirements:
|
||||||
v1 v2
|
compact (v1) extended (v2)
|
||||||
Inode metadata size: 32 bytes 64 bytes
|
Inode metadata size: 32 bytes 64 bytes
|
||||||
Max file size: 4 GB 16 EB (also limited by max. vol size)
|
Max file size: 4 GB 16 EB (also limited by max. vol size)
|
||||||
Max uids/gids: 65536 4294967296
|
Max uids/gids: 65536 4294967296
|
||||||
File creation time: no yes (64 + 32-bit timestamp)
|
File change time: no yes (64 + 32-bit timestamp)
|
||||||
Max hardlinks: 65536 4294967296
|
Max hardlinks: 65536 4294967296
|
||||||
Metadata reserved: 4 bytes 14 bytes
|
Metadata reserved: 4 bytes 14 bytes
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ Here is the main features of EROFS:
|
||||||
- Support POSIX.1e ACLs by using xattrs;
|
- Support POSIX.1e ACLs by using xattrs;
|
||||||
|
|
||||||
- Support transparent file compression as an option:
|
- Support transparent file compression as an option:
|
||||||
LZ4 algorithm with 4 KB fixed-output compression for high performance;
|
LZ4 algorithm with 4 KB fixed-sized output compression for high performance.
|
||||||
|
|
||||||
The following git tree provides the file system user-space tools under
|
The following git tree provides the file system user-space tools under
|
||||||
development (ex, formatting tool mkfs.erofs):
|
development (ex, formatting tool mkfs.erofs):
|
||||||
|
@ -85,7 +85,7 @@ All data areas should be aligned with the block size, but metadata areas
|
||||||
may not. All metadatas can be now observed in two different spaces (views):
|
may not. All metadatas can be now observed in two different spaces (views):
|
||||||
1. Inode metadata space
|
1. Inode metadata space
|
||||||
Each valid inode should be aligned with an inode slot, which is a fixed
|
Each valid inode should be aligned with an inode slot, which is a fixed
|
||||||
value (32 bytes) and designed to be kept in line with v1 inode size.
|
value (32 bytes) and designed to be kept in line with compact inode size.
|
||||||
|
|
||||||
Each inode can be directly found with the following formula:
|
Each inode can be directly found with the following formula:
|
||||||
inode offset = meta_blkaddr * block_size + 32 * nid
|
inode offset = meta_blkaddr * block_size + 32 * nid
|
||||||
|
@ -117,10 +117,10 @@ may not. All metadatas can be now observed in two different spaces (views):
|
||||||
|-> aligned with 4B
|
|-> aligned with 4B
|
||||||
|
|
||||||
Inode could be 32 or 64 bytes, which can be distinguished from a common
|
Inode could be 32 or 64 bytes, which can be distinguished from a common
|
||||||
field which all inode versions have -- i_advise:
|
field which all inode versions have -- i_format:
|
||||||
|
|
||||||
__________________ __________________
|
__________________ __________________
|
||||||
| i_advise | | i_advise |
|
| i_format | | i_format |
|
||||||
|__________________| |__________________|
|
|__________________| |__________________|
|
||||||
| ... | | ... |
|
| ... | | ... |
|
||||||
| | | |
|
| | | |
|
||||||
|
@ -129,12 +129,13 @@ may not. All metadatas can be now observed in two different spaces (views):
|
||||||
|__________________| 64 bytes
|
|__________________| 64 bytes
|
||||||
|
|
||||||
Xattrs, extents, data inline are followed by the corresponding inode with
|
Xattrs, extents, data inline are followed by the corresponding inode with
|
||||||
proper alignes, and they could be optional for different data mappings,
|
proper alignment, and they could be optional for different data mappings.
|
||||||
_currently_ there are totally 3 valid data mappings supported:
|
_currently_ total 4 valid data mappings are supported:
|
||||||
|
|
||||||
1) flat file data without data inline (no extent);
|
0 flat file data without data inline (no extent);
|
||||||
2) fixed-output size data compression (must have extents);
|
1 fixed-sized output data compression (with non-compacted indexes);
|
||||||
3) flat file data with tail-end data inline (no extent);
|
2 flat file data with tail packing data inline (no extent);
|
||||||
|
3 fixed-sized output data compression (with compacted indexes, v5.3+).
|
||||||
|
|
||||||
The size of the optional xattrs is indicated by i_xattr_count in inode
|
The size of the optional xattrs is indicated by i_xattr_count in inode
|
||||||
header. Large xattrs or xattrs shared by many different files can be
|
header. Large xattrs or xattrs shared by many different files can be
|
||||||
|
@ -182,8 +183,8 @@ introduce another on-disk field at all.
|
||||||
|
|
||||||
Compression
|
Compression
|
||||||
-----------
|
-----------
|
||||||
Currently, EROFS supports 4KB fixed-output clustersize transparent file
|
Currently, EROFS supports 4KB fixed-sized output transparent file compression,
|
||||||
compression, as illustrated below:
|
as illustrated below:
|
||||||
|
|
||||||
|---- Variant-Length Extent ----|-------- VLE --------|----- VLE -----
|
|---- Variant-Length Extent ----|-------- VLE --------|----- VLE -----
|
||||||
clusterofs clusterofs clusterofs
|
clusterofs clusterofs clusterofs
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
Written by: Neil Brown
|
Written by: Neil Brown
|
||||||
Please see MAINTAINERS file for where to send questions.
|
Please see MAINTAINERS file for where to send questions.
|
||||||
|
|
||||||
|
@ -181,7 +183,7 @@ Kernel config options:
|
||||||
worried about backward compatibility with kernels that have the redirect_dir
|
worried about backward compatibility with kernels that have the redirect_dir
|
||||||
feature and follow redirects even if turned off.
|
feature and follow redirects even if turned off.
|
||||||
|
|
||||||
Module options (can also be changed through /sys/module/overlay/parameters/*):
|
Module options (can also be changed through /sys/module/overlay/parameters/):
|
||||||
|
|
||||||
- "redirect_dir=BOOL":
|
- "redirect_dir=BOOL":
|
||||||
See OVERLAY_FS_REDIRECT_DIR kernel config option above.
|
See OVERLAY_FS_REDIRECT_DIR kernel config option above.
|
||||||
|
@ -263,7 +265,7 @@ top, lower2 the middle and lower3 the bottom layer.
|
||||||
|
|
||||||
|
|
||||||
Metadata only copy up
|
Metadata only copy up
|
||||||
--------------------
|
---------------------
|
||||||
|
|
||||||
When metadata only copy up feature is enabled, overlayfs will only copy
|
When metadata only copy up feature is enabled, overlayfs will only copy
|
||||||
up metadata (as opposed to whole file), when a metadata specific operation
|
up metadata (as opposed to whole file), when a metadata specific operation
|
||||||
|
@ -286,10 +288,10 @@ pointed by REDIRECT. This should not be possible on local system as setting
|
||||||
"trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible
|
"trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible
|
||||||
for untrusted layers like from a pen drive.
|
for untrusted layers like from a pen drive.
|
||||||
|
|
||||||
Note: redirect_dir={off|nofollow|follow(*)} conflicts with metacopy=on, and
|
Note: redirect_dir={off|nofollow|follow[*]} conflicts with metacopy=on, and
|
||||||
results in an error.
|
results in an error.
|
||||||
|
|
||||||
(*) redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
|
[*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
|
||||||
given.
|
given.
|
||||||
|
|
||||||
Sharing and copying layers
|
Sharing and copying layers
|
|
@ -196,14 +196,11 @@ applicable everywhere (see syntax).
|
||||||
or equal to the first symbol and smaller than or equal to the second
|
or equal to the first symbol and smaller than or equal to the second
|
||||||
symbol.
|
symbol.
|
||||||
|
|
||||||
- help text: "help" or "---help---"
|
- help text: "help"
|
||||||
|
|
||||||
This defines a help text. The end of the help text is determined by
|
This defines a help text. The end of the help text is determined by
|
||||||
the indentation level, this means it ends at the first line which has
|
the indentation level, this means it ends at the first line which has
|
||||||
a smaller indentation than the first line of the help text.
|
a smaller indentation than the first line of the help text.
|
||||||
"---help---" and "help" do not differ in behaviour, "---help---" is
|
|
||||||
used to help visually separate configuration logic from help within
|
|
||||||
the file as an aid to developers.
|
|
||||||
|
|
||||||
- misc options: "option" <symbol>[=<value>]
|
- misc options: "option" <symbol>[=<value>]
|
||||||
|
|
||||||
|
|
|
@ -297,9 +297,19 @@ more details, with real examples.
|
||||||
If CONFIG_EXT2_FS is set to either 'y' (built-in) or 'm' (modular)
|
If CONFIG_EXT2_FS is set to either 'y' (built-in) or 'm' (modular)
|
||||||
the corresponding obj- variable will be set, and kbuild will descend
|
the corresponding obj- variable will be set, and kbuild will descend
|
||||||
down in the ext2 directory.
|
down in the ext2 directory.
|
||||||
Kbuild only uses this information to decide that it needs to visit
|
|
||||||
the directory, it is the Makefile in the subdirectory that
|
Kbuild uses this information not only to decide that it needs to visit
|
||||||
specifies what is modular and what is built-in.
|
the directory, but also to decide whether or not to link objects from
|
||||||
|
the directory into vmlinux.
|
||||||
|
|
||||||
|
When Kbuild descends into the directory with 'y', all built-in objects
|
||||||
|
from that directory are combined into the built-in.a, which will be
|
||||||
|
eventually linked into vmlinux.
|
||||||
|
|
||||||
|
When Kbuild descends into the directory with 'm', in contrast, nothing
|
||||||
|
from that directory will be linked into vmlinux. If the Makefile in
|
||||||
|
that directory specifies obj-y, those objects will be left orphan.
|
||||||
|
It is very likely a bug of the Makefile or of dependencies in Kconfig.
|
||||||
|
|
||||||
It is good practice to use a `CONFIG_` variable when assigning directory
|
It is good practice to use a `CONFIG_` variable when assigning directory
|
||||||
names. This allows kbuild to totally skip the directory if the
|
names. This allows kbuild to totally skip the directory if the
|
||||||
|
|
|
@ -95,7 +95,7 @@ so all video4linux tools (like xawtv) should work with this driver.
|
||||||
|
|
||||||
Besides the video4linux interface, the driver has a private interface
|
Besides the video4linux interface, the driver has a private interface
|
||||||
for accessing the Motion Eye extended parameters (camera sharpness,
|
for accessing the Motion Eye extended parameters (camera sharpness,
|
||||||
agc, video framerate), the shapshot and the MJPEG capture facilities.
|
agc, video framerate), the snapshot and the MJPEG capture facilities.
|
||||||
|
|
||||||
This interface consists of several ioctls (prototypes and structures
|
This interface consists of several ioctls (prototypes and structures
|
||||||
can be found in include/linux/meye.h):
|
can be found in include/linux/meye.h):
|
||||||
|
|
|
@ -230,12 +230,6 @@ simultaneously on two ports. The driver checks the consistency of the schedules
|
||||||
against this restriction and errors out when appropriate. Schedule analysis is
|
against this restriction and errors out when appropriate. Schedule analysis is
|
||||||
needed to avoid this, which is outside the scope of the document.
|
needed to avoid this, which is outside the scope of the document.
|
||||||
|
|
||||||
At the moment, the time-aware scheduler can only be triggered based on a
|
|
||||||
standalone clock and not based on PTP time. This means the base-time argument
|
|
||||||
from tc-taprio is ignored and the schedule starts right away. It also means it
|
|
||||||
is more difficult to phase-align the scheduler with the other devices in the
|
|
||||||
network.
|
|
||||||
|
|
||||||
Device Tree bindings and board design
|
Device Tree bindings and board design
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
|
|
@ -603,7 +603,7 @@ tcp_synack_retries - INTEGER
|
||||||
with the current initial RTO of 1second. With this the final timeout
|
with the current initial RTO of 1second. With this the final timeout
|
||||||
for a passive TCP connection will happen after 63seconds.
|
for a passive TCP connection will happen after 63seconds.
|
||||||
|
|
||||||
tcp_syncookies - BOOLEAN
|
tcp_syncookies - INTEGER
|
||||||
Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
|
Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
|
||||||
Send out syncookies when the syn backlog queue of a socket
|
Send out syncookies when the syn backlog queue of a socket
|
||||||
overflows. This is to prevent against the common 'SYN flood attack'
|
overflows. This is to prevent against the common 'SYN flood attack'
|
||||||
|
|
|
@ -339,7 +339,7 @@ To claim an address following code example can be used:
|
||||||
.pgn = J1939_PGN_ADDRESS_CLAIMED,
|
.pgn = J1939_PGN_ADDRESS_CLAIMED,
|
||||||
.pgn_mask = J1939_PGN_PDU1_MAX,
|
.pgn_mask = J1939_PGN_PDU1_MAX,
|
||||||
}, {
|
}, {
|
||||||
.pgn = J1939_PGN_ADDRESS_REQUEST,
|
.pgn = J1939_PGN_REQUEST,
|
||||||
.pgn_mask = J1939_PGN_PDU1_MAX,
|
.pgn_mask = J1939_PGN_PDU1_MAX,
|
||||||
}, {
|
}, {
|
||||||
.pgn = J1939_PGN_ADDRESS_COMMANDED,
|
.pgn = J1939_PGN_ADDRESS_COMMANDED,
|
||||||
|
|
|
@ -34,8 +34,8 @@ the names, the ``net`` tree is for fixes to existing code already in the
|
||||||
mainline tree from Linus, and ``net-next`` is where the new code goes
|
mainline tree from Linus, and ``net-next`` is where the new code goes
|
||||||
for the future release. You can find the trees here:
|
for the future release. You can find the trees here:
|
||||||
|
|
||||||
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
|
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
|
||||||
- https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
|
- https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
|
||||||
|
|
||||||
Q: How often do changes from these trees make it to the mainline Linus tree?
|
Q: How often do changes from these trees make it to the mainline Linus tree?
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
|
|
@ -988,7 +988,7 @@ Similarly, if you need to calculate the size of some structure member, use
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
|
#define sizeof_field(t, f) (sizeof(((t*)0)->f))
|
||||||
|
|
||||||
There are also min() and max() macros that do strict type checking if you
|
There are also min() and max() macros that do strict type checking if you
|
||||||
need them. Feel free to peruse that header file to see what else is already
|
need them. Feel free to peruse that header file to see what else is already
|
||||||
|
|
|
@ -255,7 +255,7 @@ an involved disclosed party. The current ambassadors list:
|
||||||
Red Hat Josh Poimboeuf <jpoimboe@redhat.com>
|
Red Hat Josh Poimboeuf <jpoimboe@redhat.com>
|
||||||
SUSE Jiri Kosina <jkosina@suse.cz>
|
SUSE Jiri Kosina <jkosina@suse.cz>
|
||||||
|
|
||||||
Amazon
|
Amazon Peter Bowen <pzb@amzn.com>
|
||||||
Google Kees Cook <keescook@chromium.org>
|
Google Kees Cook <keescook@chromium.org>
|
||||||
============= ========================================================
|
============= ========================================================
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,7 @@ lack of a better place.
|
||||||
volatile-considered-harmful
|
volatile-considered-harmful
|
||||||
botching-up-ioctls
|
botching-up-ioctls
|
||||||
clang-format
|
clang-format
|
||||||
|
../riscv/patch-acceptance
|
||||||
|
|
||||||
.. only:: subproject and html
|
.. only:: subproject and html
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ RISC-V architecture
|
||||||
|
|
||||||
boot-image-header
|
boot-image-header
|
||||||
pmu
|
pmu
|
||||||
|
patch-acceptance
|
||||||
|
|
||||||
.. only:: subproject and html
|
.. only:: subproject and html
|
||||||
|
|
||||||
|
|
35
Documentation/riscv/patch-acceptance.rst
Normal file
35
Documentation/riscv/patch-acceptance.rst
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
.. SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
|
arch/riscv maintenance guidelines for developers
|
||||||
|
================================================
|
||||||
|
|
||||||
|
Overview
|
||||||
|
--------
|
||||||
|
The RISC-V instruction set architecture is developed in the open:
|
||||||
|
in-progress drafts are available for all to review and to experiment
|
||||||
|
with implementations. New module or extension drafts can change
|
||||||
|
during the development process - sometimes in ways that are
|
||||||
|
incompatible with previous drafts. This flexibility can present a
|
||||||
|
challenge for RISC-V Linux maintenance. Linux maintainers disapprove
|
||||||
|
of churn, and the Linux development process prefers well-reviewed and
|
||||||
|
tested code over experimental code. We wish to extend these same
|
||||||
|
principles to the RISC-V-related code that will be accepted for
|
||||||
|
inclusion in the kernel.
|
||||||
|
|
||||||
|
Submit Checklist Addendum
|
||||||
|
-------------------------
|
||||||
|
We'll only accept patches for new modules or extensions if the
|
||||||
|
specifications for those modules or extensions are listed as being
|
||||||
|
"Frozen" or "Ratified" by the RISC-V Foundation. (Developers may, of
|
||||||
|
course, maintain their own Linux kernel trees that contain code for
|
||||||
|
any draft extensions that they wish.)
|
||||||
|
|
||||||
|
Additionally, the RISC-V specification allows implementors to create
|
||||||
|
their own custom extensions. These custom extensions aren't required
|
||||||
|
to go through any review or ratification process by the RISC-V
|
||||||
|
Foundation. To avoid the maintenance complexity and potential
|
||||||
|
performance impact of adding kernel code for implementor-specific
|
||||||
|
RISC-V extensions, we'll only to accept patches for extensions that
|
||||||
|
have been officially frozen or ratified by the RISC-V Foundation.
|
||||||
|
(Implementors, may, of course, maintain their own Linux kernel trees
|
||||||
|
containing code for any custom extensions that they wish.)
|
|
@ -29,7 +29,7 @@ smartpqi specific entries in /sys
|
||||||
smartpqi host attributes:
|
smartpqi host attributes:
|
||||||
-------------------------
|
-------------------------
|
||||||
/sys/class/scsi_host/host*/rescan
|
/sys/class/scsi_host/host*/rescan
|
||||||
/sys/class/scsi_host/host*/version
|
/sys/class/scsi_host/host*/driver_version
|
||||||
|
|
||||||
The host rescan attribute is a write only attribute. Writing to this
|
The host rescan attribute is a write only attribute. Writing to this
|
||||||
attribute will trigger the driver to scan for new, changed, or removed
|
attribute will trigger the driver to scan for new, changed, or removed
|
||||||
|
|
|
@ -1005,7 +1005,7 @@ struttura, usate
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
|
#define sizeof_field(t, f) (sizeof(((t*)0)->f))
|
||||||
|
|
||||||
Ci sono anche le macro min() e max() che, se vi serve, effettuano un controllo
|
Ci sono anche le macro min() e max() che, se vi serve, effettuano un controllo
|
||||||
rigido sui tipi. Sentitevi liberi di leggere attentamente questo file
|
rigido sui tipi. Sentitevi liberi di leggere attentamente questo file
|
||||||
|
|
|
@ -826,7 +826,7 @@ inline gcc 也可以自动使其内联。而且其他用户可能会要求移除
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
|
#define sizeof_field(t, f) (sizeof(((t*)0)->f))
|
||||||
|
|
||||||
还有可以做严格的类型检查的 min() 和 max() 宏,如果你需要可以使用它们。你可以
|
还有可以做严格的类型检查的 min() 和 max() 宏,如果你需要可以使用它们。你可以
|
||||||
自己看看那个头文件里还定义了什么你可以拿来用的东西,如果有定义的话,你就不应
|
自己看看那个头文件里还定义了什么你可以拿来用的东西,如果有定义的话,你就不应
|
||||||
|
|
73
MAINTAINERS
73
MAINTAINERS
|
@ -720,7 +720,7 @@ F: Documentation/devicetree/bindings/i2c/i2c-altera.txt
|
||||||
F: drivers/i2c/busses/i2c-altera.c
|
F: drivers/i2c/busses/i2c-altera.c
|
||||||
|
|
||||||
ALTERA MAILBOX DRIVER
|
ALTERA MAILBOX DRIVER
|
||||||
M: Ley Foon Tan <lftan@altera.com>
|
M: Ley Foon Tan <ley.foon.tan@intel.com>
|
||||||
L: nios2-dev@lists.rocketboards.org (moderated for non-subscribers)
|
L: nios2-dev@lists.rocketboards.org (moderated for non-subscribers)
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/mailbox/mailbox-altera.c
|
F: drivers/mailbox/mailbox-altera.c
|
||||||
|
@ -771,6 +771,8 @@ F: drivers/thermal/thermal_mmio.c
|
||||||
|
|
||||||
AMAZON ETHERNET DRIVERS
|
AMAZON ETHERNET DRIVERS
|
||||||
M: Netanel Belgazal <netanel@amazon.com>
|
M: Netanel Belgazal <netanel@amazon.com>
|
||||||
|
M: Arthur Kiyanovski <akiyano@amazon.com>
|
||||||
|
R: Guy Tzalik <gtzalik@amazon.com>
|
||||||
R: Saeed Bishara <saeedb@amazon.com>
|
R: Saeed Bishara <saeedb@amazon.com>
|
||||||
R: Zorik Machulsky <zorik@amazon.com>
|
R: Zorik Machulsky <zorik@amazon.com>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
|
@ -1405,7 +1407,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git
|
||||||
|
|
||||||
ARM/ACTIONS SEMI ARCHITECTURE
|
ARM/ACTIONS SEMI ARCHITECTURE
|
||||||
M: Andreas Färber <afaerber@suse.de>
|
M: Andreas Färber <afaerber@suse.de>
|
||||||
R: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||||
S: Maintained
|
S: Maintained
|
||||||
N: owl
|
N: owl
|
||||||
|
@ -2272,6 +2274,7 @@ F: drivers/*/*s3c64xx*
|
||||||
F: drivers/*/*s5pv210*
|
F: drivers/*/*s5pv210*
|
||||||
F: drivers/memory/samsung/
|
F: drivers/memory/samsung/
|
||||||
F: drivers/soc/samsung/
|
F: drivers/soc/samsung/
|
||||||
|
F: drivers/tty/serial/samsung*
|
||||||
F: include/linux/soc/samsung/
|
F: include/linux/soc/samsung/
|
||||||
F: Documentation/arm/samsung/
|
F: Documentation/arm/samsung/
|
||||||
F: Documentation/devicetree/bindings/arm/samsung/
|
F: Documentation/devicetree/bindings/arm/samsung/
|
||||||
|
@ -3147,7 +3150,7 @@ S: Maintained
|
||||||
F: arch/mips/net/
|
F: arch/mips/net/
|
||||||
|
|
||||||
BPF JIT for NFP NICs
|
BPF JIT for NFP NICs
|
||||||
M: Jakub Kicinski <jakub.kicinski@netronome.com>
|
M: Jakub Kicinski <kuba@kernel.org>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
L: bpf@vger.kernel.org
|
L: bpf@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
|
@ -4970,6 +4973,7 @@ F: include/linux/dma-buf*
|
||||||
F: include/linux/reservation.h
|
F: include/linux/reservation.h
|
||||||
F: include/linux/*fence.h
|
F: include/linux/*fence.h
|
||||||
F: Documentation/driver-api/dma-buf.rst
|
F: Documentation/driver-api/dma-buf.rst
|
||||||
|
K: dma_(buf|fence|resv)
|
||||||
T: git git://anongit.freedesktop.org/drm/drm-misc
|
T: git git://anongit.freedesktop.org/drm/drm-misc
|
||||||
|
|
||||||
DMA GENERIC OFFLOAD ENGINE SUBSYSTEM
|
DMA GENERIC OFFLOAD ENGINE SUBSYSTEM
|
||||||
|
@ -4999,7 +5003,7 @@ F: include/linux/dma-mapping.h
|
||||||
F: include/linux/dma-noncoherent.h
|
F: include/linux/dma-noncoherent.h
|
||||||
|
|
||||||
DMC FREQUENCY DRIVER FOR SAMSUNG EXYNOS5422
|
DMC FREQUENCY DRIVER FOR SAMSUNG EXYNOS5422
|
||||||
M: Lukasz Luba <l.luba@partner.samsung.com>
|
M: Lukasz Luba <lukasz.luba@arm.com>
|
||||||
L: linux-pm@vger.kernel.org
|
L: linux-pm@vger.kernel.org
|
||||||
L: linux-samsung-soc@vger.kernel.org
|
L: linux-samsung-soc@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
@ -6025,6 +6029,7 @@ M: Yash Shah <yash.shah@sifive.com>
|
||||||
L: linux-edac@vger.kernel.org
|
L: linux-edac@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/edac/sifive_edac.c
|
F: drivers/edac/sifive_edac.c
|
||||||
|
F: drivers/soc/sifive_l2_cache.c
|
||||||
|
|
||||||
EDAC-SKYLAKE
|
EDAC-SKYLAKE
|
||||||
M: Tony Luck <tony.luck@intel.com>
|
M: Tony Luck <tony.luck@intel.com>
|
||||||
|
@ -7031,6 +7036,7 @@ L: linux-acpi@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: Documentation/firmware-guide/acpi/gpio-properties.rst
|
F: Documentation/firmware-guide/acpi/gpio-properties.rst
|
||||||
F: drivers/gpio/gpiolib-acpi.c
|
F: drivers/gpio/gpiolib-acpi.c
|
||||||
|
F: drivers/gpio/gpiolib-acpi.h
|
||||||
|
|
||||||
GPIO IR Transmitter
|
GPIO IR Transmitter
|
||||||
M: Sean Young <sean@mess.org>
|
M: Sean Young <sean@mess.org>
|
||||||
|
@ -9038,7 +9044,6 @@ F: include/linux/umh.h
|
||||||
|
|
||||||
KERNEL VIRTUAL MACHINE (KVM)
|
KERNEL VIRTUAL MACHINE (KVM)
|
||||||
M: Paolo Bonzini <pbonzini@redhat.com>
|
M: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
M: Radim Krčmář <rkrcmar@redhat.com>
|
|
||||||
L: kvm@vger.kernel.org
|
L: kvm@vger.kernel.org
|
||||||
W: http://www.linux-kvm.org
|
W: http://www.linux-kvm.org
|
||||||
T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git
|
T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git
|
||||||
|
@ -9073,9 +9078,9 @@ F: virt/kvm/arm/
|
||||||
F: include/kvm/arm_*
|
F: include/kvm/arm_*
|
||||||
|
|
||||||
KERNEL VIRTUAL MACHINE FOR MIPS (KVM/mips)
|
KERNEL VIRTUAL MACHINE FOR MIPS (KVM/mips)
|
||||||
M: James Hogan <jhogan@kernel.org>
|
|
||||||
L: linux-mips@vger.kernel.org
|
L: linux-mips@vger.kernel.org
|
||||||
S: Supported
|
L: kvm@vger.kernel.org
|
||||||
|
S: Orphan
|
||||||
F: arch/mips/include/uapi/asm/kvm*
|
F: arch/mips/include/uapi/asm/kvm*
|
||||||
F: arch/mips/include/asm/kvm*
|
F: arch/mips/include/asm/kvm*
|
||||||
F: arch/mips/kvm/
|
F: arch/mips/kvm/
|
||||||
|
@ -9110,7 +9115,6 @@ F: tools/testing/selftests/kvm/*/s390x/
|
||||||
|
|
||||||
KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)
|
KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86)
|
||||||
M: Paolo Bonzini <pbonzini@redhat.com>
|
M: Paolo Bonzini <pbonzini@redhat.com>
|
||||||
M: Radim Krčmář <rkrcmar@redhat.com>
|
|
||||||
R: Sean Christopherson <sean.j.christopherson@intel.com>
|
R: Sean Christopherson <sean.j.christopherson@intel.com>
|
||||||
R: Vitaly Kuznetsov <vkuznets@redhat.com>
|
R: Vitaly Kuznetsov <vkuznets@redhat.com>
|
||||||
R: Wanpeng Li <wanpengli@tencent.com>
|
R: Wanpeng Li <wanpengli@tencent.com>
|
||||||
|
@ -10108,6 +10112,7 @@ S: Maintained
|
||||||
F: drivers/media/radio/radio-maxiradio*
|
F: drivers/media/radio/radio-maxiradio*
|
||||||
|
|
||||||
MCAN MMIO DEVICE DRIVER
|
MCAN MMIO DEVICE DRIVER
|
||||||
|
M: Dan Murphy <dmurphy@ti.com>
|
||||||
M: Sriram Dash <sriram.dash@samsung.com>
|
M: Sriram Dash <sriram.dash@samsung.com>
|
||||||
L: linux-can@vger.kernel.org
|
L: linux-can@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
@ -11426,7 +11431,7 @@ F: include/uapi/linux/netrom.h
|
||||||
F: net/netrom/
|
F: net/netrom/
|
||||||
|
|
||||||
NETRONOME ETHERNET DRIVERS
|
NETRONOME ETHERNET DRIVERS
|
||||||
M: Jakub Kicinski <jakub.kicinski@netronome.com>
|
M: Jakub Kicinski <kuba@kernel.org>
|
||||||
L: oss-drivers@netronome.com
|
L: oss-drivers@netronome.com
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/net/ethernet/netronome/
|
F: drivers/net/ethernet/netronome/
|
||||||
|
@ -11455,8 +11460,8 @@ M: "David S. Miller" <davem@davemloft.net>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
W: http://www.linuxfoundation.org/en/Net
|
W: http://www.linuxfoundation.org/en/Net
|
||||||
Q: http://patchwork.ozlabs.org/project/netdev/list/
|
Q: http://patchwork.ozlabs.org/project/netdev/list/
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
F: Documentation/devicetree/bindings/net/
|
F: Documentation/devicetree/bindings/net/
|
||||||
F: drivers/net/
|
F: drivers/net/
|
||||||
|
@ -11497,8 +11502,8 @@ M: "David S. Miller" <davem@davemloft.net>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
W: http://www.linuxfoundation.org/en/Net
|
W: http://www.linuxfoundation.org/en/Net
|
||||||
Q: http://patchwork.ozlabs.org/project/netdev/list/
|
Q: http://patchwork.ozlabs.org/project/netdev/list/
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
|
||||||
B: mailto:netdev@vger.kernel.org
|
B: mailto:netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: net/
|
F: net/
|
||||||
|
@ -11543,7 +11548,7 @@ M: "David S. Miller" <davem@davemloft.net>
|
||||||
M: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
|
M: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
|
||||||
M: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
|
M: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: net/ipv4/
|
F: net/ipv4/
|
||||||
F: net/ipv6/
|
F: net/ipv6/
|
||||||
|
@ -11586,7 +11591,7 @@ M: Boris Pismenny <borisp@mellanox.com>
|
||||||
M: Aviad Yehezkel <aviadye@mellanox.com>
|
M: Aviad Yehezkel <aviadye@mellanox.com>
|
||||||
M: John Fastabend <john.fastabend@gmail.com>
|
M: John Fastabend <john.fastabend@gmail.com>
|
||||||
M: Daniel Borkmann <daniel@iogearbox.net>
|
M: Daniel Borkmann <daniel@iogearbox.net>
|
||||||
M: Jakub Kicinski <jakub.kicinski@netronome.com>
|
M: Jakub Kicinski <kuba@kernel.org>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: net/tls/*
|
F: net/tls/*
|
||||||
|
@ -11598,7 +11603,7 @@ L: linux-wireless@vger.kernel.org
|
||||||
Q: http://patchwork.kernel.org/project/linux-wireless/list/
|
Q: http://patchwork.kernel.org/project/linux-wireless/list/
|
||||||
|
|
||||||
NETDEVSIM
|
NETDEVSIM
|
||||||
M: Jakub Kicinski <jakub.kicinski@netronome.com>
|
M: Jakub Kicinski <kuba@kernel.org>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/net/netdevsim/*
|
F: drivers/net/netdevsim/*
|
||||||
|
|
||||||
|
@ -11675,7 +11680,7 @@ F: Documentation/scsi/NinjaSCSI.txt
|
||||||
F: drivers/scsi/nsp32*
|
F: drivers/scsi/nsp32*
|
||||||
|
|
||||||
NIOS2 ARCHITECTURE
|
NIOS2 ARCHITECTURE
|
||||||
M: Ley Foon Tan <lftan@altera.com>
|
M: Ley Foon Tan <ley.foon.tan@intel.com>
|
||||||
L: nios2-dev@lists.rocketboards.org (moderated for non-subscribers)
|
L: nios2-dev@lists.rocketboards.org (moderated for non-subscribers)
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lftan/nios2.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
@ -12393,7 +12398,7 @@ L: linux-unionfs@vger.kernel.org
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git
|
||||||
S: Supported
|
S: Supported
|
||||||
F: fs/overlayfs/
|
F: fs/overlayfs/
|
||||||
F: Documentation/filesystems/overlayfs.txt
|
F: Documentation/filesystems/overlayfs.rst
|
||||||
|
|
||||||
P54 WIRELESS DRIVER
|
P54 WIRELESS DRIVER
|
||||||
M: Christian Lamparter <chunkeey@googlemail.com>
|
M: Christian Lamparter <chunkeey@googlemail.com>
|
||||||
|
@ -12559,7 +12564,7 @@ F: Documentation/devicetree/bindings/pci/aardvark-pci.txt
|
||||||
F: drivers/pci/controller/pci-aardvark.c
|
F: drivers/pci/controller/pci-aardvark.c
|
||||||
|
|
||||||
PCI DRIVER FOR ALTERA PCIE IP
|
PCI DRIVER FOR ALTERA PCIE IP
|
||||||
M: Ley Foon Tan <lftan@altera.com>
|
M: Ley Foon Tan <ley.foon.tan@intel.com>
|
||||||
L: rfi@lists.rocketboards.org (moderated for non-subscribers)
|
L: rfi@lists.rocketboards.org (moderated for non-subscribers)
|
||||||
L: linux-pci@vger.kernel.org
|
L: linux-pci@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
|
@ -12738,7 +12743,7 @@ S: Supported
|
||||||
F: Documentation/PCI/pci-error-recovery.rst
|
F: Documentation/PCI/pci-error-recovery.rst
|
||||||
|
|
||||||
PCI MSI DRIVER FOR ALTERA MSI IP
|
PCI MSI DRIVER FOR ALTERA MSI IP
|
||||||
M: Ley Foon Tan <lftan@altera.com>
|
M: Ley Foon Tan <ley.foon.tan@intel.com>
|
||||||
L: rfi@lists.rocketboards.org (moderated for non-subscribers)
|
L: rfi@lists.rocketboards.org (moderated for non-subscribers)
|
||||||
L: linux-pci@vger.kernel.org
|
L: linux-pci@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
|
@ -13674,7 +13679,6 @@ F: drivers/net/ethernet/qualcomm/emac/
|
||||||
|
|
||||||
QUALCOMM ETHQOS ETHERNET DRIVER
|
QUALCOMM ETHQOS ETHERNET DRIVER
|
||||||
M: Vinod Koul <vkoul@kernel.org>
|
M: Vinod Koul <vkoul@kernel.org>
|
||||||
M: Niklas Cassel <niklas.cassel@linaro.org>
|
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
|
F: drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
|
||||||
|
@ -13708,6 +13712,15 @@ L: linux-arm-msm@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/iommu/qcom_iommu.c
|
F: drivers/iommu/qcom_iommu.c
|
||||||
|
|
||||||
|
QUALCOMM RMNET DRIVER
|
||||||
|
M: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
|
||||||
|
M: Sean Tranchetti <stranche@codeaurora.org>
|
||||||
|
L: netdev@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
F: drivers/net/ethernet/qualcomm/rmnet/
|
||||||
|
F: Documentation/networking/device_drivers/qualcomm/rmnet.txt
|
||||||
|
F: include/linux/if_rmnet.h
|
||||||
|
|
||||||
QUALCOMM TSENS THERMAL DRIVER
|
QUALCOMM TSENS THERMAL DRIVER
|
||||||
M: Amit Kucheria <amit.kucheria@linaro.org>
|
M: Amit Kucheria <amit.kucheria@linaro.org>
|
||||||
L: linux-pm@vger.kernel.org
|
L: linux-pm@vger.kernel.org
|
||||||
|
@ -14107,6 +14120,7 @@ M: Paul Walmsley <paul.walmsley@sifive.com>
|
||||||
M: Palmer Dabbelt <palmer@dabbelt.com>
|
M: Palmer Dabbelt <palmer@dabbelt.com>
|
||||||
M: Albert Ou <aou@eecs.berkeley.edu>
|
M: Albert Ou <aou@eecs.berkeley.edu>
|
||||||
L: linux-riscv@lists.infradead.org
|
L: linux-riscv@lists.infradead.org
|
||||||
|
P: Documentation/riscv/patch-acceptance.rst
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/riscv/
|
F: arch/riscv/
|
||||||
|
@ -14534,8 +14548,6 @@ F: include/linux/platform_data/spi-s3c64xx.h
|
||||||
|
|
||||||
SAMSUNG SXGBE DRIVERS
|
SAMSUNG SXGBE DRIVERS
|
||||||
M: Byungho An <bh74.an@samsung.com>
|
M: Byungho An <bh74.an@samsung.com>
|
||||||
M: Girish K S <ks.giri@samsung.com>
|
|
||||||
M: Vipul Pandya <vipul.pandya@samsung.com>
|
|
||||||
S: Supported
|
S: Supported
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
F: drivers/net/ethernet/samsung/sxgbe/
|
F: drivers/net/ethernet/samsung/sxgbe/
|
||||||
|
@ -16314,12 +16326,10 @@ F: drivers/media/radio/radio-raremono.c
|
||||||
|
|
||||||
THERMAL
|
THERMAL
|
||||||
M: Zhang Rui <rui.zhang@intel.com>
|
M: Zhang Rui <rui.zhang@intel.com>
|
||||||
M: Eduardo Valentin <edubezval@gmail.com>
|
M: Daniel Lezcano <daniel.lezcano@linaro.org>
|
||||||
R: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
||||||
R: Amit Kucheria <amit.kucheria@verdurent.com>
|
R: Amit Kucheria <amit.kucheria@verdurent.com>
|
||||||
L: linux-pm@vger.kernel.org
|
L: linux-pm@vger.kernel.org
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git
|
|
||||||
Q: https://patchwork.kernel.org/project/linux-pm/list/
|
Q: https://patchwork.kernel.org/project/linux-pm/list/
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/thermal/
|
F: drivers/thermal/
|
||||||
|
@ -16533,6 +16543,13 @@ L: alsa-devel@alsa-project.org (moderated for non-subscribers)
|
||||||
S: Odd Fixes
|
S: Odd Fixes
|
||||||
F: sound/soc/codecs/tas571x*
|
F: sound/soc/codecs/tas571x*
|
||||||
|
|
||||||
|
TI TCAN4X5X DEVICE DRIVER
|
||||||
|
M: Dan Murphy <dmurphy@ti.com>
|
||||||
|
L: linux-can@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
F: Documentation/devicetree/bindings/net/can/tcan4x5x.txt
|
||||||
|
F: drivers/net/can/m_can/tcan4x5x.c
|
||||||
|
|
||||||
TI TRF7970A NFC DRIVER
|
TI TRF7970A NFC DRIVER
|
||||||
M: Mark Greer <mgreer@animalcreek.com>
|
M: Mark Greer <mgreer@animalcreek.com>
|
||||||
L: linux-wireless@vger.kernel.org
|
L: linux-wireless@vger.kernel.org
|
||||||
|
@ -18025,7 +18042,7 @@ XDP (eXpress Data Path)
|
||||||
M: Alexei Starovoitov <ast@kernel.org>
|
M: Alexei Starovoitov <ast@kernel.org>
|
||||||
M: Daniel Borkmann <daniel@iogearbox.net>
|
M: Daniel Borkmann <daniel@iogearbox.net>
|
||||||
M: David S. Miller <davem@davemloft.net>
|
M: David S. Miller <davem@davemloft.net>
|
||||||
M: Jakub Kicinski <jakub.kicinski@netronome.com>
|
M: Jakub Kicinski <kuba@kernel.org>
|
||||||
M: Jesper Dangaard Brouer <hawk@kernel.org>
|
M: Jesper Dangaard Brouer <hawk@kernel.org>
|
||||||
M: John Fastabend <john.fastabend@gmail.com>
|
M: John Fastabend <john.fastabend@gmail.com>
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -2,7 +2,7 @@
|
||||||
VERSION = 5
|
VERSION = 5
|
||||||
PATCHLEVEL = 5
|
PATCHLEVEL = 5
|
||||||
SUBLEVEL = 0
|
SUBLEVEL = 0
|
||||||
EXTRAVERSION = -rc1
|
EXTRAVERSION = -rc7
|
||||||
NAME = Kleptomaniac Octopus
|
NAME = Kleptomaniac Octopus
|
||||||
|
|
||||||
# *DOCUMENTATION*
|
# *DOCUMENTATION*
|
||||||
|
@ -414,6 +414,7 @@ STRIP = $(CROSS_COMPILE)strip
|
||||||
OBJCOPY = $(CROSS_COMPILE)objcopy
|
OBJCOPY = $(CROSS_COMPILE)objcopy
|
||||||
OBJDUMP = $(CROSS_COMPILE)objdump
|
OBJDUMP = $(CROSS_COMPILE)objdump
|
||||||
OBJSIZE = $(CROSS_COMPILE)size
|
OBJSIZE = $(CROSS_COMPILE)size
|
||||||
|
READELF = $(CROSS_COMPILE)readelf
|
||||||
PAHOLE = pahole
|
PAHOLE = pahole
|
||||||
LEX = flex
|
LEX = flex
|
||||||
YACC = bison
|
YACC = bison
|
||||||
|
@ -472,7 +473,7 @@ GCC_PLUGINS_CFLAGS :=
|
||||||
CLANG_FLAGS :=
|
CLANG_FLAGS :=
|
||||||
|
|
||||||
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
|
export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
|
||||||
export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE PAHOLE LEX YACC AWK INSTALLKERNEL
|
export CPP AR NM STRIP OBJCOPY OBJDUMP OBJSIZE READELF PAHOLE LEX YACC AWK INSTALLKERNEL
|
||||||
export PERL PYTHON PYTHON2 PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
|
export PERL PYTHON PYTHON2 PYTHON3 CHECK CHECKFLAGS MAKE UTS_MACHINE HOSTCXX
|
||||||
export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
|
export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue