Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: dt-bindings: max98396: Document data monitor properties

This device features a data monitor that puts the device in software reset
upon a configurable set of events.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220826085927.2336224-1-daniel@zonque.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Daniel Mack and committed by
Mark Brown
ec2988da ced579dc

+34
+34
Documentation/devicetree/bindings/sound/adi,max98396.yaml
··· 78 78 interleaved on a single output channel. 79 79 type: boolean 80 80 81 + adi,dmon-stuck-enable: 82 + description: 83 + Enables the "data monitor stuck" feature. Once the data monitor is 84 + enabled, it actively monitors the selected input data (from DIN) to the 85 + speaker amplifier. Once a data error is detected, the data monitor 86 + automatically places the device into software shutdown. 87 + type: boolean 88 + 89 + adi,dmon-stuck-threshold-bits: 90 + description: 91 + Sets the threshold for the "data monitor stuck" feature, in bits. 92 + enum: [9, 11, 13, 15] 93 + default: 15 94 + 95 + adi,dmon-magnitude-enable: 96 + description: 97 + Enables the "data monitor magnitude" feature. Once the data monitor is 98 + enabled, it actively monitors the selected input data (from DIN) to the 99 + speaker amplifier. Once a data error is detected, the data monitor 100 + automatically places the device into software shutdown. 101 + type: boolean 102 + 103 + adi,dmon-magnitude-threshold-bits: 104 + description: 105 + Sets the threshold for the "data monitor magnitude" feature, in bits. 106 + enum: [2, 3, 4, 5] 107 + default: 5 108 + 109 + adi,dmon-duration-ms: 110 + description: 111 + Sets the duration for the "data monitor" feature, in milliseconds. 112 + enum: [64, 256, 1024, 4096] 113 + default: 64 114 + 81 115 reset-gpios: 82 116 maxItems: 1 83 117