Home
last modified time | relevance | path

Searched +full:pm8058 +full:- +full:vib (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/input/
Dqcom,pm8xxx-vib.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
15 - qcom,pm8058-vib
16 - qcom,pm8916-vib
17 - qcom,pm8921-vib
23 - compatible
24 - reg
[all …]
/Linux-v6.6/drivers/input/misc/
Dpm8xxx-vibrator.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
16 #define VIB_MAX_LEVELS (VIB_MAX_LEVEL_mV - VIB_MIN_LEVEL_mV)
47 * struct pm8xxx_vib - structure to hold vibrator data
55 * @reg_vib_drv: regs->drv_addr register value
69 * pm8xxx_vib_set - handler to start/stop vibration
70 * @vib: pointer to vibrator structure
73 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) in pm8xxx_vib_set() argument
76 unsigned int val = vib->reg_vib_drv; in pm8xxx_vib_set()
77 const struct pm8xxx_regs *regs = vib->regs; in pm8xxx_vib_set()
[all …]
/Linux-v6.6/arch/arm/boot/dts/qcom/
Dqcom-msm8660.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/interrupt-controller/irq.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8660.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 interrupt-parent = <&intc>;
17 #address-cells = <1>;
[all …]