forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: dt-bindings: sma1303: Iron Device SMA1303 Amp
This adds the schema binding for the Iron Device SMA1303 amplifier. Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
- Loading branch information
1 parent
0b15568
commit eed8581
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/irondevice,sma1303.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Iron Device SMA1303 Audio Amplifier | ||
|
||
maintainers: | ||
- Kiseok Jo <kiseok.jo@irondevice.com> | ||
|
||
description: | ||
SMA1303 digital class-D audio amplifier with an integrated boost converter. | ||
|
||
allOf: | ||
- $ref: name-prefix.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: irondevice,sma1303 | ||
|
||
reg: | ||
description: | ||
I2C address of the amplifier. See the datasheet for possible values. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: true | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
i2c_bus { | ||
sma1303_amp: sma1303@1e { | ||
compatible = "irondevice,sma1303"; | ||
reg = <0x1e>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters