| /kernel/linux/linux-5.10/drivers/auxdisplay/ |
| D | hd44780.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 37 struct gpio_desc *pins[PIN_NUM]; member 42 struct hd44780 *hd = lcd->drvdata; in hd44780_backlight() 44 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 45 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 50 /* Maintain the data during 20 us before the strobe */ in hd44780_strobe_gpio() 53 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() 58 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio() [all …]
|
| /kernel/linux/linux-6.6/drivers/auxdisplay/ |
| D | hd44780.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 38 struct gpio_desc *pins[PIN_NUM]; member 43 struct hd44780_common *hdc = lcd->drvdata; in hd44780_backlight() 44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() 46 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 47 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 52 /* Maintain the data during 20 us before the strobe */ in hd44780_strobe_gpio() 55 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | msm8916-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 8 blsp1_uart1_default: blsp1-uart1-default { 10 pins = "gpio0", "gpio1", "gpio2", "gpio3"; 13 drive-strength = <16>; 14 bias-disable; 17 blsp1_uart1_sleep: blsp1-uart1-sleep { 18 pins = "gpio0", "gpio1", "gpio2", "gpio3"; 21 drive-strength = <2>; 22 bias-pull-down; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include "s3c64xx-pinctrl.h" 19 gpa: gpa-gpio-bank { 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 26 gpb: gpb-gpio-bank { [all …]
|
| D | exynos4210-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source 5 * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2011-2012 Linaro Ltd. 10 * Samsung's Exynos4210 SoC pin-mux and pin-config options are listed as device 14 #include "exynos-pinctrl.h" 17 gpa0: gpa0-gpio-bank { 18 gpio-controller; 19 #gpio-cells = <2>; 21 interrupt-controller; [all …]
|
| D | exynos4x12-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4x12 SoCs pin-mux and pin-config device tree source 8 * Samsung's Exynos4x12 SoCs pin-mux and pin-config options are listed as device 12 #include "exynos-pinctrl.h" 15 pin- ## _pin { \ 16 samsung,pins = #_pin; \ 17 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \ 18 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \ 22 gpa0: gpa0-gpio-bank { 23 gpio-controller; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include <dt-bindings/pinctrl/samsung.h> 19 gpa: gpa-gpio-bank { 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 26 gpb: gpb-gpio-bank { [all …]
|
| D | s3c2416-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/pinctrl/samsung.h> 16 gpio-controller; 17 #gpio-cells = <2>; 21 gpio-controller; 22 #gpio-cells = <2>; 26 gpio-controller; 27 #gpio-cells = <2>; 31 gpio-controller; 32 #gpio-cells = <2>; [all …]
|
| D | kirkwood-nsa320.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk> 9 /dts-v1/; 11 #include "kirkwood-nsa3x0-common.dtsi" 15 compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pinctrl-names = "default"; 31 /* SATA Activity and Present pins are not connected */ 32 pmx_sata0: pmx-sata0 { [all …]
|
| D | qcom-apq8064-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 sdc4_gpios: sdc4-gpios { 6 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; 11 sdcc1_pins: sdcc1-pin-active { 13 pins = "sdc1_clk"; 14 drive-strengh = <16>; 15 bias-disable; 19 pins = "sdc1_cmd"; 20 drive-strengh = <10>; 21 bias-pull-up; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | am437x-sbc-t43.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/ 6 #include "am437x-cm-t43.dts" 7 #include "compulab-sb-som.dtsi" 10 model = "CompuLab CM-T43 on SB-SOM-T43"; 11 compatible = "compulab,am437x-sbc-t43", "compulab,am437x-cm-t43", "ti,am4372", "ti,am43"; 19 mmc1_pins: mmc1-pins { 20 pinctrl-single,pins = < 32 dss_pinctrl_default: dss-pinctrl-default-pins { 33 pinctrl-single,pins = < [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | qdu1000.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,qdu1000-gcc.h> 7 #include <dt-bindings/clock/qcom,rpmh.h> 8 #include <dt-bindings/dma/qcom-gpi.h> 9 #include <dt-bindings/interconnect/qcom,qdu1000-rpmh.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 15 interrupt-parent = <&intc>; 17 #address-cells = <2>; [all …]
|
| D | sc8280xp-crd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sc8280xp-pmics.dtsi" 17 compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp"; 26 compatible = "pwm-backlight"; 28 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>; 29 power-supply = <&vreg_edp_bl>; 31 pinctrl-names = "default"; [all …]
|
| D | sc7180-idp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 #include "sc7180-firmware-tfa.dtsi" 20 compatible = "qcom,sc7180-idp", "qcom,sc7180"; 30 stdout-path = "serial0:115200n8"; 42 /delete-node/ &hyp_mem; 43 /delete-node/ &xbl_mem; [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/samsung/ |
| D | pinctrl-s3c64xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // S3C64xx specific support for pinctrl-samsung driver. 7 // Based on pinctrl-exynos.c, please see the file for original copyrights. 24 #include "pinctrl-samsung.h" 96 #define PIN_BANK_4BIT(pins, reg, id) \ argument 100 .nr_pins = pins, \ 105 #define PIN_BANK_4BIT_EINTG(pins, reg, id, eoffs) \ argument 109 .nr_pins = pins, \ 112 .eint_mask = (1 << (pins)) - 1, \ 117 #define PIN_BANK_4BIT_EINTW(pins, reg, id, eoffs, emask) \ argument [all …]
|
| D | pinctrl-exynos.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 51 #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ argument 55 .nr_pins = pins, \ 60 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 64 .nr_pins = pins, \ 70 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 74 .nr_pins = pins, \ 80 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 84 .nr_pins = pins, \ 90 #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/samsung/ |
| D | pinctrl-s3c64xx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // S3C64xx specific support for pinctrl-samsung driver. 7 // Based on pinctrl-exynos.c, please see the file for original copyrights. 24 #include "pinctrl-samsung.h" 96 #define PIN_BANK_4BIT(pins, reg, id) \ argument 100 .nr_pins = pins, \ 105 #define PIN_BANK_4BIT_EINTG(pins, reg, id, eoffs) \ argument 109 .nr_pins = pins, \ 112 .eint_mask = (1 << (pins)) - 1, \ 117 #define PIN_BANK_4BIT_EINTW(pins, reg, id, eoffs, emask) \ argument [all …]
|
| D | pinctrl-exynos.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 54 #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ argument 58 .nr_pins = pins, \ 63 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 67 .nr_pins = pins, \ 73 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 77 .nr_pins = pins, \ 83 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 87 .nr_pins = pins, \ 93 #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs) \ argument [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
| D | pinctrl-rzv2m.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <linux/pinctrl/pinconf-generic.h> 28 #include <dt-bindings/pinctrl/rzv2m-pinctrl.h> 34 #define DRV_NAME "pinctrl-rzv2m" 60 * n indicates number of pins in the port, a is the register index 118 struct pinctrl_pin_desc *pins; member 120 const struct rzv2m_pinctrl_data *data; member 148 rzv2m_writel_we(pctrl->base + DI_MSK(port), pin, 1); in rzv2m_pinctrl_set_pfc_mode() 149 rzv2m_writel_we(pctrl->base + EN_MSK(port), pin, 1); in rzv2m_pinctrl_set_pfc_mode() 152 addr = pctrl->base + PFSEL(port) + (pin / 4) * 4; in rzv2m_pinctrl_set_pfc_mode() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/ |
| D | kirkwood-nsa320.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk> 9 /dts-v1/; 11 #include "kirkwood-nsa3x0-common.dtsi" 15 compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pinctrl-names = "default"; 31 /* SATA Activity and Present pins are not connected */ 32 pmx_sata0: pmx-sata0 { [all …]
|
| /kernel/linux/linux-6.6/sound/soc/ |
| D | soc-jack.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-jack.c -- ALSA SoC jack handling 21 * snd_soc_jack_report - Report the current status for a jack 28 * DAPM pins will be enabled or disabled as appropriate and DAPM 40 if (!jack || !jack->jack) in snd_soc_jack_report() 44 dapm = &jack->card->dapm; in snd_soc_jack_report() 46 mutex_lock(&jack->mutex); in snd_soc_jack_report() 48 jack->status &= ~mask; in snd_soc_jack_report() 49 jack->status |= status & mask; in snd_soc_jack_report() 53 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ |
| D | soc-jack.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-jack.c -- ALSA SoC jack handling 27 * snd_soc_jack_report - Report the current status for a jack 34 * DAPM pins will be enabled or disabled as appropriate and DAPM 51 dapm = &jack->card->dapm; in snd_soc_jack_report() 53 mutex_lock(&jack->mutex); in snd_soc_jack_report() 55 jack->status &= ~mask; in snd_soc_jack_report() 56 jack->status |= status & mask; in snd_soc_jack_report() 60 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() 61 enable = pin->mask & jack->status; in snd_soc_jack_report() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/vt8500/ |
| D | pinctrl-wmt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/pinctrl/pinconf-generic.h> 24 #include "pinctrl-wmt.h" 26 static inline void wmt_setbits(struct wmt_pinctrl_data *data, u32 reg, in wmt_setbits() argument 31 val = readl_relaxed(data->base + reg); in wmt_setbits() 33 writel_relaxed(val, data->base + reg); in wmt_setbits() 36 static inline void wmt_clearbits(struct wmt_pinctrl_data *data, u32 reg, in wmt_clearbits() argument 41 val = readl_relaxed(data->base + reg); in wmt_clearbits() 43 writel_relaxed(val, data->base + reg); in wmt_clearbits() 75 struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); in wmt_pmx_get_function_groups() local [all …]
|
| /kernel/linux/linux-6.6/drivers/pinctrl/vt8500/ |
| D | pinctrl-wmt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/pinctrl/pinconf-generic.h> 24 #include "pinctrl-wmt.h" 26 static inline void wmt_setbits(struct wmt_pinctrl_data *data, u32 reg, in wmt_setbits() argument 31 val = readl_relaxed(data->base + reg); in wmt_setbits() 33 writel_relaxed(val, data->base + reg); in wmt_setbits() 36 static inline void wmt_clearbits(struct wmt_pinctrl_data *data, u32 reg, in wmt_clearbits() argument 41 val = readl_relaxed(data->base + reg); in wmt_clearbits() 43 writel_relaxed(val, data->base + reg); in wmt_clearbits() 75 struct wmt_pinctrl_data *data = pinctrl_dev_get_drvdata(pctldev); in wmt_pmx_get_function_groups() local [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/ |
| D | qcom-apq8064-pins.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 sdc4_gpios: sdc4-gpios { 6 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68"; 11 sdcc1_pins: sdcc1-pin-active { 13 pins = "sdc1_clk"; 14 drive-strengh = <16>; 15 bias-disable; 19 pins = "sdc1_cmd"; 20 drive-strengh = <10>; 21 bias-pull-up; [all …]
|