| /kernel/linux/linux-5.10/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. 6 See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 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. [all …]
|
| D | leds-bcm6328.txt | 5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 18 explained later in brcm,link-signal-sources). Even if a LED is hardware 24 - compatible : should be "brcm,bcm6328-leds". 25 - #address-cells : must be 1. 26 - #size-cells : must be 0. 27 - reg : BCM6328 LED controller address and size. 30 - brcm,serial-leds : Boolean, enables Serial LEDs. [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | sgpio-aspeed.txt | 2 -------------------------------------------- 5 featured Serial GPIOs. Each of the Serial GPIO pins can be programmed to 7 - Support interrupt option for each input port and various interrupt 8 sensitivity option (level-high, level-low, edge-high, edge-low) 9 - Support reset tolerance option for each output port 10 - Directly connected to APB bus and its shift clock is from APB bus clock 12 - Co-work with external signal-chained TTL components (74LV165/74LV595) 16 - compatible : Should be one of 17 "aspeed,ast2400-sgpio", "aspeed,ast2500-sgpio" 18 - #gpio-cells : Should be 2, see gpio.txt [all …]
|
| /kernel/linux/linux-5.10/drivers/atm/ |
| D | nicstarmac.c | 1 // SPDX-License-Identifier: GPL-2.0 20 do { int _i = 4*microsec; while (--_i > 0) { __SLOW_DOWN_IO; }} while (0) 32 /* Write Data To EEProm from SI line on rising edge of CLK */ 33 /* Read Data From EEProm on falling edge of CLK */ 36 #define CS_LOW 0x0000 /* Chip select low (active low) */ 38 #define CLK_LOW 0x0000 /* Clock low */ 39 #define SI_HIGH 0x0001 /* Serial input data high */ 40 #define SI_LOW 0x0000 /* Serial input data low */ 137 /* Done sending instruction - now pull data off of bit 16, MSB first */ 141 for (i = 7, j = 0; i >= 0; i--) { [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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> 16 model = "Bananapi BPI-R64"; 17 compatible = "bananapi,bpi-r64", "mediatek,mt7622"; 24 stdout-path = "serial0:115200n8"; 30 proc-supply = <&mt6380_vcpu_reg>; 31 sram-supply = <&mt6380_vm_reg>; 35 proc-supply = <&mt6380_vcpu_reg>; [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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))
|
| /kernel/linux/linux-6.6/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))
|
| /kernel/linux/linux-5.10/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> 31 #include "edma-pcm.h" 32 #include "davinci-i2s.h" 34 #define DRV_NAME "davinci-i2s" 39 * - This driver supports the "Audio Serial Port" (ASP), 42 * - But it labels it a "Multi-channel Buffered Serial Port" 44 * backward-compatible, possibly explaining that confusion. 46 * - OMAP chips have a controller called McBSP, which is [all …]
|
| /kernel/linux/linux-6.6/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> 31 #include "edma-pcm.h" 32 #include "davinci-i2s.h" 34 #define DRV_NAME "davinci-i2s" 39 * - This driver supports the "Audio Serial Port" (ASP), 42 * - But it labels it a "Multi-channel Buffered Serial Port" 44 * backward-compatible, possibly explaining that confusion. 46 * - OMAP chips have a controller called McBSP, which is [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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. 15 #include <linux/serial.h> 16 #include <linux/clk.h> 23 #include <linux/dma-mapping.h> 46 * high and low thresholds 61 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we 70 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port 111 struct clk *clk; /* uart clock */ member [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 #include <linux/clk.h> 46 struct clk *clk; member 47 struct clk *pclk; 73 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 77 value |= d->msr_mask_on; in dw8250_modify_msr() 78 value &= ~d->msr_mask_off; in dw8250_modify_msr() 89 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 94 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() 98 while (tries--) { in dw8250_check_lcr() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/bluetooth/ |
| D | btmtkuart.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Bluetooth support for MediaTek serial devices 13 #include <linux/clk.h> 58 struct clk *clk; member 59 struct clk *osc; 84 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 86 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 100 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 102 err = -EINVAL; in mtk_hci_wmt_sync() 108 err = -ENOMEM; in mtk_hci_wmt_sync() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
| D | board-dm355-leopard.c | 4 * Based on board-dm355-evm.c 19 #include <linux/clk.h> 22 #include <linux/platform_data/i2c-davinci.h> 23 #include <linux/platform_data/mmc-davinci.h> 24 #include <linux/platform_data/mtd-davinci.h> 25 #include <linux/platform_data/usb-davinci.h> 27 #include <asm/mach-types.h> 31 #include <mach/serial.h> 44 /* UBL (a few copies) plus U-Boot */ 48 .mask_flags = MTD_WRITEABLE, /* force read-only */ [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/bluetooth/ |
| D | btmtkuart.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Bluetooth support for MediaTek serial devices 13 #include <linux/clk.h> 119 struct clk *clk; member 120 struct clk *osc; 145 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 147 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 160 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 162 err = -EINVAL; in mtk_hci_wmt_sync() 167 hdr->dir = 1; in mtk_hci_wmt_sync() [all …]
|