/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/ |
D | gpio_base.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 40 * Post-requisites: headers required by this unit 53 struct gpio *gpio, in dal_gpio_open() argument 56 return dal_gpio_open_ex(gpio, mode); in dal_gpio_open() 60 struct gpio *gpio, in dal_gpio_open_ex() argument 63 if (gpio->pin) { in dal_gpio_open_ex() 68 // No action if allocation failed during gpio construct in dal_gpio_open_ex() 69 if (!gpio->hw_container.ddc) { in dal_gpio_open_ex() 73 gpio->mode = mode; in dal_gpio_open_ex() [all …]
|
D | gpio_service.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 43 * Post-requisites: headers required by this unit 68 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create() 74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 83 service->ctx = ctx; in dal_gpio_service_create() 87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 91 service->busyness[index_of_id] = in dal_gpio_service_create() 95 if (!service->busyness[index_of_id]) { in dal_gpio_service_create() 101 service->busyness[index_of_id][i] = 0; in dal_gpio_service_create() [all …]
|
D | hw_gpio.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 38 gpio->base.ctx 40 (gpio->regs->reg) 43 struct hw_gpio *gpio) in store_registers() argument 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 46 REG_GET(A_reg, A, &gpio->store.a); in store_registers() 47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers() 52 struct hw_gpio *gpio) in restore_registers() argument 54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers() [all …]
|
D | hw_ddc.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 39 ddc->shifts->field_name, ddc->masks->field_name 42 ddc->base.base.ctx 44 (ddc->regs->reg) 46 struct gpio; 51 dal_hw_gpio_destruct(&pin->base); in dal_hw_ddc_destruct() 77 hw_gpio = &ddc->base; in set_config() 84 regval = REG_GET_3(gpio.MASK_reg, in set_config() 89 switch (config_data->config.ddc.type) { in set_config() 91 /* On plug-in, there is a transient level on the pad in set_config() [all …]
|
D | hw_factory.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 33 struct gpio; 43 uint32_t en); 48 uint32_t en); 53 uint32_t en); 55 struct gpio *gpio); 57 struct gpio *gpio); 59 struct gpio *gpio); 62 uint32_t en); 65 uint32_t en); [all …]
|
D | hw_hpd.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 38 hpd->shifts->field_name, hpd->masks->field_name 41 hpd->base.base.ctx 43 (hpd->regs->reg) 45 struct gpio; 50 dal_hw_gpio_destruct(&pin->base); in dal_hw_hpd_destruct() 74 if (ptr->mode == GPIO_MODE_INTERRUPT) { in get_value() 83 /* in any other modes, operate as normal GPIO */ in get_value() 98 DC_HPD_CONNECT_INT_DELAY, config_data->config.hpd.delay_on_connect / 10, in set_config() 99 DC_HPD_DISCONNECT_INT_DELAY, config_data->config.hpd.delay_on_disconnect / 10); in set_config() [all …]
|
D | hw_generic.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 40 generic->shifts->field_name, generic->masks->field_name 43 generic->base.base.ctx 45 (generic->regs->reg) 47 struct gpio; 52 dal_hw_gpio_destruct(&pin->base); in dal_hw_generic_destruct() 77 GENERIC_EN, config_data->config.generic_mux.enable_output_from_mux, in set_config() 78 GENERIC_SEL, config_data->config.generic_mux.mux_select); in set_config() 96 uint32_t en, in dal_hw_generic_construct() argument 99 dal_hw_gpio_construct(&pin->base, id, en, ctx); in dal_hw_generic_construct() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/ |
D | samsung,s3fwrn5.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - samsung,s3fwrn5-i2c 16 - samsung,s3fwrn82 18 en-gpios: 21 Output GPIO pin used for enabling/disabling the chip 32 wake-gpios: 35 Output GPIO pin used to enter firmware mode and sleep/wakeup control [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 14 powering the R-Car series processors. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: 35 controlled by a GPIO. This is dictated by state of vout1-en pin during [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | mediatek,mt8183-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8183-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@kernel.org> 17 const: mediatek,mt8183-pinctrl 23 reg-names: 25 - const: iocfg0 26 - const: iocfg1 27 - const: iocfg2 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/gpio/ |
D | gpio-pca95xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-pca95xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP PCA95xx I2C GPIO multiplexer 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 Bindings for the family of I2C GPIO multiplexers/expanders: NXP PCA95xx, 19 - items: 20 - const: diodes,pi4ioe5v6534q 21 - const: nxp,pcal6534 [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
D | hw_factory_dcn10.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 151 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) in define_generic_registers() argument 155 generic->regs = &generic_regs[en]; in define_generic_registers() 156 generic->shifts = &generic_shift[en]; in define_generic_registers() 157 generic->masks = &generic_mask[en]; in define_generic_registers() 158 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 163 uint32_t en) in define_ddc_registers() argument 167 switch (pin->id) { in define_ddc_registers() 169 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 170 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
D | hw_factory_dcn21.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 159 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) in define_generic_registers() argument 163 generic->regs = &generic_regs[en]; in define_generic_registers() 164 generic->shifts = &generic_shift[en]; in define_generic_registers() 165 generic->masks = &generic_mask[en]; in define_generic_registers() 166 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 171 uint32_t en) in define_ddc_registers() argument 175 switch (pin->id) { in define_ddc_registers() 177 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 178 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | issi,is31fl319x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vincent Knecht <vincent.knecht@mailoo.org> 14 Previously known as Si-En SN319{0,1,3,6,9}. 26 - issi,is31fl3190 27 - issi,is31fl3191 28 - issi,is31fl3193 29 - issi,is31fl3196 30 - issi,is31fl3199 [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
D | hw_factory_dcn20.c | 2 * Copyright 2013-15 Advanced Micro Devices, Inc. 181 uint32_t en) in define_ddc_registers() argument 185 switch (pin->id) { in define_ddc_registers() 187 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 188 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() 191 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers() 192 ddc->base.regs = &ddc_clk_regs_dcn[en].gpio; in define_ddc_registers() 199 ddc->shifts = &ddc_shift[en]; in define_ddc_registers() 200 ddc->masks = &ddc_mask[en]; in define_ddc_registers() 204 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) in define_hpd_registers() argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn30/ |
D | hw_factory_dcn30.c | 186 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) in define_generic_registers() argument 190 generic->regs = &generic_regs[en]; in define_generic_registers() 191 generic->shifts = &generic_shift[en]; in define_generic_registers() 192 generic->masks = &generic_mask[en]; in define_generic_registers() 193 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 198 uint32_t en) in define_ddc_registers() argument 202 switch (pin->id) { in define_ddc_registers() 204 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 205 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() 208 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn315/ |
D | hw_factory_dcn315.c | 180 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) in define_generic_registers() argument 184 generic->regs = &generic_regs[en]; in define_generic_registers() 185 generic->shifts = &generic_shift[en]; in define_generic_registers() 186 generic->masks = &generic_mask[en]; in define_generic_registers() 187 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 192 uint32_t en) in define_ddc_registers() argument 196 switch (pin->id) { in define_ddc_registers() 198 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 199 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() 202 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx6qdl-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 8 stdout-path = "serial0:115200n8"; 26 * GPIO line, however the i.MX6 UART driver assumes RX happens 30 rs485-rx-en-hog { 31 gpio-hog; 32 gpios = <18 0>; /* GPIO Q */ 33 line-name = "rs485-rx-en"; 34 output-low; 39 gpio-line-names = 43 "", "", "", "DRC02-In1", "", "", "", ""; [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dcn32/ |
D | hw_factory_dcn32.c | 190 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) in define_generic_registers() argument 194 generic->regs = &generic_regs[en]; in define_generic_registers() 195 generic->shifts = &generic_shift[en]; in define_generic_registers() 196 generic->masks = &generic_mask[en]; in define_generic_registers() 197 generic->base.regs = &generic_regs[en].gpio; in define_generic_registers() 202 uint32_t en) in define_ddc_registers() argument 206 switch (pin->id) { in define_ddc_registers() 208 ddc->regs = &ddc_data_regs_dcn[en]; in define_ddc_registers() 209 ddc->base.regs = &ddc_data_regs_dcn[en].gpio; in define_ddc_registers() 212 ddc->regs = &ddc_clk_regs_dcn[en]; in define_ddc_registers() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/xilinx/ |
D | xlnx,csi2rxss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx MIPI CSI-2 Receiver Subsystem 10 - Vishal Sagar <vishal.sagar@xilinx.com> 13 The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2 16 The subsystem consists of a MIPI D-PHY in slave mode which captures the 17 data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the 20 For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem. 21 Please note that this bindings includes only the MIPI CSI-2 Rx controller [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/include/ |
D | gpio_service_interface.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 31 #include "hw/gpio.h" 35 struct gpio *dal_gpio_create( 38 uint32_t en, 42 struct gpio **ptr); 49 struct gpio *dal_gpio_service_create_irq( 54 struct gpio *dal_gpio_service_create_generic_mux( 60 struct gpio **mux); 63 struct gpio *mux, 69 uint32_t en); [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | gpio.h | 2 * Copyright 2012-16 Advanced Micro Devices, Inc. 38 struct gpio { struct 42 uint32_t en; member 47 /* when GPIO comes from VBIOS, it has defined output state */ 57 uint32_t en); 61 uint32_t en); 65 uint32_t en); 69 uint32_t en); 73 uint32_t en); 77 uint32_t en); [all …]
|
/Linux-v6.1/include/linux/regulator/ |
D | max8973-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max8973-regulator.h -- MAXIM 8973 regulator 5 * Interface for regulator driver for MAXIM 8973 DC-DC step-down 38 * struct max8973_regulator_platform_data - max8973 regulator platform data. 48 * control signal from EN input pin. If it is false then 49 * voltage output will be enabled/disabled through EN bit of 51 * @enable_gpio: Enable GPIO. If EN pin is controlled through GPIO from host 52 * then GPIO number can be provided. If no GPIO controlled then 53 * it should be -1. 54 * @dvs_gpio: GPIO for dvs. It should be -1 if this is tied with fixed logic.
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | nvidia,tegra-audio-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 16 - description: PLL A clock 17 - description: PLL A OUT0 clock 18 - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk 20 clock-names: [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/dce80/ |
D | hw_factory_dce80.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 118 uint32_t en) in define_ddc_registers() argument 122 switch (pin->id) { in define_ddc_registers() 124 ddc->regs = &ddc_data_regs[en]; in define_ddc_registers() 125 ddc->base.regs = &ddc_data_regs[en].gpio; in define_ddc_registers() 128 ddc->regs = &ddc_clk_regs[en]; in define_ddc_registers() 129 ddc->base.regs = &ddc_clk_regs[en].gpio; in define_ddc_registers() 136 ddc->shifts = &ddc_shift; in define_ddc_registers() 137 ddc->masks = &ddc_mask; in define_ddc_registers() 141 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) in define_hpd_registers() argument [all …]
|