mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
d87823813f
Here's the big char/misc driver pull request for 4.2-rc1. Lots of mei, extcon, coresight, uio, mic, and other driver updates in here. Full details in the shortlog. All of these have been in linux-next for some time with no reported problems. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlWNn0gACgkQMUfUDdst+ykCCQCgvdF4F2+Hy9+RATdk22ak1uq1 JDMAoJTf4oyaIEdaiOKfEIWg9MasS42B =H5wD -----END PGP SIGNATURE----- Merge tag 'char-misc-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc Pull char/misc driver updates from Greg KH: "Here's the big char/misc driver pull request for 4.2-rc1. Lots of mei, extcon, coresight, uio, mic, and other driver updates in here. Full details in the shortlog. All of these have been in linux-next for some time with no reported problems" * tag 'char-misc-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (176 commits) mei: me: wait for power gating exit confirmation mei: reset flow control on the last client disconnection MAINTAINERS: mei: add mei_cl_bus.h to maintained file list misc: sram: sort and clean up included headers misc: sram: move reserved block logic out of probe function misc: sram: add private struct device and virt_base members misc: sram: report correct SRAM pool size misc: sram: bump error message level on unclean driver unbinding misc: sram: fix device node reference leak on error misc: sram: fix enabled clock leak on error path misc: mic: Fix reported static checker warning misc: mic: Fix randconfig build error by including errno.h uio: pruss: Drop depends on ARCH_DAVINCI_DA850 from config uio: pruss: Add CONFIG_HAS_IOMEM dependence uio: pruss: Include <linux/sizes.h> extcon: Redefine the unique id of supported external connectors without 'enum extcon' type char:xilinx_hwicap:buffer_icap - change 1/0 to true/false for bool type variable in function buffer_icap_set_configuration(). Drivers: hv: vmbus: Allocate ring buffer memory in NUMA aware fashion parport: check exclusive access before register w1: use correct lock on error in w1_seq_show() ...
107 lines
4.1 KiB
Plaintext
107 lines
4.1 KiB
Plaintext
Wolfson Arizona class audio SoCs
|
|
|
|
These devices are audio SoCs with extensive digital capabilites and a range
|
|
of analogue I/O.
|
|
|
|
Required properties:
|
|
|
|
- compatible : One of the following chip-specific strings:
|
|
"wlf,wm5102"
|
|
"wlf,wm5110"
|
|
"wlf,wm8280"
|
|
"wlf,wm8997"
|
|
"wlf,wm8998"
|
|
"wlf,wm1814"
|
|
|
|
- reg : I2C slave address when connected using I2C, chip select number when
|
|
using SPI.
|
|
|
|
- interrupts : The interrupt line the /IRQ signal for the device is
|
|
connected to.
|
|
- interrupt-controller : Arizona class devices contain interrupt controllers
|
|
and may provide interrupt services to other devices.
|
|
- interrupt-parent : The parent interrupt controller.
|
|
- #interrupt-cells: the number of cells to describe an IRQ, this should be 2.
|
|
The first cell is the IRQ number.
|
|
The second cell is the flags, encoded as the trigger masks from
|
|
Documentation/devicetree/bindings/interrupts.txt
|
|
|
|
- gpio-controller : Indicates this device is a GPIO controller.
|
|
- #gpio-cells : Must be 2. The first cell is the pin number and the
|
|
second cell is used to specify optional parameters (currently unused).
|
|
|
|
- AVDD-supply, DBVDD1-supply, CPVDD-supply : Power supplies for the device,
|
|
as covered in Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
- DBVDD2-supply, DBVDD3-supply : Additional databus power supplies (wm5102,
|
|
wm5110, wm8280, wm8998, wm1814)
|
|
|
|
- SPKVDDL-supply, SPKVDDR-supply : Speaker driver power supplies (wm5102,
|
|
wm5110, wm8280, wm8998, wm1814)
|
|
|
|
- SPKVDD-supply : Speaker driver power supply (wm8997)
|
|
|
|
Optional properties:
|
|
|
|
- wlf,reset : GPIO specifier for the GPIO controlling /RESET
|
|
- wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA
|
|
|
|
- wlf,gpio-defaults : A list of GPIO configuration register values. Defines
|
|
for the appropriate values can found in <dt-bindings/mfd/arizona.txt>. If
|
|
absent, no configuration of these registers is performed. If any entry has
|
|
a value that is out of range for a 16 bit register then the chip default
|
|
will be used. If present exactly five values must be specified.
|
|
|
|
- wlf,inmode : A list of INn_MODE register values, where n is the number
|
|
of input signals. Valid values are 0 (Differential), 1 (Single-ended) and
|
|
2 (Digital Microphone). If absent, INn_MODE registers set to 0 by default.
|
|
If present, values must be specified less than or equal to the number of
|
|
input signals. If values less than the number of input signals, elements
|
|
that have not been specified are set to 0 by default. Entries are:
|
|
<IN1, IN2, IN3, IN4> (wm5102, wm5110, wm8280, wm8997)
|
|
<IN1A, IN2A, IN1B, IN2B> (wm8998, wm1814)
|
|
|
|
- wlf,dmic-ref : DMIC reference voltage source for each input, can be
|
|
selected from either MICVDD or one of the MICBIAS's, defines
|
|
(ARIZONA_DMIC_xxxx) are provided in <dt-bindings/mfd/arizona.txt>. If
|
|
present, the number of values should be less than or equal to the
|
|
number of inputs, unspecified inputs will use the chip default.
|
|
|
|
- wlf,hpdet-channel : Headphone detection channel.
|
|
ARIZONA_ACCDET_MODE_HPL or 1 - Headphone detect mode is set to HPDETL
|
|
ARIZONA_ACCDET_MODE_HPR or 2 - Headphone detect mode is set to HPDETR
|
|
If this node is not mentioned or if the value is unknown, then
|
|
headphone detection mode is set to HPDETL.
|
|
|
|
- DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if
|
|
they are being externally supplied. As covered in
|
|
Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
Optional subnodes:
|
|
- ldo1 : Initial data for the LDO1 regulator, as covered in
|
|
Documentation/devicetree/bindings/regulator/regulator.txt
|
|
- micvdd : Initial data for the MICVDD regulator, as covered in
|
|
Documentation/devicetree/bindings/regulator/regulator.txt
|
|
|
|
Example:
|
|
|
|
codec: wm5102@1a {
|
|
compatible = "wlf,wm5102";
|
|
reg = <0x1a>;
|
|
interrupts = <347>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupt-parent = <&gic>;
|
|
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
|
|
wlf,gpio-defaults = <
|
|
ARIZONA_GP_FN_TXLRCLK
|
|
ARIZONA_GP_DEFAULT
|
|
ARIZONA_GP_DEFAULT
|
|
ARIZONA_GP_DEFAULT
|
|
ARIZONA_GP_DEFAULT
|
|
>;
|
|
};
|