/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-factors.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Adjustable factor-based clock implementation 8 #include <linux/clk-provider.h> 9 #include <linux/delay.h> 16 #include "clk-factors.h" 19 * DOC: basic adjustable factor-based clock 22 * prepare - clk_prepare only ensures that parents are prepared 23 * enable - clk_enable only ensures that parents are enabled 24 * rate - rate is adjustable. 25 * clk->rate = (parent->rate * N * (K + 1) >> P) / (M + 1) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | ci-hdrc-usb2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xu Yang <xu.yang_2@nxp.com> 11 - Peng Fan <peng.fan@nxp.com> 16 - enum: 17 - chipidea,usb2 18 - lsi,zevio-usb 19 - nuvoton,npcm750-udc [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-prtvt7.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/display/sdtv-standards.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 23 backlight_lcd: backlight-lcd { 24 compatible = "pwm-backlight"; 26 brightness-levels = <0 20 81 248 1000>; [all …]
|
H A D | imx6qdl-var-dart.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Module 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 18 reg_3p3v: regulator-3p3v { 19 compatible = "regulator-fixed"; 20 regulator-name = "3P3V"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 23 regulator-always-on; [all …]
|
H A D | imx6q-prti6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 backlight_lcd: backlight-lcd { 22 compatible = "pwm-backlight"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_backlight>; 26 brightness-levels = <0 16 64 255>; [all …]
|
H A D | imx6qdl-hummingboard.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 41 #include <dt-bindings/sound/fsl-imx-audmux.h> 51 stdout-path = &uart1; 54 ir_recv: ir-receiver { 55 compatible = "gpio-ir-receiver"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>; 61 v_3v2: regulator-v-3v2 { 62 compatible = "regulator-fixed"; 63 regulator-always-on; [all …]
|
H A D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
H A D | imx6qdl-hummingboard2.dtsi | 2 * Copyright (C) 2015 Rabeeh Khoury <rabeeh@solid-run.com> 4 * This file is dual-licensed: you can use it either under the terms 41 #include <dt-bindings/sound/fsl-imx-audmux.h> 51 stdout-path = &uart1; 54 ir_recv: ir-receiver { 55 compatible = "gpio-ir-receiver"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_hummingboard2_gpio7_9>; 59 linux,rc-map-name = "rc-rc6-mce"; 62 v_3v2: regulator-v-3v2 { [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [all …]
|
H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-gavini.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Beam GT-I8530 also known as Gavini. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-codina.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina. 11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China). 12 * The GT-I8160 plain is known as the "europe" variant. 13 * The GT-I8160P is the CDMA version and it appears to not use the ST 15 * The GT-I8160chn appears to be the same as the europe variant. 17 * There is also the Codina-TMO, Samsung SGH-T599, which has its own device 21 /dts-v1/; 22 #include "ste-db8500.dtsi" 23 #include "ste-ab8500.dtsi" [all …]
|
H A D | ste-ux500-samsung-codina-tmo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Exhibit SGH-T599 also known as Codina-TMO, 4 * the "TMO" shall be read "T-Mobile" as this phone was produced exlusively 5 * for T-Mobile in the United States. 8 * - No CPU speed cap, full ~1GHz rate 9 * - Different power management IC, AB8505 10 * - As AB8505 has a micro USB phy, no TI TSU6111 11 * - Different power routing such as the removal of the external LDO for the 13 * - Using a regulator for the key backlight LED 14 * - Using the Samsung S6D27A1 panel by default [all …]
|
H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [all …]
|
/openbmc/u-boot/board/freescale/mx6sxsabresd/ |
H A D | mx6sxsabresd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <asm/arch/imx-regs.h> 12 #include <asm/arch/mx6-pins.h> 15 #include <asm/mach-imx/iomux-v3.h> 17 #include <asm/mach-imx/mxc_i2c.h> 57 gd->ram_size = imx_ddr_size(); in dram_init() 114 clrsetbits_le32(&iomuxc_regs->gpr[1], IOMUX_GPR1_FEC1_MASK, 0); in setup_fec() 133 reg = readl(&anatop->pll_enet); in setup_fec() 135 writel(reg, &anatop->pll_enet); in setup_fec() 156 return -ENODEV; in power_init_board() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max98520.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/delay.h> 74 struct snd_soc_component *component = codec_dai->component; in max98520_dai_set_fmt() 80 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98520_dai_set_fmt() 89 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98520_dai_set_fmt() 90 return -EINVAL; in max98520_dai_set_fmt() 93 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 113 return -EINVAL; in max98520_dai_set_fmt() 116 regmap_update_bits(max98520->regmap, in max98520_dai_set_fmt() 146 int blr_clk_ratio = params_channels(params) * max98520->ch_size; in max98520_set_clock() [all …]
|
H A D | wm8993.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8993.c -- WM8993 ALSA SoC audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 13 #include <linux/delay.h> 42 { 1, 0x0000 }, /* R1 - Power Management (1) */ 43 { 2, 0x6000 }, /* R2 - Power Management (2) */ 44 { 3, 0x0000 }, /* R3 - Power Management (3) */ 45 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 46 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 47 { 6, 0x01C8 }, /* R6 - Clocking 1 */ [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (c) 2009-2015 NVIDIA Corporation 12 #include <asm-generic/gpio.h> 14 #include <asm/arch-tegra/usb.h> 15 #include <asm/arch-tegra/clk_rst.h> 41 PARAM_ENABLE_DELAY_COUNT, /* PLL-U Enable Delay Count */ 42 PARAM_STABLE_COUNT, /* PLL-U STABLE count */ 43 PARAM_ACTIVE_DELAY_COUNT, /* PLL-U Active delay count */ 44 PARAM_XTAL_FREQ_COUNT, /* PLL-U XTAL frequency count */ 45 PARAM_DEBOUNCE_A_TIME, /* 10MS DELAY for BIAS_DEBOUNCE_A */ [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | aiutils.c | 21 #include <linux/delay.h> 90 /* 43224 chip-specific ChipControl register bits */ 109 /* 4331 chip-specific ChipControl register bits */ 116 /* sprom/gpio13-15 mux */ 147 /* 4319 chip-specific ChipStatus register bits */ 178 /* 4336 chip-specific ChipStatus register bits */ 194 /* 4313 chip-specific ChipStatus register bits */ 272 /* PCI config space bit 4 for 4306c0 slow clock source */ 274 /* PCI config space GPIO 14 for Xtal power-up */ 276 /* PCI config space GPIO 15 for PLL power-down */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
/openbmc/u-boot/drivers/ddr/altera/ |
H A D | sequencer.c | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright Altera Corporation (C) 2012-2015 44 * However, to support simulation-time selection of fast simulation mode, where 47 * check, which is based on the rtl-supplied value, or we dynamically compute 48 * the value to use based on the dynamically-chosen calibration mode 64 * non-skip and skip values 66 * The mask is set to include all bits when not-skipping, but is 70 static u16 skip_delay_mask; /* mask off bits when skipping/not-skipping */ 85 if (gbl->error_stage == CAL_STAGE_NIL) { in set_failing_group_stage() 86 gbl->error_substage = substage; in set_failing_group_stage() [all …]
|
/openbmc/u-boot/drivers/input/ |
H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <tegra-kbc.h> 18 #include <asm/arch-tegra/timer.h> 41 /* keyboard controller config and state */ 53 * and lets us grab keys pressed during reset. 55 unsigned int init_dly_ms; /* Delay before we can read keyboard */ 79 kp_ent = readl(&priv->kbc->kp_ent[i / 4]); in tegra_kbc_find_keys() 81 key->valid = (kp_ent & KBC_KPENT_VALID) != 0; in tegra_kbc_find_keys() 82 key->row = (kp_ent >> 3) & 0xf; in tegra_kbc_find_keys() 83 key->col = kp_ent & 0x7; in tegra_kbc_find_keys() [all …]
|
/openbmc/linux/drivers/hwmon/pmbus/ |
H A D | ucd9000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/delay.h> 35 /* GPIO CONFIG bits */ 82 * make sure that there is a minimum delay between a write access and the 83 * following access. The 500 is based on experimental data. At a delay of 84 * 350us the issue seems to go away. Add a bit of extra margin to allow for 91 s64 delta = ktime_us_delta(ktime_get(), data->write_time); in ucd90320_wait() 94 udelay(UCD90320_WAIT_DELAY_US - delta); in ucd90320_wait() 104 return -ENXIO; in ucd90320_read_word_data() 128 data->write_time = ktime_get(); in ucd90320_write_word_data() [all …]
|