M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,41 @@
* Bluetooth Sleep Protocol driver
Bluetooth controller communicates with the Bluetooth Host using HCI Transport layer.
HCI Transport layer can be based on UART or USB serial communication protocol.
Apart from the transport layer, Bluetooth Controller also supports Low Power Mode
using various mechanisms. One of such mechanism is Out-of-Band Sleep. Also known
as 2-wire sleep mechanism.
Out-of-Band Sleep:
It requires two GPIOs to communicate the sleep protocol between Host and Controller.
One of them is called as Host Wake GPIO where as other is known as a External wake
GPIO.
Host Wake GPIO is used for awake the Host from the Sleep Mode. It is controlled by the
Controller. It should be wakeup interruptible source on the Host.
External Wake GPIO is used for awake the Controller from the Sleep Mode. It is controlled
by the Host.
Required Properties:
- compatible: Should be "qca,ar3002_bluesleep"
- host-wake-gpio: Specify GPIO for Host wake signal (Controller -> Host).
- ext-wake-gpio: Specify GPIO for Controller wake signal(Host -> Controller).
- interrupt-parent: Should be phandle for the interrupt controller
that services interrupts for this device.
- interrupts: Should contain host wake interrupt from controller.
- interrupt-names: indicates interrupts passed to driver
(via interrupts property) by name. "host_wake" is mandatory.
Optional Properties:
None
Example:
bt_sleep {
compatible = "qca,ar3002_bluesleep";
host-wake-gpio = <&msmgpio 12 0>;
ext-wake-gpio = <&msmgpio 13 0>;
interrupt-parent = <&msmgpio>;
interrupts = <12 0>;
interrupt-names = "host_wake";
};

View File

@ -0,0 +1,30 @@
* Bluetooth Controller
Bluetooth controller communicates with the Bluetooth Host using HCI Transport layer.
HCI Transport layer can be based on UART or USB serial communication protocol.
Required properties:
- compatible: Should be "qca,ar3002"
- qca,bt-reset-gpio: GPIO pin to bring BT Controller out of reset
- qca,bt-vdd-io-supply: Bluetooth VDD IO regulator handle
- qca,bt-vdd-pa-supply: Bluetooth VDD PA regulator handle
Optional properties:
-qca,bt-vdd-ldo-supply: Bluetooth VDD LDO regulator handle. Kept under optional parameters
as some of the chipsets doesn't require ldo or it may use from same vddio.
- qca,bt-chip-pwd-supply: Chip power down gpio is required when bluetooth module
and other modules like wifi co-exist in a singe chip and shares a
common gpio to bring chip out of reset.
- qca,bt-vdd-io-voltage-level: min and max voltages for the vdd io regulator
- qca,bt-vdd-pa-voltage-level: min and max voltages for the vdd pa regulator
- qca,bt-vdd-ldo-voltage-level: min and max voltages for the vdd ldo regulator
Example:
bt-ar3002 {
compatible = "qca,ar3002";
qca,bt-reset-gpio = <&pm8941_gpios 34 0>;
qca,bt-vdd-io-supply = <&pm8941_s3>;
qca,bt-vdd-pa-supply = <&pm8941_l19>;
qca,bt-chip-pwd-supply = <&ath_chip_pwd_l>;
qca,bt-vdd-io-supply = <1800000 1800000>;
qca,bt-vdd-pa-supply = <2900000 2900000>;
};