/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/Documentation/devicetree/bindings/misc/ |
H A D | aspeed-p2a-ctrl.txt | 2 Device tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver 14 - compatible: must be one of: 15 - "aspeed,ast2400-p2a-ctrl" 16 - "aspeed,ast2500-p2a-ctrl" 21 - reg: A hint for the memory regions associated with the P2A controller 22 - memory-region: A phandle to a reserved_memory region to be used for the PCI 25 The p2a-control node should be the child of a syscon node with the required 28 - compatible : Should be one of the following: 29 "aspeed,ast2400-scu", "syscon", "simple-mfd" 30 "aspeed,ast2500-scu", "syscon", "simple-mfd" [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | aspeed,ast2400-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/aspeed,ast2400-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ASPEED AST2400 Pin Controller 10 - Andrew Jeffery <andrew@aj.id.au> 16 - compatible: Should be one of the following: 17 "aspeed,ast2400-scu", "syscon", "simple-mfd" 24 const: aspeed,ast2400-pinctrl 29 $ref: pinmux-node.yaml# [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | aspeed,ast2600-fmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/aspeed,ast2600-fmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> 11 - Cédric Le Goater <clg@kaod.org> 15 SPI) of the AST2400, AST2500 and AST2600 SOCs. 18 - $ref: spi-controller.yaml# 23 - aspeed,ast2600-fmc 24 - aspeed,ast2600-spi [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 55 unsigned int mask = scu_ic->irq_enable << ASPEED_SCU_IC_STATUS_SHIFT; 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() 74 max = scu_ic->num_irqs + bit; in aspeed_scu_ic_irq_handler() 77 generic_handle_domain_irq(scu_ic->irq_domain, in aspeed_scu_ic_irq_handler() [all …]
|
/linux/drivers/iio/adc/ |
H A D | aspeed_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Aspeed AST2400/2500/2600 ADC 9 * Ast2400/Ast2500: 16 #include <linux/clk-provider.h> 178 struct regmap *scu; in aspeed_adc_set_trim_data() local 184 dev_warn(data->dev, "Couldn't find syscon node\n"); in aspeed_adc_set_trim_data() 185 return -EOPNOTSUPP; in aspeed_adc_set_trim_data() 187 scu = syscon_node_to_regmap(syscon); in aspeed_adc_set_trim_data() 189 if (IS_ERR(scu)) { in aspeed_adc_set_trim_data() 190 dev_warn(data->dev, "Failed to get syscon regmap\n"); in aspeed_adc_set_trim_data() [all …]
|
/linux/drivers/clk/ |
H A D | clk-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #define pr_fmt(fmt) "clk-aspeed: " fmt 13 #include <dt-bindings/clock/aspeed-clock.h> 15 #include "clk-aspeed.h" 49 [ASPEED_CLK_GATE_ECLK] = { 0, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */ 50 [ASPEED_CLK_GATE_GCLK] = { 1, 7, "gclk-gate", NULL, 0 }, /* 2D engine */ 51 [ASPEED_CLK_GATE_MCLK] = { 2, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */ 52 [ASPEED_CLK_GATE_VCLK] = { 3, -1, "vclk-gate", NULL, 0 }, /* Video Capture */ 53 [ASPEED_CLK_GATE_BCLK] = { 4, 8, "bclk-gate", "bclk", CLK_IS_CRITICAL }, /* PCIe/PCI */ 54 [ASPEED_CLK_GATE_DCLK] = { 5, -1, "dclk-gate", NULL, CLK_IS_CRITICAL }, /* DAC */ [all …]
|
/linux/drivers/gpu/drm/aspeed/ |
H A D | aspeed_gfx_drv.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/dma-mapping.h> 62 u32 dac_reg; /* DAC register in SCU */ 64 u32 vga_scratch_reg; /* VGA scratch register in SCU */ 94 { .compatible = "aspeed,ast2400-gfx", .data = &ast2400_config }, 95 { .compatible = "aspeed,ast2500-gfx", .data = &ast2500_config }, 96 { .compatible = "aspeed,ast2600-gfx", .data = &ast2600_config }, 115 drm->mode_config.min_width = 0; in aspeed_gfx_setup_mode_config() 116 drm->mode_config.min_height = 0; in aspeed_gfx_setup_mode_config() 117 drm->mode_config.max_width = 800; in aspeed_gfx_setup_mode_config() [all …]
|
/linux/drivers/fsi/ |
H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 30 /* Common SCU based coprocessor control registers */ 90 struct regmap *scu; member 132 msg->msg <<= bits; in msg_push_bits() 133 msg->msg |= data & ((1ull << bits) - 1); in msg_push_bits() 134 msg->bits += bits; in msg_push_bits() 142 top = msg->bits & 0x3; in msg_push_crc() [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-g4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 6 compatible = "aspeed,ast2400"; 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&vic>; 35 #address-cells = <1>; 36 #size-cells = <0>; 39 compatible = "arm,arm926ej-s"; 51 compatible = "simple-bus"; [all …]
|
H A D | aspeed-g5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&vic>; 36 #address-cells = <1>; 37 #size-cells = <0>; 40 compatible = "arm,arm1176jzf-s"; 52 compatible = "simple-bus"; [all …]
|
/linux/drivers/pinctrl/aspeed/ |
H A D | pinctrl-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include "pinctrl-aspeed.h" 18 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count() 26 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name() 35 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins() 36 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins() 44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show() 51 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count() 59 return pdata->pinmux.functions[function].name; in aspeed_pinmux_get_fn_name() 69 *groups = pdata->pinmux.functions[function].groups; in aspeed_pinmux_get_fn_groups() [all …]
|
H A D | pinmux-aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 * read-only). 23 * SoC Multi-function Pin Expression Examples 24 * ------------------------------------------ 26 * Here are some sample mux configurations from the AST2400 and AST2500 34 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 36 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 38 * C5 is a multi-signal pin (high and low priority signals). Here we touch 41 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 43 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- [all …]
|
H A D | pinctrl-aspeed-g5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/pinctrl/pinconf-generic.h> 21 #include "../pinctrl-utils.h" 22 #include "pinctrl-aspeed.h" 32 * The "Multi-function Pins Mapping and Control" table in the SoC datasheet 35 * opposed to naming them e.g. PINMUX_CTRL_[0-9]). Further, signal expressions 43 #define HW_STRAP1 0x70 /* AST2400 strapping is 33 bits, is split */ 45 #define SCU80 0x80 /* Multi-function Pin Control #1 */ 46 #define SCU84 0x84 /* Multi-function Pin Control #2 */ 47 #define SCU88 0x88 /* Multi-function Pin Control #3 */ [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() 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() 173 if ((pdev->revision & 0xf0) == 0x40) { in ast_detect_chip() [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: 20 - aspeed,lpc-interrupts [all …]
|
/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2009-2011 Faraday Technology 6 * Po-Yu Chuang <ratbert@faraday-tech.com> 12 #include <linux/dma-mapping.h> 54 /* For NC-SI to register a fixed-link phy device */ 126 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() 130 iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 132 priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 136 maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 144 return -EIO; in ftgmac100_reset_mac() [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|