Home
last modified time | relevance | path

Searched refs:palmas (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.3-rc2/drivers/mfd/
A Dpalmas.c324 int palmas_ext_control_req_config(struct palmas *palmas, in palmas_ext_control_req_config() argument
507 struct palmas *palmas; in palmas_i2c_probe() local
529 palmas = devm_kzalloc(&i2c->dev, sizeof(struct palmas), GFP_KERNEL); in palmas_i2c_probe()
530 if (palmas == NULL) in palmas_i2c_probe()
555 palmas->regmap[i] = devm_regmap_init_i2c(palmas->i2c_clients[i], in palmas_i2c_probe()
566 if (!palmas->irq) { in palmas_i2c_probe()
591 ret = regmap_add_irq_chip(palmas->regmap[slave], palmas->irq, in palmas_i2c_probe()
658 palmas->gpio_muxed, palmas->pwm_muxed, in palmas_i2c_probe()
687 regmap_del_irq_chip(palmas->irq, palmas->irq_data); in palmas_i2c_probe()
698 struct palmas *palmas = i2c_get_clientdata(i2c); in palmas_i2c_remove() local
[all …]
/linux-6.3-rc2/drivers/gpio/
A Dgpio-palmas.c20 struct palmas *palmas; member
30 struct palmas *palmas = pg->palmas; in palmas_gpio_get() local
39 ret = palmas_read(palmas, PALMAS_GPIO_BASE, reg, &val); in palmas_gpio_get()
50 ret = palmas_read(palmas, PALMAS_GPIO_BASE, reg, &val); in palmas_gpio_get()
62 struct palmas *palmas = pg->palmas; in palmas_gpio_set() local
84 struct palmas *palmas = pg->palmas; in palmas_gpio_output() local
106 struct palmas *palmas = pg->palmas; in palmas_gpio_input() local
124 struct palmas *palmas = pg->palmas; in palmas_gpio_to_irq() local
147 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_gpio_probe() local
162 palmas_gpio->palmas = palmas; in palmas_gpio_probe()
[all …]
/linux-6.3-rc2/drivers/rtc/
A Drtc-palmas.c38 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_read_time() local
69 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_set_time() local
104 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_alarm_irq_enable() local
108 return palmas_write(palmas, PALMAS_RTC_BASE, in palmas_rtc_alarm_irq_enable()
116 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_read_alarm() local
119 ret = palmas_bulk_read(palmas, PALMAS_RTC_BASE, in palmas_rtc_read_alarm()
149 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_rtc_set_alarm() local
165 ret = palmas_bulk_write(palmas, PALMAS_RTC_BASE, in palmas_rtc_set_alarm()
179 struct palmas *palmas = dev_get_drvdata(dev->parent); in palmas_clear_interrupts() local
225 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_rtc_probe() local
[all …]
/linux-6.3-rc2/drivers/regulator/
A Dpalmas-regulator.c398 static int palmas_smps_read(struct palmas *palmas, unsigned int reg, in palmas_smps_read() argument
408 static int palmas_smps_write(struct palmas *palmas, unsigned int reg, in palmas_smps_write() argument
418 static int palmas_ldo_read(struct palmas *palmas, unsigned int reg, in palmas_ldo_read() argument
428 static int palmas_ldo_write(struct palmas *palmas, unsigned int reg, in palmas_ldo_write() argument
673 static int palmas_regulator_config_external(struct palmas *palmas, int id, in palmas_regulator_config_external() argument
695 static int palmas_smps_init(struct palmas *palmas, int id, in palmas_smps_init() argument
764 static int palmas_ldo_init(struct palmas *palmas, int id, in palmas_ldo_init() argument
809 static int palmas_extreg_init(struct palmas *palmas, int id, in palmas_extreg_init() argument
847 static void palmas_enable_ldo8_track(struct palmas *palmas) in palmas_enable_ldo8_track() argument
1597 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_regulators_probe() local
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
A Dpalmas.txt1 * palmas device tree bindings
3 The TI palmas family current members :-
4 twl6035 (palmas)
5 twl6037 (palmas)
6 tps65913 (palmas)
7 tps65914 (palmas)
22 ti,palmas
23 - interrupt-controller : palmas has its own internal IRQs
35 palmas {
36 compatible = "ti,twl6035", "ti,palmas";
[all …]
/linux-6.3-rc2/drivers/extcon/
A Dextcon-palmas.c33 static void palmas_usb_wakeup(struct palmas *palmas, int enable) in palmas_usb_wakeup() argument
48 palmas_read(palmas_usb->palmas, PALMAS_INTERRUPT_BASE, in palmas_vbus_irq_handler()
80 palmas_read(palmas_usb->palmas, PALMAS_USB_OTG_BASE, in palmas_id_irq_handler()
82 palmas_read(palmas_usb->palmas, PALMAS_USB_OTG_BASE, in palmas_id_irq_handler()
87 palmas_write(palmas_usb->palmas, PALMAS_USB_OTG_BASE, in palmas_id_irq_handler()
177 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_usb_probe() local
183 if (!palmas) { in palmas_usb_probe()
247 palmas->usb = palmas_usb; in palmas_usb_probe()
248 palmas_usb->palmas = palmas; in palmas_usb_probe()
252 palmas_usb_wakeup(palmas, palmas_usb->wakeup); in palmas_usb_probe()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/input/
A Dti,palmas-pwrbutton.txt5 Documentation/devicetree/bindings/mfd/palmas.txt.
11 - "ti,palmas-pwrbutton": For Palmas compatible power on button
16 - ti,palmas-long-press-seconds: Duration in seconds which the power
20 - ti,palmas-pwron-debounce-milli-seconds: Duration in milliseconds
27 &palmas {
29 compatible = "ti,palmas-pwrbutton";
32 ti,palmas-long-press-seconds = <12>;
33 ti,palmas-pwron-debounce-milli-seconds = <15>;
/linux-6.3-rc2/drivers/clk/
A Dclk-palmas.c37 struct palmas *palmas; member
58 ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_prepare()
83 ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_unprepare()
100 ret = palmas_read(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_is_prepared()
202 ret = palmas_update_bits(cinfo->palmas, PALMAS_RESOURCE_BASE, in palmas_clks_init_configure()
218 ret = palmas_ext_control_req_config(cinfo->palmas, in palmas_clks_init_configure()
233 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_clks_probe() local
251 cinfo->palmas = palmas; in palmas_clks_probe()
/linux-6.3-rc2/drivers/iio/adc/
A Dpalmas_gpadc.c105 struct palmas *palmas; member
262 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_gpadc_enable()
308 ret = palmas_read(adc->palmas, PALMAS_TRIM_GPADC_BASE, in palmas_gpadc_calibrate()
315 ret = palmas_read(adc->palmas, PALMAS_TRIM_GPADC_BASE, in palmas_gpadc_calibrate()
525 adc->palmas = dev_get_drvdata(pdev->dev.parent); in palmas_gpadc_probe()
696 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_adc_wakeup_configure()
704 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_adc_wakeup_configure()
727 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_adc_wakeup_configure()
735 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_adc_wakeup_configure()
745 ret = palmas_write(adc->palmas, PALMAS_GPADC_BASE, in palmas_adc_wakeup_configure()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/clock/
A Dclk-palmas-clk32kg-clocks.txt8 - compatible : "ti,palmas-clk32kg" for clk32kg clock
9 "ti,palmas-clk32kgaudio" for clk32kgaudio clock
22 dt-bindings/mfd/palmas.h
25 #include <dt-bindings/mfd/palmas.h>
27 palmas: tps65913@58 {
30 compatible = "ti,palmas-clk32kg";
/linux-6.3-rc2/Documentation/devicetree/bindings/extcon/
A Dextcon-palmas.txt6 * "ti,palmas-usb-vid".
8 * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid").
19 palmas-usb {
20 compatible = "ti,twl6035-usb", "ti,palmas-usb";
/linux-6.3-rc2/drivers/input/misc/
A Dpalmas-pwrbutton.c33 struct palmas *palmas; member
62 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work()
157 struct palmas *palmas = dev_get_drvdata(pdev->dev.parent); in palmas_pwron_probe() local
190 error = palmas_update_bits(palmas, PALMAS_PMU_CONTROL_BASE, in palmas_pwron_probe()
200 pwron->palmas = palmas; in palmas_pwron_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/rtc/
A Drtc-palmas.txt5 - "ti,palmas-rtc" for palma series of the RTC controller
22 palmas: tps65913@58 {
25 compatible = "ti,palmas-rtc";
26 interrupt-parent = <&palmas>;
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
A Dpalmas-pmic.txt1 * palmas regulator IP block devicetree bindings
5 is not a need to add the OTP spins to the palmas driver. The
20 ti,palmas-pmic
35 For ti,palmas-pmic - smps12, smps123, smps3 depending on OTP,
61 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
62 interrupt-parent = <&palmas>;
/linux-6.3-rc2/Documentation/devicetree/bindings/iio/adc/
A Dti,palmas-gpadc.yaml4 $id: http://devicetree.org/schemas/iio/adc/ti,palmas-gpadc.yaml#
35 const: ti,palmas-gpadc
74 compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
76 compatible = "ti,palmas-gpadc";
/linux-6.3-rc2/Documentation/devicetree/bindings/gpio/
A Dgpio-palmas.txt16 Note: This gpio node will be sub node of palmas node.
19 palmas: tps65913@58 {
22 compatible = "ti,palmas-gpio";
/linux-6.3-rc2/Documentation/devicetree/bindings/pinctrl/
A Dpinctrl-palmas.txt8 - "ti,palmas-pinctrl" for Palma series of the pincontrol.
32 - ti,palmas-enable-dvfs1: Enable DVFS1. Configure pins for DVFS1 mode.
35 - ti,palmas-enable-dvfs2: Enable DVFS2. Configure pins for DVFS2 mode.
38 - ti,palmas-override-powerhold: This is applicable for PMICs for which
43 scenarios. So for GPIO7 if ti,palmas-override-powerhold is set
76 palmas: tps65913 {
80 ti,palmas-enable-dvfs1;
/linux-6.3-rc2/include/linux/mfd/
A Dpalmas.h60 struct palmas { struct
547 struct palmas *palmas; member
562 struct palmas *palmas; member
567 struct palmas *palmas; member
3750 static inline int palmas_read(struct palmas *palmas, unsigned int base, in palmas_read() argument
3759 static inline int palmas_write(struct palmas *palmas, unsigned int base, in palmas_write() argument
3768 static inline int palmas_bulk_write(struct palmas *palmas, unsigned int base, in palmas_bulk_write() argument
3778 static inline int palmas_bulk_read(struct palmas *palmas, unsigned int base, in palmas_bulk_read() argument
3788 static inline int palmas_update_bits(struct palmas *palmas, unsigned int base, in palmas_update_bits() argument
3797 static inline int palmas_irq_get_virq(struct palmas *palmas, int irq) in palmas_irq_get_virq() argument
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Domap5-board-common.dtsi376 palmas: palmas@48 { label
377 compatible = "ti,palmas";
390 compatible = "ti,palmas-gpio";
396 compatible = "ti,palmas-usb-vid";
409 compatible = "ti,palmas-rtc";
410 interrupt-parent = <&palmas>;
417 compatible = "ti,palmas-gpadc";
427 compatible = "ti,palmas-pmic";
428 interrupt-parent = <&palmas>;
631 compatible = "ti,palmas-pwrbutton";
[all …]
A Dtegra114-tn7.dts64 palmas: pmic@58 { label
65 compatible = "ti,tps65913", "ti,palmas";
75 compatible = "ti,palmas-gpio";
81 compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
232 compatible = "ti,palmas-rtc";
233 interrupt-parent = <&palmas>;
A Dtegra114-asus-tf701t.dts20 rtc0 = &palmas;
363 palmas: pmic@58 { label
364 compatible = "ti,tps65913", "ti,palmas";
374 compatible = "ti,palmas-gpio";
381 ti,palmas-enable-dvfs1;
440 compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
595 compatible = "ti,palmas-rtc";
596 interrupt-parent = <&palmas>;
A Domap5-cm-t54.dts422 palmas: palmas@48 { label
423 compatible = "ti,palmas";
434 compatible = "ti,palmas-usb-vid";
441 compatible = "ti,palmas-rtc";
442 interrupt-parent = <&palmas>;
447 compatible = "ti,palmas-pmic";
448 interrupt-parent = <&palmas>;
A Dam57xx-idk-common.dtsi188 ti,palmas-override-powerhold;
363 compatible = "ti,palmas-rtc";
370 compatible = "ti,palmas-pwrbutton";
374 ti,palmas-long-press-seconds = <12>;
378 compatible = "ti,palmas-gpio";
384 compatible = "ti,palmas-usb-vid";
A Dam57xx-beagle-x15-common.dtsi237 ti,palmas-override-powerhold;
364 compatible = "ti,palmas-rtc";
371 compatible = "ti,palmas-pwrbutton";
375 ti,palmas-long-press-seconds = <12>;
379 compatible = "ti,palmas-gpio";
385 compatible = "ti,palmas-usb-vid";
/linux-6.3-rc2/drivers/pinctrl/
A Dpinctrl-palmas.c65 struct palmas *palmas; member
573 ret = palmas_read(pci->palmas, g->mux_reg_base, in palmas_pinctrl_get_pin_mux()
593 ret = palmas_update_bits(pci->palmas, PALMAS_PU_PD_OD_BASE, in palmas_pinctrl_set_dvfs1()
608 ret = palmas_update_bits(pci->palmas, PALMAS_PU_PD_OD_BASE, in palmas_pinctrl_set_dvfs2()
718 ret = palmas_update_bits(pci->palmas, g->mux_reg_base, g->mux_reg_add, in palmas_pinctrl_set_mux()
781 ret = palmas_read(pci->palmas, base, add, &val); in palmas_pinconf_get()
813 ret = palmas_read(pci->palmas, base, add, &val); in palmas_pinconf_get()
939 ret = palmas_update_bits(pci->palmas, base, add, mask, rval); in palmas_pinconf_set()
1006 pci->palmas = dev_get_drvdata(pdev->dev.parent); in palmas_pinctrl_probe()

Completed in 91 milliseconds

12