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.

dt-bindings: sound: add Arm PL041 AACI DT schema

The Arm PrimeCell Advanced Audio CODEC Interface (AACI aka PL041) is
a peripheral that provides communication with an audio CODEC.

Add a simple DT schema binding for it, so that DTs can be validated
automatically.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220506140533.3566431-5-andre.przywara@arm.com

authored by

Andre Przywara and committed by
Rob Herring
b8559347 f7187a02

+62
+62
Documentation/devicetree/bindings/sound/arm,pl041.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/arm,pl041.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Arm Ltd. PrimeCell PL041 AACI sound interface 8 + 9 + maintainers: 10 + - Andre Przywara <andre.przywara@arm.com> 11 + 12 + description: 13 + The Arm PrimeCell Advanced Audio CODEC Interface (AACI) is an AMBA compliant 14 + peripheral that provides communication with an audio CODEC using the AC-link 15 + protocol. 16 + 17 + # We need a select here so we don't match all nodes with 'arm,primecell' 18 + select: 19 + properties: 20 + compatible: 21 + contains: 22 + const: arm,pl041 23 + required: 24 + - compatible 25 + 26 + properties: 27 + compatible: 28 + items: 29 + - const: arm,pl041 30 + - const: arm,primecell 31 + 32 + reg: 33 + maxItems: 1 34 + 35 + interrupts: 36 + maxItems: 1 37 + 38 + clocks: 39 + description: APB register access clock 40 + 41 + clock-names: 42 + const: apb_pclk 43 + 44 + required: 45 + - compatible 46 + - reg 47 + - interrupts 48 + - clocks 49 + 50 + additionalProperties: false 51 + 52 + examples: 53 + - | 54 + audio-controller@40000 { 55 + compatible = "arm,pl041", "arm,primecell"; 56 + reg = <0x040000 0x1000>; 57 + interrupts = <11>; 58 + clocks = <&v2m_clk24mhz>; 59 + clock-names = "apb_pclk"; 60 + }; 61 + 62 + ...