Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Input: remove msm-vibrator

The address referenced in this binding is within the Qualcomm Clock
namespace so let's drop the msm-vibrator bindings so that a more
generic solution can be used instead. No one is currently using these
bindings so this won't affect any users.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200513013140.69935-2-masneyb@onstation.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Brian Masney and committed by
Dmitry Torokhov
d3644363 cf520c64

-36
-36
Documentation/devicetree/bindings/input/msm-vibrator.txt
··· 1 - * Device tree bindings for the Qualcomm MSM vibrator 2 - 3 - Required properties: 4 - 5 - - compatible: Should be one of 6 - "qcom,msm8226-vibrator" 7 - "qcom,msm8974-vibrator" 8 - - reg: the base address and length of the IO memory for the registers. 9 - - pinctrl-names: set to default. 10 - - pinctrl-0: phandles pointing to pin configuration nodes. See 11 - Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 12 - - clock-names: set to pwm 13 - - clocks: phandle of the clock. See 14 - Documentation/devicetree/bindings/clock/clock-bindings.txt 15 - - enable-gpios: GPIO that enables the vibrator. 16 - 17 - Optional properties: 18 - 19 - - vcc-supply: phandle to the regulator that provides power to the sensor. 20 - 21 - Example from a LG Nexus 5 (hammerhead) phone: 22 - 23 - vibrator@fd8c3450 { 24 - reg = <0xfd8c3450 0x400>; 25 - compatible = "qcom,msm8974-vibrator"; 26 - 27 - vcc-supply = <&pm8941_l19>; 28 - 29 - clocks = <&mmcc CAMSS_GP1_CLK>; 30 - clock-names = "pwm"; 31 - 32 - enable-gpios = <&msmgpio 60 GPIO_ACTIVE_HIGH>; 33 - 34 - pinctrl-names = "default"; 35 - pinctrl-0 = <&vibrator_pin>; 36 - };