mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 04:45:36 +07:00
45615a9baf
This patch adds the Spreadtrum vibrator driver, which embedded in the Spreadtrum SC27xx series PMICs. Signed-off-by: Xiaotong Lu <xiaotong.lu@spreadtrum.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
24 lines
488 B
Plaintext
24 lines
488 B
Plaintext
Spreadtrum SC27xx PMIC Vibrator
|
|
|
|
Required properties:
|
|
- compatible: should be "sprd,sc2731-vibrator".
|
|
- reg: address of vibrator control register.
|
|
|
|
Example :
|
|
|
|
sc2731_pmic: pmic@0 {
|
|
compatible = "sprd,sc2731";
|
|
reg = <0>;
|
|
spi-max-frequency = <26000000>;
|
|
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
vibrator@eb4 {
|
|
compatible = "sprd,sc2731-vibrator";
|
|
reg = <0xeb4>;
|
|
};
|
|
};
|