| /linux/Documentation/devicetree/bindings/fpga/ |
| H A D | lattice,sysconfig.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vladimir Georgiev <v.georgiev@metrotek.ru> 23 - lattice,sysconfig-ecp5 28 program-gpios: 34 init-gpios: 40 done-gpios: 47 - compatible 48 - reg [all …]
|
| /linux/include/linux/mfd/ |
| H A D | tps65010.h | 7 * This program is free software; you can redistribute it and/or modify it 24 * with this program; if not, write to the Free Software Foundation, Inc., 34 * ---------------------------------------------------------------------------- 36 * ---------------------------------------------------------------------------- 109 * ---------------------------------------------------------------------------- 111 * ---------------------------------------------------------------------------- 127 * ---------------------------------------------------------------------------- 129 * ---------------------------------------------------------------------------- 133 * 0 mA -- DON'T DRAW (might supply power instead) 134 * 100 mA -- usb unit load (slowest charge rate) [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A D | board-osk.c | 2 * linux/arch/arm/mach-omap1/board-osk.c 8 * This program is free software; you can redistribute it and/or modify it 25 * with this program; if not, write to the Free Software Foundation, Inc., 44 #include <linux/platform_data/gpio-omap.h> 46 #include <linux/soc/ti/omap1-io.h> 48 #include <asm/mach-types.h> 59 /* Name of the GPIO chip used by the OMAP for GPIOs 0..15 */ 60 #define OMAP_GPIO_LABEL "gpio-0-15" 65 /* TPS65010 has four GPIOs. nPG and LED2 can be treated like GPIOs with 66 * alternate pin configurations for hardware-controlled blinking. [all …]
|
| /linux/Documentation/devicetree/bindings/leds/backlight/ |
| H A D | ti,lm3509.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrick Gansterer <paroga@paroga.com> 23 "#address-cells": 26 "#size-cells": 29 reset-gpios: 32 ti,brightness-rate-of-change-us: 36 ti,oled-mode: 49 The control register that is used to program the two current sinks. [all …]
|
| H A D | lm3630a-backlight.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/lm3630a-backlight.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI LM3630A High-Efficiency Dual-String White LED 10 - Lee Jones <lee@kernel.org> 11 - Daniel Thompson <daniel.thompson@linaro.org> 12 - Jingoo Han <jingoohan1@gmail.com> 15 The LM3630A is a current-mode boost converter which supplies the power and 26 '#address-cells': [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | c2port.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 This program is free software; you can redistribute it and/or modify 15 This program is distributed in the hope that it will be useful, 23 -------- 26 C2 Interface used for in-system programming of micro controllers. 28 By using this driver you can reprogram the in-system flash without EC2 30 where the micro controller is connected via special GPIOs pins. 33 ---------- 38 - AN127: FLASH Programming via the C2 Interface at 41 - C2 Specification at [all …]
|
| /linux/arch/mips/alchemy/common/ |
| H A D | gpiolib.c | 2 * Copyright (C) 2007-2009, OpenWrt.org, Florian Fainelli <florian@openwrt.org> 5 * This program is free software; you can redistribute it and/or modify it 22 * with this program; if not, write to the Free Software Foundation, Inc., 28 * Au1300 is totally different: 1 block with up to 128 GPIOs 35 #include <asm/mach-au1x00/gpio-au1000.h> 36 #include <asm/mach-au1x00/gpio-au1300.h> 100 .label = "alchemy-gpio1", 110 .label = "alchemy-gpio2", 150 .label = "alchemy-gpic",
|
| /linux/Documentation/driver-api/ |
| H A D | ptp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 - Set time 19 - Get time 20 - Shift the clock by a given offset atomically 21 - Adjust clock frequency 24 - Time stamp external events 25 - Period output signals configurable from user space 26 - Low Pass Filter (LPF) access from user space 27 - Synchronization of the Linux system time via the PPS subsystem 54 ioctls. A program may query, enable, configure, and disable the [all …]
|
| /linux/drivers/platform/cznic/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 26 called turris-omnia-mcu. 31 bool "Turris Omnia MCU GPIOs" 40 - get front button press events (the front button can be configured 43 - enable / disable USB port voltage regulators and to detect USB 45 - detect MiniPCIe / mSATA card presence in MiniPCIe port 0, 46 - configure resets of various peripherals on board revisions 32+, 47 - enable / disable the VHV voltage regulator to the SOC in order to be 48 able to program SOC's OTP on board revisions 32+, [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-osd3358-sm-red.dts | 1 //SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018 Octavo Systems LLC - https://www.octavosystems.com/ 4 * This program is free software; you can redistribute it and/or modify 9 /dts-v1/; 12 #include "am335x-osd335x-common.dtsi" 13 #include <dt-bindings/interrupt-controller/irq.h> 15 #include <dt-bindings/display/tda998x.h> 18 model = "Octavo Systems OSD3358-SM-RED"; 19 compatible = "oct,osd3358-sm-refdesign", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; 23 regulator-min-microvolt = <1800000>; [all …]
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | warp.dts | 4 * Copyright (c) 2008-2009 PIKA Technologies 8 * License version 2. This program is licensed "as is" without 12 /dts-v1/; 15 #address-cells = <2>; 16 #size-cells = <1>; 19 dcr-parent = <&{/cpus/cpu@0}>; 27 #address-cells = <1>; 28 #size-cells = <0>; 34 clock-frequency = <0>; /* Filled in by zImage */ 35 timebase-frequency = <0>; /* Filled in by zImage */ [all …]
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ampere-mtjade.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500"; 12 * i2c bus 50-57 assigned to NVMe slot 0-7 24 * i2c bus 60-67 assigned to NVMe slot 8-15 36 * i2c bus 70-77 assigned to NVMe slot 16-23 48 * i2c bus 80-81 assigned to NVMe M2 slot 0-1 60 stdout-path = &uart5; [all …]
|
| /linux/arch/arm/mach-sa1100/ |
| H A D | collie.c | 2 * linux/arch/arm/mach-sa1100/collie.c 7 * This file contains all Collie-specific tweaks. 9 * This program is free software; you can redistribute it and/or modify 15 * 03-06-2004 John Lenz <lenz@cs.wisc.edu> 16 * 06-04-2002 Chris Larson <kergoth@digitalnemesis.net> 17 * 04-16-2001 Lineo Japan,Inc. ... 24 #include <linux/platform_data/sa11x0-serial.h> 34 #include <linux/power/gpio-charger.h> 39 #include <asm/mach-types.h> 51 #include <linux/platform_data/mfd-mcp-sa11x0.h> [all …]
|
| /linux/drivers/fsi/ |
| H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 132 msg->msg <<= bits; in msg_push_bits() 133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits() 134 msg->bits += bits; in msg_push_bits() 142 top = msg->bits & 0x3; in msg_push_crc() 144 /* start bit, and any non-aligned top bits */ in msg_push_crc() 145 crc = crc4(0, 1 << top | msg->msg >> (msg->bits - top), top + 1); in msg_push_crc() [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support 77 return pctldev->desc->name; in pinctrl_dev_get_name() 83 return dev_name(pctldev->dev); in pinctrl_dev_get_devname() 89 return pctldev->driver_data; in pinctrl_dev_get_drvdata() 94 * get_pinctrl_dev_from_devname() - look up pin controller device 110 if (!strcmp(dev_name(pctldev->dev), devname)) { in get_pinctrl_dev_from_devname() 129 if (device_match_of_node(pctldev->dev, np)) { in get_pinctrl_dev_from_of_node() [all …]
|
| /linux/include/soc/at91/ |
| H A D | atmel_tcb.h | 4 * This program is free software; you can redistribute it and/or modify 17 * Many 32-bit Atmel SOCs include one or more TC blocks, each of which holds 18 * three general-purpose 16-bit timers. These timers share one register bank. 23 * clocks or clock gates, and per-timer TIOA and TIOB signals used for PWM 25 * else they will be used as GPIOs or for a different controller. 37 * struct atmel_tcb_config - SoC data for a Timer/Counter Block 50 * struct atmel_tc - information about a Timer/Counter Block 80 /* platform-specific ATMEL_TC_TIMER_CLOCKx divisors (0 means 32KiHz) */ 85 * Two registers have block-wide controls. These are: configuring the three 119 * when it's not "external") is silicon-specific. AT91 platforms use one [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-omap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2005 Nokia Corporation 9 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 27 #include <linux/platform_data/gpio-omap.h> 84 #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage) 112 bank->context.oe = omap_gpio_rmw(bank->base + bank->regs->direction, in omap_set_gpio_direction() 121 void __iomem *reg = bank->base; in omap_set_gpio_dataout_reg() 125 reg += bank->regs->set_dataout; in omap_set_gpio_dataout_reg() 126 bank->context.dataout |= l; in omap_set_gpio_dataout_reg() 128 reg += bank->regs->clr_dataout; in omap_set_gpio_dataout_reg() [all …]
|
| /linux/drivers/pinctrl/spear/ |
| H A D | pinctrl-spear.h | 8 * License version 2. This program is licensed "as is" without any 26 * struct spear_pmx_mode - SPEAr pmx mode 42 * struct spear_muxreg - SPEAr mux reg configuration 92 * struct spear_modemux - SPEAr mode mux configuration 104 * struct spear_pingroup - SPEAr pin group configurations 123 * struct spear_function - SPEAr pinctrl mux function 135 * struct spear_pinctrl_machdata - SPEAr pin controller machine driver 138 * All pins which are also GPIOs must be listed first within the *array, 172 * struct spear_pmx - SPEAr pinctrl mux 190 regmap_read(pmx->regmap, reg, &val); in pmx_readl() [all …]
|
| H A D | pinctrl-plgpio.c | 8 * License version 2. This program is licensed "as is" without any 60 * machines where mapping b/w pin and offset is not 1-to-1. 62 * machines where mapping b/w pin and offset is not 1-to-1. 121 if (plgpio->p2o && (plgpio->p2o_regs & PTO_DIR_REG)) { in plgpio_direction_input() 122 offset = plgpio->p2o(offset); in plgpio_direction_input() 123 if (offset == -1) in plgpio_direction_input() 124 return -EINVAL; in plgpio_direction_input() 127 spin_lock_irqsave(&plgpio->lock, flags); in plgpio_direction_input() 128 plgpio_reg_set(plgpio->regmap, offset, plgpio->regs.dir); in plgpio_direction_input() 129 spin_unlock_irqrestore(&plgpio->lock, flags); in plgpio_direction_input() [all …]
|
| /linux/arch/arm/mach-orion5x/ |
| H A D | dns323-setup.c | 2 * arch/arm/mach-orion5x/dns323-setup.c 10 * This program is free software; you can redistribute it and/or modify 33 #include <asm/mach-types.h> 37 #include <plat/orion-gpio.h> 80 * Check for devices with hard-wired IRQs. in dns323_pci_map_irq() 83 if (irq != -1) in dns323_pci_map_irq() 86 return -1; in dns323_pci_map_irq() 112 * Layout as used by D-Link: 113 * 0x00000000-0x00010000 : "MTD1" 114 * 0x00010000-0x00020000 : "MTD2" [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | cht_bsw_rt5672.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms 22 #include <sound/soc-acpi.h> 24 #include "../atom/sst-atom-controls.h" 25 #include "../common/soc-intel-quirks.h" 30 #define CHT_CODEC_DAI "rt5670-aif1" 54 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 55 struct snd_soc_card *card = dapm->card; in platform_clock_control() 62 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control() 63 return -EIO; in platform_clock_control() [all …]
|
| /linux/arch/powerpc/platforms/52xx/ |
| H A D | mpc52xx_pic.c | 14 * version 2. This program is licensed "as is" without any warranty of any 23 * ----------------- 28 * gpios, and the general purpose timers. Peripheral group contains the 29 * remaining irq sources from all of the on-chip peripherals (PSCs, Ethernet, 33 * ----- 61 * ------------------- 83 * -------------------- 85 * organization of irqs in the device. #interrupt-cells = <3> where the 90 * it is non-obvious to determine what the interrupts property should be 124 { .compatible = "fsl,mpc5200-pic", }, [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 24 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 26 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 28 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, 0, }, 29 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, 0, }, 34 { "GNSS-1PPS", ZL_REF4P, DPLL_PIN_TYPE_GNSS, 39 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 41 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 43 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, }, 44 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, }, [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | af9013.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 45 struct i2c_client *client = state->client; in af9013_set_gpio() 50 dev_dbg(&client->dev, "gpio %u, gpioval %02x\n", gpio, gpioval); in af9013_set_gpio() 68 ret = -EINVAL; in af9013_set_gpio() 84 ret = regmap_update_bits(state->regmap, addr, 0x0f << pos, in af9013_set_gpio() 91 dev_dbg(&client->dev, "failed %d\n", ret); in af9013_set_gpio() 98 fesettings->min_delay_ms = 800; in af9013_get_tune_settings() 99 fesettings->step_size = 0; in af9013_get_tune_settings() 100 fesettings->max_drift = 0; in af9013_get_tune_settings() 107 struct af9013_state *state = fe->demodulator_priv; in af9013_set_frontend() [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 59 #include "sh-sci.h" 60 #include "sh-sci-common.h" 63 ((port)->irqs[SCIx_ERI_IRQ] == \ 64 (port)->irqs[SCIx_RXI_IRQ]) || \ 65 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|