Home
last modified time | relevance | path

Searched +full:st +full:- +full:spics (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/gpio/
H A Dspear_spics.txt1 === ST Microelectronics SPEAr SPI CS Driver ===
17 * compatible: should be defined as "st,spear-spics-gpio"
18 * reg: mentioning address range of spics controller
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
[all …]
/linux/drivers/gpio/
H A Dgpio-spear-spics.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012 ST Microelectronics
31 * struct spear_spics - represents spi chip select control
57 return -ENXIO; in spics_get_value()
62 struct spear_spics *spics = gpiochip_get_data(chip); in spics_set_value() local
66 tmp = readl_relaxed(spics->base + spics->perip_cfg); in spics_set_value()
67 if (spics->last_off != offset) { in spics_set_value()
68 spics->last_off = offset; in spics_set_value()
69 tmp &= ~(spics->cs_enable_mask << spics->cs_enable_shift); in spics_set_value()
70 tmp |= offset << spics->cs_enable_shift; in spics_set_value()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dspear1340.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
11 compatible = "st,spear1340";
15 spics: spics@e0700000 { label
16 compatible = "st,spear-spics-gpio";
18 st-spics,peripcfg-reg = <0x42c>;
19 st-spics,sw-enable-bit = <21>;
20 st-spics,cs-value-bit = <20>;
21 st-spics,cs-enable-mask = <3>;
22 st-spics,cs-enable-shift = <18>;
23 gpio-controller;
[all …]
H A Dspear1310.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
11 compatible = "st,spear1310";
14 spics: spics@e0700000 { label
15 compatible = "st,spear-spics-gpio";
17 st-spics,peripcfg-reg = <0x3b0>;
18 st-spics,sw-enable-bit = <12>;
19 st-spics,cs-value-bit = <11>;
20 st-spics,cs-enable-mask = <3>;
21 st-spics,cs-enable-shift = <8>;
22 gpio-controller;
[all …]
/linux/Documentation/devicetree/bindings/
H A Dvendor-prefixes.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true
21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true
22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true
23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true
50 "^active-semi,.*":
[all …]