Home
last modified time | relevance | path

Searched +full:uart +full:- +full:routing (Results 1 – 25 of 137) sorted by relevance

123456

/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/console/obmc-console/
H A Dobmc-console@.service3 BindsTo=dev-%i.device
4 After=dev-%i.device
7 ExecStartPre=/bin/sh -c 'echo -n "uart3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.u…
8 ExecStartPre=/bin/sh -c 'echo -n "uart1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.u…
9 ExecStartPre=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uar…
10 ExecStartPre=/bin/sh -c 'echo -n "uart4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.u…
11 ExecStart=/usr/bin/env obmc-console-server --config {sysconfdir}/obmc-console.conf %i
12 ExecStopPost=/bin/sh -c 'echo -n "io1" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uar…
13 ExecStopPost=/bin/sh -c 'echo -n "io3" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uar…
14 ExecStopPost=/bin/sh -c 'echo -n "io4" > /sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uar…
[all …]
/openbmc/linux/Documentation/devicetree/bindings/soc/aspeed/
H A Duart-routing.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 ---
6 $id: http://devicetree.org/schemas/soc/aspeed/uart-routing.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 title: Aspeed UART Routing Controller
12 - Oskar Senft <osk@google.com>
13 - Chia-Wei Wang <chiawei_wang@aspeedtech.com>
16 The Aspeed UART routing control allow to dynamically route the inputs for
17 the built-in UARTS and physical serial I/O ports.
19 This allows, for example, to connect the output of UART to another UART.
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-aspeed-uart-routing1 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/uart\*
4 Chia-Wei Wang <chiawei_wang@aspeedtech.com>
12 cat /sys/bus/platform/drivers/aspeed-uart-routing/\*.uart_routing/uart1
20 What: /sys/bus/platform/drivers/aspeed-uart-routing/\*/io\*
23 Chia-Wei Wang <chiawei_wang@aspeedtech.com>
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/console/
H A Dobmc-console_%.bbappend3 SRC_URI:append = " file://uart-routing.sh \
4 file://use-socket.conf.in \
12 install -d ${D}${sbindir}
13 install -m 0755 ${UNPACKDIR}/uart-routing.sh -D ${D}${sbindir}/uart-routing.sh
15 install -d ${D}${systemd_system_unitdir}
16 …install -m 0755 ${UNPACKDIR}/use-socket.conf.in -D ${D}${systemd_system_unitdir}/obmc-console-ssh@…
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/console/obmc-console/
H A Duse-socket.conf.in2 ExecStartPre=/usr/sbin/uart-routing.sh init
3 ExecStart=-/usr/sbin/dropbear -r ${DROPBEAR_RSAKEY_DIR}/dropbear_rsa_host_key -c "/usr/bin/obmc-con…
4 ExecStopPost=/usr/sbin/uart-routing.sh reset
H A Duart-routing.sh8 if [ "$#" -ne "1" ] ; then
13 UART_ROUTING_SYSFS="/sys/bus/platform/drivers/aspeed-uart-routing/1e789098.uart-routing"
17 echo -n "uart1" > ${UART_ROUTING_SYSFS}/uart4
18 echo -n "uart4" > ${UART_ROUTING_SYSFS}/uart1
21 echo -n "io1" > ${UART_ROUTING_SYSFS}/uart1
22 echo -n "io4" > ${UART_ROUTING_SYSFS}/uart4
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/console/obmc-console/
H A Dsetup-uart-routing4 echo -ne "$1" > /sys/devices/platform/ahb/1e780000.apb/1e789000.lpc/1e789098.uart-routing/"$2"
5 echo -ne "$2" > /sys/devices/platform/ahb/1e780000.apb/1e789000.lpc/1e789098.uart-routing/"$1"
/openbmc/linux/drivers/soc/aspeed/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
28 tristate "ASPEED uart routing control"
33 Provides a driver to control the UART routing paths, allowing
35 the UART controllers and I/O pins.
45 pre-defined region.
H A Daspeed-uart-routing.c1 // SPDX-License-Identifier: GPL-2.0+
65 /* routing selector for AST25xx */
287 /* routing selector for AST26xx */
499 regmap_read(uart_routing->map, sel->reg, &val); in aspeed_uart_routing_show()
500 val = (val >> sel->shift) & sel->mask; in aspeed_uart_routing_show()
503 for (pos = 0; sel->options[pos] != NULL; ++pos) { in aspeed_uart_routing_show()
505 len += sysfs_emit_at(buf, len, "[%s] ", sel->options[pos]); in aspeed_uart_routing_show()
507 len += sysfs_emit_at(buf, len, "%s ", sel->options[pos]); in aspeed_uart_routing_show()
526 val = __sysfs_match_string(sel->options, -1, buf); in aspeed_uart_routing_store()
529 return -EINVAL; in aspeed_uart_routing_store()
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o
3 obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o
4 obj-$(CONFIG_ASPEED_UART_ROUTING) += aspeed-uart-routing.o
5 obj-$(CONFIG_ASPEED_P2A_CTRL) += aspeed-p2a-ctrl.o
6 obj-$(CONFIG_ASPEED_SOCINFO) += aspeed-socinfo.o
7 obj-$(CONFIG_ASPEED_SBC) += aspeed-sbc.o
8 obj-$(CONFIG_ASPEED_XDMA) += aspeed-xdma.o
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Daspeed-lpc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/mfd/aspeed-lpc.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Jeffery <andrew@aj.id.au>
12 - Chia-Wei Wang <chiawei_wang@aspeedtech.com>
15 The LPC bus is a means to bridge a host CPU to a number of low-bandwidth
21 The LPC controller is represented as a multi-function device to account for the
27 as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART
41 - enum:
[all …]
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/console/obmc-console/
H A Duart-remapping.sh1 #!/bin/bash -eu
8 if [ "$#" -ne "1" ] ; then
14 UART_ROUTING_PATH="/sys/bus/platform/drivers/aspeed-uart-routing/1e78909c.uart-routing"
18 echo -n "uart3" > ${UART_ROUTING_PATH}/uart1
19 echo -n "uart1" > ${UART_ROUTING_PATH}/uart3
20 echo -n "io1" > ${UART_ROUTING_PATH}/uart4
21 echo -n "uart4" > ${UART_ROUTING_PATH}/io1
24 echo -n "io1" > ${UART_ROUTING_PATH}/uart1
25 echo -n "io3" > ${UART_ROUTING_PATH}/uart3
26 echo -n "io4" > ${UART_ROUTING_PATH}/uart4
[all …]
/openbmc/linux/include/uapi/linux/
H A Dtty.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
21 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */
22 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */
26 #define N_HCI 15 /* Bluetooth HCI UART */
34 #define N_TRACESINK 23 /* Trace data routing for MIPI P1149.7 */
35 #define N_TRACEROUTER 24 /* Trace data routing for MIPI P1149.7 */
36 #define N_NCI 25 /* NFC NCI UART */
39 #define N_MCTP 28 /* MCTP-over-serial */
40 #define N_DEVELOPMENT 29 /* Manual out-of-tree testing */
41 #define N_CAN327 30 /* ELM327 based OBD-II interfaces */
/openbmc/obmc-console/
H A DCHANGELOG.md11 - Added
12 - Changed
13 - Deprecated
14 - Removed
15 - Fixed
16 - Security
22 1. config: Added support for the `aspeed-uart-routing` configuration key
23 2. config: Added support for the `ringbuffer-size` configuration key
24 3. UART multiplexer support
26 More details can be found [in the documentation](docs/mux-support.md).
[all …]
H A Dconsole-server.c10 * http://www.apache.org/licenses/LICENSE-2.0
41 #include "console-mux.h"
43 #include "console-server.h"
60 " --config <FILE>\tUse FILE for configuration\n" in usage()
61 " --console-id <NAME>\tUse NAME in the UNIX domain socket address\n" in usage()
68 return p->fd == -1 && p->events == 0 && p->revents == ~0; in console_server_pollfd_reclaimable()
74 for (size_t i = 0; i < server->capacity_pollfds; i++) { in console_server_find_released_pollfd()
75 struct pollfd *p = &server->pollfds[i]; in console_server_find_released_pollfd()
80 return -1; in console_server_find_released_pollfd()
83 // returns the index of that pollfd in server->pollfds
[all …]
/openbmc/openbmc/meta-asrock/meta-e3c256d4i/recipes-phosphor/console/obmc-console/
H A Dobmc-console.conf4 aspeed-uart-routing = uart4:uart2 uart2:uart4
/openbmc/openbmc/meta-facebook/recipes-phosphor/console/obmc-console/fb-compute-singlehost/
H A Dserver.ttyS2.conf2 console-id = host0
3 logfile = /var/log/obmc-console-host0.log
4 aspeed-uart-routing = "OBMC_SOL_ROUTING"
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dbroadcom-bluetooth.yaml1 # 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/u-boot/arch/arm/mach-rockchip/
H A DKconfig11 The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
12 including NEON and GPU, Mali-400 graphics, several DDR3 options
14 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
20 The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7
21 including NEON and GPU, Mali-400 graphics, several DDR3 options
23 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
41 The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9
42 including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two
45 UART, SPI, I2C and PWMs.
55 The Rockchip RK3229 is a ARM-based SoC with a dual-core Cortex-A7
[all …]
/openbmc/linux/sound/pci/ca0106/
H A Dca0106.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
50 * Implement support for Line-in capture on SB Live 24bit.
73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
107 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
[all …]
/openbmc/docs/designs/mctp/
H A Dmctp-userspace.md14 The MCTP core specification just provides the packetisation, routing and
19 over a configurable hardware channel (eg., Serial UART, I2C or PCIe), and
20 provides a socket-based interface for other processes to send and receive
22 routing of MCTP messages from external endpoints, and handling the forwarding
24 handling local MCTP-stack configuration, like local EID assignments.
30 2. one or more binding implementations (eg, MCTP-over-serial), which interact
33 3. an interface to handler applications over a unix-domain socket.
36 the packetisation and routing functions, between:
38 - an "upper" messaging transmit/receive interface, for tx/rx of a full message
41 - a "lower" hardware binding for transmit/receive of individual packets,
[all …]
/openbmc/u-boot/arch/x86/dts/
H A Dcrownbay.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
8 #include <dt-bindings/interrupt-router/intel-irq.h>
31 #address-cells = <1>;
32 #size-cells = <0>;
36 compatible = "cpu-x86";
38 intel,apic-id = <0>;
43 compatible = "cpu-x86";
45 intel,apic-id = <1>;
53 * U-Boot serial console. If we want to use UART from Topcliff
[all …]
/openbmc/linux/arch/powerpc/boot/dts/
H A Dmpc5121ads.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2007-2008 Freescale Semiconductor Inc.
32 compatible = "cfi-flash";
34 #address-cells = <1>;
35 #size-cells = <1>;
36 bank-width = <4>;
37 device-width = <2>;
42 read-only;
52 device-tree@3ec0000 {
53 label = "device-tree";
[all …]
/openbmc/linux/sound/isa/wavefront/
H A Dwavefront_midi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) by Paul Barton-Davis 1998-1999
8 * Note that there is also an MPU-401 emulation (actually, a UART-401
12 * The interface is essentially just a UART-401, but is has the
22 * MIDI routing, 16 to the WaveFront synth and 16 to the external MIDI
25 * something other than 0 and 1 if the CS4232 UART/MPU-401 interface
40 * completely independent 16-channel MIDI buses, one to the
58 return inb (midi->mpu_status_port); in wf_mpu_status()
79 return inb (midi->mpu_data_port); in read_data()
86 outb (byte, midi->mpu_data_port); in write_data()
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905x-p212.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include "meson-gxl-s905x-p212.dtsi"
10 #include <dt-bindings/sound/meson-aiu.h>
13 compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl";
16 dio2133: analog-amplifier {
17 compatible = "simple-audio-amplifier";
18 sound-name-prefix = "AU2";
19 VCC-supply = <&hdmi_5v>;
20 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
[all …]

123456