/linux-6.12.1/Documentation/devicetree/bindings/leds/ |
D | leds-bcm6358.txt | 4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller), 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: [all …]
|
D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 17 as spi-gpio. See 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | nuvoton,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jim LIU <JJLIU0@nuvoton.com> 14 information is in the NPCM7XX/8XX SERIAL I/O EXPANSION INTERFACE section. 15 Nuvoton NPCM7xx SGPIO module is combines a serial to parallel IC (HC595) 16 and a parallel to serial IC (HC165). 22 - Support interrupt option for each input port and various interrupt 23 sensitivity options (level-high, level-low, edge-high, edge-low) 24 - ngpios is number of nuvoton,input-ngpios GPIO lines and nuvoton,output-ngpios GPIO lines. [all …]
|
/linux-6.12.1/drivers/atm/ |
D | nicstarmac.c | 1 // SPDX-License-Identifier: GPL-2.0 27 /* Write Data To EEProm from SI line on rising edge of CLK */ 28 /* Read Data From EEProm on falling edge of CLK */ 31 #define CS_LOW 0x0000 /* Chip select low (active low) */ 33 #define CLK_LOW 0x0000 /* Clock low */ 34 #define SI_HIGH 0x0001 /* Serial input data high */ 35 #define SI_LOW 0x0000 /* Serial input data low */ 132 /* Done sending instruction - now pull data off of bit 16, MSB first */ 136 for (i = 7, j = 0; i >= 0; i--) { 173 for (i = 7; i >= 0; i--) { in read_eprom_byte() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt7622-bananapi-bpi-r64.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 17 model = "Bananapi BPI-R64"; 18 chassis-type = "embedded"; 19 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 26 stdout-path = "serial0:115200n8"; 32 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
D | mt7986a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mt7986-clk.h> 10 #include <dt-bindings/reset/mt7986-resets.h> 11 #include <dt-bindings/phy/phy.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 20 #address-cells = <1>; [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | tty_flags.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 29 #define ASYNCB_LOW_LATENCY 13 /* Request low latency behaviour */ 33 #define ASYNCB_MAGIC_MULTIPLIER 16 /* Use special CLK or divisor */ 37 * Internal flags used only by kernel (read-only) 40 * TTY_PORT_ flags in the iflags field (and not userspace-visible) 43 #define ASYNCB_INITIALIZED 31 /* Serial port was initialized */ 44 #define ASYNCB_SUSPENDED 30 /* Serial port is suspended */ 47 #define ASYNCB_CLOSING 27 /* Serial port is closing */ 75 #define ASYNC_FLAGS ((1U << (ASYNCB_LAST_USER + 1)) - 1) 94 #define ASYNC_INTERNAL_FLAGS (~((1U << ASYNCB_FIRST_KERNEL) - 1))
|
/linux-6.12.1/drivers/soc/fsl/qe/ |
D | tsa.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <dt-bindings/soc/cpm1-fsl,tsa.h> 12 #include <dt-bindings/soc/qe-fsl,tsa.h> 14 #include <linux/clk.h> 51 * - CPM1: 32bit register split in 2*16bit (16bit TDM) 52 * - QE: 4x16bit registers, one per TDM 140 struct clk *l1rclk_clk; 141 struct clk *l1rsync_clk; 142 struct clk *l1tclk_clk; 143 struct clk *l1tsync_clk; [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6328 memory-mapped LEDs, based on leds-syscon.c 59 * struct bcm6328_led - state container for bcm6328 based LEDs 66 * @active_low: LED is active low 98 * bits [31:0] -> LEDs 8-23 99 * bits [47:32] -> LEDs 0-7 100 * bits [63:48] -> unused 105 return pin + 16; /* LEDs 0-7 (bits 47:32) */ in bcm6328_pin2shift() 107 return pin - 8; /* LEDs 8-23 (bits 31:0) */ in bcm6328_pin2shift() 115 shift = bcm6328_pin2shift(led->pin); in bcm6328_led_mode() [all …]
|
/linux-6.12.1/sound/soc/ti/ |
D | davinci-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * based on davinci-mcasp.c DT support 21 #include <linux/clk.h> 30 #include "edma-pcm.h" 31 #include "davinci-i2s.h" 33 #define DRV_NAME "davinci-i2s" 38 * - This driver supports the "Audio Serial Port" (ASP), 41 * - But it labels it a "Multi-channel Buffered Serial Port" 43 * backward-compatible, possibly explaining that confusion. 45 * - OMAP chips have a controller called McBSP, which is [all …]
|
/linux-6.12.1/arch/m68k/atari/ |
D | debug.c | 4 * Atari debugging and serial console stuff 6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek 31 .index = -1, 45 while (count--) { in atari_mfp_console_write() 64 while (count--) { in atari_scc_console_write() 81 while (count--) { in atari_midi_console_write() 91 /* This a some-seconds timeout in case no printer is connected */ in ata_par_out() 94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out() 117 while (count--) { in atari_par_console_write() 158 * SCC serial ports. They're used by the debugging interface, kgdb, and the [all …]
|
/linux-6.12.1/arch/microblaze/boot/dts/ |
D | system.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2007-2008 Xilinx, Inc. 6 * (C) Copyright 2007-2009 Michal Simek 13 * XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101 16 /dts-v1/; 18 #address-cells = <1>; 19 #size-cells = <1>; 32 stdout-path = "/plb@0/serial@84000000"; 35 #address-cells = <1>; 37 #size-cells = <0>; [all …]
|
/linux-6.12.1/drivers/bluetooth/ |
D | btmtkuart.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Bluetooth support for MediaTek serial devices 13 #include <linux/clk.h> 59 struct clk *clk; member 60 struct clk *osc; 85 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 87 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 101 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 103 err = -EINVAL; in mtk_hci_wmt_sync() 109 err = -ENOMEM; in mtk_hci_wmt_sync() [all …]
|
/linux-6.12.1/drivers/tty/serial/ |
D | atmel_serial.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for Atmel AT91 Serial ports 7 * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o. 16 #include <linux/serial.h> 17 #include <linux/clk.h> 18 #include <linux/clk-provider.h> 24 #include <linux/dma-mapping.h> 47 * high and low thresholds 62 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 71 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port [all …]
|
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: 13 * Modified to support multiple serial ports. Stuart Menefy (May 2000). 20 #include <linux/clk.h> 26 #include <linux/dma-mapping.h> 42 #include <linux/serial.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ [all …]
|
/linux-6.12.1/drivers/media/pci/cx23885/ |
D | cx23885-cards.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <media/drv-intf/cx25840.h> 19 #include "netup-eeprom.h" 20 #include "netup-init.h" 21 #include "altera-ci.h" 24 #include "cx23888-ir.h" 29 "NetUP Dual DVB-T/C CI card revision"); 35 "\t\t\tHVR-1250 (reported safe)\n" 41 /* ------------------------------------------------------------------ */ 64 .name = "Hauppauge WinTV-HVR1800lp", [all …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | tw9910.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 18 #include <linux/clk.h> 26 #include <linux/v4l2-mediabus.h> 30 #include <media/v4l2-subdev.h> 46 #define VDELAY_LO 0x08 /* Vertical Delay Register, Low */ 47 #define VACTIVE_LO 0x09 /* Vertical Active Register, Low */ 48 #define HDELAY_LO 0x0A /* Horizontal Delay Register, Low */ 49 #define HACTIVE_LO 0x0B /* Horizontal Active Register, Low */ 51 #define VSCALE_LO 0x0D /* Vertical Scaling Register, Low */ [all …]
|
/linux-6.12.1/drivers/auxdisplay/ |
D | panel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit 11 * serial module compatible with Samsung's KS0074. The pins may be connected in 15 * data output pins or to the ground. The combinations have to be hard-coded 22 * - the initialization/deinitialization process is very dirty and should 26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs) 27 * - make the LCD a part of a virtual screen of Vx*Vy 28 * - make the inputs list smp-safe [all …]
|
/linux-6.12.1/Documentation/driver-api/gpio/ |
D | drivers-on-gpio.rst | 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with 29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from 31 off/on, for an actual PWM waveform, see pwm-gpio below.) [all …]
|
/linux-6.12.1/drivers/pinctrl/ |
D | pinctrl-gemini.c | 6 * This is a group-only pin controller. 19 #include <linux/pinctrl/pinconf-generic.h> 24 #include "pinctrl-utils.h" 26 #define DRIVER_NAME "pinctrl-gemini" 29 * struct gemini_pin_conf - information about configuring a pin 41 * struct gemini_pmx - state holder for the gemini pin controller 64 * struct gemini_pin_group - describes a Gemini pin group 67 * from the driver-local pin enumeration space 85 /* Some straight-forward control registers */ 98 * - For the bits named *_ENABLE, once you DISABLE something, it simply cannot [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra30-apalis-v1.1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 16 avdd-pexa-supply = <&vdd2_reg>; 17 avdd-pexb-supply = <&vdd2_reg>; 18 avdd-pex-pll-supply = <&vdd2_reg>; 19 avdd-plle-supply = <&ldo6_reg>; 20 hvdd-pex-supply = <®_module_3v3>; 21 vddio-pex-ctl-supply = <®_module_3v3>; 22 vdd-pexa-supply = <&vdd2_reg>; 23 vdd-pexb-supply = <&vdd2_reg>; 27 nvidia,num-lanes = <4>; [all …]
|
D | tegra30-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 avdd-pexa-supply = <&vdd2_reg>; 16 avdd-pexb-supply = <&vdd2_reg>; 17 avdd-pex-pll-supply = <&vdd2_reg>; 18 avdd-plle-supply = <&ldo6_reg>; 19 hvdd-pex-supply = <®_module_3v3>; 20 vddio-pex-ctl-supply = <®_module_3v3>; 21 vdd-pexa-supply = <&vdd2_reg>; 22 vdd-pexb-supply = <&vdd2_reg>; 26 nvidia,num-lanes = <4>; [all …]
|
/linux-6.12.1/drivers/usb/serial/ |
D | keyspan.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 Keyspan USB to Serial Converter driver 5 (C) Copyright (C) 2000-2001 Hugh Blemings <hugh@blemings.org> 6 (C) Copyright (C) 2002 Greg Kroah-Hartman <greg@kroah.com> 11 from Brian Warner's original Keyspan-PDA driver. 14 and Keyspan, Inc the manufacturers of the Keyspan USB-serial products. 38 #include <linux/usb/serial.h> 42 #define DRIVER_DESC "Keyspan USB to Serial Converter Driver" 63 static int keyspan_usa28_send_setup(struct usb_serial *serial, 66 static int keyspan_usa26_send_setup(struct usb_serial *serial, [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-dw-mmio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Memory-mapped interface driver for DW SPI Core 8 #include <linux/clk.h> 24 #include "spi-dw.h" 30 struct clk *clk; member 31 struct clk *pclk; 61 * bit: |---3-------2-------1-------0 79 struct dw_spi *dws = spi_controller_get_devdata(spi->controller); in dw_spi_mscc_set_cs() 81 struct dw_spi_mscc *dwsmscc = dwsmmio->priv; in dw_spi_mscc_set_cs() 90 writel(sw_mode, dwsmscc->spi_mst + MSCC_SPI_MST_SW_MODE); in dw_spi_mscc_set_cs() [all …]
|
/linux-6.12.1/arch/arm/mach-omap2/ |
D | omap_hwmod_3xxx_data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap_hwmod_3xxx_data.c - hardware modules present on the OMAP3xxx chips 5 * Copyright (C) 2009-2011 Nokia Corporation 12 * XXX these should be marked initdata for multi-OMAP kernels 15 #include <linux/platform_data/i2c-omap.h> 17 #include <linux/platform_data/hsmmc-omap.h> 25 #include "prm-regbits-34xx.h" 26 #include "cm-regbits-34xx.h" 36 * is driver-specific or driver-kernel integration-specific belongs 286 * 32-bit watchdog upward counter that generates a pulse on the reset pin on [all …]
|