mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 10:01:41 +00:00
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
This commit is contained in:
parent
580bac2a2c
commit
6f2c1e7c25
44
Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml
Normal file
44
Documentation/devicetree/bindings/sound/google,chv3-i2s.yaml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/sound/google,chv3-i2s.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Google Chameleon v3 I2S device
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Paweł Anikiel <pan@semihalf.com>
|
||||||
|
|
||||||
|
description: |
|
||||||
|
I2S device for the Google Chameleon v3. The device handles both RX
|
||||||
|
and TX using a producer/consumer ring buffer design.
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: google,chv3-i2s
|
||||||
|
|
||||||
|
reg:
|
||||||
|
items:
|
||||||
|
- description: core registers
|
||||||
|
- description: irq registers
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- interrupts
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||||
|
|
||||||
|
i2s@c0060300 {
|
||||||
|
compatible = "google,chv3-i2s";
|
||||||
|
reg = <0xc0060300 0x100>,
|
||||||
|
<0xc0060f00 0x10>;
|
||||||
|
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user