mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08: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>;
|
|
};
|
|
};
|