/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | pltdrv.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <asm/intel-family.h> 191 *unit_config = &(telm_conf->pss_config); in telem_get_unitconfig() 193 *unit_config = &(telm_conf->ioss_config); in telem_get_unitconfig() 195 return -EINVAL; in telem_get_unitconfig() 215 return -EINVAL; in telemetry_check_evtid() 221 return -EINVAL; in telemetry_check_evtid() 224 return -EINVAL; in telemetry_check_evtid() 229 if ((len + unit_config->ssram_evts_used) > in telemetry_check_evtid() 231 return -EINVAL; in telemetry_check_evtid() [all …]
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | scu_remote_node_context.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 60 * This file contains the structures and constatns used by the SCU hardware to 67 * struct ssp_remote_node_context - This structure contains the SCU hardware 76 * This field is the remote node index assigned for this remote node. All 77 * remote nodes must have a unique remote node index. The value of the remote 78 * node index can not exceed the maximum number of remote nodes reported in 79 * the SCU device context capacity register. 85 * This field tells the SCU hardware how many simultaneous connections that [all …]
|
H A D | scu_task_context.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 60 * This file contains the structures and constants for the SCU hardware task 68 * enum scu_ssp_task_type - This enumberation defines the various SSP task 69 * types the SCU hardware will accept. The definition for the various task 70 * types the SCU hardware will accept can be found in the DS specification. 84 * enum scu_sata_task_type - This enumeration defines the various SATA task 85 * types the SCU hardware will accept. The definition for the various task 86 * types the SCU hardware will accept can be found in the DS specification. [all …]
|
H A D | scu_completion_codes.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 60 * This file contains the constants and macros for the SCU hardware completion 70 * SCU_COMPLETION_TYPE() - 72 * This macro constructs an SCU completion type 78 * SCU_COMPLETION_TYPE() - 80 * These macros contain the SCU completion types SCU_COMPLETION_TYPE 92 * an SCU completion code. 105 * SCU_GET_COMPLETION_TYPE() - [all …]
|
H A D | remote_node_table.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 64 * Remote node sets are sets of remote node index in the remote node table. The 65 * SCU hardware requires that STP remote node entries take three consecutive 66 * remote node index so the table is arranged in sets of three. The bits are 133 * struct sci_remote_node_table - 150 * Because of the way STP remote node data is allocated on the SCU hardware 152 * entries. For ease of allocation and de-allocation we have broken the 173 /* --------------------------------------------------------------------------- */
|
H A D | isci.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 118 * enum sci_status - This is the general return status enumeration for non-IO, 119 * non-task management related SCI interface methods. 139 * This Value indicates that the SCU hardware returned an early response 344 * of messages (MSI-X) is not supported. 386 * INDEX DOES NOT EXIST, usually means exceeding max route index. 400 * enum sci_io_status - This enumeration depicts all of the possible IO 405 * Add the API to retrieve the SCU status from the core. Check to see that the [all …]
|
H A D | request.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair() 80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair() 84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair() 93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma() 94 (void *) &ihost->task_context_table[0]; in to_sgl_element_pair_dma() 95 return ihost->tc_dma + offset; in to_sgl_element_pair_dma() 97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma() [all …]
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2021 NXP 7 #include <dt-bindings/firmware/imx/rsrc.h> 8 #include <linux/arm-smccc.h> 10 #include <linux/clk-provider.h> 18 #include "clk-scu.h" 42 * struct clk_scu - Description of one SCU clock 44 * @rsrc_id: resource ID of this SCU clock 60 * struct clk_gpr_scu - Description of one SCU GPR clock 62 * @rsrc_id: resource ID of this SCU clock [all …]
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-bsp/u-boot/files/ |
H A D | 0001-Add-system-reset-status-support.patch | 6 This is backport of patch file from intel-bmc/openbmc repository. 7 …tps://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-common/recipes-bsp/u-boot/fil… 9 Will display the reset reasons in u-boot, 13 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> 14 --- 15 arch/arm/include/asm/arch-aspeed/ast_scu.h | 2 +- 16 arch/arm/include/asm/arch-aspeed/platform.h | 2 + 17 arch/arm/mach-aspeed/Makefile | 1 + 18 arch/arm/mach-aspeed/ast-late-init.c | 114 ++++++++++++++++++++ 19 arch/arm/mach-aspeed/ast-scu.c | 6 +- [all …]
|
H A D | 0004-aspeed-add-bmc-position-support.patch | 12 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> 13 --- 14 arch/arm/mach-aspeed/ast-late-init.c | 21 +++++++++++++++++++++ 17 diff --git a/arch/arm/mach-aspeed/ast-late-init.c b/arch/arm/mach-aspeed/ast-late-init.c 18 index 5646c0e882..7d36dc0d8a 100644 19 --- a/arch/arm/mach-aspeed/ast-late-init.c 20 +++ b/arch/arm/mach-aspeed/ast-late-init.c 21 @@ -7,6 +7,7 @@ 24 #include <asm/arch/regs-scu.h> 29 @@ -106,9 +107,29 @@ static void set_reset_reason(void) [all …]
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2400.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <clk-uclass.h> 12 #include <dt-bindings/clock/ast2400-clock.h> 13 #include <dt-bindings/reset/ast2400-reset.h> 19 * For H-PLL and M-PLL the formula is 21 * M - Numerator 22 * N - Denumerator 23 * P - Post Divider 26 * D-PLL and D2-PLL have extra divider (OD + 1), which is not 37 extern u32 ast2400_get_clkin(struct ast2400_scu *scu) in ast2400_get_clkin() argument [all …]
|
H A D | clk_ast2500.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <clk-uclass.h> 15 #include <dt-bindings/clock/ast2500-clock.h> 16 #include <dt-bindings/reset/ast2500-reset.h> 36 * For H-PLL and M-PLL the formula is 38 * M - Numerator 39 * N - Denumerator 40 * P - Post Divider 43 * D-PLL and D2-PLL have extra divider (OD + 1), which is not 52 extern u32 ast2500_get_clkin(struct ast2500_scu *scu) in ast2500_get_clkin() argument [all …]
|
H A D | clk_ast2600.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <clk-uclass.h> 15 #include <dt-bindings/clock/ast2600-clock.h> 16 #include <dt-bindings/reset/ast2600-reset.h> 19 * SCU 80 & 90 clock stop control for MAC controllers 87 * SCU 320 & 330 Frequency counters 134 * For H-PLL and M-PLL the formula is 136 * M - Numerator 137 * N - Denumerator 138 * P - Post Divider [all …]
|
/openbmc/linux/drivers/nvmem/ |
H A D | imx-ocotp-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/arm-smccc.h> 13 #include <linux/nvmem-provider.h> 75 static bool in_hole(void *context, u32 index) in in_hole() argument 78 const struct ocotp_devtype_data *data = priv->data; in in_hole() 81 for (i = 0; i < data->num_region; i++) { in in_hole() 82 if (data->region[i].flag & HOLE_REGION) { in in_hole() 83 if ((index >= data->region[i].start) && in in_hole() 84 (index <= data->region[i].end)) in in_hole() 92 static bool in_ecc(void *context, u32 index) in in_ecc() argument [all …]
|
/openbmc/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,imx93-flexcan 21 - fsl,imx8qm-flexcan 22 - fsl,imx8mp-flexcan [all …]
|
/openbmc/openbmc/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/files/ |
H A D | 0001-aspeed-Disable-unnecessary-features.patch | 9 Upstream-Status: Pending 11 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> 12 --- 13 arch/arm/include/asm/arch-aspeed/regs-lpc.h | 29 +++++++++++ 14 arch/arm/include/asm/arch-aspeed/regs-scu.h | 8 ++- 15 arch/arm/include/asm/arch-aspeed/regs-sdmc.h | 17 +++++++ 16 board/aspeed/ast-g4/ast-g4.c | 46 ++++++++++++++++- 17 board/aspeed/ast-g5/ast-g5.c | 52 +++++++++++++++++++- 18 5 files changed, 149 insertions(+), 3 deletions(-) 19 create mode 100644 arch/arm/include/asm/arch-aspeed/regs-lpc.h [all …]
|
/openbmc/u-boot/drivers/ram/aspeed/ |
H A D | sdram_ast2500.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2012-2020 ASPEED Technology Inc. 20 #include <dt-bindings/clock/ast2500-clock.h> 22 /* in order to speed up DRAM init time, write pre-defined values to registers 26 /* bit-field of m_pll_param */ 47 u32 index[PHY_CFG_SIZE]; member 50 .index = {0, 1, 3, 4, 5, 56, 57, 58, 59, 60, 61, 62, 36, 49, 50}, 86 struct ast2500_scu *scu; member 93 writel(0, &phy->phy[2]); in ast2500_sdrammc_init_phy() 94 writel(0, &phy->phy[6]); in ast2500_sdrammc_init_phy() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | aspeed_ast27x0.c | 7 * the COPYING file in the top-level directory. 18 #include "qemu/error-report.h" 73 /* Shared Peripheral Interrupt values below are offset by -32 from datasheet */ 192 if (sc->irqmap[dev] == aspeed_soc_ast2700_gic_intcmap[i].irq) { in aspeed_soc_ast2700_get_irq() 194 return qdev_get_gpio_in(DEVICE(&a->intc.orgates[i]), in aspeed_soc_ast2700_get_irq() 199 return qdev_get_gpio_in(DEVICE(&a->gic), sc->irqmap[dev]); in aspeed_soc_ast2700_get_irq() 203 int index) in aspeed_soc_ast2700_get_irq_index() argument 210 if (sc->irqmap[dev] == aspeed_soc_ast2700_gic_intcmap[i].irq) { in aspeed_soc_ast2700_get_irq_index() 212 return qdev_get_gpio_in(DEVICE(&a->intc.orgates[i]), in aspeed_soc_ast2700_get_irq_index() 213 aspeed_soc_ast2700_gic_intcmap[i].ptr[dev] + index); in aspeed_soc_ast2700_get_irq_index() [all …]
|
/openbmc/u-boot/board/intel/edison/ |
H A D | edison.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dwc3-uboot.h> 9 #include <u-boot/md5.h> 16 #include <asm/scu.h> 17 #include <asm/u-boot-x86.h> 23 .index = 0, 33 int board_usb_init(int index, enum usb_init_type init) in board_usb_init() argument 35 if (index == 0 && init == USB_INIT_DEVICE) in board_usb_init() 37 return -EINVAL; in board_usb_init() 40 int board_usb_cleanup(int index, enum usb_init_type init) in board_usb_cleanup() argument [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | aspeed_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/clk-provider.h> 179 struct regmap *scu; in aspeed_adc_set_trim_data() local 185 dev_warn(data->dev, "Couldn't find syscon node\n"); in aspeed_adc_set_trim_data() 186 return -EOPNOTSUPP; in aspeed_adc_set_trim_data() 188 scu = syscon_node_to_regmap(syscon); in aspeed_adc_set_trim_data() 190 if (IS_ERR(scu)) { in aspeed_adc_set_trim_data() 191 dev_warn(data->dev, "Failed to get syscon regmap\n"); in aspeed_adc_set_trim_data() 192 return -EOPNOTSUPP; in aspeed_adc_set_trim_data() 194 if (data->model_data->trim_locate) { in aspeed_adc_set_trim_data() [all …]
|
/openbmc/linux/drivers/gpu/drm/aspeed/ |
H A D | aspeed_gfx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 struct regmap *scu; member 39 #define CRT_XSCALE 0x8C /* CRT Scaling-Up Factor */ 55 #define OSD_COLOR1 0xE0 /* OSD Color Palette Index 1 & 0 */ 56 #define OSD_COLOR2 0xE4 /* OSD Color Palette Index 3 & 2 */ 57 #define OSD_COLOR3 0xE8 /* OSD Color Palette Index 5 & 4 */ 58 #define OSD_COLOR4 0xEC /* OSD Color Palette Index 7 & 6 */ 59 #define OSD_COLOR5 0xF0 /* OSD Color Palette Index 9 & 8 */ 60 #define OSD_COLOR6 0xF4 /* OSD Color Palette Index 11 & 10 */ 61 #define OSD_COLOR7 0xF8 /* OSD Color Palette Index 13 & 12 */ [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-mvebu-v7.c | 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 13 * Maintainer: Gregory CLEMENT <gregory.clement@free-electrons.com> 30 int index) in mvebu_v7_enter_idle() argument 36 if (drv->states[index].flags & MVEBU_V7_FLAG_DEEP_IDLE) in mvebu_v7_enter_idle() 48 return index; in mvebu_v7_enter_idle() 100 .desc = "CPU and SCU power down", 107 const struct platform_device_id *id = pdev->id_entry; in mvebu_v7_cpuidle_probe() 110 return -EINVAL; in mvebu_v7_cpuidle_probe() 112 mvebu_v7_cpu_suspend = pdev->dev.platform_data; in mvebu_v7_cpuidle_probe() 114 return cpuidle_register((struct cpuidle_driver *)id->driver_data, NULL); in mvebu_v7_cpuidle_probe() [all …]
|
/openbmc/linux/drivers/pmdomain/imx/ |
H A D | scu-pd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 7 * Implementation of the SCU based Power Domains 10 * single global power domain and implement the ->attach|detach_dev() 12 * From within the ->attach_dev(), we could get the OF node for 13 * the device that is being attached and then parse the power-domain 18 * Additionally, we need to implement the ->stop() and ->start() 20 * rather than using the above ->power_on|off() callbacks. 23 * 1. The ->attach_dev() of power domain infrastructure still does 32 * Update: Genpd assigns the ->of_node for the virtual device before it [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8-ss-dma.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 #include <dt-bindings/clock/imx8-lpcg.h> 8 #include <dt-bindings/firmware/imx/rsrc.h> 11 compatible = "simple-bus"; 12 #address-cells = <1>; 13 #size-cells = <1>; 16 dma_ipg_clk: clock-dma-ipg { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | fsl,imx8qxp-pixel-link.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-link.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liu Ying <victor.liu@nxp.com> 21 The i.MX8qm/qxp Display Pixel Link is accessed via System Controller Unit(SCU) 27 - fsl,imx8qm-dc-pixel-link 28 - fsl,imx8qxp-dc-pixel-link 30 fsl,dc-id: 33 u8 value representing the display controller index that the pixel link [all …]
|