Home
last modified time | relevance | path

Searched +full:bit +full:- +full:banged (Results 1 – 10 of 10) sorted by relevance

/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-gpio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI-GPIO devicetree bindings
10 - Rob Herring <robh@kernel.org>
13 This represents a group of 3-n GPIO lines used for bit-banged SPI on
17 - $ref: "/schemas/spi/spi-controller.yaml#"
21 const: spi-gpio
23 sck-gpios:
[all …]
/linux-5.10/drivers/misc/eeprom/
Ddigsy_mtc_eeprom.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * FIXME: this driver is used on a device-tree probed platform: it
9 * should be defined as a bit-banged SPI device and probed from the device
/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Drealtek-smi.txt1 Realtek SMI-based Switches
4 The SMI "Simple Management Interface" is a two-wire protocol using
5 bit-banged GPIO that while it reuses the MDIO lines MCK and MDIO does
7 SMI-based Realtek devices.
11 - compatible: must be exactly one of:
22 - mdc-gpios: GPIO line for the MDC clock line.
23 - mdio-gpios: GPIO line for the MDIO data line.
24 - reset-gpios: GPIO line for the reset signal.
27 - realtek,disable-leds: if the LED drivers are not used in the
33 - interrupt-controller
[all …]
/linux-5.10/drivers/bus/
Dts-nbus.c2 * NBUS driver for TS-4600 based boards
4 * Copyright (c) 2016 - Savoir-faire Linux
11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
13 * TS-4600 SoM.
24 #include <linux/ts-nbus.h>
48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
51 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata()
52 return PTR_ERR(ts_nbus->data); in ts_nbus_init_pdata()
55 ts_nbus->csn = devm_gpiod_get(&pdev->dev, "ts,csn", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
[all …]
/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio.txt5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
24 and bit-banged data signals:
27 gpio-controller;
28 #gpio-cells = <2>;
32 data-gpios = <&gpio1 12 0>,
44 recommended to use the two-cell approach.
48 include/dt-bindings/gpio/gpio.h whenever possible:
[all …]
/linux-5.10/drivers/spi/
Dspi-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 * platform_device->driver_data ... points to spi_gpio
28 * spi->controller_state ... reserved for bitbang framework code
30 * spi->master->dev.driver_data ... points to spi_gpio->bitbang
41 /*----------------------------------------------------------------------*/
45 * per transferred bit can make performance a problem, this code
48 * - The slow generic way: set up platform_data to hold the GPIO
52 * - The quicker inlined way: only helps with platform GPIO code
63 * #include "spi-gpio.c"
73 /*----------------------------------------------------------------------*/
[all …]
/linux-5.10/arch/arm/boot/dts/
Dgemini-dlink-dir-685.dts2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
[all …]
/linux-5.10/drivers/net/ethernet/smsc/
Dsmc9194.c1 /*------------------------------------------------------------------------
33 . 01/03/96 Erik Stahlman worked out some bugs, actually usable!!! :-)
37 . 2. got rid of post-decrementing bug -- UGH.
55 ----------------------------------------------------------------------------*/
82 /*------------------------------------------------------------------------
86 -------------------------------------------------------------------------*/
89 . Do you want to use 32 bit xfers? This should work on all chips, as
165 /*------------------------------------------------------------------------
171 -------------------------------------------------------------------------*/
193 /*-----------------------------------------------------------------
[all …]
Dsmc91x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * This is a driver for SMSC's 91C9x/91C1xx single-chip Ethernet devices.
37 * 29/09/03 Russell King - add driver model support
38 * - ethtool support
39 * - convert to use generic MII interface
40 * - add link up/down notification
41 * - don't try to handle full negotiation in
43 * - clean up (and fix stack overrun) in PHY
112 * Use power-down feature of the chip
197 spin_lock_irqsave(&lp->lock, smc_enable_flags); \
[all …]
Dsmc911x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * This is a driver for SMSC's LAN911{5,6,7,8} single-chip Ethernet devices.
18 "smc911x.c: v1.0 04-16-2005 by Dustin McIntire <dustin@sensoria.com>\n";
92 * Use power-down feature of the chip
169 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_reset()
179 } while (--timeout && !reg); in smc911x_reset()
187 spin_lock_irqsave(&lp->lock, flags); in smc911x_reset()
189 spin_unlock_irqrestore(&lp->lock, flags); in smc911x_reset()
191 while (resets--) { in smc911x_reset()
203 } while (--timeout && (reg & HW_CFG_SRST_)); in smc911x_reset()
[all …]