Skip to content

Commit

Permalink
ASoC: dt-bindings: sma1303: Iron Device SMA1303 Amp
Browse files Browse the repository at this point in the history
This adds the schema binding for the Iron Device SMA1303 amplifier.

Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
  • Loading branch information
KiseokJo authored and intel-lab-lkp committed Jan 4, 2023
1 parent 0b15568 commit eed8581
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml
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>;
};
};
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ patternProperties:
description: Inverse Path
"^iom,.*":
description: Iomega Corporation
"^irondevice,.*":
description: Iron Device Corporation
"^isee,.*":
description: ISEE 2007 S.L.
"^isil,.*":
Expand Down

0 comments on commit eed8581

Please sign in to comment.