Searched +full:eic +full:- +full:debounce (Results 1 – 6 of 6) sorted by relevance
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | sprd,gpio-eic.yaml | 1 # 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# 8 title: Unisoc EIC controller 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 16 The EIC is the abbreviation of external interrupt controller, which can 17 be used only in input mode. The Spreadtrum platform has 2 EIC controllers, [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-eic-sprd.c | 1 // SPDX-License-Identifier: GPL-2.0 17 /* EIC registers definition */ 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)) 64 * The Spreadtrum EIC (external interrupt controller) can be used only in 67 * The Spreadtrum digital-chip EIC controller contains 4 sub-modules: 68 * debounce EIC, latch EIC, async EIC and sync EIC, 70 * The debounce EIC is used to capture the input signals' stable status 71 * (millisecond resolution) and a single-trigger mechanism is introduced 72 * into this sub-module to enhance the input event detection reliability. [all …]
|
H A D | gpio-pmic-eic-sprd.c | 1 // SPDX-License-Identifier: GPL-2.0 15 /* EIC registers definition */ 27 * The PMIC EIC controller only has one bank, and each bank now can contain 33 #define SPRD_PMIC_EIC_BIT(x) ((x) & (SPRD_PMIC_EIC_PER_BANK_NR - 1)) 48 * struct sprd_pmic_eic - PMIC EIC controller 51 * @offset: the EIC controller's offset address of the PMIC. 52 * @reg: the array to cache the EIC registers. 54 * @irq: the interrupt number of the PMIC EIC conteroller. 71 regmap_update_bits(pmic_eic->map, pmic_eic->offset + reg, in sprd_pmic_eic_update() 82 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_read() [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | whale2.dtsi | 1 // 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 …]
|
/linux/drivers/clk/sprd/ |
H A D | ums512-clk.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/sprd,ums512-clk.h> 33 static CLK_FIXED_FACTOR_FW_NAME(clk_26m_aud, "clk-26m-aud", "ext-26m", 1, 1, 0); 34 static CLK_FIXED_FACTOR_FW_NAME(clk_13m, "clk-13m", "ext-26m", 2, 1, 0); 35 static CLK_FIXED_FACTOR_FW_NAME(clk_6m5, "clk-6m5", "ext-26m", 4, 1, 0); 36 static CLK_FIXED_FACTOR_FW_NAME(clk_4m3, "clk-4m3", "ext-26m", 6, 1, 0); 37 static CLK_FIXED_FACTOR_FW_NAME(clk_2m, "clk-2m", "ext-26m", 13, 1, 0); 38 static CLK_FIXED_FACTOR_FW_NAME(clk_1m, "clk-1m", "ext-26m", 26, 1, 0); 39 static CLK_FIXED_FACTOR_FW_NAME(clk_250k, "clk-250k", "ext-26m", 104, 1, 0); [all …]
|
H A D | sc9860-clk.c | 1 // SPDX-License-Identifier: GPL-2.0 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", 37 static CLK_FIXED_FACTOR(fac_rco_25m, "rco-25m", "ext-rc0-100m", [all …]
|