/openbmc/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> 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: 33 bias-pull-up: [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 | pinctrl-max77620.txt | 6 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt> 11 -------------------------- 14 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>. 15 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per 16 <pinctrl-bindings.txt>. 19 sub-node have following properties: 22 ------------------ 23 - pins: List of pins. Valid values of pins properties are: 27 ------------------- 29 <pinctrl-bindings.txt>. Absence of properties will leave the configuration [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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/ |
H A D | pinctrl-bindings.txt | 4 such as pull-up/down, tri-state, drive-strength etc are designated as pin 15 need to reconfigure pins at run-time, for example to tri-state pins when the 47 pinctrl-0: List of phandles, each pointing at a pin configuration 65 pinctrl-1: List of phandles, each pointing at a pin configuration 68 pinctrl-n: List of phandles, each pointing at a pin configuration 70 pinctrl-names: The list of names to assign states. List entry 0 defines the 78 pinctrl-names = "active", "idle"; 79 pinctrl-0 = <&state_0_node_a>; 80 pinctrl-1 = <&state_1_node_a &state_1_node_b>; 85 pinctrl-0 = <&state_0_node_a>; [all …]
|
/openbmc/docs/ |
H A D | maintainer-workflow.md | 5 for sub-project maintainers to follow before approving patches. 7 - Manually verify the contributor has signed the ICLA (individual) or is listed 9 - Executed CLAs can be found [in the CLA repository][1]. 10 - If you were not added to the appropriate CLA repository ACL send an email to 12 - If a CLA for the contributor is found, accept the patch(1). 13 - If a CLA is not found, request that the contributor execute one and send it to 15 - Do not accept the patch(1) until a signed CLA (individual _or_ corporate) 17 - The CCLA form can be found [here][2]. 18 - The ICLA form can be found [here][3]. 21 forks of upstream projects, like the Linux kernel or U-Boot. [all …]
|
/openbmc/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 5 - Edward A. Falk <efalk@google.com> 10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6) 23 CDROMSTOP Stop the cdrom drive 24 CDROMSTART Start the cdrom drive 33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting 34 CDROMMULTISESSION Obtain the start-of-last-session 40 CDROMRESET hard-reset the drive 41 CDROMVOLREAD Get the drive's volume setting 47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk) 49 CDROMGETSPINDOWN return 4-bit spindown value [all …]
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | pinconf-generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 24 * enum pin_config_param - possible pin configuration parameters 31 * transition from say pull-up to pull-down implies that you disable 32 * pull-up in the process, this setting disables all biasing. 34 * mode, also know as "third-state" (tristate) or "high-Z" or "floating". 36 * if for example some other pin is going to drive the signal connected 40 * impedance to GROUND). If the argument is != 0 pull-down is enabled, 52 * impedance to VDD). If the argument is != 0 pull-up is enabled, [all …]
|
/openbmc/linux/drivers/pinctrl/ |
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> 26 #include "pinctrl-utils.h" 37 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL, false), 38 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL, false), 39 PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL, false), 40 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA", true), 41 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH_UA, "output drive strength", "uA", true), [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 75 supports pin function multiplexing as well as pin bias and drive 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 86 functionality. This driver supports the pinmux, push-pull and 87 open drain configuration for the GPIO pins of AS3722 devices. It also 117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 150 called pinctrl-cy8c95x0. [all …]
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | Kconfig | 20 96Board Open Platform Specifications. Features: 21 - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) 22 - 1GiB RAM 23 - 8GiB eMMC, uSD slot 24 - WiFi, Bluetooth and GPS module 25 - 2x Host, 1x Device USB port 26 - HDMI 27 - 20-pin low speed and 40-pin high speed expanders, 4 LED, 3 buttons 33 96Board Open Platform Specifications. Features: 34 - Qualcomm Snapdragon 820C SoC - APQ8096 (4xKyro CPU) [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 312 | 4 # Test drive-mirror with quorum 8 # is that drive-mirror will try the efficient representation of zeroes 58 echo '### Create all images' # three source (quorum), one destination 60 TEST_IMG="$TEST_IMG.0" _make_test_img -o cluster_size=64k 10M 61 TEST_IMG="$TEST_IMG.1" _make_test_img -o cluster_size=64k 10M 62 TEST_IMG="$TEST_IMG.2" _make_test_img -o cluster_size=64k 10M 63 TEST_IMG="$TEST_IMG.3" _make_test_img -o cluster_size=64k 10M 65 quorum="driver=raw,file.driver=quorum,file.vote-threshold=2" 74 echo '### Output of qemu-img map (empty quorum)' 76 $QEMU_IMG map --image-opts $quorum | _filter_qemu_img_map [all …]
|
H A D | 155 | 5 # mirror block job; in "existing" modes (drive-mirror with 6 # mode=existing and blockdev-mirror) the backing chain should not be 32 source_img = os.path.join(iotests.test_dir, 'source.' + iotests.imgfmt) 38 # existing: If True, explicitly create the target image and blockdev-add it 43 # for the blockdev-add command 50 # chain opened right away. If False, blockdev-add 52 # is supposed to open the backing chain. 53 # use_iothread: If True, an iothread is configured for the virtio-blk device 63 qemu_img('create', '-f', iotests.imgfmt, back0_img, '1440K') 64 qemu_img('create', '-f', iotests.imgfmt, '-b', back0_img, [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | nvme.rst | 5 QEMU provides NVMe emulation through the ``nvme``, ``nvme-ns`` and 6 ``nvme-subsys`` devices. 12 `Simple Copy`_, `Zoned Namespaces`_, `metadata`_ and `End-to-End Data 19 -------------------- 32 .. code-block:: console 34 -drive file=nvm.img,if=none,id=nvm 35 -device nvme,serial=deadbeef,drive=nvm 38 are mentioned here, but see ``-device nvme,help`` to list all possible 46 The number of MSI-X vectors that the device should support. 51 ``use-intel-id`` (default: ``off``) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 Drive a GPIO line that can be used to restart the system from a restart handler. 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by [all …]
|
/openbmc/linux/Documentation/cdrom/ |
H A D | cdrom-standard.rst | 2 A Linux CD-ROM standard 14 Linux is probably the Unix-like operating system that supports 18 - The large list of hardware devices available for the many platforms 19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.) 20 - The open design of the operating system, such that anybody can write a 22 - There is plenty of source code around as examples of how to write a driver. 29 This divergence of behavior has been very significant for CD-ROM 30 devices; the way a particular drive reacts to a `standard` *ioctl()* 32 their drivers totally inconsistent, the writers of Linux CD-ROM 35 maintain uniform behavior across all the Linux CD-ROM drivers. [all …]
|
/openbmc/u-boot/drivers/pinctrl/ |
H A D | pinctrl-sandbox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 "1-wire gpio", 44 { "bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 }, 45 { "bias-high-impedance", PIN_CONFIG_BIAS_HIGH_IMPEDANCE, 0 }, 46 { "bias-bus-hold", PIN_CONFIG_BIAS_BUS_HOLD, 0 }, 47 { "bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 1 }, 48 { "bias-pull-down", PIN_CONFIG_BIAS_PULL_DOWN, 1 }, 49 { "bias-pull-pin-default", PIN_CONFIG_BIAS_PULL_PIN_DEFAULT, 1 }, 50 { "drive-open-drain", PIN_CONFIG_DRIVE_OPEN_DRAIN, 0 }, 51 { "drive-open-source", PIN_CONFIG_DRIVE_OPEN_SOURCE, 0 }, [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-tc3589x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson 6 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 40 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get() 55 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set() 67 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_output() 80 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_input() 91 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get_direction() 110 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set_config() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utresdecode.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utresdecode - Resource descriptor keyword strings 28 "0 - Good Configuration", 29 "1 - Acceptable Configuration", 30 "2 - Suboptimal Configuration", 31 "3 - ***Invalid Configuration***", 272 "Bias Pull-up", 273 "Bias Pull-down", 278 "Drive Open Drain", 279 "Drive Open Source", [all …]
|
/openbmc/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. 37 Selects the source of the BST_CTL target VBST voltage for the boost [all …]
|
/openbmc/qemu/tests/vm/ |
H A D | basevm.py | 4 # Copyright 2017-2019 Red Hat Inc. 11 # the COPYING file in the top-level directory. 62 'block' : "-drive file={},if=none,id=drive0,cache=writeback "\ 63 "-device virtio-blk,drive=drive0,bootindex=0", 64 'scsi' : "-device virtio-scsi-device,id=scsi "\ 65 "-drive file={},format=raw,if=none,id=hd0 "\ 66 "-device scsi-hd,drive=hd0,bootindex=0", 111 self._tmpdir = os.path.realpath(tempfile.mkdtemp(prefix="vm-test-", 118 open(self._config['ssh_key_file']).read().rstrip() 120 open(self._config['ssh_pub_key_file']).read().rstrip() [all …]
|
/openbmc/qemu/docs/system/ppc/ |
H A D | powernv.rst | 4 PowerNV (as Non-Virtualized) is the "bare metal" platform using the 16 ----------------- 24 * Simple OCC is an on-chip micro-controller used for power management tasks. 30 --------------- 44 -------- 48 initramfs ``skiroot``. Source code can be found on the `OpenPOWER account at 49 GitHub <https://github.com/open-power>`_. 52 `OpenPOWER <https://github.com/open-power/op-build/releases/>`__ site. 58 --------------------------- 60 KVM acceleration in Linux Power hosts is provided by the kvm-hv and [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | pinctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 13 * struct pinconf_param - pin config parameters 27 * struct pinctrl_ops - pin control operations, to be implemented by 47 * in this driver. (necessary for pin-muxing) 50 * certain device to. (necessary for pin-muxing) 54 * may be ignored. (necessary for pin-muxing against a single pin) 59 * (necessary for pin-muxing against a pin group) 60 * @pinconf_num_params: number of driver-specific parameters to be parsed 61 * from device trees (necessary for pin-configuration) 63 * device trees (necessary for pin-configuration) [all …]
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | tuxruntest.py | 10 # SPDX-License-Identifier: GPL-2.0-or-later 24 # Tests are ~10-40s, allow for --debug/--enable-gcov overhead 32 print(f"{tagname}/{default} -> {utag}") 47 # Pre-init TuxRun specific settings: Most machines work with 49 # config. To avoid open coding everything we store all these 70 failure_message='Kernel panic - not syncing', 82 run_cmd([self.zstd, "-f", "-d", disk_image_zst, 83 "-o", disk_image]) 84 # zstd copies source archive permissions for the output 92 def prepare_run(self, kernel, disk, drive, dtb=None, console_index=0): argument [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 17 stdout-path = "serial0:115200n8"; 26 vdd-supply = <&vdd_gpu>; 31 /delete-property/ dmas; 32 /delete-property/ dma-names; 45 vcc-supply = <&vdd_1v8>; 46 address-width = <8>; 49 read-only; 55 clock-frequency = <400000>; [all …]
|