Home
last modified time | relevance | path

Searched full:sgpio (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/pinctrl/sirf/
Dpinctrl-sirf.c410 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank() argument
412 return &sgpio->sgpio_bank[offset / SIRFSOC_GPIO_BANK_SIZE]; in sirfsoc_gpio_to_bank()
423 struct sirfsoc_gpio_chip *sgpio = gpiochip_get_data(gc); in sirfsoc_gpio_irq_ack() local
424 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_ack()
431 spin_lock_irqsave(&sgpio->lock, flags); in sirfsoc_gpio_irq_ack()
433 val = readl(sgpio->chip.regs + offset); in sirfsoc_gpio_irq_ack()
435 writel(val, sgpio->chip.regs + offset); in sirfsoc_gpio_irq_ack()
437 spin_unlock_irqrestore(&sgpio->lock, flags); in sirfsoc_gpio_irq_ack()
440 static void __sirfsoc_gpio_irq_mask(struct sirfsoc_gpio_chip *sgpio, in __sirfsoc_gpio_irq_mask() argument
449 spin_lock_irqsave(&sgpio->lock, flags); in __sirfsoc_gpio_irq_mask()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Daspeed,sgpio.yaml4 $id: http://devicetree.org/schemas/gpio/aspeed,sgpio.yaml#
7 title: Aspeed SGPIO controller
13 This SGPIO controller is for ASPEED AST2400, AST2500 and AST2600 SoC,
14 AST2600 have two sgpio master one with 128 pins another one with 80 pins,
15 AST2500/AST2400 have one sgpio master with 80 pins. Each of the Serial
27 - aspeed,ast2400-sgpio
28 - aspeed,ast2500-sgpio
67 sgpio: sgpio@1e780200 {
69 compatible = "aspeed,ast2500-sgpio";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dmicrochip,sparx5-sgpio.yaml4 $id: http://devicetree.org/schemas/pinctrl/microchip,sparx5-sgpio.yaml#
25 - microchip,sparx5-sgpio
26 - mscc,ocelot-sgpio
27 - mscc,luton-sgpio
41 microchip,sgpio-port-ranges:
64 description: The sgpio controller frequency (Hz). This dictates
83 const: microchip,sparx5-sgpio-bank
102 description: Specifies the sgpio IRQ (in parent controller)
134 - microchip,sgpio-port-ranges
144 compatible = "microchip,sparx5-sgpio";
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/
Dpinctrl-lpc18xx.c164 [FUNC_SGPIO] = "sgpio",
240 LPC_P(0,0, GPIO, SSP1, ENET, SGPIO, R, R, I2S0_TX_WS,I2S1, 0, ND);
241 LPC_P(0,1, GPIO, SSP1,ENET_ALT,SGPIO, R, R, ENET, I2S1, 0, ND);
242 LPC_P(1,0, GPIO, CTIN, EMC, R, R, SSP0, SGPIO, R, 0, ND);
243 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
244 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
245 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
246 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
247 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND);
248 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND);
[all …]
Dpinctrl-microchip-sgpio.c160 WARN_ONCE(ret, "error reading sgpio reg %d\n", ret); in sgpio_readl()
172 WARN_ONCE(ret, "error writing sgpio reg %d\n", ret); in sgpio_writel()
182 WARN_ONCE(ret, "error updating sgpio reg %d\n", ret); in sgpio_clrsetbits()
604 const char *range_property_name = "microchip,sgpio-port-ranges"; in microchip_sgpio_get_ports()
990 .compatible = "microchip,sparx5-sgpio",
993 .compatible = "mscc,luton-sgpio",
996 .compatible = "mscc,ocelot-sgpio",
1006 .name = "pinctrl-microchip-sgpio",
1014 MODULE_DESCRIPTION("Microchip SGPIO Pinctrl Driver");
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c162 [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);
241 LPC_P(1,1, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
242 LPC_P(1,2, GPIO, CTOUT, EMC, SGPIO, R, SSP0, R, R, 0, ND);
243 LPC_P(1,3, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
244 LPC_P(1,4, GPIO, CTOUT, SGPIO, EMC, USB0, SSP1, R, SDMMC, 0, ND);
245 LPC_P(1,5, GPIO, CTOUT, R, EMC, USB0, SSP1, SGPIO, SDMMC, 0, ND);
246 LPC_P(1,6, GPIO, CTIN, R, EMC, R, R, SGPIO, SDMMC, 0, ND);
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dsgpio-aspeed.txt1 Aspeed SGPIO controller Device Tree Bindings
4 This SGPIO controller is for ASPEED AST2500 SoC, it supports up to 80 full
17 "aspeed,ast2400-sgpio", "aspeed,ast2500-sgpio"
29 The sgpio and interrupt properties are further described in their respective
36 sgpio: sgpio@1e780200 {
38 compatible = "aspeed,ast2500-sgpio";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml33 sending an SGPIO pattern.
39 sending an SGPIO pattern.
42 description: Maps port numbers to offsets within the SGPIO bitstream.
63 calxeda,sgpio-gpio:
66 that the driver supports SGPIO indicator lights using the indicated
85 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>, <&gpioh 7 1>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ata/
Dsata_highbank.yaml33 sending an SGPIO pattern.
39 sending an SGPIO pattern.
42 description: Maps port numbers to offsets within the SGPIO bitstream.
65 calxeda,sgpio-gpio:
69 that the driver supports SGPIO indicator lights using the indicated
88 calxeda,sgpio-gpio =<&gpioh 5 1>, <&gpioh 6 1>, <&gpioh 7 1>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmscc,ocelot.yaml46 $ref: /schemas/pinctrl/microchip,sparx5-sgpio.yaml
50 - mscc,ocelot-sgpio
127 sgpio_pins: sgpio-pins {
139 compatible = "mscc,ocelot-sgpio";
144 microchip,sgpio-port-ranges = <0 15>;
150 compatible = "microchip,sparx5-sgpio-bank";
158 compatible = "microchip,sparx5-sgpio-bank";
/kernel/linux/linux-6.6/arch/arm64/boot/dts/microchip/
Dsparx5_pcb134_board.dtsi255 microchip,sgpio-port-ranges = <8 15>;
266 microchip,sgpio-port-ranges = <24 31>;
302 microchip,sgpio-port-ranges = <8 15>;
313 microchip,sgpio-port-ranges = <24 31>;
324 microchip,sgpio-port-ranges = <0 0>, <11 31>;
722 microchip,sd-sgpio = <301>;
732 microchip,sd-sgpio = <305>;
741 microchip,sd-sgpio = <309>;
750 microchip,sd-sgpio = <313>;
759 microchip,sd-sgpio = <317>;
[all …]
Dsparx5.dtsi239 sgpio0_pins: sgpio-pins {
303 compatible = "microchip,sparx5-sgpio";
312 compatible = "microchip,sparx5-sgpio-bank";
322 compatible = "microchip,sparx5-sgpio-bank";
333 compatible = "microchip,sparx5-sgpio";
342 compatible = "microchip,sparx5-sgpio-bank";
352 compatible = "microchip,sparx5-sgpio-bank";
363 compatible = "microchip,sparx5-sgpio";
373 compatible = "microchip,sparx5-sgpio-bank";
382 compatible = "microchip,sparx5-sgpio-bank";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dmicrochip,sparx5-switch.yaml105 microchip,sd-sgpio:
107 Index of the ports Signal Detect SGPIO in the set of 384 SGPIOs
170 microchip,sd-sgpio = <365>;
179 microchip,sd-sgpio = <369>;
188 microchip,sd-sgpio = <373>;
197 microchip,sd-sgpio = <377>;
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-aspeed-sgpio.c141 struct aspeed_sgpio *sgpio = gpiochip_get_data(gc); in aspeed_sgpio_init_valid_mask() local
142 int n = sgpio->n_sgpio; in aspeed_sgpio_init_valid_mask()
161 struct aspeed_sgpio *sgpio = gpiochip_get_data(gc); in aspeed_sgpio_irq_init_valid_mask() local
162 int n = sgpio->n_sgpio; in aspeed_sgpio_irq_init_valid_mask()
416 .name = "aspeed-sgpio",
436 /* Disable IRQ and clear Interrupt status registers for all SGPIO Pins. */ in aspeed_sgpio_setup_irqs()
470 { .compatible = "aspeed,ast2400-sgpio" },
471 { .compatible = "aspeed,ast2500-sgpio" },
519 * SGPIO period = 1/PCLK * 2 * (GPIO254[31:16] + 1) in aspeed_sgpio_probe()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-scsi_host80 SES-2, SGPIO etc).
107 For eg. the AHCI driver supports SGPIO EM messages but the
108 SATA/AHCI specs do not define the SGPIO message format of the EM
112 tools for their SGPIO initiators.
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-scsi_host80 SES-2, SGPIO etc).
107 For eg. the AHCI driver supports SGPIO EM messages but the
108 SATA/AHCI specs do not define the SGPIO message format of the EM
112 tools for their SGPIO initiators.
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dlan966x-kontron-kswitch-d10-mmt.dtsi79 sgpio_a_pins: sgpio-a-pins {
85 sgpio_b_pins: sgpio-b-pins {
200 &sgpio {
205 microchip,sgpio-port-ranges = <0 11>;
Dlan966x-pcb8291.dts73 sgpio_a_pins: sgpio-a-pins {
127 &sgpio {
130 microchip,sgpio-port-ranges = <0 3>, <8 11>;
Dlan966x-pcb8309.dts159 sgpio_a_pins: sgpio-a-pins {
212 &sgpio {
215 microchip,sgpio-port-ranges = <0 3>, <8 11>;
/kernel/linux/linux-5.10/drivers/ata/
Dahci_seattle.c23 /* SGPIO Control Register definition
30 * 7 RO SGPIO feature flag
150 dev_info(dev, "SGPIO LED control is enabled.\n"); in ahci_seattle_get_port_info()
/kernel/linux/linux-6.6/drivers/ata/
Dahci_seattle.c22 /* SGPIO Control Register definition
29 * 7 RO SGPIO feature flag
148 dev_info(dev, "SGPIO LED control is enabled.\n"); in ahci_seattle_get_port_info()
/kernel/linux/linux-6.6/drivers/mfd/
Docelot-core.c169 .name = "ocelot-sgpio",
170 .of_compatible = "mscc,ocelot-sgpio",
/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-aspeed-sgpio.c449 /* Disable IRQ and clear Interrupt status registers for all SGPIO Pins. */ in aspeed_sgpio_setup_irqs()
529 { .compatible = "aspeed,ast2400-sgpio", .data = &ast2400_sgpio_pdata, },
530 { .compatible = "aspeed,ast2500-sgpio", .data = &ast2400_sgpio_pdata, },
587 * SGPIO period = 1/PCLK * 2 * (GPIO254[31:16] + 1) in aspeed_sgpio_probe()
/kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-vegman-sx20.dts46 &sgpio {
50 /* SGPIO lines. even: input, odd: output */
Daspeed-bmc-vegman-n110.dts46 &sgpio {
50 /* SGPIO lines. even: input, odd: output */

1234