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
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) The TWLs are Integrated Power Management Chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Some version might contain much more analog function like
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) USB transceiver or Audio amplifier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) These chips are connected to an i2c bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - compatible : Must be "ti,twl4030";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)   For Integrated power-management/audio CODEC device used in OMAP3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)   based boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - compatible : Must be "ti,twl6030";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)   For Integrated power-management used in OMAP4 based boards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - interrupts : This i2c device has an IRQ line connected to the main SoC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - interrupt-controller : Since the twl support several interrupts internally,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)   it is considered as an interrupt controller cascaded to the SoC one.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - #interrupt-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Optional node:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - Child nodes contain in the twl. The twl family is made of several variants
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)   that support a different number of features.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)   The children nodes will thus depend of the capability of the variant.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^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) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)  * Integrated Power Management Chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)  * https://www.ti.com/lit/ds/symlink/twl6030.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) twl@48 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)     compatible = "ti,twl6030";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)     reg = <0x48>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)     interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)     interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)     #interrupt-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)     interrupt-parent = <&gic>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)     #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)     #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)     twl_rtc {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)         compatible = "ti,twl_rtc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)         interrupts = <11>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)         reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)     };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) };