/linux/Documentation/devicetree/bindings/net/ |
H A D | smsc,lan9115.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: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: ethernet-controller.yaml# 18 - const: smsc,lan9115 19 - items: 20 - enum: 21 - smsc,lan89218 [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | st,stm32-pinctrl.yaml | 1 # 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@foss.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 …]
|
H A D | awinic,aw9523-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/awinic,aw9523-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> 13 The Awinic AW9523/AW9523B I2C GPIO Expander featuring 16 multi-function 18 const: awinic,aw9523-pinctrl 23 '#gpio-cells': 26 include/dt-bindings/gpio/gpio.h 29 gpio-controller: true [all …]
|
H A D | cypress,cy8c95x0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrick Rudolph <patrick.rudolph@9elements.com> 14 Pin function configuration is performed on a per-pin basis. 19 - cypress,cy8c9520 20 - cypress,cy8c9540 21 - cypress,cy8c9560 26 gpio-controller: true 28 '#gpio-cells': [all …]
|
H A 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# 11 - Neil Armstrong <neil.armstrong@linaro.org> 16 - semtech,sx1501q 17 - semtech,sx1502q 18 - semtech,sx1503q 19 - semtech,sx1504q 20 - semtech,sx1505q 21 - semtech,sx1506q [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | driver.rst | 26 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/arch/powerpc/include/asm/ |
H A D | xive-regs.h | 1 /* 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/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-mt65xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mt65xx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - $ref: /schemas/i2c/i2c-controller.yaml# 17 - Qii Wang <qii.wang@mediatek.com> 22 - const: mediatek,mt2712-i2c 23 - const: mediatek,mt6577-i2c 24 - const: mediatek,mt6589-i2c 25 - const: mediatek,mt7622-i2c [all …]
|
/linux/drivers/watchdog/ |
H A D | aspeed_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 { .compatible = "aspeed,ast2400-wdt", .data = &ast2400_config }, 58 { .compatible = "aspeed,ast2500-wdt", .data = &ast2500_config }, 59 { .compatible = "aspeed,ast2600-wdt", .data = &ast2600_config }, 90 * * Drive mode: push-pull vs open-drain 103 * and bit 30 represents push-pull or open-drain. With respect to write, magic 131 wdt->ctrl |= WDT_CTRL_ENABLE; in aspeed_wdt_enable() 133 writel(0, wdt->base + WDT_CTRL); in aspeed_wdt_enable() 134 writel(count, wdt->base + WDT_RELOAD_VALUE); in aspeed_wdt_enable() 135 writel(WDT_RESTART_MAGIC, wdt->base + WDT_RESTART); in aspeed_wdt_enable() [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; 23 vph: regulator-fixed { [all …]
|
/linux/arch/arm64/boot/dts/arm/ |
H A D | corstone1000-mps3.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 /dts-v1/; 14 compatible = "arm,corstone1000-mps3"; 19 phy-mode = "mii"; 21 reg-io-width = <2>; 22 smsc,irq-push-pull; 26 compatible = "nxp,usb-isp1763"; 29 bus-width = <16>;
|
/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-eb-bbrevd.dtsi | 25 veth: regulator-veth { 26 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>; [all …]
|
/linux/Documentation/devicetree/bindings/iio/imu/ |
H A D | bosch,bmi160.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonatha [all...] |
H A D | bosch,bmi323.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Bosch BMI323 6-Axi [all...] |
/linux/drivers/gpio/ |
H A D | gpio-wm831x.c | 1 // SPDX-License-Identifier: GPL-2.0+ 23 #include <linux/mfd/wm831x/irq.h> 33 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in() 36 if (wm831x->has_gpio_ena) in wm831x_gpio_direction_in() 47 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_get() 63 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set() 73 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_out() 77 if (wm831x->has_gpio_ena) in wm831x_gpio_direction_out() 95 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_to_irq() 97 return irq_create_mapping(wm831x->irq_domain, in wm831x_gpio_to_irq() [all …]
|
H A D | gpio-wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() 36 switch (wm8994->type) { in wm8994_gpio_request() 44 return -EINVAL; in wm8994_gpio_request() 57 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() 66 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() 83 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() 95 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() 107 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config() 121 return -ENOTSUPP; in wm8994_gpio_set_config() [all …]
|
H A D | gpio-virtuser.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2023-2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 62 atomic_t irq; member 98 init_completion(&ctx->work_completion); in gpio_virtuser_init_irq_work_context() 104 irq_work_queue(&ctx->work); in gpio_virtuser_irq_work_queue_sync() 105 wait_for_completion(&ctx->work_completion); in gpio_virtuser_irq_work_queue_sync() 124 struct gpio_descs *descs = ctx->descs; in gpio_virtuser_get_value_array_atomic() 126 ctx->ret = gpiod_get_array_value(descs->ndescs, descs->desc, in gpio_virtuser_get_value_array_atomic() 127 descs->info, ctx->values); in gpio_virtuser_get_value_array_atomic() 128 complete(&ctx->work_completion); in gpio_virtuser_get_value_array_atomic() [all …]
|
/linux/include/sound/sof/ |
H A D | topology.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 53 /* create new generic component - SOF_IPC_TPLG_COMP_NEW */ 95 /* create new component buffer - SOF_IPC_TPLG_BUFFER_NEW */ 104 /* generic component config data - must always be after struct sof_ipc_comp */ 122 uint32_t no_irq; /**< don't send periodic IRQ to host/DSP */ 132 uint32_t type; /**< DAI type - SOF_DAI_ */ 187 uint32_t operation_mode; /**< push 0, pull 1, In push mode the */ 191 /**< In pull mode the ASRC outputs */ 271 /* new pipeline - SOF_IPC_TPLG_PIPE_NEW */ 286 /* pipeline construction complete - SOF_IPC_TPLG_PIPE_COMPLETE */ [all …]
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | core-scheduling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 ---------------- 16 A cross-HT attack involves the attacker and victim running on different Hyper 18 full mitigation of cross-HT attacks is to disable Hyper Threading (HT). Core 19 scheduling is a scheduler feature that can mitigate some (not all) cross-HT 21 user-designated trusted group can share a core. This increase in core sharing 27 core involves additional overhead - especially when the system is lightly 29 scheduling to perform more poorly compared to SMT-disabled, where N_CPUS is the 33 ----- 35 Using this feature, userspace defines groups of tasks that can be co-scheduled [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5410-smdk5410.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 27 stdout-path = "serial2:115200n8"; 31 compatible = "fixed-clock"; 32 clock-frequency = <24000000>; 33 clock-output-names = "fin_pll"; 34 #clock-cells = <0>; 37 pmic_ap_clk: pmic-ap-clk { 39 compatible = "fixed-clock"; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx31-lite.dts | 1 // 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 …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l36.txt | 5 - 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 converter control source selection. 39 0x00 - Control Port Value [all …]
|
/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 4 * Copyright 2016-2019 NXP 12 #include <soc/fsl/dpaa2-global.h> 14 #include "qbman-portal.h" 54 /* CENA register offsets in memory-backed mode */ 178 return readl_relaxed(p->addr_cinh + offset); in qbman_read_register() 184 writel_relaxed(value, p->addr_cinh + offset); in qbman_write_register() 189 return p->addr_cena + offset; in qbman_get_cmd() 234 return last - first; in qm_cyc_diff() [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32746g-eval.dts | 2 * 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 …]
|
/linux/drivers/iio/imu/bmi160/ |
H A D | bmi160_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BMI160 - Bosch IMU (accel, gyro plus external magnetometer) 15 #include <linux/irq.h> 155 u8 data; /* LSB byte register for X-axis */ 280 return &data->orientation; in bmi160_get_mount_matrix() 306 return -EINVAL; in bmi160_to_sensor() 322 ret = regmap_write(data->regmap, BMI160_REG_CMD, cmd); in bmi160_set_mode() 342 return -EINVAL; in bmi160_set_scale() 344 return regmap_write(data->regmap, bmi160_regs[t].range, in bmi160_set_scale() 354 ret = regmap_read(data->regmap, bmi160_regs[t].range, &val); in bmi160_get_scale() [all …]
|