mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
f516fb704d
Clean-up incorrect indentation, extra spaces, long lines, and missing EOF newline in schema files. Most of the clean-ups are for list indentation which should always be 2 spaces more than the preceding keyword. Found with yamllint (which I plan to integrate into the checks). Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-spi@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-remoteproc@vger.kernel.org Cc: linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: netdev@vger.kernel.org Cc: linux-rtc@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-usb@vger.kernel.org Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Rob Herring <robh@kernel.org>
93 lines
1.9 KiB
YAML
93 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/ingenic,aic.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ingenic SoCs AC97 / I2S Controller (AIC) DT bindings
|
|
|
|
maintainers:
|
|
- Paul Cercueil <paul@crapouillou.net>
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: '^audio-controller@'
|
|
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- ingenic,jz4740-i2s
|
|
- ingenic,jz4760-i2s
|
|
- ingenic,jz4770-i2s
|
|
- ingenic,jz4780-i2s
|
|
- items:
|
|
- const: ingenic,jz4725b-i2s
|
|
- const: ingenic,jz4740-i2s
|
|
|
|
'#sound-dai-cells':
|
|
const: 0
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: AIC clock
|
|
- description: I2S clock
|
|
- description: EXT clock
|
|
- description: PLL/2 clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: aic
|
|
- const: i2s
|
|
- const: ext
|
|
- const: pll half
|
|
|
|
dmas:
|
|
items:
|
|
- description: DMA controller phandle and request line for I2S RX
|
|
- description: DMA controller phandle and request line for I2S TX
|
|
|
|
dma-names:
|
|
items:
|
|
- const: rx
|
|
- const: tx
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
- dmas
|
|
- dma-names
|
|
- '#sound-dai-cells'
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/jz4740-cgu.h>
|
|
aic: audio-controller@10020000 {
|
|
compatible = "ingenic,jz4740-i2s";
|
|
reg = <0x10020000 0x38>;
|
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <18>;
|
|
|
|
clocks = <&cgu JZ4740_CLK_AIC>,
|
|
<&cgu JZ4740_CLK_I2S>,
|
|
<&cgu JZ4740_CLK_EXT>,
|
|
<&cgu JZ4740_CLK_PLL_HALF>;
|
|
clock-names = "aic", "i2s", "ext", "pll half";
|
|
|
|
dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>;
|
|
dma-names = "rx", "tx";
|
|
};
|