Home
last modified time | relevance | path

Searched full:cpld (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/drivers/leds/
Dleds-mlxcpld.c68 * @offset - offset for LED access in CPLD device
69 * @mask - mask for LED access in CPLD device
81 * @param - LED CPLD access parameters
92 * @offset - offset for LED access in CPLD device
93 * @mask - mask for LED access in CPLD device
264 * CPLD register. Register offset is specified by off parameter. in mlxcpld_led_store_hw()
327 struct mlxcpld_led_pdata *cpld) in mlxcpld_led_config() argument
332 cpld->pled = devm_kcalloc(dev, in mlxcpld_led_config()
333 cpld->num_led_instances, in mlxcpld_led_config()
336 if (!cpld->pled) in mlxcpld_led_config()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/board/
Dfsl-board.txt45 cpld@3,0 {
67 * Freescale on-board CPLD
69 Some Freescale boards like T1040RDB have an on board CPLD connected.
72 - compatible: Should be a board-specific string like "fsl,<board>-cpld"
74 "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
75 - reg: should describe CPLD registers
78 cpld@3,0 {
79 compatible = "fsl,t1040rdb-cpld";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/board/
Dfsl-board.txt45 cpld@3,0 {
67 * Freescale on-board CPLD
69 Some Freescale boards like T1040RDB have an on board CPLD connected.
72 - compatible: Should be a board-specific string like "fsl,<board>-cpld"
74 "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
75 - reg: should describe CPLD registers
78 cpld@3,0 {
79 compatible = "fsl,t1040rdb-cpld";
/kernel/linux/linux-6.6/drivers/leds/
Dleds-mlxcpld.c68 * @offset: offset for LED access in CPLD device
69 * @mask: mask for LED access in CPLD device
81 * @param: LED CPLD access parameters
92 * @offset: offset for LED access in CPLD device
93 * @mask: mask for LED access in CPLD device
264 * CPLD register. Register offset is specified by off parameter. in mlxcpld_led_store_hw()
327 struct mlxcpld_led_pdata *cpld) in mlxcpld_led_config() argument
332 cpld->pled = devm_kcalloc(dev, in mlxcpld_led_config()
333 cpld->num_led_instances, in mlxcpld_led_config()
336 if (!cpld->pled) in mlxcpld_led_config()
[all …]
/kernel/linux/linux-6.6/Documentation/leds/
Dleds-mlxcpld.rst28 - CPLD reg offset: 0x20
32 - CPLD reg offset: 0x20
36 - CPLD reg offset: 0x21
40 - CPLD reg offset: 0x21
44 - CPLD reg offset: 0x22
48 - CPLD reg offset: 0x22
77 - CPLD reg offset: 0x20
81 - CPLD reg offset: 0x21
85 - CPLD reg offset: 0x23
89 - CPLD reg offset: 0x23
[all …]
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-mlxcpld.rst28 - CPLD reg offset: 0x20
32 - CPLD reg offset: 0x20
36 - CPLD reg offset: 0x21
40 - CPLD reg offset: 0x21
44 - CPLD reg offset: 0x22
48 - CPLD reg offset: 0x22
77 - CPLD reg offset: 0x20
81 - CPLD reg offset: 0x21
85 - CPLD reg offset: 0x23
89 - CPLD reg offset: 0x23
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/85xx/
Dksi8560.c52 printk(KERN_ERR "Can't find CPLD base, hang forever\n"); in machine_restart()
129 struct device_node *cpld; in ksi8560_setup_arch() local
131 cpld = of_find_compatible_node(NULL, NULL, "emerson,KSI8560-cpld"); in ksi8560_setup_arch()
132 if (cpld) in ksi8560_setup_arch()
133 cpld_base = of_iomap(cpld, 0); in ksi8560_setup_arch()
135 printk(KERN_ERR "Can't find CPLD in device tree\n"); in ksi8560_setup_arch()
137 of_node_put(cpld); in ksi8560_setup_arch()
161 seq_printf(m, "CPLD rev\t: %d\n", in ksi8560_show_cpuinfo()
164 seq_printf(m, "Unknown Hardware and CPLD revs\n"); in ksi8560_show_cpuinfo()
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/
Dmpc5121_ads_cpld.c8 * MPC5121ADS CPLD irq handling
78 .name = "CPLD PIC",
148 np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121ads-cpld-pic"); in mpc5121_ads_cpld_map()
150 printk(KERN_ERR "CPLD PIC init: can not find cpld-pic node\n"); in mpc5121_ads_cpld_map()
166 np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121ads-cpld-pic"); in mpc5121_ads_cpld_pic_init()
168 printk(KERN_ERR "CPLD PIC init: can not find cpld-pic node\n"); in mpc5121_ads_cpld_pic_init()
193 printk(KERN_ERR "CPLD PIC: failed to allocate irq host!\n"); in mpc5121_ads_cpld_pic_init()
/kernel/linux/linux-6.6/arch/powerpc/platforms/512x/
Dmpc5121_ads_cpld.c8 * MPC5121ADS CPLD irq handling
79 .name = "CPLD PIC",
146 np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121ads-cpld-pic"); in mpc5121_ads_cpld_map()
148 printk(KERN_ERR "CPLD PIC init: can not find cpld-pic node\n"); in mpc5121_ads_cpld_map()
164 np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121ads-cpld-pic"); in mpc5121_ads_cpld_pic_init()
166 printk(KERN_ERR "CPLD PIC init: can not find cpld-pic node\n"); in mpc5121_ads_cpld_pic_init()
191 printk(KERN_ERR "CPLD PIC: failed to allocate irq host!\n"); in mpc5121_ads_cpld_pic_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
Dksi8560.c52 printk(KERN_ERR "Can't find CPLD base, hang forever\n"); in machine_restart()
129 struct device_node *cpld; in ksi8560_setup_arch() local
131 cpld = of_find_compatible_node(NULL, NULL, "emerson,KSI8560-cpld"); in ksi8560_setup_arch()
132 if (cpld) in ksi8560_setup_arch()
133 cpld_base = of_iomap(cpld, 0); in ksi8560_setup_arch()
135 printk(KERN_ERR "Can't find CPLD in device tree\n"); in ksi8560_setup_arch()
159 seq_printf(m, "CPLD rev\t: %d\n", in ksi8560_show_cpuinfo()
162 seq_printf(m, "Unknown Hardware and CPLD revs\n"); in ksi8560_show_cpuinfo()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Ddelta,tn48m-cpld.yaml4 $id: http://devicetree.org/schemas/mfd/delta,tn48m-cpld.yaml#
7 title: Delta Networks TN48M CPLD controller
13 Lattice CPLD onboard the TN48M switches is used for system
24 const: delta,tn48m-cpld
58 cpld@41 {
59 compatible = "delta,tn48m-cpld";
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dboard-dm365-evm.c66 * A MAX-II CPLD is used for various board control functions.
101 static void __iomem *cpld; variable
301 if (!cpld) in cpld_mmc_get_cd()
305 return !(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 4 : 0)); in cpld_mmc_get_cd()
310 if (!cpld) in cpld_mmc_get_ro()
314 return !!(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 5 : 1)); in cpld_mmc_get_ro()
639 u8 reg = __raw_readb(cpld + CPLD_LEDS); in cpld_led_set()
645 __raw_writeb(reg, cpld + CPLD_LEDS); in cpld_led_set()
651 u8 reg = __raw_readb(cpld + CPLD_LEDS); in cpld_led_get()
660 if (!have_leds() || !cpld) in cpld_leds_init()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/
Dturris1x.dts259 <0x3 0x0 0x0 0xffa00000 0x00020000>; /* CPLD */
340 cpld@3,0 {
342 * Turris CPLD firmware which runs on this Lattice FPGA,
343 * is extended version of P1021RDB-PC CPLD v4.1 firmware.
346 * Turris CPLD firmware is open source and available at:
349 compatible = "cznic,turris1x-cpld", "fsl,p1021rdb-pc-cpld", "simple-bus", "syscon";
358 * CPLD firmware maps SET0, SET1 and SET2
359 * input logic of MAX6370KA+T chip to CPLD
361 * input logic is outside of the CPLD and
371 * CPLD firmware which manages system reset and
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dmlxcpld.h3 * Mellanox I2C multiplexer support in CPLD
11 /* Platform data for the CPLD I2C multiplexers */
16 * @sel_reg_addr - mux select register offset in CPLD space
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Ddelta,tn48m-gpio.yaml7 title: Delta Networks TN48M CPLD GPIO controller
14 details see ../mfd/delta,tn48m-cpld.yaml.
16 Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander.
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dballoon3.h30 /* FPGA / CPLD registers for CF socket */
33 /* FPGA / CPLD version register */
35 /* FPGA / CPLD registers for NAND flash */
42 /* fpga/cpld interrupt control register */
110 /* CPLD (and FPGA) interface definitions */
/kernel/linux/linux-6.6/drivers/spi/
Dspi-rb4xx.c88 * CPLD needs CS deselected after every command. in rb4xx_set_cs()
106 * flash and CPLD share the CS0 pin. This works because the CPLD's in rb4xx_transfer_one()
114 /* Boot flash and CPLD */ in rb4xx_transfer_one()
121 /* CPLD can use two-wire transfers */ in rb4xx_transfer_one()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-rb4xx.c88 * CPLD needs CS deselected after every command. in rb4xx_set_cs()
106 * flash and CPLD share the CS0 pin. This works because the CPLD's in rb4xx_transfer_one()
114 /* Boot flash and CPLD */ in rb4xx_transfer_one()
121 /* CPLD can use two-wire transfers */ in rb4xx_transfer_one()
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io15 Description: These files show with which CPLD versions have been burned
34 Description: These files show with which CPLD versions have been burned
123 Description: These files show with which CPLD versions have been burned
167 assertion reset signal through CPLD. reset caused by signal
169 software by assertion power off signal through CPLD.
221 Description: These files show with which CPLD part numbers and minor
222 versions have been burned CPLD devices equipped on a
/kernel/linux/linux-5.10/include/linux/platform_data/x86/
Dmlxcpld.h2 * mlxcpld.h - Mellanox I2C multiplexer support in CPLD
39 /* Platform data for the CPLD I2C multiplexers */
44 * @sel_reg_addr - mux select register offset in CPLD space
/kernel/linux/linux-6.6/arch/mips/alchemy/devboards/
Dbcsr.c3 * bcsr.h -- Db1xxx/Pb1xxx Devboard CPLD registers ("BCSR") abstraction.
6 * have a few registers in a CPLD with standardised layout; they mostly
89 * DB1200/PB1200 CPLD IRQ muxer
124 .name = "CPLD",
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Dbcsr.c3 * bcsr.h -- Db1xxx/Pb1xxx Devboard CPLD registers ("BCSR") abstraction.
6 * have a few registers in a CPLD with standardised layout; they mostly
89 * DB1200/PB1200 CPLD IRQ muxer
124 .name = "CPLD",
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/fsl/
Difc.txt41 /* NOR, NAND Flashes and CPLD on board */
76 cpld@3,0 {
79 compatible = "fsl,p1010rdb-cpld";
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dbast.h6 * BAST - CPLD control constants
27 /* CTRL3 - rom write control, CPLD identity */
69 * in their space. We also have the board's CPLD to find register space
75 /* we put the CPLD registers next, to get them out of the way */
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/fsl/
Dt1042d4rdb.dts46 cpld@3,0 {
47 compatible = "fsl,t1040d4rdb-cpld",
48 "fsl,deepsleep-cpld";

12345678910>>...12