/linux-6.12.1/drivers/video/fbdev/via/ |
D | via-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support for viafb GPIO ports. 9 #include <linux/gpio/driver.h> 10 #include <linux/gpio/machine.h> 12 #include <linux/via-core.h> 14 #include "via-gpio.h" 17 * The ports we know about. Note that the port-25 gpios are not 30 .vg_name = "VGPIO0", /* Guess - not in datasheet */ 82 * GPIO access functions 87 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); in via_gpio_set() local [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | semtech,sx1501q.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Semtech SX150x GPIO expander 11 - Neil Armstrong <neil.armstrong@linaro.org> 16 - semtech,sx1501q 17 - semtech,sx1502q 18 - semtech,sx1503q 19 - semtech,sx1504q 20 - semtech,sx1505q [all …]
|
D | samsung,pinctrl.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> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 - Tomasz Figa <tomasz.figa@gmail.com> 22 - External GPIO interrupts (see interrupts property in pin controller node); 24 - External wake-up interrupts - multiplexed (capable of waking up the system 25 see interrupts property in external wake-up interrupt controller node - 26 samsung,pinctrl-wakeup-interrupt.yaml); [all …]
|
/linux-6.12.1/arch/arm/boot/dts/hisilicon/ |
D | hi3620-hi4511.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012-2013 Linaro Ltd. 7 /dts-v1/; 13 compatible = "hisilicon,hi3620-hi4511"; 17 stdout-path = "serial0:115200n8"; 25 amba-bus { 31 pinctrl-names = "default", "sleep"; 32 pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>; 33 pinctrl-1 = <&uart0_pmx_idle &uart0_cfg_idle>; 38 pinctrl-names = "default", "sleep"; [all …]
|
/linux-6.12.1/sound/soc/ |
D | soc-ac97.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-ac97.c -- ALSA SoC Audio Layer AC97 support 11 // with code, comments and ideas from :- 17 #include <linux/gpio/consumer.h> 18 #include <linux/gpio/driver.h> 56 return gpio_priv->component; in gpio_to_component() 62 return -EINVAL; in snd_soc_ac97_gpio_request() 72 dev_dbg(component->dev, "set gpio %d to output\n", offset); in snd_soc_ac97_gpio_direction_in() 84 dev_dbg(component->dev, "get gpio %d : %d\n", offset, in snd_soc_ac97_gpio_get() 96 gpio_priv->gpios_set &= ~(1 << offset); in snd_soc_ac97_gpio_set() [all …]
|
/linux-6.12.1/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 1 /* SPDX-License-Identifier: GPL-2.0 12 #include <linux/pinctrl/pinconf-generic.h> 119 * - name: Register name (unused, for documentation purposes only) 120 * - r: Physical register address 121 * - r_width: Width of the register (in bits) 122 * - f_width: Width of the fixed-width register fields (in bits) 123 * - ids: For each register field (from left to right, i.e. MSB to LSB), 137 * - name: Register name (unused, for documentation purposes only) 138 * - r: Physical register address 139 * - r_width: Width of the register (in bits) [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | wlf,wm8960.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 22 clock-names: 24 - const: mclk 26 '#sound-dai-cells': 29 AVDD-supply: 32 DBVDD-supply: 35 DCVDD-supply: [all …]
|
D | wlf,wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 30 - patches@opensource.cirrus.com 39 gpio-controller: true 40 '#gpio-cells': 46 micdet-cfg: 51 micdet-delay: 56 gpio-cfg: 57 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
D | cs42l56.txt | 5 - compatible : "cirrus,cs42l56" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VCP-supply, VLDO-supply : power supplies for the device, 14 - cirrus,gpio-nreset : GPIO controller's phandle and the number 15 of the GPIO used to reset the codec. 17 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 24 - cirrus,ain1a-ref-cfg, ain1b-ref-cfg : boolean, If present, AIN1A or AIN1B are configured 25 as a pseudo-differential input referenced to AIN1REF/AIN3A. 27 - cirrus,ain2a-ref-cfg, ain2b-ref-cfg : boolean, If present, AIN2A or AIN2B are configured 28 as a pseudo-differential input referenced to AIN2REF/AIN3B. [all …]
|
D | cs42l52.txt | 5 - compatible : "cirrus,cs42l52" 7 - reg : the I2C address of the device for I2C 11 - cirrus,reset-gpio : GPIO controller's phandle and the number 12 of the GPIO used to reset the codec. 14 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 21 - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured 23 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 25 - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured 27 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 29 - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/hisilicon/ |
D | hikey970-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/pinctrl/hisi.h> 10 range: gpio-range { 11 #pinctrl-single,gpio-range-cells = <3>; 15 compatible = "pinctrl-single"; 17 #pinctrl-cells = <1>; 18 #gpio-range-cells = <0x3>; 19 pinctrl-single,register-width = <0x20>; 20 pinctrl-single,function-mask = <0x7>; 21 /* pin base, nr pins & gpio function */ [all …]
|
D | hikey960-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/pinctrl/hisi.h> 12 range: gpio-range { 13 #pinctrl-single,gpio-range-cells = <3>; 17 compatible = "pinctrl-single"; 19 #pinctrl-cells = <1>; 20 #gpio-range-cells = <0x3>; 21 pinctrl-single,register-width = <0x20>; 22 pinctrl-single,function-mask = <0x7>; 23 /* pin base, nr pins & gpio function */ [all …]
|
/linux-6.12.1/arch/arm/mach-s3c/ |
D | gpio-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * S3C Platform - GPIO pin configuration 11 /* This file contains the necessary definitions to get the basic gpio 13 * changing the pull-{up,down} configurations. 27 /* forward declaration if gpio-core.h hasn't been included */ 31 * struct samsung_gpio_cfg GPIO configuration 33 * @get_pull: Read the current pull configuration for the GPIO 34 * @set_pull: Set the current pull configuration for the GPIO 35 * @set_config: Set the current configuration for the GPIO 36 * @get_config: Read the current configuration for the GPIO [all …]
|
D | gpio-samsung.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2009-2011 Samsung Electronics Co., Ltd. 11 // Samsung - GPIOlib support 16 #include <linux/gpio.h> 31 #include "regs-gpio.h" 32 #include "gpio-samsung.h" 35 #include "gpio-core.h" 36 #include "gpio-cfg.h" 37 #include "gpio-cfg-helpers.h" 43 void __iomem *reg = chip->base + 0x08; in samsung_gpio_setpull_updown() [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | gpio-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * gpio-regulator.c 14 * Roger Quadros <ext-roger.quadros@nokia.com> 17 * non-controllable regulators, as well as for allowing testing on 28 #include <linux/regulator/gpio-regulator.h> 29 #include <linux/gpio/consumer.h> 50 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_get_value() 51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value() 52 return data->states[ptr].value; in gpio_regulator_get_value() 54 return -EINVAL; in gpio_regulator_get_value() [all …]
|
D | fixed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Roger Quadros <ext-roger.quadros@nokia.com> 13 * non-controllable regulators, as well as for allowing testing on 26 #include <linux/gpio/consumer.h> 55 ret = clk_prepare_enable(priv->enable_clock); in reg_clock_enable() 59 priv->enable_counter++; in reg_clock_enable() 68 clk_disable_unprepare(priv->enable_clock); in reg_clock_disable() 69 priv->enable_counter--; in reg_clock_disable() 77 struct device *dev = rdev->dev.parent; in reg_domain_enable() 80 ret = dev_pm_genpd_set_performance_state(dev, priv->performance_state); in reg_domain_enable() [all …]
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/gpio/driver.h> 22 #include <linux/pinctrl/pinconf-generic.h> 27 #include "../pinctrl/pinctrl-rockchip.h" 29 #define GPIO_TYPE_V1 (0) /* GPIO Version ID reserved */ 30 #define GPIO_TYPE_V2 (0x01000C2B) /* GPIO Version ID 0x01000C2B */ 31 #define GPIO_TYPE_V2_1 (0x0101157C) /* GPIO Version ID 0x0101157C */ 79 void __iomem *reg = bank->reg_base + offset; in rockchip_gpio_writel() 81 if (bank->gpio_type == GPIO_TYPE_V2) in rockchip_gpio_writel() 90 void __iomem *reg = bank->reg_base + offset; in rockchip_gpio_readl() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pci/ |
D | qcom,pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 - enum: 16 - qcom,sa8775p-pcie-ep 17 - qcom,sdx55-pcie-ep 18 - qcom,sm8450-pcie-ep 19 - items: [all …]
|
/linux-6.12.1/sound/pci/hda/ |
D | cs35l41_hda_property.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/gpio/consumer.h> 25 int reset_gpio_index; /* -1 if no reset gpio */ 26 int spkid_gpio_index; /* -1 if no spkid gpio */ 27 int cs_gpio_index; /* -1 if no cs gpio, or cs-gpios already exists, max num amps == 2 */ 36 { "10280BEB", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 }, 37 …{ "10280C4D", 4, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, CS35L41_LEFT, CS35L41_RIGHT }, 0, 1, -1,… 41 * Since this laptop has valid ACPI, we do not need to handle cs-gpios, since that already exists 42 * in the ACPI. The Reset GPIO is also valid, so we can use the Reset defined in _DSD. 44 { "103C89C6", 2, INTERNAL, { CS35L41_RIGHT, CS35L41_LEFT, 0, 0 }, -1, -1, -1, 1000, 4500, 24 }, [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra30-pegatron-chagall.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
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 …]
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | goodix.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * 2010 - 2012 Goodix Technology. 51 /* Our special handling for GPIO accesses through ACPI is x86 specific */ 62 const u8 *cfg, int len); 64 const u8 *cfg, int len); 131 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"), 138 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"), 151 .ident = "Cube I15-TC", 154 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC") 162 * goodix_i2c_read - read data from a register of the i2c slave device. [all …]
|
/linux-6.12.1/drivers/platform/x86/intel/int3472/ |
D | clk_and_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 9 #include <linux/gpio/consumer.h> 16 * 82c0d13a-78c5-4244-9bb1-eb8b539a8d11 18 * through a GPIO. 30 if (clk->ena_gpio) { in skl_int3472_enable_clk() 31 gpiod_set_value_cansleep(clk->ena_gpio, enable); in skl_int3472_enable_clk() 36 args[0].integer.value = clk->imgclk_index; in skl_int3472_enable_clk() 46 acpi_evaluate_dsm(acpi_device_handle(int3472->adev), &img_clk_guid, in skl_int3472_enable_clk() 71 * We're just turning a GPIO on to enable the clock, which operation in skl_int3472_clk_enable() [all …]
|
/linux-6.12.1/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * depends on gpio-nomadik and some handling is intertwined; see nmk_gpio_chips 5 * which is used by this driver to access the GPIO banks array. 10 * Copyright (C) 2011-2013 Linus Walleij <linus.walleij@linaro.org> 18 #include <linux/gpio/driver.h> 41 #include "../pinctrl-utils.h" 43 #include <linux/gpio/gpio-nomadik.h> 46 * pin configurations are represented by 32-bit integers: 48 * bit 0.. 8 - Pin Number (512 Pins Maximum) 49 * bit 9..10 - Alternate Function Selection [all …]
|
/linux-6.12.1/drivers/gpu/drm/tiny/ |
D | st7735r.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/dma-buf.h> 13 #include <linux/gpio/consumer.h> 55 const struct st7735r_cfg *cfg; member 62 struct mipi_dbi_dev *dbidev = drm_to_mipi_dbi_dev(pipe->crtc.dev); in st7735r_pipe_enable() 65 struct mipi_dbi *dbi = &dbidev->dbi; in st7735r_pipe_enable() 69 if (!drm_dev_enter(pipe->crtc.dev, &idx)) in st7735r_pipe_enable() 95 switch (dbidev->rotation) { in st7735r_pipe_enable() 110 if (priv->cfg->rgb) in st7735r_pipe_enable() 167 { .compatible = "jianda,jd-t18003-t01", .data = &jd_t18003_t01_cfg }, [all …]
|