| /linux/Documentation/devicetree/bindings/input/ |
| H A D | regulator-haptic.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/regulator-haptic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Regulator Haptic 10 - Jaewon Kim <jaewon02.kim@samsung.com> 14 const: regulator-haptic 16 haptic-supply: 18 Power supply to the haptic motor 20 max-microvolt: [all …]
|
| /linux/drivers/input/misc/ |
| H A D | max77693-haptic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MAXIM MAX77693/MAX77843 Haptic device driver 23 #include <linux/regulator/consumer.h> 25 #include <linux/mfd/max77693-common.h> 26 #include <linux/mfd/max77693-private.h> 27 #include <linux/mfd/max77705-private.h> 28 #include <linux/mfd/max77843-private.h> 57 struct regulator *motor_reg; 69 static int max77693_haptic_set_duty_cycle(struct max77693_haptic *haptic) in max77693_haptic_set_duty_cycle() argument 74 pwm_init_state(haptic->pwm_dev, &state); in max77693_haptic_set_duty_cycle() [all …]
|
| H A D | max8997_haptic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MAX8997-haptic controller driver 17 #include <linux/mfd/max8997-private.h> 19 #include <linux/regulator/consumer.h> 21 /* Haptic configuration 2 register */ 26 /* Haptic driver configuration register */ 36 struct regulator *regulator; member 58 u8 duty_index = DIV_ROUND_UP(chip->level * 64, 100); in max8997_haptic_set_internal_duty_cycle() 60 switch (chip->internal_mode_pattern) { in max8997_haptic_set_internal_duty_cycle() 62 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle() [all …]
|
| H A D | drv2667.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/regulator/consumer.h> 92 * struct drv2667_data - 97 * @regulator: Pointer to the regulator for the IC 107 struct regulator *regulator; member 138 freq = (haptics->frequency * 1000) / 78125; in drv2667_set_waveform_freq() 140 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() 142 return -EINVAL; in drv2667_set_waveform_freq() 145 error = regmap_read(haptics->regmap, DRV2667_PAGE, &read_buf); in drv2667_set_waveform_freq() 147 dev_err(&haptics->client->dev, in drv2667_set_waveform_freq() [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | maxim,max77843.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 17 includes voltage current regulators, charger, fuel-gauge, haptic motor driver 33 motor-driver: 38 const: maxim,max77843-haptic 40 haptic-supply: 41 description: Power supply to the haptic motor 47 - compatible [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-samsung-e2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-samsung-a2015-common.dtsi" 6 haptic { 7 compatible = "regulator-haptic"; 8 haptic-supply = <®_motor_vdd>; 9 min-microvolt = <3300000>; 10 max-microvolt = <3300000>; 13 i2c-muic { 15 /delete-node/ extcon@25; 18 compatible = "siliconmitus,sm5504-muic"; [all …]
|
| H A D | msm8916-samsung-fortuna-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 reserved-memory { 24 tz-apps@85a00000 { [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | regulator-haptic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Regulator Haptic Platform Data 14 * struct regulator_haptic_data - Platform device data 16 * @max_volt: maximum voltage value supplied to the haptic motor. 18 * @min_volt: minimum voltage value supplied to the haptic motor.
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun4i-a10-dserve-dsrv9703c.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/pwm/pwm.h> 53 compatible = "dserve,dsrv9703c", "allwinner,sun4i-a10"; 60 compatible = "pwm-backlight"; [all …]
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynos7870-j6lte.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 chassis-type = "handset"; 30 #address-cells = <2>; 31 #size-cells = <1>; 34 stdout-path = &serial2; 37 compatible = "simple-framebuffer"; [all …]
|
| H A D | exynos7870-a2corelte.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 chassis-type = "handset"; 30 #address-cells = <2>; 31 #size-cells = <1>; 34 stdout-path = &serial2; 37 compatible = "simple-framebuffer"; [all …]
|
| H A D | exynos7870-on7xelte.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 chassis-type = "handset"; 30 #address-cells = <2>; 31 #size-cells = <1>; 34 stdout-path = &serial2; 37 compatible = "simple-framebuffer"; [all …]
|
| H A D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
| /linux/drivers/mfd/ |
| H A D | max77843.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <linux/mfd/max77693-common.h> 15 #include <linux/mfd/max77843-private.h> 21 .name = "max77843-muic", 22 .of_compatible = "maxim,max77843-muic", 24 .name = "max77843-regulator", 25 .of_compatible = "maxim,max77843-regulator", 27 .name = "max77843-charger", 28 .of_compatible = "maxim,max77843-charger" 30 .name = "max77843-fuelgauge", [all …]
|
| H A D | max77693.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77693.c - mfd core driver for the MAX 77693 22 #include <linux/mfd/max77693-common.h> 23 #include <linux/mfd/max77693-private.h> 24 #include <linux/regulator/machine.h> 32 { .name = "max77693-pmic", }, 34 .name = "max77693-charger", 35 .of_compatible = "maxim,max77693-charger", 38 .name = "max77693-muic", 39 .of_compatible = "maxim,max77693-muic", [all …]
|
| /linux/include/linux/mfd/ |
| H A D | max8997.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997.h - Driver for the Maxim 8997/8966 5 * Copyright (C) 2009-2010 Samsung Electronics 10 * MAX8997 has PMIC, MUIC, HAPTIC, RTC, FLASH, and Fuel Gauge devices. 20 #include <linux/regulator/consumer.h> 22 /* MAX8997/8966 regulator IDs */ 121 * [0 - 3]: valid pattern number 124 * [0 - 15]: available cycles 126 * [0 - 255]: available period 154 * [0 - 31]: MAX8997_FLASH_MODE and MAX8997_FLASH_PIN_CONTROL_MODE [all …]
|
| H A D | max77693.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max77693.h - Driver for the Maxim 77693 12 * MAX77693 has PMIC, Charger, Flash LED, Haptic, MUIC devices. 20 /* MAX77693 regulator IDs */
|
| H A D | max77693-private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max77693-private.h - Voltage regulator driver for the Maxim 77693 104 #define FLASH_EN_SHIFT(x) (6 - (x) * 2) 105 #define TORCH_EN_SHIFT(x) (2 - (x) * 2) 194 /* Dead-battery or low-battery prequalification */ 304 /* MAX77693 MUIC - STATUS1~3 Register */ 351 /* MAX77693 MUIC - CONTROL1~3 register */ 390 /* Slave addr = 0x90: Haptic */ 413 /* max77693-pmic LSCNFG configuration register */ 417 /* max77693-haptic configuration register */ [all …]
|
| H A D | max8997-private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997-private.h - Voltage regulator driver for the Maxim 8997 184 /* MAX8997-MUIC STATUS1 register */ 192 /* MAX8997-MUIC STATUS2 register */ 204 /* MAX8997-MUIC STATUS3 register */ 208 /* MAX8997-MUIC CONTROL1 register */ 373 struct i2c_client *haptic; /* slave addr 0x90 */ member
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos3250-monk.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 34 compatible = "samsung,secure-firmware"; 38 gpio-keys { 39 compatible = "gpio-keys"; 41 power-key { [all …]
|
| H A D | exynos3250-rinato.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 22 chassis-type = "watch"; 31 stdout-path = &serial_1; 40 compatible = "samsung,secure-firmware"; 44 gpio-keys { [all …]
|
| H A D | exynos4412-midas.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> 19 #include <dt-bindings/clock/maxim,max77686.h> 20 #include "exynos-pinctrl.h" 34 stdout-path = &serial_2; 38 compatible = "samsung,secure-firmware"; [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | maxim,max8997.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/regulator/maxim,max8997.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 regulators, charger controller with fuel gauge, RTC, clock outputs, haptic 15 motor driver, flash LED driver and Micro-USB Interface Controller. 17 The binding here is not complete and describes only regulator and charger 22 const: maxim,max8997-pmic 24 charger-supply: [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra30-lg-x3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/gpio-keys.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/mfd/max77620.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-cpu-opp.dtsi" 11 #include "tegra30-cpu-opp-microvolt.dtsi" 14 chassis-type = "handset"; 30 * pre-existing /chosen node to be available to insert the [all …]
|
| H A D | tegra30-asus-tf700t.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-asus-transformer-common.dtsi" 20 remote-endpoint = <&bridge_input>; 21 bus-width = <24>; 36 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 44 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 52 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 60 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 68 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|