Home
last modified time | relevance | path

Searched +full:ts +full:- +full:4800 (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/input/touchscreen/
H A Dts4800-ts.c2 * Touchscreen driver for the TS-4800 board
4 * Copyright (c) 2015 - Savoir-faire Linux
26 /* sensor values are 12-bit wide */
27 #define MAX_12BIT ((1 << 12) - 1)
50 struct ts4800_ts *ts = input_get_drvdata(input_dev); in ts4800_ts_open() local
53 ts->pendown = false; in ts4800_ts_open()
54 ts->debounce = DEBOUNCE_COUNT; in ts4800_ts_open()
56 error = regmap_update_bits(ts->regmap, ts->reg, ts->bit, ts->bit); in ts4800_ts_open()
58 dev_warn(ts->dev, "Failed to enable touchscreen: %d\n", error); in ts4800_ts_open()
67 struct ts4800_ts *ts = input_get_drvdata(input_dev); in ts4800_ts_close() local
[all …]
/linux/drivers/watchdog/
H A Dts4800_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Watchdog driver for TS-4800 based boards
5 * Copyright (c) 2015 - Savoir-faire Linux
36 * TS-4800 supports the following timeout values:
39 * ---------------------
55 #define MAX_TIMEOUT_INDEX (ARRAY_SIZE(ts4800_wdt_map) - 1)
59 regmap_write(wdt->regmap, wdt->feed_offset, val); in ts4800_write_feed()
66 ts4800_write_feed(wdt, wdt->feed_val); in ts4800_wdt_start()
89 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout()
90 wdt->feed_val = ts4800_wdt_map[i].regval; in ts4800_wdt_set_timeout()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dtechnologic,ts4800-irqc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/technologic,ts4800-irqc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TS-4800 FPGA Interrupt Controller
10 - Damien Riegel <damien.riegel@savoirfairelinux.com>
13 TS-4800 FPGA has an internal interrupt controller. When one of the interrupts
19 const: technologic,ts4800-irqc
24 '#interrupt-cells':
27 interrupt-controller: true
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dts4800-ts.txt1 * TS-4800 Touchscreen bindings
4 - compatible: must be "technologic,ts4800-ts"
5 - reg: physical base address of the controller and length of memory mapped
7 - syscon: phandle / integers array that points to the syscon node which
9 - phandle to FPGA's syscon
10 - offset to the touchscreen register
11 - offset to the touchscreen enable bit
/linux/drivers/irqchip/
H A Dirq-ts4800.c2 * Multiplexed-IRQs driver for TS-4800's FPGA
4 * Copyright (c) 2015 - Savoir-faire Linux
36 u16 reg = readw(data->base + IRQ_MASK); in ts4800_irq_mask()
37 u16 mask = 1 << d->hwirq; in ts4800_irq_mask()
39 writew(reg | mask, data->base + IRQ_MASK); in ts4800_irq_mask()
45 u16 reg = readw(data->base + IRQ_MASK); in ts4800_irq_unmask()
46 u16 mask = 1 << d->hwirq; in ts4800_irq_unmask()
48 writew(reg & ~mask, data->base + IRQ_MASK); in ts4800_irq_unmask()
55 seq_puts(p, dev_name(&data->pdev->dev)); in ts4800_irq_print_chip()
67 struct ts4800_irq_data *data = d->host_data; in ts4800_irqdomain_map()
[all …]
/linux/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * baycom_ser_fdx.c -- baycom ser12 fullduplex radio modem driver.
7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
24 * TXD pin of the serial port. Thus a contiguous stream of 0x00-bytes
27 * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine
28 * in 'baycom-mode' :-) In contrast to the TCM3105 modem, power is
29 * externally supplied. So there's no need to provide the 0x00-byte-stream
39 * baud baud rate (between 300 and 4800)
74 /* --------------------------------------------------------------------- */
78 /* --------------------------------------------------------------------- */
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx51-ts4800.dts2 * Copyright 2015 Savoir-faire Linux
4 * This device tree is based on imx51-babbage.dts
9 /dts-v1/;
13 model = "Technologic Systems TS-4800";
14 compatible = "technologic,imx51-ts4800", "fsl,imx51";
17 stdout-path = &uart1;
27 clock-frequency = <22579200>;
31 clock-frequency = <24576000>;
35 backlight_reg: regulator-backlight {
36 compatible = "regulator-fixed";
[all …]
/linux/drivers/gpio/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
50 this symbol, but new drivers should use the generic gpio-regmap
60 non-sleeping contexts. They can make bitbanged serial protocols
81 numberspace-based functionalities of the sysfs interface.
137 Enables support for the idio-16 library functions. The idio-16 library
139 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
141 If built as a module its name will be gpio-idio-16.
147 tristate "GPIO driver for 74xx-ICs with MMIO access"
151 Say yes here to support GPIO functionality for 74xx-compatible ICs
166 If driver is built as a module it will be called gpio-altera.
[all …]
/linux/drivers/ptp/
H A Dptp_ocp.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/clk-provider.h>
15 #include <linux/platform_data/i2c-xiic.h>
16 #include <linux/platform_data/i2c-ocores.h>
24 #include <linux/nvmem-consumer.h>
441 (void *)((uintptr_t)(bp) + (map)->bp_offset); \
457 uintptr_t addr = (uintptr_t)(bp) + (res)->bp_offset; \
497 --
654 .name = "xiic-i2c",
704 .modalias = "spi-nor",
[all …]
/linux/drivers/tty/serial/
H A Dsunzilog.c1 // SPDX-License-Identifier: GPL-2.0
10 * C. Dost, Pete Zaitcev, Ted Ts'o and Alex Buell for their
48 /* On 32-bit sparcs we need to delay after register accesses
50 * On 64-bit sparc we only need to flush single writes to ensure
61 readb(&((__channel)->control))
105 #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel __iomem *)((PORT)->membase))
108 #define ZS_IS_KEYB(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_KEYB)
109 #define ZS_IS_MOUSE(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_MOUSE)
110 #define ZS_IS_CONS(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CONS)
111 #define ZS_IS_KGDB(UP) ((UP)->flags & SUNZILOG_FLAG_IS_KGDB)
[all …]
H A Dsunsab.c1 // SPDX-License-Identifier: GPL-2.0
13 * Theodore Ts'o <tytso@mit.edu>, 2001-Oct-12
94 int timeout = up->tec_timeout; in sunsab_tec_wait()
96 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) in sunsab_tec_wait()
102 int timeout = up->cec_timeout; in sunsab_cec_wait()
104 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) in sunsab_cec_wait()
119 if (up->port.state != NULL) /* Unopened serial console */ in receive_chars()
120 port = &up->port.state->port; in receive_chars()
123 if (stat->sreg.isr0 & SAB82532_ISR0_RPF) { in receive_chars()
128 if (stat->sreg.isr0 & SAB82532_ISR0_TCD) { in receive_chars()
[all …]
/linux/drivers/media/dvb-frontends/
H A Ddrxd_firm.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2007 Micronas
35 0x26, 0x00, /* 0 -> ring.rdy; */
36 0x60, 0x04, /* r0rami.dt -> ring.xba; */
37 0x61, 0x04, /* r0rami.dt -> ring.xad; */
38 0xE3, 0x07, /* HI_RA_RAM_USR_BEGIN -> ring.iad; */
40 0x64, 0x04, /* r0rami.dt -> ring.len; */
41 0x65, 0x04, /* r0rami.dt -> ring.ctl; */
42 0x26, 0x00, /* 0 -> ring.rdy; */
43 0x38, 0x00, /* 0 -> jumps.ad; */
[all …]