/linux/arch/arm/boot/dts/st/ |
H A D | stm32h7-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 24 * restriction, including without limitation the rights to use, 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 47 i2c1_pins_a: i2c1-0 { 51 bias-disable; 52 drive-open-drain; 53 slew-rate = <0>; 57 ethernet_rmii: rmii-0 { [all …]
|
H A D | stm32f4-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 24 * restriction, including without limitation the rights to use, 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 44 #include <dt-bindings/mfd/stm32f4-rcc.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 52 interrupt-parent = <&exti>; 56 gpio-controller; [all …]
|
H A D | stm32mp133c-prihmb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 10 #include "stm32mp13-pinctrl.dtsi" 13 model = "Priva E-Measuringbox board"; 18 mdio-gpio0 = &mdio0; 27 stdout-path = "serial0:115200n8"; [all …]
|
H A D | stm32mp151a-prtt1l.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxad-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 18 mdio-gpio0 = &mdio0; 22 led-controller-0 { 23 compatible = "gpio-leds"; [all …]
|
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 24 * restriction, including without limitation the rights to use, 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 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"; [all …]
|
/linux/Documentation/process/ |
H A D | 7.AdvancedTopics.rst | 12 ------------------------- 14 The use of distributed version control for the kernel began in early 2002, 27 teach the reader how to use git; that would be sufficient material for a 32 https://git-scm.com/ 34 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html 39 understanding of how git works before trying to use it to make patches 40 available to others. A git-using developer should be able to obtain a copy 42 the tree, use branches, etc. An understanding of git's tools for the 45 remote branches, the index, fast-forward merges, pushes and pulls, detached 54 server with git-daemon is relatively straightforward if you have a system [all …]
|
/linux/Documentation/maintainer/ |
H A D | rebasing-and-merging.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Git source-code management system. Git is a powerful tool with a lot of 10 ways to use those features. This document looks in particular at the use 11 of rebasing and merging. Maintainers often get in trouble when they use 30 - Changing the parent (starting) commit upon which a series of patches is 36 - Changing the history of a set of patches by fixing (or deleting) broken 48 - History that has been exposed to the world beyond your private system 54 That said, there are always exceptions. Some trees (linux-next being 61 - Do not rebase a branch that contains history created by others. If you 67 - Do not reparent a tree without a good reason to do so. Just being on a [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/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 47 for GPIO use. 80 will be called pinctrl-apple-gpio. 83 bool "Axis ARTPEC-6 pin controller driver" 88 This is the driver for the Axis ARTPEC-6 pin controller. This driver 91 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 100 functionality. This driver supports the pinmux, push-pull and 129 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 153 The Awinic AW9523/AW9523B is a multi-function I2C GPIO 180 called pinctrl-cy8c95x0. [all …]
|
H A D | pinconf-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 22 #include <linux/pinctrl/pinconf-generic.h> 28 #include "pinctrl-utils.h" 35 PCONFDUMP(PIN_CONFIG_BIAS_PULL_DOWN, "input bias pull down", "ohms", true), 37 "input bias pull to pin specific state", "ohms", true), 38 PCONFDUMP(PIN_CONFIG_BIAS_PULL_UP, "input bias pull up", "ohms", true), 41 PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL, false), 74 ret = pin_config_group_get(dev_name(pctldev->dev), in pinconf_generic_dump_one() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 14 and generic. Pin control bindings should use the properties defined below 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: [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 | 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 | qcom,pmic-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 19 - enum: 20 - qcom,pm2250-gpio 21 - qcom,pm660-gpio 22 - qcom,pm660l-gpio 23 - qcom,pm6125-gpio [all …]
|
H A D | renesas,rzg2l-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/renesas,rzg2l-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 11 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 16 Pin multiplexing and GPIO configuration is performed on a per-pin basis. 24 - items: 25 - enum: 26 - renesas,r9a07g043-pinctrl # RZ/G2UL{Type-1,Type-2} and RZ/Five [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio.txt | 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 11 bindings use it, but are only supported for compatibility reasons and should not 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; 32 data-gpios = <&gpio1 12 0>, 44 recommended to use the two-cell approach. [all …]
|
/linux/Documentation/driver-api/gpio/ |
H A D | driver.rst | 19 GPIO chip. The use case is the indicative: certain lines in a system may be 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 31 use hardware offsets 0..31 for these, corresponding to bits 0..31 in the 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 48 numbers need not be contiguous; either of those platforms could also use numbers 49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders. [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-winbond.c | 1 // SPDX-License-Identifier: GPL-2.0+ 145 return -EBUSY; in winbond_sio_enter() 206 * struct winbond_gpio_port_conflict - possibly conflicting device information 209 * is located (or WB_SIO_DEV_NONE - don't select any 226 * struct winbond_gpio_info - information about a particular GPIO port (device) 232 * @outputppbit: index of a push-pull output driver mode bit 278 /* special conflict handling so doesn't use conflict data */ 361 *gpio_num -= 8; in winbond_gpio_get_info() 396 winbond_sio_select_logical(*base, info->dev); in winbond_gpio_get() 398 val = winbond_sio_reg_btest(*base, info->datareg, offset); in winbond_gpio_get() [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 …]
|
/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 */ 101 uint32_t reserved; /**< reserved for future use */ 104 /* generic component config data - must always be after struct sof_ipc_comp */ 113 /* reserved for future use */ 132 uint32_t type; /**< DAI type - SOF_DAI_ */ 179 /**< use 0 to indicate need to get */ 182 /**< use 0 to indicate need to get */ 187 uint32_t operation_mode; /**< push 0, pull 1, In push mode the */ [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-eb-bbrevd.dtsi | 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 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; [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/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/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/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018 Covalent IO, Inc. http://covalent.io 193 env.type = o->map; in test_start_subtest() 194 env.subtest = t->title; in test_start_subtest() 195 env.prepend = o->prepend; in test_start_subtest() 205 int error = env.fail_cnt - env.fail_last; in test_end_subtest() 228 printf(" Usage: %s --cgroup <cgroup_path>\n", argv[0]); in usage() 231 printf(" --%-12s", long_options[i].name); in usage() 236 printf(" -%c\n", long_options[i].val); in usage() 279 return -EINVAL; in sockmap_init_ktls() [all …]
|