xref: /freebsd/sys/contrib/device-tree/Bindings/input/sprd,sc27xx-vibra.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSpreadtrum SC27xx PMIC Vibrator
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: should be "sprd,sc2731-vibrator".
5*c66ec88fSEmmanuel Vadot- reg: address of vibrator control register.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotExample :
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot	sc2731_pmic: pmic@0 {
10*c66ec88fSEmmanuel Vadot		compatible = "sprd,sc2731";
11*c66ec88fSEmmanuel Vadot		reg = <0>;
12*c66ec88fSEmmanuel Vadot		spi-max-frequency = <26000000>;
13*c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
14*c66ec88fSEmmanuel Vadot		interrupt-controller;
15*c66ec88fSEmmanuel Vadot		#interrupt-cells = <2>;
16*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
17*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		vibrator@eb4 {
20*c66ec88fSEmmanuel Vadot			compatible = "sprd,sc2731-vibrator";
21*c66ec88fSEmmanuel Vadot			reg = <0xeb4>;
22*c66ec88fSEmmanuel Vadot		};
23*c66ec88fSEmmanuel Vadot	};
24