/linux/drivers/gpio/ |
H A D | gpio-imx-scu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * to control the PIN resources on SCU domain. 14 #include <dt-bindings/firmware/imx/rsrc.h> 17 struct gpio_chip chip; member 34 static int imx_scu_gpio_get(struct gpio_chip *chip, unsigned int offset) in imx_scu_gpio_get() argument 36 struct scu_gpio_priv *priv = gpiochip_get_data(chip); in imx_scu_gpio_get() 40 if (offset >= chip->ngpio) in imx_scu_gpio_get() 41 return -EINVAL; in imx_scu_gpio_get() 43 mutex_lock(&priv->lock); in imx_scu_gpio_get() 45 /* to read PIN state via scu api */ in imx_scu_gpio_get() [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | airoha,en7581-chip-scu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/airoha,en7581-chip-scu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Airoha Chip SCU Controller for EN7581 SoC 10 - Lorenzo Bianconi <lorenzo@kernel.org> 13 The airoha chip-scu block provides a configuration interface for clock, 14 io-muxing and other functionalities used by multiple controllers (e.g. clock, 20 - enum: 21 - airoha,en7581-chip-scu [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-aspeed-scu-ic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Aspeed AST24XX, AST25XX, and AST26XX SCU Interrupt Controller 42 struct regmap *scu; member 54 struct irq_chip *chip = irq_desc_get_chip(desc); in aspeed_scu_ic_irq_handler() local 55 unsigned int mask = scu_ic->irq_enable << ASPEED_SCU_IC_STATUS_SHIFT; in aspeed_scu_ic_irq_handler() 57 chained_irq_enter(chip, desc); in aspeed_scu_ic_irq_handler() 60 * The SCU IC has just one register to control its operation and read in aspeed_scu_ic_irq_handler() 69 regmap_read(scu_ic->scu, scu_ic->reg, &sts); in aspeed_scu_ic_irq_handler() 70 enabled = sts & scu_ic->irq_enable; in aspeed_scu_ic_irq_handler() 73 bit = scu_ic->irq_shift; in aspeed_scu_ic_irq_handler() [all …]
|
/linux/include/linux/mfd/ |
H A D | intel_soc_pmic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2012-2014 Intel Corporation. All rights reserved. 25 * struct intel_soc_pmic - Intel SoC PMIC data 28 * @irq_chip_data: IRQ chip data for the PMIC itself 29 * @irq_chip_data_pwrbtn: Chained IRQ chip data for the Power Button 30 * @irq_chip_data_tmu: Chained IRQ chip data for the Time Management Unit 31 * @irq_chip_data_bcu: Chained IRQ chip data for the Burst Control Unit 32 * @irq_chip_data_adc: Chained IRQ chip data for the General Purpose ADC 33 * @irq_chip_data_chgr: Chained IRQ chip data for the External Charger 34 * @irq_chip_data_crit: Chained IRQ chip data for the Critical Event Handler [all …]
|
/linux/Documentation/devicetree/bindings/arm/ux500/ |
H A D | boards.txt | 1 ST-Ericsson Ux500 boards 2 ------------------------ 5 compatible = "st-ericsson,mop500" (legacy) 6 compatible = "st-ericsson,u8500" 10 soc: represents the system-on-chip and contains the chip 20 compatible = "ste,dbx500-backupram" 22 scu: 23 see binding for arm/arm,scu.yaml 25 interrupt-controller: 26 see binding for interrupt-controller/arm,gic.txt [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | aspeed,ast2x00-scu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 In AST2700 SOC which has two soc connection, each soc have its own scu 13 register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1. 16 - Joel Stanley <joel@jms.id.au> 17 - Andrew Jeffery <andrew@aj.id.au> 22 - enum: 23 - aspeed,ast2400-scu [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | vexpress-v2p-ca9.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Cortex-A9 MPCore (V2P-CA9) 8 * HBI-0191B 11 /dts-v1/; 12 #include "vexpress-v2m.dtsi" 15 model = "V2P-CA9"; 18 compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <1>; 21 #size-cells = <1>; [all …]
|
H A D | arm-realview-pbx-a9.dts | 23 /dts-v1/; 24 #include "arm-realview-pbx.dtsi" 28 * This is the RealView Platform Baseboard Explore for Cortex-A9 31 model = "ARM RealView Platform Baseboard Explore for Cortex-A9"; 35 #address-cells = <1>; 36 #size-cells = <0>; 37 enable-method = "arm,realview-smp"; 39 cpu-map { 51 compatible = "arm,cortex-a9"; 53 next-level-cache = <&L2>; [all …]
|
H A D | arm-realview-eb-mp.dtsi | 23 #include <dt-bindings/interrupt-controller/irq.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "arm-realview-eb.dtsi" 30 * and Cortex-A9 MPCore. 34 #address-cells = <1>; 35 #size-cells = <1>; 36 compatible = "arm,realview-eb-soc", "simple-bus"; 40 /* Primary interrupt controller in the test chip */ 41 intc: interrupt-controller@1f000100 { 42 compatible = "arm,eb11mp-gic"; [all …]
|
H A D | vexpress-v2p-ca5s.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Cortex-A5 MPCore (V2P-CA5s) 8 * HBI-0225B 11 /dts-v1/; 12 #include "vexpress-v2m-rs1.dtsi" 15 model = "V2P-CA5s"; 18 compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <1>; 21 #size-cells = <1>; [all …]
|
/linux/Documentation/devicetree/bindings/net/can/ |
H A D | fsl,flexcan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC). 11 - Marc Kleine-Budde <mkl@pengutronix.de> 14 - $ref: can-controller.yaml# 19 - enum: 20 - fsl,imx95-flexcan 21 - fsl,imx93-flexcan 22 - fsl,imx8qm-flexcan [all …]
|
/linux/drivers/mfd/ |
H A D | intel_soc_pmic_bxtwc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017, 2022 Intel Corporation. All rights reserved. 312 return -EINVAL; in regmap_ipc_byte_reg_read() 323 ret = intel_scu_ipc_dev_command(pmic->scu, PMC_PMIC_ACCESS, in regmap_ipc_byte_reg_read() 342 return -EINVAL; in regmap_ipc_byte_reg_write() 354 return intel_scu_ipc_dev_command(pmic->scu, PMC_PMIC_ACCESS, in regmap_ipc_byte_reg_write() 387 ret = regmap_read(pmic->regmap, bxtwc_reg_addr, &val); in val_show() 407 ret = regmap_write(pmic->regmap, bxtwc_reg_addr, val); in val_store() 434 const struct regmap_irq_chip *chip, in bxtwc_add_chained_irq_chip() argument 437 struct device *dev = pmic->dev; in bxtwc_add_chained_irq_chip() [all …]
|
/linux/drivers/gpu/drm/ast/ |
H A D | ast_drv.c | 14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 44 static int ast_modeset = -1; 141 struct device *dev = &pdev->dev; in ast_detect_chip() 142 struct device_node *np = dev->of_node; in ast_detect_chip() 145 enum ast_chip chip; in ast_detect_chip() local 150 * Find configuration mode and read SCU revision in ast_detect_chip() 153 /* Check if we have device-tree properties */ in ast_detect_chip() 154 if (np && !of_property_read_u32(np, "aspeed,scu-revision-id", &data)) { in ast_detect_chip() 158 } else if (pdev->device == PCI_CHIP_AST2000) { // Not all families have a P2A bridge in ast_detect_chip() 160 * The BMC will set SCU 0x40 D[12] to 1 if the P2 bridge in ast_detect_chip() [all …]
|
H A D | ast_main.c | 14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 46 ast->support_wide_screen = false; in ast_detect_widescreen() 51 ast->support_wide_screen = true; in ast_detect_widescreen() 53 ast->support_wide_screen = true; in ast_detect_widescreen() 55 ast->support_wide_screen = false; in ast_detect_widescreen() 56 if (ast->chip == AST1300) in ast_detect_widescreen() 57 ast->support_wide_screen = true; in ast_detect_widescreen() 58 if (ast->chip == AST1400) in ast_detect_widescreen() 59 ast->support_wide_screen = true; in ast_detect_widescreen() 60 if (ast->chip == AST2510) in ast_detect_widescreen() [all …]
|
/linux/arch/m68k/atari/ |
H A D | ataints.c | 2 * arch/m68k/atari/ataints.c -- Atari Linux interrupt handling code 5 * Added support for TT interrupts; setup for TT SCU (may someone has 6 * twiddled there and we won't get the right interrupts :-() 8 * Major change: The device-independent code in m68k/ints.c didn't know 9 * about non-autovec ints yet. It hardcoded the number of possible ints to 10 * 7 (IRQ1...IRQ7). But the Atari has lots of non-autovec ints! I made the 16 * 1995-07-16 Lars Brinkhoff <f93labr@dd.chalmers.se>: 27 * 1996-09-03 lars brinkhoff <f93labr@dd.chalmers.se>: 59 * -------------------------------- 62 * <asm/atariints.h>): Autovector interrupts are 1..7, then follow ST-MFP, [all …]
|
H A D | config.c | 40 #include <asm/bootinfo-atari.h> 78 /* ++roman: This is a more elaborate test for an SCC chip, since the plain 81 * resides generate DTACK without the chip, too. 118 * Parse an Atari-specific record in the bootinfo 124 const void *data = record->data; in atari_parse_bootinfo() 126 switch (be16_to_cpu(record->tag)) { in atari_parse_bootinfo() 141 /* Parse the Atari-specific switches= option. */ 233 * hardware, we assume that the ST-DMA serves SCSI instead of in config_atari() 238 pr_cont(" STDMA-SCSI"); in config_atari() 265 * The ST-DMA address registers aren't readable in config_atari() [all …]
|
/linux/arch/arm/mach-rockchip/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 np = dev->of_node; in rockchip_get_core_reset() 92 ret = -1; in pmu_set_power_domain() 122 return -ENXIO; in rockchip_boot_secondary() 128 return -ENXIO; in rockchip_boot_secondary() 159 * rockchip_smp_prepare_sram - populate necessary sram block 160 * Starting cores execute the code residing at the start of the on-chip sram 161 * after power-on. Therefore make sure, this sram region is reserved and 163 * core to the real startup code in ram into the sram-region. 164 * @node: mmio-sram device node [all …]
|
/linux/arch/arm/boot/dts/synaptics/ |
H A D | berlin2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 11 #include <dt-bindings/clock/berlin2.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #address-cells = <1>; 18 #size-cells = <1>; 27 #address-cells = <1>; 28 #size-cells = <0>; 29 enable-method = "marvell,berlin-smp"; 34 next-level-cache = <&l2>; 38 clock-latency = <100000>; [all …]
|
H A D | berlin2q.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com> 6 #include <dt-bindings/clock/berlin2q.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 model = "Marvell Armada 1500 pro (BG2-Q) SoC"; 12 #address-cells = <1>; 13 #size-cells = <1>; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 enable-method = "marvell,berlin-smp"; [all …]
|
H A D | berlin2cd.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC 11 #include <dt-bindings/clock/berlin2.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 model = "Marvell Armada 1500-mini (BG2CD) SoC"; 17 #address-cells = <1>; 18 #size-cells = <1>; 26 #address-cells = <1>; 27 #size-cells = <0>; 30 compatible = "arm,cortex-a9"; [all …]
|
/linux/drivers/clk/ |
H A D | clk-en7523.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <linux/clk-provider.h> 10 #include <linux/reset-controller.h> 11 #include <dt-bindings/clock/en7523-clk.h> 12 #include <dt-bindings/reset/airoha,en7581-reset.h> 351 if (!desc->base_bits) in en7523_get_base_rate() 352 return desc->base_value; in en7523_get_base_rate() 354 val >>= desc->base_shift; in en7523_get_base_rate() 355 val &= (1 << desc->base_bits) - 1; in en7523_get_base_rate() 357 if (val >= desc->n_base_values) in en7523_get_base_rate() [all …]
|
/linux/drivers/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt 86 functionality. This driver supports the pinmux, push-pull and 117 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" 141 The Awinic AW9523/AW9523B is a multi-function I2C GPIO 168 called pinctrl-cy8c95x0. 171 tristate "TI DA850/OMAP-L138/AM18XX pull-up and pull-down groups" [all …]
|
/linux/drivers/input/keyboard/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 board-specific setup logic must also provide a configuration data 38 be called adp5520-keys. 51 module will be called adp5588-keys. 61 module will be called adp5589-keys. 126 Say Y here if you have a PA-RISC machine and want to use an AT or 128 PA-RISC keyboards. 138 built-in keyboard (as opposed to an external keyboard). 152 in the left-hand column will be interpreted as the corresponding key 153 in the right-hand column. [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | atarihw.h | 2 ** linux/atarihw.h -- This header defines some macros and pointers for 10 ** 1996-09-13 lars brinkhoff <f93labr@dd.chalmers.se>: 24 #include <asm/bootinfo-atari.h> 65 * Define several Hardware-Chips for indication so that for the ATARI we do 78 ATARIHW_DECLARE(STND_SHIFTER); /* ST-Shifter - no base low ! */ 79 ATARIHW_DECLARE(EXTD_SHIFTER); /* STe-Shifter - 24 bit address */ 80 ATARIHW_DECLARE(TT_SHIFTER); /* TT-Shifter */ 81 ATARIHW_DECLARE(VIDEL_SHIFTER); /* Falcon-Shifter */ 84 ATARIHW_DECLARE(PCM_8BIT); /* PCM-Sound in STe-ATARI */ 88 ATARIHW_DECLARE(ST_SCSI); /* NCR5380 via ST-DMA (Falcon) */ [all …]
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 75 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 201 /*----------------------------------------------------------------------------- 203 ----------------------------------------------------------------------------*/ 205 /*----------------------------------------------------------------------------- 207 ----------------------------------------------------------------------------*/ 209 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 295 * \def SCU status and results [all …]
|