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) Maxim MAX98504 class D mono speaker amplifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) This device supports I2C control interface and an IRQ output signal. It features
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) a PCM and PDM digital audio interface (DAI) and a differential analog input.
^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) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  - compatible : "maxim,max98504"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  - reg : should contain the I2C slave device address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  - DVDD-supply, DIOVDD-supply, PVDD-supply: power supplies for the device,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)    as covered in ../regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  - interrupts : should specify the interrupt line the device is connected to,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)    as described in ../interrupt-controller/interrupts.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  - maxim,brownout-threshold - the PVDD brownout threshold, the value must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)    from 0, 1...21 range, corresponding to 2.6V, 2.65V...3.65V voltage range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  - maxim,brownout-attenuation - the brownout attenuation to the speaker gain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)    applied during the "attack hold" and "timed hold" phase, the value must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)    from 0...6 (dB) range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  - maxim,brownout-attack-hold-ms - the brownout attack hold phase time in ms,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)    0...255 (VBATBROWN_ATTK_HOLD, register 0x0018)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)  - maxim,brownout-timed-hold-ms - the brownout timed hold phase time in ms,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)    0...255 (VBATBROWN_TIME_HOLD, register 0x0019)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)  - maxim,brownout-release-rate-ms - the brownout release phase step time in ms,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)    0...255 (VBATBROWN_RELEASE, register 0x001A)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The default value when the above properties are not specified is 0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) the maxim,brownout-threshold property must be specified to actually enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) the PVDD brownout protection.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)  max98504@31 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	compatible = "maxim,max98504";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	reg = <0x31>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	interrupt-parent = <&gpio_bank_0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	interrupts = <2 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	DVDD-supply = <&regulator>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 	DIOVDD-supply = <&regulator>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	PVDD-supply = <&regulator>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) };