Home
last modified time | relevance | path

Searched full:apb (Results 1 – 25 of 998) sorted by relevance

12345678910>>...40

/kernel/linux/linux-5.10/drivers/bus/
Dbt1-apb.c8 * Baikal-T1 APB-bus driver
38 * struct bt1_apb - Baikal-T1 APB EHB private data
40 * @regs: APB EHB registers map.
43 * @rate: APB-bus reference clock rate.
44 * @pclk: APB-reference clock.
45 * @prst: APB domain reset line.
71 static inline unsigned long bt1_apb_n_to_timeout_us(struct bt1_apb *apb, u32 n) in bt1_apb_n_to_timeout_us() argument
75 do_div(timeout, apb->rate); in bt1_apb_n_to_timeout_us()
81 static inline unsigned long bt1_apb_timeout_to_n_us(struct bt1_apb *apb, in bt1_apb_timeout_to_n_us() argument
84 u64 n = (u64)timeout * apb->rate; in bt1_apb_timeout_to_n_us()
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Darche-apb-ctrl.c3 * Arche Platform driver to control APB.
71 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq() local
74 if (apb->init_disabled || in coldboot_seq()
75 apb->state == ARCHE_PLATFORM_STATE_ACTIVE) in coldboot_seq()
78 /* Hold APB in reset state */ in coldboot_seq()
79 assert_reset(apb->resetn_gpio); in coldboot_seq()
81 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && in coldboot_seq()
82 gpio_is_valid(apb->spi_en_gpio)) in coldboot_seq()
83 devm_gpio_free(dev, apb->spi_en_gpio); in coldboot_seq()
85 /* Enable power to APB */ in coldboot_seq()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Darche-apb-ctrl.c3 * Arche Platform driver to control APB.
69 struct arche_apb_ctrl_drvdata *apb = platform_get_drvdata(pdev); in coldboot_seq() local
72 if (apb->init_disabled || in coldboot_seq()
73 apb->state == ARCHE_PLATFORM_STATE_ACTIVE) in coldboot_seq()
76 /* Hold APB in reset state */ in coldboot_seq()
77 assert_reset(apb->resetn); in coldboot_seq()
79 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in coldboot_seq()
80 devm_gpiod_put(dev, apb->spi_en); in coldboot_seq()
82 /* Enable power to APB */ in coldboot_seq()
83 if (!IS_ERR(apb->vcore)) { in coldboot_seq()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/
Dbaikal,bt1-apb.yaml5 $id: http://devicetree.org/schemas/bus/baikal,bt1-apb.yaml#
8 title: Baikal-T1 APB-bus
15 which routes them to the AXI-APB bridge. This interface is a single master
17 addressed APB slave devices. In case of any APB protocol collisions, slave
19 reported to the APB terminator (APB Errors Handler Block).
27 const: baikal,bt1-apb
31 - description: APB EHB MMIO registers
32 - description: APB MMIO region with no any device mapped
44 - description: APB reference clock
52 - description: APB domain reset line
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dcsky,apb-intc.txt2 C-SKY APB Interrupt Controller
5 C-SKY APB Interrupt Controller is a simple soc interrupt controller
6 on the apb bus and we only use it as root irq controller.
8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
16 Description: Describes APB interrupt controller
23 Definition: must be "csky,apb-intc"
24 "csky,dual-apb-intc"
44 compatible = "csky,apb-intc";
51 compatible = "csky,dual-apb-intc";
Dsnps,dw-apb-ictl.txt1 Synopsys DesignWare APB interrupt controller (dw_apb_ictl)
3 Synopsys DesignWare provides interrupt controller IP for APB known as
5 APB bus, e.g. Marvell Armada 1500. It can also be used as primary interrupt
9 - compatible: shall be "snps,dw-apb-ictl"
29 compatible = "snps,dw-apb-ictl";
39 compatible = "snps,dw-apb-ictl";
/kernel/linux/linux-4.19/arch/unicore32/include/mach/
DPKUnity.h59 /* AHB-9 is for APB bridge */
69 * PKUNITY Peripheral Bus Addresses (APB): 0xEE000000 - 0xEFFFFFFF (128MB)
73 #define PKUNITY_UART0_BASE (PKUNITY_APB_BASE + 0x000000) /* APB-0 */
74 #define PKUNITY_UART1_BASE (PKUNITY_APB_BASE + 0x100000) /* APB-1 */
76 #define PKUNITY_I2C_BASE (PKUNITY_APB_BASE + 0x200000) /* APB-2 */
78 #define PKUNITY_SPI_BASE (PKUNITY_APB_BASE + 0x300000) /* APB-3 */
80 #define PKUNITY_AC97_BASE (PKUNITY_APB_BASE + 0x400000) /* APB-4 */
82 #define PKUNITY_GPIO_BASE (PKUNITY_APB_BASE + 0x500000) /* APB-5 */
84 #define PKUNITY_INTC_BASE (PKUNITY_APB_BASE + 0x600000) /* APB-6 */
86 #define PKUNITY_RTC_BASE (PKUNITY_APB_BASE + 0x700000) /* APB-7 */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dsnps,dw-apb-timer.yaml4 $id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml#
7 title: Synopsys DesignWare APB Timer
15 - const: snps,dw-apb-timer
17 - snps,dw-apb-timer-sp
18 - snps,dw-apb-timer-osc
31 - description: APB interface clock source
67 compatible = "snps,dw-apb-timer";
75 compatible = "snps,dw-apb-timer";
83 compatible = "snps,dw-apb-timer";
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dberlin2cd.dtsi166 apb@e80000 {
175 compatible = "snps,dw-apb-gpio";
181 compatible = "snps,dw-apb-gpio-port";
193 compatible = "snps,dw-apb-gpio";
199 compatible = "snps,dw-apb-gpio-port";
211 compatible = "snps,dw-apb-gpio";
217 compatible = "snps,dw-apb-gpio-port";
229 compatible = "snps,dw-apb-gpio";
235 compatible = "snps,dw-apb-gpio-port";
267 compatible = "snps,dw-apb-ssi";
[all …]
Dberlin2.dtsi176 apb@e80000 {
185 compatible = "snps,dw-apb-gpio";
191 compatible = "snps,dw-apb-gpio-port";
203 compatible = "snps,dw-apb-gpio";
209 compatible = "snps,dw-apb-gpio-port";
221 compatible = "snps,dw-apb-gpio";
227 compatible = "snps,dw-apb-gpio-port";
239 compatible = "snps,dw-apb-gpio";
245 compatible = "snps,dw-apb-gpio-port";
257 compatible = "snps,dw-apb-timer";
[all …]
Dberlin2q.dtsi237 apb@e80000 {
246 compatible = "snps,dw-apb-gpio";
252 compatible = "snps,dw-apb-gpio-port";
264 compatible = "snps,dw-apb-gpio";
270 compatible = "snps,dw-apb-gpio-port";
282 compatible = "snps,dw-apb-gpio";
288 compatible = "snps,dw-apb-gpio-port";
300 compatible = "snps,dw-apb-gpio";
306 compatible = "snps,dw-apb-gpio-port";
342 compatible = "snps,dw-apb-timer";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dberlin2cd.dtsi166 apb@e80000 {
175 compatible = "snps,dw-apb-gpio";
181 compatible = "snps,dw-apb-gpio-port";
193 compatible = "snps,dw-apb-gpio";
199 compatible = "snps,dw-apb-gpio-port";
211 compatible = "snps,dw-apb-gpio";
217 compatible = "snps,dw-apb-gpio-port";
229 compatible = "snps,dw-apb-gpio";
235 compatible = "snps,dw-apb-gpio-port";
267 compatible = "snps,dw-apb-ssi";
[all …]
Dberlin2.dtsi176 apb@e80000 {
185 compatible = "snps,dw-apb-gpio";
191 compatible = "snps,dw-apb-gpio-port";
203 compatible = "snps,dw-apb-gpio";
209 compatible = "snps,dw-apb-gpio-port";
221 compatible = "snps,dw-apb-gpio";
227 compatible = "snps,dw-apb-gpio-port";
239 compatible = "snps,dw-apb-gpio";
245 compatible = "snps,dw-apb-gpio-port";
257 compatible = "snps,dw-apb-timer";
[all …]
Dberlin2q.dtsi237 apb@e80000 {
246 compatible = "snps,dw-apb-gpio";
252 compatible = "snps,dw-apb-gpio-port";
264 compatible = "snps,dw-apb-gpio";
270 compatible = "snps,dw-apb-gpio-port";
282 compatible = "snps,dw-apb-gpio";
288 compatible = "snps,dw-apb-gpio-port";
300 compatible = "snps,dw-apb-gpio";
306 compatible = "snps,dw-apb-gpio-port";
342 compatible = "snps,dw-apb-timer";
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/synaptics/
Dberlin4ct.dtsi125 apb@e80000 {
134 compatible = "snps,dw-apb-gpio";
140 compatible = "snps,dw-apb-gpio-port";
152 compatible = "snps,dw-apb-gpio";
158 compatible = "snps,dw-apb-gpio-port";
170 compatible = "snps,dw-apb-gpio";
176 compatible = "snps,dw-apb-gpio-port";
188 compatible = "snps,dw-apb-gpio";
194 compatible = "snps,dw-apb-gpio-port";
206 compatible = "snps,dw-apb-ictl";
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/synaptics/
Dberlin4ct.dtsi125 apb@e80000 {
134 compatible = "snps,dw-apb-gpio";
140 compatible = "snps,dw-apb-gpio-port";
152 compatible = "snps,dw-apb-gpio";
158 compatible = "snps,dw-apb-gpio-port";
170 compatible = "snps,dw-apb-gpio";
176 compatible = "snps,dw-apb-gpio-port";
188 compatible = "snps,dw-apb-gpio";
194 compatible = "snps,dw-apb-gpio-port";
206 compatible = "snps,dw-apb-ictl";
[all …]
/kernel/linux/linux-4.19/arch/arc/boot/dts/
Daxc003.dtsi58 dw-apb-gpio@0x2000 {
59 compatible = "snps,dw-apb-gpio";
65 compatible = "snps,dw-apb-gpio-port";
77 debug_uart: dw-apb-uart@0x5000 {
78 compatible = "snps,dw-apb-uart";
123 * The DW APB ICTL intc on MB is connected to CPU intc via a
124 * DT "invisible" DW APB GPIO block, configured to simply pass thru
128 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
129 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
135 mb_intc: dw-apb-ictl@0xe0012000 {
[all …]
Daxc001.dtsi44 dw-apb-gpio@0x2000 {
45 compatible = "snps,dw-apb-gpio";
51 compatible = "snps,dw-apb-gpio-port";
63 debug_uart: dw-apb-uart@0x5000 {
64 compatible = "snps,dw-apb-uart";
80 * This INTC is actually connected to DW APB GPIO
91 mb_intc: dw-apb-ictl@0xe0012000 {
93 compatible = "snps,dw-apb-ictl";
/kernel/linux/linux-5.10/drivers/clk/sprd/
Dsc9860-clk.c380 static SPRD_MUX_CLK(ap_apb, "ap-apb", ap_apb_parents,
500 static SPRD_COMP_CLK(aon_apb, "aon-apb", aon_apb_parents, 0x230,
826 static SPRD_SC_GATE_CLK(avs_lit_eb, "avs-lit-eb", "aon-apb", 0x0,
828 static SPRD_SC_GATE_CLK(avs_big_eb, "avs-big-eb", "aon-apb", 0x0,
830 static SPRD_SC_GATE_CLK(ap_intc5_eb, "ap-intc5-eb", "aon-apb", 0x0,
832 static SPRD_SC_GATE_CLK(gpio_eb, "gpio-eb", "aon-apb", 0x0,
834 static SPRD_SC_GATE_CLK(pwm0_eb, "pwm0-eb", "aon-apb", 0x0,
836 static SPRD_SC_GATE_CLK(pwm1_eb, "pwm1-eb", "aon-apb", 0x0,
838 static SPRD_SC_GATE_CLK(pwm2_eb, "pwm2-eb", "aon-apb", 0x0,
840 static SPRD_SC_GATE_CLK(pwm3_eb, "pwm3-eb", "aon-apb", 0x0,
[all …]
/kernel/linux/linux-4.19/drivers/clk/sprd/
Dsc9860-clk.c380 static SPRD_MUX_CLK(ap_apb, "ap-apb", ap_apb_parents,
500 static SPRD_COMP_CLK(aon_apb, "aon-apb", aon_apb_parents, 0x230,
826 static SPRD_SC_GATE_CLK(avs_lit_eb, "avs-lit-eb", "aon-apb", 0x0,
828 static SPRD_SC_GATE_CLK(avs_big_eb, "avs-big-eb", "aon-apb", 0x0,
830 static SPRD_SC_GATE_CLK(ap_intc5_eb, "ap-intc5-eb", "aon-apb", 0x0,
832 static SPRD_SC_GATE_CLK(gpio_eb, "gpio-eb", "aon-apb", 0x0,
834 static SPRD_SC_GATE_CLK(pwm0_eb, "pwm0-eb", "aon-apb", 0x0,
836 static SPRD_SC_GATE_CLK(pwm1_eb, "pwm1-eb", "aon-apb", 0x0,
838 static SPRD_SC_GATE_CLK(pwm2_eb, "pwm2-eb", "aon-apb", 0x0,
840 static SPRD_SC_GATE_CLK(pwm3_eb, "pwm3-eb", "aon-apb", 0x0,
[all …]
/kernel/linux/linux-5.10/arch/arc/boot/dts/
Daxc003.dtsi55 dw-apb-gpio@2000 {
56 compatible = "snps,dw-apb-gpio";
62 compatible = "snps,dw-apb-gpio-port";
74 debug_uart: dw-apb-uart@5000 {
75 compatible = "snps,dw-apb-uart";
120 * The DW APB ICTL intc on MB is connected to CPU intc via a
121 * DT "invisible" DW APB GPIO block, configured to simply pass thru
125 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
126 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
134 compatible = "snps,dw-apb-ictl";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
Dsnps-dw-apb-uart.yaml4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml#
35 - const: snps,dw-apb-uart
38 - brcm,bcm11351-dw-apb-uart
39 - brcm,bcm21664-dw-apb-uart
40 - const: snps,dw-apb-uart
41 - const: snps,dw-apb-uart
109 compatible = "snps,dw-apb-uart";
124 compatible = "snps,dw-apb-uart";
135 compatible = "snps,dw-apb-uart";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dsnps,dw-apb-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/snps,dw-apb-gpio.yaml#
7 title: Synopsys DesignWare APB GPIO controller
23 const: snps,dw-apb-gpio
37 - description: APB interface clock source
54 const: snps,dw-apb-gpio-port
114 compatible = "snps,dw-apb-gpio";
120 compatible = "snps,dw-apb-gpio-port";
132 compatible = "snps,dw-apb-gpio-port";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dsnps,dw-apb-ssi.yaml4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml#
46 - snps,dw-apb-ssi
53 - const: snps,dw-apb-ssi
57 const: amazon,alpine-dw-apb-ssi
61 - const: snps,dw-apb-ssi
72 - description: DW APB SSI controller memory mapped registers
82 - description: APB interface clock source
156 compatible = "snps,dw-apb-ssi";
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/rtc/
Ddw-apb.txt1 * Designware APB timer
5 "snps,dw-apb-timer"
6 "snps,dw-apb-timer-sp" <DEPRECATED>
7 "snps,dw-apb-timer-osc" <DEPRECATED>
27 compatible = "snps,dw-apb-timer";

12345678910>>...40