Home
last modified time | relevance | path

Searched +full:sgpio +full:- +full:gpio (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c19 #include <linux/pinctrl/pinconf-generic.h>
22 #include "pinctrl-utils.h"
66 TYPE_ND, /* Normal-drive */
67 TYPE_HD, /* High-drive */
68 TYPE_HS, /* High-speed */
144 [FUNC_GPIO] = "gpio",
162 [FUNC_SGPIO] = "sgpio",
238 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
239 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
240 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dsgpio-aspeed.txt1 Aspeed SGPIO controller Device Tree Bindings
2 --------------------------------------------
4 This SGPIO controller is for ASPEED AST2500 SoC, it supports up to 80 full
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
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/sirf/
Dpinctrl-sirf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
29 #include <linux/gpio/driver.h>
32 #include "pinctrl-sirf.h"
34 #define DRIVER_NAME "pinmux-sirf"
106 dev_err(spmx->dev, "No child nodes passed via DT\n"); in sirfsoc_dt_node_to_map()
107 return -ENODEV; in sirfsoc_dt_node_to_map()
112 return -ENOMEM; in sirfsoc_dt_node_to_map()
153 const struct sirfsoc_muxmask *mask = mux->muxmask; in sirfsoc_pinmux_endisable()
155 for (i = 0; i < mux->muxmask_counts; i++) { in sirfsoc_pinmux_endisable()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Andre Przywara <andre.przywara@arm.com>
19 const: calxeda,hb-ahci
27 dma-coherent: true
29 calxeda,pre-clocks:
33 sending an SGPIO pattern.
35 calxeda,post-clocks:
39 sending an SGPIO pattern.
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-aspeed-sgpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/gpio/driver.h>
21 * MAX_NR_HW_GPIO represents the number of actual hardware-supported GPIOs (ie,
22 * slots within the clocked serial GPIO data). Since each HW GPIO is both an
55 * Note: The "value" register returns the input value when the GPIO is
58 * The "rdata" register returns the output value when the GPIO is
99 static void __iomem *bank_reg(struct aspeed_sgpio *gpio, in bank_reg() argument
105 return gpio->base + bank->val_regs + GPIO_VAL_VALUE; in bank_reg()
107 return gpio->base + bank->rdata_reg; in bank_reg()
109 return gpio->base + bank->irq_regs + GPIO_IRQ_ENABLE; in bank_reg()
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # generic gpio support: platform drivers, dedicated expander chips, etc
4 ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
6 obj-$(CONFIG_GPIOLIB) += gpiolib.o
7 obj-$(CONFIG_GPIOLIB) += gpiolib-devres.o
8 obj-$(CONFIG_GPIOLIB) += gpiolib-legacy.o
9 obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
10 obj-$(CONFIG_GPIO_CDEV) += gpiolib-cdev.o
11 obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
12 obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
10 the architecture to provide a custom asm/gpio.h implementation
15 bool "GPIO Support"
17 This enables GPIO support through the generic GPIO library.
19 one or more of the GPIO drivers below.
51 bool "Debug GPIO calls"
54 Say Y here to add some extra checks and diagnostics to GPIO calls.
57 non-sleeping contexts. They can make bitbanged serial protocols
62 bool "/sys/class/gpio/... (sysfs interface)"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/reset/
Dnxp,lpc1850-rgu.txt8 - compatible: Should be "nxp,lpc1850-rgu"
9 - reg: register base and length
10 - clocks: phandle and clock specifier to RGU clocks
11 - clock-names: should contain "delay" and "reg"
12 - #reset-cells: should be 1
20 12 ARM Cortex-M0 subsystem core (LPC43xx only)
31 28 GPIO
56 56 ARM Cortex-M0 application core (LPC4370 only)
57 57 SGPIO (LPC43xx only)
59 60 ADCHS (12-bit ADC) (LPC4370 only)
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dsata_highbank.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <linux/gpio/consumer.h>
53 /* Each of the 6 phys can have up to 4 sata ports attached to i. Map 0-based
73 /* number of extra clocks that the SGPIO PIC controller expects */
91 return 1 << (3 * pdata->port_to_sgpio[port] + shift); in sgpio_bit_shift()
97 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
100 pdata->sgpio_pattern &= ~sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
103 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
106 pdata->sgpio_pattern &= ~sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
109 pdata->sgpio_pattern |= sgpio_bit_shift(pdata, port, in ecx_parse_sgpio()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Decx-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2011-2012 Calxeda, Inc.
20 #address-cells = <1>;
21 #size-cells = <1>;
22 compatible = "simple-bus";
23 interrupt-parent = <&intc>;
26 compatible = "calxeda,hb-ahci";
29 dma-coherent;
30 calxeda,port-phys = < &combophy5 0>, <&combophy0 0>,
33 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>,
[all …]
Daspeed-g5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
2 #include <dt-bindings/clock/aspeed-clock.h>
3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h>
8 #address-cells = <1>;
9 #size-cells = <1>;
10 interrupt-parent = <&vic>;
36 #address-cells = <1>;
37 #size-cells = <0>;
40 compatible = "arm,arm1176jzf-s";
52 compatible = "simple-bus";
[all …]
Daspeed-bmc-quanta-q71l.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "aspeed-g4.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "quanta,q71l-bmc", "aspeed,ast2400";
30 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
44 no-map;
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dpfc-sh7757.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2009-2010 Renesas Solutions Corp.
415 /* PTN (mobule: USB, JMC, SGPIO, WDT) */
421 /* PTO (mobule: SGPIO, SerMux) */
454 /* PTV (mobule: LBSC, SerMux, R-SPI, EVC, GRA) */
487 /* PTA GPIO */
497 /* PTB GPIO */
507 /* PTC GPIO */
517 /* PTD GPIO */
527 /* PTE GPIO */
[all …]
/kernel/linux/linux-5.10/drivers/message/fusion/lsi/
Dmpi_log_sas.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2000-2008 LSI Corporation. All rights reserved. *
7 * ------------ *
10 *-------------------------------------------------------------------------*
20 /* IOC LOGINFO defines, 0x00000000 - 0x0FFFFFFF */
22 /* Bits 31-28: MPI_IOCLOGINFO_TYPE_SAS (3) */
23 /* Bits 27-24: IOC_LOGINFO_ORIGINATOR: 0=IOP, 1=PL, 2=IR */
24 /* Bits 23-16: LOGINFO_CODE */
25 /* Bits 15-0: LOGINFO_CODE Specific */
64 …DIAG_MSG_ERROR (0x00040000) /* Error handling diag msg - or'd with diag statu…
[all …]