summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/sound/adi,max98396.yaml
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-11-14 16:54:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-11-14 16:54:36 +0100
commitab1e21447d0b45d6689a7ddee51a5eadff1ebeeb (patch)
tree2f303011dfe883f8b003fc88eed91568d3fbab88 /dts/Bindings/sound/adi,max98396.yaml
parent082680652836cd17f2e0bb3da5bec35789e93483 (diff)
parent6f98e5463b673e6dcf9a54c1571f95a567b65296 (diff)
downloadbarebox-ab1e21447d0b45d6689a7ddee51a5eadff1ebeeb.tar.gz
barebox-ab1e21447d0b45d6689a7ddee51a5eadff1ebeeb.tar.xz
Merge branch 'for-next/dts'
Diffstat (limited to 'dts/Bindings/sound/adi,max98396.yaml')
-rw-r--r--dts/Bindings/sound/adi,max98396.yaml36
1 files changed, 35 insertions, 1 deletions
diff --git a/dts/Bindings/sound/adi,max98396.yaml b/dts/Bindings/sound/adi,max98396.yaml
index 8d2ef991db..fd5aa61b46 100644
--- a/dts/Bindings/sound/adi,max98396.yaml
+++ b/dts/Bindings/sound/adi,max98396.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/sound/adi,max98396.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Analog Devices MAX98396 Speaker Amplifier Device Tree Bindings
+title: Analog Devices MAX98396 Speaker Amplifier
maintainers:
- Ryan Lee <ryans.lee@analog.com>
@@ -78,6 +78,40 @@ properties:
interleaved on a single output channel.
type: boolean
+ adi,dmon-stuck-enable:
+ description:
+ Enables the "data monitor stuck" feature. Once the data monitor is
+ enabled, it actively monitors the selected input data (from DIN) to the
+ speaker amplifier. Once a data error is detected, the data monitor
+ automatically places the device into software shutdown.
+ type: boolean
+
+ adi,dmon-stuck-threshold-bits:
+ description:
+ Sets the threshold for the "data monitor stuck" feature, in bits.
+ enum: [9, 11, 13, 15]
+ default: 15
+
+ adi,dmon-magnitude-enable:
+ description:
+ Enables the "data monitor magnitude" feature. Once the data monitor is
+ enabled, it actively monitors the selected input data (from DIN) to the
+ speaker amplifier. Once a data error is detected, the data monitor
+ automatically places the device into software shutdown.
+ type: boolean
+
+ adi,dmon-magnitude-threshold-bits:
+ description:
+ Sets the threshold for the "data monitor magnitude" feature, in bits.
+ enum: [2, 3, 4, 5]
+ default: 5
+
+ adi,dmon-duration-ms:
+ description:
+ Sets the duration for the "data monitor" feature, in milliseconds.
+ enum: [64, 256, 1024, 4096]
+ default: 64
+
reset-gpios:
maxItems: 1