Home
last modified time | relevance | path

Searched +full:sc9860 +full:- +full:gpio (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/arm64/boot/dts/sprd/
Dwhale2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/clock/sprd,sc9860-clk.h>
11 interrupt-parent = <&gic>;
12 #address-cells = <2>;
13 #size-cells = <2>;
16 compatible = "simple-bus";
17 #address-cells = <2>;
18 #size-cells = <2>;
66 ap-apb@70000000 {
67 compatible = "simple-bus";
[all …]
Dsc9860.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Spreadtrum SC9860 SoC
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
15 #address-cells = <2>;
16 #size-cells = <0>;
18 cpu-map {
52 compatible = "arm,cortex-a53";
54 enable-method = "psci";
[all …]
Dsp9860g-1h10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "sc9860.dtsi"
16 compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
33 stdout-path = "serial1:115200n8";
36 gpio-keys {
37 compatible = "gpio-keys";
39 key-volumedown {
43 debounce-interval = <2>;
44 wakeup-source;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dsprd,gpio-eic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/gpio/sprd,gpio-eic.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Orson Zhai <orsonzhai@gmail.com>
12 - Baolin Wang <baolin.wang7@gmail.com>
13 - Chunyan Zhang <zhang.lyra@gmail.com>
19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and
20 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
23 The EIC-debounce sub-module provides up to 8 source input signal
[all …]
Dsprd,gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/gpio/sprd,gpio.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Unisoc GPIO controller
11 - Orson Zhai <orsonzhai@gmail.com>
12 - Baolin Wang <baolin.wang7@gmail.com>
13 - Chunyan Zhang <zhang.lyra@gmail.com>
16 The controller's registers are organized as sets of sixteen 16-bit
23 - const: sprd,sc9860-gpio
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-eic-sprd.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/gpio/driver.h>
54 * The digital-chip EIC controller can support maximum 3 banks, and each bank
60 #define SPRD_EIC_BIT(x) ((x) & (SPRD_EIC_PER_BANK_NR - 1))
67 * The Spreadtrum digital-chip EIC controller contains 4 sub-modules:
71 * (millisecond resolution) and a single-trigger mechanism is introduced
72 * into this sub-module to enhance the input event detection reliability.
82 * The EIC-sync is similar with GPIO's input function, which is a synchronized
114 "eic-debounce", "eic-latch", "eic-async",
115 "eic-sync",
[all …]
Dgpio-sprd.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/gpio/driver.h>
15 /* GPIO registers definition */
33 #define SPRD_GPIO_BIT(x) ((x) & (SPRD_GPIO_BANK_NR - 1))
45 return sprd_gpio->base + SPRD_GPIO_BANK_SIZE * bank; in sprd_gpio_bank_base()
57 spin_lock_irqsave(&sprd_gpio->lock, flags); in sprd_gpio_update()
66 spin_unlock_irqrestore(&sprd_gpio->lock, flags); in sprd_gpio_update()
183 return -EINVAL; in sprd_gpio_irq_set_type()
198 for (bank = 0; bank * SPRD_GPIO_BANK_NR < chip->ngpio; bank++) { in sprd_gpio_irq_handler()
204 generic_handle_domain_irq(chip->irq.domain, in sprd_gpio_irq_handler()
[all …]
/linux-6.12.1/drivers/clk/sprd/
Dsc9860-clk.c1 // SPDX-License-Identifier: GPL-2.0
3 // Spreatrum SC9860 clock driver
8 #include <linux/clk-provider.h>
16 #include <dt-bindings/clock/sprd,sc9860-clk.h>
25 static CLK_FIXED_FACTOR(fac_4m, "fac-4m", "ext-26m",
27 static CLK_FIXED_FACTOR(fac_2m, "fac-2m", "ext-26m",
29 static CLK_FIXED_FACTOR(fac_1m, "fac-1m", "ext-26m",
31 static CLK_FIXED_FACTOR(fac_250k, "fac-250k", "ext-26m",
33 static CLK_FIXED_FACTOR(fac_rpll0_26m, "rpll0-26m", "ext-26m",
35 static CLK_FIXED_FACTOR(fac_rpll1_26m, "rpll1-26m", "ext-26m",
[all …]