Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * Texas Instruments SoC audio setups with TLV320AIC3X Codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - ti,model : The user-visible name of this sound complex.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) - ti,audio-codec : The phandle of the TLV320AIC3x audio codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - ti,mcasp-controller : The phandle of the McASP controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - ti,audio-routing : A list of the connections between audio components.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)   Each entry is a pair of strings, the first being the connection's sink,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)   the second being the connection's source. Valid names for sources and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)   sinks are the codec's pins, and the jacks on the board:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - clocks : Reference to the master clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - clock-names : The clock should be named "mclk"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - Either codec-clock-rate or the codec-clock reference has to be defined. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)   the both are defined the driver attempts to set referenced clock to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)   defined rate and takes the rate from the clock reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)   Board connectors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)   * Headphone Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)   * Line Out
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)   * Mic Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)   * Line In
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) sound {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	compatible = "ti,da830-evm-audio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	ti,model = "DA830 EVM";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	ti,audio-codec = <&tlv320aic3x>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	ti,mcasp-controller = <&mcasp1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	ti,codec-clock-rate = <12000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	ti,audio-routing =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		"Headphone Jack",       "HPLOUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 		"Headphone Jack",       "HPROUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		"Line Out",             "LLOUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		"Line Out",             "RLOUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		"MIC3L",                "Mic Bias 2V",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 		"MIC3R",                "Mic Bias 2V",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		"Mic Bias 2V",          "Mic Jack",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 		"LINE1L",               "Line In",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 		"LINE2L",               "Line In",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 		"LINE1R",               "Line In",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 		"LINE2R",               "Line In";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) };