/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi-master-ast-cf.txt | 1 Device-tree bindings for ColdFire offloaded gpio-based FSI master driver 2 ------------------------------------------------------------------------ 5 - compatible = 6 "aspeed,ast2400-cf-fsi-master" for an AST2400 based system 8 "aspeed,ast2500-cf-fsi-master" for an AST2500 based system 10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 12 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 13 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 14 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other [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-bmc-opp-palmetto.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g4.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; [all …]
|
H A D | aspeed-bmc-microsoft-olympus.dts | 1 //SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g4.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "microsoft,olympus-bmc", "aspeed,ast2400"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
H A D | aspeed-bmc-opp-vesnin.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g4.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "yadro,vesnin-bmc", "aspeed,ast2400"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
H A D | aspeed-bmc-quanta-q71l.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g4.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "quanta,q71l-bmc", "aspeed,ast2400"; 30 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; 44 no-map; [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/Documentation/devicetree/bindings/gpio/ |
H A D | aspeed,sgpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/aspeed,sgpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Jeffery <andrew@aj.id.au> 13 This SGPIO controller is for ASPEED AST2400, AST2500 and AST2600 SoC, 15 AST2500/AST2400 have one sgpio master with 80 pins. Each of the Serial 16 GPIO pins can be programmed to support the following options 17 - Support interrupt option for each input port and various interrupt 18 sensitivity option (level-high, level-low, edge-high, edge-low) [all …]
|
/linux/drivers/net/mdio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 loadable module or built-in. 58 tristate "APM X-Gene SoC MDIO bus controller" 62 APM X-Gene SoC's. 72 third revision of the ASPEED MDIO register interface - the first two 73 revisions are the "old" and "new" interfaces found in the AST2400 and 75 continues to drive the embedded MDIO controller for the AST2400 and 109 tristate "GPIO lib-based bitbanged MDIO buses" 113 Supports GPIO lib-based MDIO busses. 116 will be called mdio-gpio. [all …]
|
/linux/drivers/fsi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 FSI - the FRU Support Interface - is a simple bus for low-level 12 access to POWER-based hardware. 29 symlinks in /dev/fsi/by-path when this option is enabled. 32 tristate "GPIO-based FSI master" 36 This option enables a FSI master driver using GPIO lines. 52 This option enables a FSI master using the AST2400 and AST2500 GPIO 84 a pipe-like FSI device for communicating with the self boot engine 91 This option enables an SBEFIFO based On-Chip Controller (OCC) device
|
H A D | cf-fsi-fw.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 43 #define FW_CONTROL_DUMMY_RD 0x00000004 /* Extra dummy read (AST2400) */ 45 #define HDR_CLOCK_GPIO_VADDR 0x90 /* 2 bytes offset from GPIO base */ 46 #define HDR_CLOCK_GPIO_DADDR 0x92 /* 2 bytes offset from GPIO base */ 47 #define HDR_DATA_GPIO_VADDR 0x94 /* 2 bytes offset from GPIO base */ 48 #define HDR_DATA_GPIO_DADDR 0x96 /* 2 bytes offset from GPIO base */ 49 #define HDR_TRANS_GPIO_VADDR 0x98 /* 2 bytes offset from GPIO base */ 50 #define HDR_TRANS_GPIO_DADDR 0x9a /* 2 bytes offset from GPIO base */ 61 * +---------------------------+ 64 * +---------------------------+ [all …]
|
H A D | fsi-master-ast-cf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <linux/gpio/consumer.h> 20 #include <linux/gpio/aspeed.h> 25 #include "fsi-master.h" 26 #include "cf-fsi-fw.h" 28 #define FW_FILE_NAME "cf-fsi-fw.bin" 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/drivers/irqchip/ |
H A D | irq-aspeed-vic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2015 - Ben Herrenschmidt, IBM Corp. 7 * Based on irq-vic.c: 9 * Copyright (C) 1999 - 2003 ARM Limited 63 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR); in vic_init_hw() 64 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4); in vic_init_hw() 67 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR); in vic_init_hw() 68 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4); in vic_init_hw() 71 writel(0, vic->base + AVIC_INT_SELECT); in vic_init_hw() 72 writel(0, vic->base + AVIC_INT_SELECT + 4); in vic_init_hw() [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 */ 10 * The ASPEED SoCs provide typically more than 200 pins for GPIO and other 21 * read-only). 23 * SoC Multi-function Pin Expression Examples 24 * ------------------------------------------ 26 * Here are some sample mux configurations from the AST2400 and AST2500 30 * D6 is a pin with a single function (beside GPIO); a high priority signal 34 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 36 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 38 * C5 is a multi-signal pin (high and low priority signals). Here we touch [all …]
|
H A D | pinctrl-aspeed-g4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/pinctrl/pinconf-generic.h> 20 #include "../pinctrl-utils.h" 21 #include "pinmux-aspeed.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 42 #define HW_STRAP1 0x70 /* AST2400 strapping is 33 bits, is split */ 44 #define SCU80 0x80 /* Multi-function Pin Control #1 */ 45 #define SCU84 0x84 /* Multi-function Pin Control #2 */ [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/gpio/ |
H A D | gpio-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/gpio/aspeed.h> 10 #include <linux/gpio/driver.h> 25 * These two headers aren't meant to be used by GPIO drivers. We need 30 #include <linux/gpio/consumer.h> 33 /* Non-constant mask variant of FIELD_GET() and FIELD_PREP() */ 34 #define field_get(_mask, _reg) (((_reg) & (_mask)) >> (ffs(_mask) - 1)) 35 #define field_prep(_mask, _val) (((_val) << (ffs(_mask) - 1)) & (_mask)) 75 * represents disabled debouncing for the GPIO. Any other value for an element 109 * line even when the GPIO is configured as an output. Since [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # GPIO infrastructure and drivers 7 bool "GPIO Support" 9 This enables GPIO support through the generic GPIO library. 11 one or more of the GPIO drivers below. 47 this symbol, but new drivers should use the generic gpio-regmap 51 bool "Debug GPIO calls" 54 Say Y here to add some extra checks and diagnostics to GPIO calls. 57 non-sleeping contexts. They can make bitbanged serial protocols 62 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT [all …]
|
/linux/drivers/hwmon/ |
H A D | aspeed-pwm-tacho.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/gpio/consumer.h> 11 #include <linux/hwmon-sysfs.h> 47 /* ASPEED_PTCR_CTRL : 0x00 - General Control Register */ 74 /* ASPEED_PTCR_CLK_CTRL : 0x04 - Clock Control Register */ 87 * ASPEED_PTCR_DUTY_CTRL/1/2/3 : 0x08/0x0C/0x48/0x4C - PWM-FAN duty control 97 /* ASPEED_PTCR_TYPEM_CTRL : 0x10/0x18/0x50 - Type M/N/O Ctrl 0 Register */ 105 /* ASPEED_PTCR_TACH_SOURCE : 0x20/0x60 - Tach Source Register */ 112 /* ASPEED_PTCR_RESULT : 0x2c - Result Register */ 116 /* ASPEED_PTCR_CTRL_EXT : 0x40 - General Control Extension #1 Register */ [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 …]
|