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 TWL family (twl4030) audio module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) The audio module inside the TWL family consist of an audio codec and a vibra
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - compatible : must be "ti,twl4030-audio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) Optional properties, nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Audio functionality:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - codec { }: Need to be present if the audio functionality is used. Within this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	     section the following options can be used:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - ti,digimic_delay: Delay need after enabling the digimic to reduce artifacts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		    from the start of the recorded sample (in ms)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) -ti,ramp_delay_value: HS ramp delay configuration to reduce pop noise
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) -ti,hs_extmute: Use external mute for HS pop reduction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) -ti,hs_extmute_gpio: Use external GPIO to control the external mute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) -ti,offset_cncl_path: Offset cancellation path selection, refer to TRM for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		      valid values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Vibra functionality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - ti,enable-vibra: Need to be set to <1> if the vibra functionality is used. if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		   missing or it is 0, the vibra functionality is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) &i2c1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	clock-frequency = <2600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	twl: twl@48 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		reg = <0x48>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		interrupt-parent = <&intc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		twl_audio: audio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 			compatible = "ti,twl4030-audio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 			ti,enable-vibra = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 			codec {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 				ti,ramp_delay_value = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) };