| /openbmc/u-boot/drivers/serial/ |
| H A D | Kconfig | 11 Select a default baudrate, where "default" has a driver-specific 12 meaning of either setting the baudrate for the early debug UART 19 # non-dm serial code 25 boards which have no debug serial port whatsoever. 34 in U-Boot. 41 In very space-constrained devices even the full UART driver is too 42 large. In this case the debug UART can still be used in some cases. 43 This option enables the full UART in U-Boot, so if is it disabled, 51 In very space-constrained devices even the full UART driver is too 52 large. In this case the debug UART can still be used in some cases. [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/bluealsa/ |
| H A D | bluealsa_4.3.0.bb | 6 specifically for use on small, low-powered, dedicated audio or audio/visual \ 7 systems where the high-level audio management features of PulseAudio or \ 10 HOMEPAGE = "https://github.com/Arkq/bluez-alsa" 11 BUGTRACKER = "https://github.com/arkq/bluez-alsa/issues" 17 DEPENDS += "alsa-lib bluez5 dbus glib-2.0-native python3-packaging-native sbc" 19 SRC_URI = "git://github.com/Arkq/bluez-alsa.git;protocol=https;branch=master \ 20 file://0001-Use-basename-implementation-from-glib-2.0.patch" 27 PACKAGECONFIG[a2dpconf] = "--enable-a2dpconf,--disable-a2dpconf" 28 PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,fdk-aac" 29 PACKAGECONFIG[aplay] = "--enable-aplay,--disable-aplay" [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
| H A D | clk-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #include <asm/kona-common/clk.h> 18 #include "clk-core.h" 31 debug("%s: %s\n", __func__, clkstr); in clk_get_and_enable() 40 return -EINVAL; in clk_get_and_enable() 70 debug("%s: timeout on addr 0x%p, waiting for bit %d to go to %d\n", in wait_bit() 73 return -ETIMEDOUT; in wait_bit() 76 /* Enable a peripheral clock */ 77 static int peri_clk_enable(struct clk *c, int enable) in peri_clk_enable() argument 82 struct peri_clk_data *cd = peri_clk->data; in peri_clk_enable() [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
| H A D | clk-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #include <asm/kona-common/clk.h> 18 #include "clk-core.h" 31 debug("%s: %s\n", __func__, clkstr); in clk_get_and_enable() 40 return -EINVAL; in clk_get_and_enable() 70 debug("%s: timeout on addr 0x%p, waiting for bit %d to go to %d\n", in wait_bit() 73 return -ETIMEDOUT; in wait_bit() 76 /* Enable a peripheral clock */ 77 static int peri_clk_enable(struct clk *c, int enable) in peri_clk_enable() argument 82 struct peri_clk_data *cd = peri_clk->data; in peri_clk_enable() [all …]
|
| /openbmc/u-boot/drivers/video/ |
| H A D | simple_panel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 struct gpio_desc enable; member 25 debug("%s: start, backlight = '%s'\n", __func__, priv->backlight->name); in simple_panel_enable_backlight() 26 dm_gpio_set_value(&priv->enable, 1); in simple_panel_enable_backlight() 27 ret = backlight_enable(priv->backlight); in simple_panel_enable_backlight() 28 debug("%s: done, ret = %d\n", __func__, ret); in simple_panel_enable_backlight() 40 debug("%s: start, backlight = '%s'\n", __func__, priv->backlight->name); in simple_panel_set_backlight() 41 dm_gpio_set_value(&priv->enable, 1); in simple_panel_set_backlight() 42 ret = backlight_set_brightness(priv->backlight, percent); in simple_panel_set_backlight() 43 debug("%s: done, ret = %d\n", __func__, ret); in simple_panel_set_backlight() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | interrupts.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2002 35 out_be32(&pic->gcr, MPC85xx_PICGCR_RST); in interrupt_init_cpu() 36 while (in_be32(&pic->gcr) & MPC85xx_PICGCR_RST) in interrupt_init_cpu() 38 out_be32(&pic->gcr, MPC85xx_PICGCR_M); in interrupt_init_cpu() 39 in_be32(&pic->gcr); in interrupt_init_cpu() 43 /* PIE is same as DIE, dec interrupt enable */ in interrupt_init_cpu() 47 pic->iivpr1 = 0x810001; /* 50220 enable ecm interrupts */ in interrupt_init_cpu() 48 debug("iivpr1@%x = %x\n", (uint)&pic->iivpr1, pic->iivpr1); in interrupt_init_cpu() 50 pic->iivpr2 = 0x810002; /* 50240 enable ddr interrupts */ in interrupt_init_cpu() [all …]
|
| /openbmc/u-boot/drivers/power/regulator/ |
| H A D | fixed.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 struct gpio_desc gpio; /* GPIO for regulator enable control */ 33 return -ENXIO; in fixed_regulator_ofdata_to_platdata() 36 uc_pdata->type = REGULATOR_TYPE_FIXED; in fixed_regulator_ofdata_to_platdata() 38 if (dev_read_bool(dev, "enable-active-high")) in fixed_regulator_ofdata_to_platdata() 41 /* Get fixed regulator optional enable GPIO desc */ in fixed_regulator_ofdata_to_platdata() 42 gpio = &dev_pdata->gpio; in fixed_regulator_ofdata_to_platdata() 45 debug("Fixed regulator optional enable GPIO - not found! Error: %d\n", in fixed_regulator_ofdata_to_platdata() 47 if (ret != -ENOENT) in fixed_regulator_ofdata_to_platdata() 52 dev_pdata->startup_delay_us = dev_read_u32_default(dev, in fixed_regulator_ofdata_to_platdata() [all …]
|
| H A D | pbias_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Jean-Jacques Hiblot <jjhiblot@ti.com> 24 u32 enable; member 49 return -EINVAL; in pbias_write() 51 return regmap_write(priv->regmap, priv->offset, val); in pbias_write() 59 return -EINVAL; in pbias_read() 61 return regmap_read(priv->regmap, priv->offset, (u32 *)buff); in pbias_read() 86 priv->regmap = regmap; in pbias_ofdata_to_platdata() 93 priv->offset = res.start; in pbias_ofdata_to_platdata() 102 children = pmic_bind_children(dev, dev->node, pmic_children_info); in pbias_bind() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/liblognorm/ |
| H A D | liblognorm_2.0.6.bb | 1 SUMMARY = "Liblognorm is a fast-samples based normalization library." 6 LICENSE = "LGPL-2.1-or-later" 12 file://0001-Add-asprintf-to-autoconf-function-check-macro.patch \ 21 PACKAGECONFIG[regexp] = "--enable-regexp,--disable-regexp,pcre2," 22 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," 23 PACKAGECONFIG[advstats] = "--enable-advanced-stats,--disable-advanced-stats,," 24 PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,sphinx," 25 PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,," 26 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,," 27 PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,,"
|
| /openbmc/qemu/scripts/ |
| H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | tegra_mmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Portions Copyright 2011-2016 NVIDIA Corporation 16 #include <asm/arch-tegra/tegra_mmc.h> 38 debug("%s: power = %x\n", __func__, power); in tegra_mmc_set_power() 40 if (power != (unsigned short)-1) { in tegra_mmc_set_power() 55 debug("%s: pwr = %X\n", __func__, pwr); in tegra_mmc_set_power() 58 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power() 62 /* Now enable bus power */ in tegra_mmc_set_power() 64 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power() 74 debug("buf: %p (%p), data->blocks: %u, data->blocksize: %u\n", in tegra_mmc_prepare_data() [all …]
|
| /openbmc/u-boot/board/toradex/apalis-tk1/ |
| H A D | as3722_init.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2012-2016 Toradex, Inc. 8 #include <asm/arch-tegra/tegra_i2c.h> 11 /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ 17 writel(addr, ®->cmd_addr0); in tegra_i2c_ll_write_addr() 18 writel(config, ®->cnfg); in tegra_i2c_ll_write_addr() 25 writel(data, ®->cmd_data1); in tegra_i2c_ll_write_data() 26 writel(config, ®->cnfg); in tegra_i2c_ll_write_data() 31 debug("%s entry\n", __func__); in pmic_enable_cpu_vdd() 35 debug("%s: Setting VDD_CORE via AS3722 reg 1\n", __func__); in pmic_enable_cpu_vdd() [all …]
|
| /openbmc/u-boot/board/rockchip/evb_rk3399/ |
| H A D | evb-rk3399.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <dm/uclass-internal.h> 26 debug("%s: Cannot find pinctrl device\n", __func__); in board_init() 30 /* Enable pwm0 for panel backlight */ in board_init() 33 debug("%s PWM0 pinctrl init fail! (ret=%d)\n", __func__, ret); in board_init() 39 debug("%s PWM2 pinctrl init fail!\n", __func__); in board_init() 45 debug("%s PWM3 pinctrl init fail!\n", __func__); in board_init() 51 debug("%s: Cannot enable boot on regulator\n", __func__); in board_init() 55 debug("%s vcc5v0_host init fail! ret %d\n", __func__, ret); in board_init() 61 debug("%s vcc5v0-host-en set fail!\n", __func__); in board_init() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
| H A D | interrupts.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2002 28 volatile ccsr_pic_t *pic = &immr->im_pic; in interrupt_init_cpu() 39 pic->gcr = MPC86xx_PICGCR_RST; in interrupt_init_cpu() 40 while (pic->gcr & MPC86xx_PICGCR_RST) in interrupt_init_cpu() 42 pic->gcr = MPC86xx_PICGCR_MODE; in interrupt_init_cpu() 45 debug("interrupt init: tbclk() = %ld MHz, decrementer_count = %d\n", in interrupt_init_cpu() 51 pic->iivpr1 = 0x810001; /* 50220 enable mcm interrupts */ in interrupt_init_cpu() 52 debug("iivpr1@%p = %x\n", &pic->iivpr1, pic->iivpr1); in interrupt_init_cpu() 54 pic->iivpr2 = 0x810002; /* 50240 enable ddr interrupts */ in interrupt_init_cpu() [all …]
|
| /openbmc/u-boot/arch/microblaze/cpu/ |
| H A D | interrupts.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Yasushi SHOJI <yashi@atmark-techno.com> 21 debug("Enable interrupts for the whole CPU\n"); in enable_interrupts() 52 mask = intc->ier; in enable_one_interrupt() 53 intc->ier = (mask | offset); in enable_one_interrupt() 55 debug("Enable one interrupt irq %x - mask %x,ier %x\n", offset, mask, in enable_one_interrupt() 56 intc->ier); in enable_one_interrupt() 57 debug("INTC isr %x, ier %x, iar %x, mer %x\n", intc->isr, intc->ier, in enable_one_interrupt() 58 intc->iar, intc->mer); in enable_one_interrupt() 67 mask = intc->ier; in disable_one_interrupt() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/ |
| H A D | pidgin-sipe_1.25.0.bb | 3 LICENSE = "GPL-2.0-only" 6 DEPENDS = "pidgin gmime intltool-native glib-2.0-native" 10 SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \ 11 file://0001-sipe-consider-64bit-time_t-when-printing.patch \ 12 file://0001-Align-structs-casts-with-time_t-elements-to-8byte-bo.patch \ 13 file://0001-configure-Do-not-add-native-paths-to-pkgconfig-searc.patch \ 14 file://0001-Migrate-to-use-g_memdup2.patch \ 20 PACKAGECONFIG[nss] = "--enable-nss=yes,--enable-nss=no,nss" 21 PACKAGECONFIG[openssl] = "--enable-openssl=yes,--enable-openssl=no,openssl" 22 PACKAGECONFIG[krb5] = "--with-krb5=yes,--with-krb5=no,krb5" [all …]
|
| /openbmc/u-boot/board/st/stm32mp1/ |
| H A D | stm32mp1.c | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved 10 #include <generic-phy.h> 39 const void *blob = gd->fdt_blob; in board_usb_init() 47 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc2"); in board_usb_init() 49 debug("Not found usb_otg device\n"); in board_usb_init() 50 return -ENODEV; in board_usb_init() 54 debug("stm32 usbotg is disabled in the device tree\n"); in board_usb_init() 55 return -ENODEV; in board_usb_init() 58 /* Enable clock */ in board_usb_init() [all …]
|
| /openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
| H A D | puma-rk3399.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <dm/uclass-internal.h> 24 #include <u-boot/sha256.h> 36 debug("%s: Cannot enable boot on regulator\n", __func__); in board_init() 46 debug("%s: trying to force a power-on reset\n", __func__); in rk3399_force_power_on_reset() 50 debug("%s: no /config node?\n", __func__); in rk3399_force_power_on_reset() 54 if (gpio_request_by_name_nodev(node, "sysreset-gpio", 0, in rk3399_force_power_on_reset() 56 debug("%s: could not find a /config/sysreset-gpio\n", __func__); in rk3399_force_power_on_reset() 71 * This may cause issues during boot-up for some configurations of in spl_board_init() 75 * a power-on reset and (if not) issue an overtemp-reset to reset in spl_board_init() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/ |
| H A D | dibbler_git.bb | 5 LICENSE = "GPL-2.0-only" 12 file://0001-port-linux-Re-order-header-includes.patch \ 13 file://0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ 14 file://0002-make-Do-not-enforce-c99.patch \ 20 PACKAGECONFIG ??= "debug bind-reuse resolvconf dns-update" 22 PACKAGECONFIG[debug] = "--enable-debug,,," 23 PACKAGECONFIG[efence] = "--enable-efence,,," 24 PACKAGECONFIG[bind-reuse] = "--enable-bind-reuse,,," 25 PACKAGECONFIG[dst-addr-filter] = "--enable-dst-addr-check,,," 26 PACKAGECONFIG[resolvconf] = "--enable-resolvconf,,," [all …]
|
| /openbmc/u-boot/drivers/watchdog/ |
| H A D | xilinx_tb_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (c) 2011-2018 Xilinx Inc. 18 #define XWT_CSR0_EWDT1_MASK 0x00000002 /* Enable bit 1 Mask*/ 19 #define XWT_CSRX_EWDT2_MASK 0x00000001 /* Enable bit 2 Mask */ 37 debug("%s ", __func__); in xlnx_wdt_reset() 40 reg = readl(&platdata->regs->twcsr0); in xlnx_wdt_reset() 44 writel(reg | XWT_CSR0_WDS_MASK, &platdata->regs->twcsr0); in xlnx_wdt_reset() 54 if (platdata->enable_once) { in xlnx_wdt_stop() 55 debug("Can't stop Xilinx watchdog.\n"); in xlnx_wdt_stop() 56 return -EBUSY; in xlnx_wdt_stop() [all …]
|
| /openbmc/u-boot/board/nvidia/venice2/ |
| H A D | as3722_init.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include <asm/arch-tegra/tegra_i2c.h> 12 /* AS3722-PMIC-specific early init code - get CPU rails up, etc */ 18 writel(addr, ®->cmd_addr0); in tegra_i2c_ll_write_addr() 19 writel(config, ®->cnfg); in tegra_i2c_ll_write_addr() 26 writel(data, ®->cmd_data1); in tegra_i2c_ll_write_data() 27 writel(config, ®->cnfg); in tegra_i2c_ll_write_data() 32 debug("%s entry\n", __func__); in pmic_enable_cpu_vdd() 36 debug("%s: Setting VDD_CORE via AS3722 reg 1\n", __func__); in pmic_enable_cpu_vdd() 41 * Don't write SDCONTROL - it's already 0x7F, i.e. all SDs enabled. in pmic_enable_cpu_vdd() [all …]
|
| /openbmc/u-boot/drivers/video/rockchip/ |
| H A D | rk3288_mipi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Author: Eric Gao <eric.gao@rock-chips.com> 19 #include <dm/uclass-internal.h> 32 struct rk3288_grf *grf = priv->grf; in rk_mipi_dsi_source_select() 36 switch (disp_uc_plat->source_id) { in rk_mipi_dsi_source_select() 38 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 43 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 48 debug("%s: Invalid VOP id\n", __func__); in rk_mipi_dsi_source_select() 49 return -EINVAL; in rk_mipi_dsi_source_select() 59 struct rk3288_grf *grf = priv->grf; in rk_mipi_dphy_mode_set() [all …]
|
| H A D | rk3399_mipi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Author: Eric Gao <eric.gao@rock-chips.com> 19 #include <dm/uclass-internal.h> 30 struct rk3399_grf_regs *grf = priv->grf; in rk_mipi_dsi_source_select() 34 switch (disp_uc_plat->source_id) { in rk_mipi_dsi_source_select() 36 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 40 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 44 debug("%s: Invalid VOP id\n", __func__); in rk_mipi_dsi_source_select() 45 return -EINVAL; in rk_mipi_dsi_source_select() 55 struct rk3399_grf_regs *grf = priv->grf; in rk_mipi_dphy_mode_set() [all …]
|
| /openbmc/openbmc-tools/tracing/ |
| H A D | trace | 3 # SPDX-License-Identifier: Apache-2.0 6 set -eou pipefail 8 if [ $# -lt 2 ] 20 TRACESCRIPT_PATH="$(mktemp obmc-fsi-trace.XXXXXX)" 24 rm -f "${TRACESCRIPT_PATH}" 29 cat > "${TRACESCRIPT_PATH}" <<-EOF 30 set -eou pipefail 32 set -x 44 # Abuse eval(1) to extract the list of tracepoints to enable from our 49 echo 0 > /sys/kernel/debug/tracing/events/\${event}/enable [all …]
|
| /openbmc/u-boot/drivers/video/exynos/ |
| H A D | exynos_mipi_dsi_common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 28 /* MIPI-DSIM status types. */ 62 if ((data1 - data_cnt) < 4) { in exynos_mipi_dsi_long_data_wr() 63 if ((data1 - data_cnt) == 3) { in exynos_mipi_dsi_long_data_wr() 67 debug("count = 3 payload = %x, %x %x %x\n", in exynos_mipi_dsi_long_data_wr() 71 } else if ((data1 - data_cnt) == 2) { in exynos_mipi_dsi_long_data_wr() 74 debug("count = 2 payload = %x, %x %x\n", payload, in exynos_mipi_dsi_long_data_wr() 76 } else if ((data1 - data_cnt) == 1) { in exynos_mipi_dsi_long_data_wr() 86 debug("count = 4 payload = %x, %x %x %x %x\n", in exynos_mipi_dsi_long_data_wr() 103 if (dsim->state == DSIM_STATE_ULPS) { in exynos_mipi_dsi_wr_data() [all …]
|