Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
992 B
Plaintext
42 lines
992 B
Plaintext
* SiRF atlas6 and prima2 internal audio codec and port based audio setups
|
|
|
|
Required properties:
|
|
- compatible: "sirf,sirf-audio-card"
|
|
- sirf,audio-platform: phandle for the platform node
|
|
- sirf,audio-codec: phandle for the SiRF internal codec node
|
|
|
|
Optional properties:
|
|
- hp-pa-gpios: Need to be present if the board need control external
|
|
headphone amplifier.
|
|
- spk-pa-gpios: Need to be present if the board need control external
|
|
speaker amplifier.
|
|
- hp-switch-gpios: Need to be present if the board capable to detect jack
|
|
insertion, removal.
|
|
|
|
Available audio endpoints for the audio-routing table:
|
|
|
|
Board connectors:
|
|
* Headset Stereophone
|
|
* Ext Spk
|
|
* Line In
|
|
* Mic
|
|
|
|
SiRF internal audio codec pins:
|
|
* HPOUTL
|
|
* HPOUTR
|
|
* SPKOUT
|
|
* Ext Mic
|
|
* Mic Bias
|
|
|
|
Example:
|
|
|
|
sound {
|
|
compatible = "sirf,sirf-audio-card";
|
|
sirf,audio-codec = <&audiocodec>;
|
|
sirf,audio-platform = <&audioport>;
|
|
hp-pa-gpios = <&gpio 44 0>;
|
|
spk-pa-gpios = <&gpio 46 0>;
|
|
hp-switch-gpios = <&gpio 45 0>;
|
|
};
|
|
|