/openbmc/linux/sound/soc/ |
H A D | soc-jack.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-jack.c -- ALSA SoC jack handling 21 * snd_soc_jack_report - Report the current status for a jack 38 unsigned int sync = 0; in snd_soc_jack_report() local 40 if (!jack || !jack->jack) in snd_soc_jack_report() 44 dapm = &jack->card->dapm; in snd_soc_jack_report() 46 mutex_lock(&jack->mutex); in snd_soc_jack_report() 48 jack->status &= ~mask; in snd_soc_jack_report() 49 jack->status |= status & mask; in snd_soc_jack_report() 53 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | adi,ad7768-1.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7768-1 ADC device driver 10 - Michael Hennerich <michael.hennerich@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf 18 const: adi,ad7768-1 26 clock-names: 32 '#address-cells': [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-lm3692x.txt | 1 * Texas Instruments - LM3692x Highly Efficient White LED Driver 3 The LM3692x is an ultra-compact, highly efficient, 4 white-LED driver designed for LCD display backlighting. 11 - compatible: 14 - reg : I2C slave address 15 - #address-cells : 1 16 - #size-cells : 0 19 - enable-gpios : gpio pin to enable/disable the device. 20 - vled-supply : LED supply 21 - ti,ovp-microvolt: Overvoltage protection in [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mux/ |
H A D | gpio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/gpio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based multiplexer controller 10 - Peter Rosin <peda@axentia.se> 22 const: gpio-mux 24 mux-gpios: 26 List of gpios used to control the multiplexer, least significant bit first. 28 '#mux-control-cells': [all …]
|
H A D | mux-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/mux-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 20 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer, 21 0-7 for an 8-way multiplexer, etc. 25 -------------------- 28 specifier using the '#mux-control-cells' or '#mux-state-cells' property. 29 The value of '#mux-state-cells' will always be one greater than the value [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8952.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> 13 - $ref: regulator.yaml# 19 max8952,default-mode: 25 max8952,dvs-mode-microvolt: 32 Array of 4 integer values defining DVS voltages in microvolts. All values 35 max8952,en-gpio: 40 max8952,ramp-speed: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | soc-ac97link.txt | 6 - pinctrl-names: Has to contain following states to setup the correct 7 pinmuxing for the used gpios: 8 "ac97-running": AC97-link is active 9 "ac97-reset": AC97-link reset state 10 "ac97-warm-reset": AC97-link warm reset state 11 - ac97-gpios: List of gpio phandles with args in the order ac97-sync, 12 ac97-sdata, ac97-reset 20 pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset"; 21 pinctrl-0 = <&ac97link_running>; 22 pinctrl-1 = <&ac97link_running>; [all …]
|
H A D | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 28 '#sound-dai-cells': 33 reset-gpios: 36 VA-supply: 39 VP-supply: [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | am200epd.c | 2 * am200epd.c -- Platform device for AM200 EPD kit 7 * License. See the file COPYING in the main directory of this archive for 12 * This work was made possible by help and equipment support from E-Ink 16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600 35 #include <linux/platform_data/video-pxafb.h> 56 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 70 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 84 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable 110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | broadcom-bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 This binding describes Broadcom UART-attached bluetooth chips. 18 - brcm,bcm20702a1 19 - brcm,bcm4329-bt 20 - brcm,bcm4330-bt 21 - brcm,bcm4334-bt [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-freecom-fsg-3.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for the Freecom FSG-3 router. 8 /dts-v1/; 10 #include "intel-ixp42x.dtsi" 11 #include <dt-bindings/input/input.h> 14 model = "Freecom FSG-3"; 15 compatible = "freecom,fsg-3", "intel,ixp42x"; 16 #address-cells = <1>; 17 #size-cells = <1>; 28 stdout-path = "uart0:115200n8"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Beguin <liambeguin@gmail.com> 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': 32 '#clock-cells': 35 spi-max-frequency: 40 - description: PLL2 reference clock. [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-r16-parrot.dts | 4 * Quentin Schulz <quentin.schulz@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 16 * This file is distributed in the hope that it will be useful, 25 * files (the "Software"), to deal in the Software without 33 * included in all copies or substantial portions of the Software. 38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42 * OTHER DEALINGS IN THE SOFTWARE. 45 /dts-v1/; [all …]
|
H A D | sun8i-r16-bananapi-m2m.dts | 2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com> 4 * This file is dual-licensed: you can use it either under the terms 14 * This file is distributed in the hope that it will be useful, 23 * files (the "Software"), to deal in the Software without 31 * included in all copies or substantial portions of the Software. 36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40 * OTHER DEALINGS IN THE SOFTWARE. 43 /dts-v1/; [all …]
|
H A D | sun8i-v40-bananapi-m2-berry.dts | 4 * This file is dual-licensed: you can use it either under the terms 14 * This file is distributed in the hope that it will be useful, 23 * files (the "Software"), to deal in the Software without 31 * included in all copies or substantial portions of the Software. 36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40 * OTHER DEALINGS IN THE SOFTWARE. 43 /dts-v1/; 44 #include "sun8i-r40.dtsi" [all …]
|
H A D | sun8i-r40-bananapi-m2-ultra.dts | 2 * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org> 5 * This file is dual-licensed: you can use it either under the terms 15 * This file is distributed in the hope that it will be useful, 24 * files (the "Software"), to deal in the Software without 32 * included in all copies or substantial portions of the Software. 37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41 * OTHER DEALINGS IN THE SOFTWARE. 44 /dts-v1/; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/imu/ |
H A D | adi,adis16480.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandru Tachici <alexandru.tachici@analog.com> 15 - adi,adis16375 16 - adi,adis16480 17 - adi,adis16485 18 - adi,adis16488 19 - adi,adis16490 20 - adi,adis16495-1 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | gpio-control-nand.txt | 8 - compatible : "gpio-control-nand" 9 - reg : should specify localbus chip select and size used for the chip. The 11 are made in native endianness. 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 14 - gpios : Specifies the GPIO pins to control the NAND device. The order of 18 - bank-width : Width (in bytes) of the device. If not present, the width 20 - chip-delay : chip dependent delay for transferring data from array to 22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read 28 The device tree may optionally contain sub-nodes describing partitions of the 33 gpio-nand@1,0 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | stih407-c8sectpfe.txt | 7 It is typically used in conjunction with one or more demodulator and tuner devices 14 - compatible : Should be "stih407-c8sectpfe" 16 - reg : Address and length of register sets for each device in 17 "reg-names" 19 - reg-names : The names of the register addresses corresponding to the 20 registers filled in "reg": 21 - c8sectpfe: c8sectpfe registers 22 - c8sectpfe-ram: c8sectpfe internal sram 24 - clocks : phandle list of c8sectpfe clocks 25 - clock-names : should be "c8sectpfe" [all …]
|
/openbmc/docs/designs/ |
H A D | device-tree-gpio-naming.md | 1 # Device Tree GPIO Naming in OpenBMC 12 subsystem. The replacement is a "descriptor-based" character device interface. 14 [libgpiod][1] is a suite of tools and library implemented in C and C++ which 17 libgpiod provides a feature where you can access gpios by a name given to them 18 in the kernel device tree files. The problem is there are no naming conventions 25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This 26 [patch][3] shows an example of naming the GPIOs for a system. 28 GPIOs are used for arbitrary things. It's pretty hard to have a coherent naming 29 scheme in the face of a universe of potential use-cases. 37 - Ensure common function GPIOs within OpenBMC use the same naming convention [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | renesas,sh-msiof.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/renesas,sh-msiof.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 13 - $ref: spi-controller.yaml# 18 - items: 19 - const: renesas,msiof-sh73a0 # SH-Mobile AG5 20 - const: renesas,sh-mobile-msiof # generic SH-Mobile compatible 22 - items: [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun8i-r16-parrot.dts | 4 * Quentin Schulz <quentin.schulz@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 16 * This file is distributed in the hope that it will be useful, 25 * files (the "Software"), to deal in the Software without 33 * included in all copies or substantial portions of the Software. 38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42 * OTHER DEALINGS IN THE SOFTWARE. 45 /dts-v1/; [all …]
|
H A D | sun8i-r16-bananapi-m2m.dts | 2 * Copyright (c) 2017 Free Electrons <maxime.ripard@free-electrons.com> 4 * This file is dual-licensed: you can use it either under the terms 14 * This file is distributed in the hope that it will be useful, 23 * files (the "Software"), to deal in the Software without 31 * included in all copies or substantial portions of the Software. 36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40 * OTHER DEALINGS IN THE SOFTWARE. 43 /dts-v1/; [all …]
|
/openbmc/openbmc/meta-ibm/recipes-support/chrony/chrony/huygens/ |
H A D | chrony.conf | 4 # Use a local timeserver in preference to the pool, if it's reachable. 7 # Sync to pulse-per-second from an onboard GPS. 9 # You'll want to enable CONFIG_PPS and CONFIG_PPS_CLIENT_GPIO in your kernel, 10 # and an entry something like this in your device tree: 12 # compatible = "pps-gpio"; 13 # gpios = <&ps7_gpio_0 56 0>; 20 # In first three updates step the system clock instead of slew
|