Home
last modified time | relevance | path

Searched +full:irq +full:- +full:push +full:- +full:pull (Results 1 – 25 of 109) sorted by relevance

12345

/linux-5.10/Documentation/devicetree/bindings/net/
Dsmsc911x.txt1 * Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller
4 - compatible : Should be "smsc,lan<model>", "smsc,lan9115"
5 - reg : Address and length of the io space for SMSC LAN
6 - interrupts : one or two interrupt specifiers
7 - The first interrupt is the SMSC LAN interrupt line
8 - The second interrupt (if present) is the PME (power
11 - phy-mode : See ethernet.txt file in the same directory
14 - reg-shift : Specify the quantity to shift the register offsets by
15 - reg-io-width : Specify the size (in bytes) of the IO accesses that
18 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
[all …]
/linux-5.10/Documentation/driver-api/gpio/
Ddriver.rst26 between 0 and n-1, n being the number of GPIOs managed by the chip.
29 example if a system uses a memory-mapped set of I/O-registers where 32 GPIO
30 lines are handled by one bit per line in a 32-bit register, it makes sense to
44 So for example one platform could use global numbers 32-159 for GPIOs, with a
46 global numbers 0..63 with one set of GPIO controllers, 64-79 with another type
47 of GPIO controller, and on one particular board 80-95 with an FPGA. The legacy
49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders.
60 - methods to establish GPIO line direction
61 - methods used to access GPIO line values
62 - method to set electrical configuration for a given GPIO line
[all …]
/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dst,stm32-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Alexandre TORGUE <alexandre.torgue@st.com>
17 on-chip controllers onto these pads.
22 - st,stm32f429-pinctrl
23 - st,stm32f469-pinctrl
24 - st,stm32f746-pinctrl
25 - st,stm32f769-pinctrl
[all …]
/linux-5.10/arch/powerpc/include/asm/
Dxive-regs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 * Each interrupt source has a 2-bit state machine called ESB
21 * needs to be re-triggered.
24 * manipulate the PQ bits. They must be used with an 8-bytes
41 * Load-after-store ordering
44 * load-after-store ordering. This is required to use StoreEOI.
46 #define XIVE_ESB_LD_ST_MO 0x40 /* Load-after-store ordering */
63 #define TM_NSR 0x0 /* + + - + */
64 #define TM_CPPR 0x1 /* - + - + */
65 #define TM_IPB 0x2 /* - + + + */
[all …]
/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
11 #include <linux/pinctrl/pinconf-generic.h>
19 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
22 #include "../pinctrl-utils.h"
93 * Output type - indicates pin should be configured as push-pull,
130 * struct pmic_gpio_pad - keep current GPIO settings
134 * @have_buffer: Set to true if GPIO output could be configured in push-pull,
135 * open-drain or open-source mode.
138 * @analog_pass: Set to true if GPIO is in analog-pass-through mode.
[all …]
Dpinctrl-ssbi-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/pinctrl/pinconf-generic.h>
20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
23 #include "../pinctrl-utils.h"
57 * struct pm8xxx_pin_data - dynamic configuration for a pin
62 * @open_drain: output buffer configured as open-drain (vs push-pull)
65 * @pull_up_strength: placeholder for selected pull up strength
66 * only used to configure bias when pull up is selected
67 * @output_strength: selector of output-strength
97 {"qcom,drive-strength", PM8XXX_QCOM_DRIVE_STRENGH, 0},
[all …]
/linux-5.10/arch/arm/boot/dts/
Darm-realview-eb-bbrevd.dtsi26 compatible = "regulator-fixed";
27 regulator-name = "veth";
28 regulator-min-microvolt = <3300000>;
29 regulator-max-microvolt = <3300000>;
30 regulator-boot-on;
40 phy-mode = "mii";
41 smsc,irq-active-high;
42 smsc,irq-push-pull;
43 vdd33a-supply = <&veth>;
44 vddvario-supply = <&veth>;
Dqcom-apq8060-dragonboard.dts23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/gpio/gpio.h>
25 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
26 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
27 #include "qcom-msm8660.dtsi"
31 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660";
38 stdout-path = "serial0:115200n8";
42 compatible = "simple-bus";
45 vph: regulator-fixed {
46 compatible = "regulator-fixed";
[all …]
Demev2-kzm9d.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
29 stdout-path = "serial1:115200n8";
33 compatible = "gpio-keys";
35 debounce-interval = <50>;
36 wakeup-source;
37 label = "DSW2-1";
[all …]
Dr8a73a4-ape6evm.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
23 stdout-path = "serial0:115200n8";
36 vcc_mmc0: regulator-mmc0 {
37 compatible = "regulator-fixed";
38 regulator-name = "MMC0 Vcc";
39 regulator-min-microvolt = <2800000>;
40 regulator-max-microvolt = <2800000>;
[all …]
Dexynos5410-smdk5410.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/irq.h>
22 stdout-path = "serial2:115200n8";
26 compatible = "fixed-clock";
27 clock-frequency = <24000000>;
28 clock-output-names = "fin_pll";
29 #clock-cells = <0>;
32 pmic_ap_clk: pmic-ap-clk {
34 compatible = "fixed-clock";
[all …]
Dimx31-lite.dts1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com>
5 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 compatible = "logicpd,imx31-lite", "fsl,imx31";
17 stdout-path = &uart1;
26 compatible = "gpio-leds";
43 nand-bus-width = <8>;
44 nand-ecc-mode = "hw";
[all …]
Dstm32746g-eval.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
45 #include "stm32f746-pinctrl.dtsi"
46 #include <dt-bindings/input/input.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
50 model = "STMicroelectronics STM32746g-EVAL board";
51 compatible = "st,stm32746g-eval", "st,stm32f746";
55 stdout-path = "serial0:115200n8";
68 compatible = "gpio-leds";
[all …]
Dimx53-ard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "fsl,imx53-ard", "fsl,imx53";
20 eim-cs1@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "fsl,eim-bus", "simple-bus";
30 phy-mode = "mii";
31 interrupt-parent = <&gpio2>;
[all …]
Dr8a7779-marzen.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car H1 (R8A77790) Marzen board
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
25 stdout-path = "serial0:115200n8";
33 fixedregulator3v3: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "fixed-3.3V";
36 regulator-min-microvolt = <3300000>;
[all …]
Dsh73a0-kzm9g.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the KZM-A9-GT board
7 * Based on sh73a0-kzm9g.dts
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 model = "KZM-A9-GT";
27 cpu0-supply = <&vdd_dvfs>;
28 operating-points = <1196000 1315000>, /* kHz uV */
[all …]
/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dbosch,bmi160.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Cameron <jic23@kernel.org>
15 https://www.bosch-sensortec.com/bst/products/all_products/bmi160
27 interrupt-names:
29 - INT1
30 - INT2
35 drive-open-drain:
38 open drain. If not set, defaults to push-pull.
[all …]
/linux-5.10/Documentation/devicetree/bindings/input/
Dcap11xx.txt24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This
31 microchip,irq-active-high: By default the interrupt pin is active low
33 high push-pull output.
46 interrupt-parent = <&gpio1>;
50 microchip,sensor-gain = <2>;
59 #address-cells = <1>;
60 #size-cells = <0>;
/linux-5.10/drivers/gpio/
Dgpio-wm831x.c1 // SPDX-License-Identifier: GPL-2.0+
22 #include <linux/mfd/wm831x/irq.h>
32 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in()
35 if (wm831x->has_gpio_ena) in wm831x_gpio_direction_in()
46 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_get()
62 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set()
72 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_out()
76 if (wm831x->has_gpio_ena) in wm831x_gpio_direction_out()
94 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_to_irq()
96 return irq_create_mapping(wm831x->irq_domain, in wm831x_gpio_to_irq()
[all …]
Dgpio-wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request()
35 switch (wm8994->type) { in wm8994_gpio_request()
43 return -EINVAL; in wm8994_gpio_request()
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in()
65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get()
82 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out()
94 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set()
106 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config()
120 return -ENOTSUPP; in wm8994_gpio_set_config()
[all …]
Dgpio-max732x.c1 // SPDX-License-Identifier: GPL-2.0-only
28 * - Push Pull Output
29 * - Input
30 * - Open Drain I/O
39 * - Group A : by I2C address 0b'110xxxx
40 * - Group B : by I2C address 0b'101xxxx
54 * NOTE: MAX7328/MAX7329 are drop-in replacements for PCF8574/a, so
59 #define PORT_OUTPUT 0x1 /* 'O' Push-Pull, Output Only */
61 #define PORT_OPENDRAIN 0x3 /* 'P' Open-Drain, I/O */
163 client = group_a ? chip->client_group_a : chip->client_group_b; in max732x_writeb()
[all …]
/linux-5.10/include/sound/sof/
Dtopology.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
52 /* create new generic component - SOF_IPC_TPLG_COMP_NEW */
93 /* create new component buffer - SOF_IPC_TPLG_BUFFER_NEW */
102 /* generic component config data - must always be after struct sof_ipc_comp */
120 uint32_t no_irq; /**< don't send periodic IRQ to host/DSP */
130 uint32_t type; /**< DAI type - SOF_DAI_ */
183 uint32_t operation_mode; /**< push 0, pull 1, In push mode the */
187 /**< In pull mode the ASRC outputs */
267 /* new pipeline - SOF_IPC_TPLG_PIPE_NEW */
282 /* pipeline construction complete - SOF_IPC_TPLG_PIPE_COMPLETE */
[all …]
/linux-5.10/Documentation/devicetree/bindings/memory-controllers/
Dexynos-srom.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/exynos-srom.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
19 - const: samsung,exynos4210-srom
24 "#address-cells":
27 "#size-cells":
33 <bank-number> 0 <parent address of bank> <size>
37 "^.*@[0-3],[a-f0-9]+$":
[all …]
/linux-5.10/Documentation/devicetree/bindings/sound/
Dcs35l36.txt5 - compatible : "cirrus,cs35l36"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost
18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA.
24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value.
32 - cirrus,multi-amp-mode : Boolean to determine if there are more than
33 one amplifier in the system. If more than one it is best to Hi-Z the ASP
36 - cirrus,boost-ctl-select : Boost conerter control source selection.
39 0x00 - Control Port Value
[all …]
/linux-5.10/drivers/iio/imu/bmi160/
Dbmi160_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * BMI160 - Bosch IMU (accel, gyro plus external magnetometer)
16 #include <linux/irq.h>
150 u8 data; /* LSB byte register for X-axis */
275 return &data->orientation; in bmi160_get_mount_matrix()
301 return -EINVAL; in bmi160_to_sensor()
317 ret = regmap_write(data->regmap, BMI160_REG_CMD, cmd); in bmi160_set_mode()
337 return -EINVAL; in bmi160_set_scale()
339 return regmap_write(data->regmap, bmi160_regs[t].range, in bmi160_set_scale()
349 ret = regmap_read(data->regmap, bmi160_regs[t].range, &val); in bmi160_get_scale()
[all …]

12345