diff options
author | Mark Brown <broonie@kernel.org> | 2023-03-06 20:30:09 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-06 20:30:09 +0000 |
commit | ed3b4b8772783e840d93a079b2dbdd7f9c4b3c76 (patch) | |
tree | 66a65831373017a60e10fdbdb68e50edd45ee5c6 /Documentation | |
parent | 6a534cfcfdbbd69eaac6656eb8c28a8fa27bb12e (diff) | |
parent | 340307d7effd99303fe933cde3b7288f8f3c6677 (diff) | |
download | linux-stable-ed3b4b8772783e840d93a079b2dbdd7f9c4b3c76.tar.gz linux-stable-ed3b4b8772783e840d93a079b2dbdd7f9c4b3c76.tar.bz2 linux-stable-ed3b4b8772783e840d93a079b2dbdd7f9c4b3c76.zip |
Add CS35L41 shared boost feature
Merge series from Lucas Tanure <lucas.tanure@collabora.com>:
Valve's Steam Deck uses CS35L41 in shared boost mode, where both speakers
share the boost circuit.
Add this support in the shared lib, but for now, shared boost is not
supported in HDA systems as would require BIOS changes.
Based on David Rhodes shared boost patches.
Also, fix boost config overwriting in IRQ found in the review and do a
small refactor of the code.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml index 18fb471aa891..14dea1feefc5 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml @@ -85,11 +85,19 @@ properties: boost-cap-microfarad. External Boost must have GPIO1 as GPIO output. GPIO1 will be set high to enable boost voltage. + Shared boost allows two amplifiers to share a single boost circuit by + communicating on the MDSYNC bus. The active amplifier controls the boost + circuit using combined data from both amplifiers. GPIO1 should be + configured for Sync when shared boost is used. Shared boost is not + compatible with External boost. Active amplifier requires + boost-peak-milliamp, boost-ind-nanohenry and boost-cap-microfarad. 0 = Internal Boost 1 = External Boost + 2 = Shared Boost Active + 3 = Shared Boost Passive $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0 - maximum: 1 + maximum: 3 cirrus,gpio1-polarity-invert: description: |