Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: Add Google Chameleon v3 i2s device

Add binding for google,chv3-i2s device.

Signed-off-by: Paweł Anikiel <pan@semihalf.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org
Link: https://lore.kernel.org/r/20230508113037.137627-4-pan@semihalf.com
Signed-off-by: Mark Brown <broonie@kernel.org

authored by

Paweł Anikiel and committed by
Mark Brown
6f2c1e7c 580bac2a

+44
+44
Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Google Chameleon v3 I2S device 8 + 9 + maintainers: 10 + - Paweł Anikiel <pan@semihalf.com> 11 + 12 + description: | 13 + I2S device for the Google Chameleon v3. The device handles both RX 14 + and TX using a producer/consumer ring buffer design. 15 + 16 + properties: 17 + compatible: 18 + const: google,chv3-i2s 19 + 20 + reg: 21 + items: 22 + - description: core registers 23 + - description: irq registers 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + #include <dt-bindings/interrupt-controller/arm-gic.h> 38 + 39 + i2s@c0060300 { 40 + compatible = "google,chv3-i2s"; 41 + reg = <0xc0060300 0x100>, 42 + <0xc0060f00 0x10>; 43 + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 44 + };