/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
/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> 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) 26 * parent - fixed parent. No clk_set_parent support [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
/openbmc/linux/drivers/soc/ti/ |
H A D | pruss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PRU-ICSS platform driver for various TI SoCs 5 * Copyright (C) 2014-2020 Texas Instruments Incorporated - http://www.ti.com/ 7 * Suman Anna <s-anna@ti.com> 9 * Tero Kristo <t-kristo@ti.com> 12 #include <linux/clk-provider.h> 13 #include <linux/dma-mapping.h> 29 * struct pruss_private_data - PRUSS driver private data 30 * @has_no_sharedram: flag to indicate the absence of PRUSS Shared Data RAM 39 * pruss_get() - get the pruss for a given PRU remoteproc [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi-master-gpio.txt | 1 Device-tree bindings for gpio-based FSI master driver 2 ----------------------------------------------------- 5 - compatible = "fsi-master-gpio"; 6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock 7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal 10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal 11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable 12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other 14 - no-gpio-delays; : Don't add extra delays between GPIO 21 fsi-master { [all …]
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-mux.c | 4 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it> 5 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it> 6 * Copyright (c) 2009-2010 NSN GmbH & Co KG <michael.lawnick.ext@nsn.com> 10 * Supports multi-level mux'ing (mux behind a mux). 13 * i2c-virt.c from Kumar Gala <galak@kernel.crashing.org> 14 * i2c-virtual.c from Ken Harrenstien, Copyright (c) 2004 Google, Inc. 15 * i2c-virtual.c from Brian Kuschak <bkuschak@yahoo.com> 24 #include <linux/i2c-mux.h> 31 /* multiplexer per channel data */ 42 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_master_xfer() [all …]
|
/openbmc/linux/Documentation/networking/caif/ |
H A D | linux_caif.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| ST-Ericsson AB 2010 17 CAIF is a MUX protocol used by ST-Ericsson cellular modems for 19 channels, initiate GPRS Data connections, Video channels and Utility Channels. 22 ST-Ericsson modems support a number of transports between modem 39 ! +------+ +------+ 40 ! +------+! +------+! 42 +-------> !interf!+ ! API !+ <- CAIF Client APIs 43 ! +------+ +------! 45 ! +-----------+ [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-intel-int3496.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/devm-helpers.h> 15 #include <linux/extcon-provider.h> 53 { "id-gpios", &id_gpios, 1, ACPI_GPIO_QUIRK_NO_IO_RESTRICTION }, 54 { "vbus-gpios", &vbus_gpios, 1 }, 55 { "mux-gpios", &mux_gpios, 1 }, 59 static void int3496_set_vbus_boost(struct int3496_data *data, bool enable) in int3496_set_vbus_boost() argument 63 if (IS_ERR_OR_NULL(data->vbus_boost)) in int3496_set_vbus_boost() 66 if (data->vbus_boost_enabled == enable) in int3496_set_vbus_boost() 70 ret = regulator_enable(data->vbus_boost); in int3496_set_vbus_boost() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3430-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 11 compatible = "ti,omap3430-sdp", "ti,omap3430", "ti,omap3"; 20 clock-frequency = <2600000>; 32 vmmc-supply = <&vmmc1>; 33 vqmmc-supply = <&vsim>; 35 * S6-3 must be in ON position for 8 bit mode to function 38 bus-width = <8>; 55 compatible = "cfi-flash"; [all …]
|
H A D | omap-gpmc-smsc9221.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 14 vddvario: regulator-vddvario { 15 compatible = "regulator-fixed"; 16 regulator-name = "vddvario"; 17 regulator-always-on; 20 vdd33a: regulator-vdd33a { 21 compatible = "regulator-fixed"; 22 regulator-name = "vdd33a"; 23 regulator-always-on; 30 bank-width = <2>; [all …]
|
H A D | omap3-overo-tobiduo-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "omap3-overo-common-peripherals.dtsi" 12 #include "omap-gpmc-smsc9221.dtsi" 17 interrupt-parent = <&gpio6>; 23 bank-width = <2>; 25 gpmc,mux-add-data = <0>; 26 gpmc,cs-on-ns = <0>; 27 gpmc,cs-rd-off-ns = <42>; 28 gpmc,cs-wr-off-ns = <36>; 29 gpmc,adv-on-ns = <6>; [all …]
|
H A D | omap-zoom-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "omap-gpmc-smsc911x.dtsi" 15 * REVISIT: Add timing support from slls644g.pdf 20 bank-width = <2>; 21 reg-shift = <1>; 22 reg-io-width = <1>; 23 interrupt-parent = <&gpio4>; 25 clock-frequency = <1843200>; 26 current-speed = <115200>; 27 gpmc,mux-add-data = <0>; [all …]
|
H A D | omap2430-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 11 compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2"; 20 clock-frequency = <100000>; 31 vmmc-supply = <&vmmc1>; 32 bus-width = <4>; 39 interrupt-parent = <&gpio5>; 42 bank-width = <2>; 43 gpmc,sync-clk-ps = <0>; [all …]
|
/openbmc/docs/designs/ |
H A D | uart-mux-support.md | 1 # uart-mux-support design 12 Some hardware configurations feature a UART mux which can be switched via GPIOs. 13 To support this configuration, obmc-console needs to provide a method for 18 There are already [open changes for obmc-console][obmc-console-uart-mux-series] 21 [obmc-console-uart-mux-series]: 22 https://gerrit.openbmc.org/c/openbmc/obmc-console/+/71864 25 subprojects - not in the way of causing regression, but later when the mentioned 30 - The user can select a console to be muxed 32 - Platform policy (whichever service implements it) can select the appropriate 35 - It is clear to whoever is reading the logs of that console when a console was [all …]
|
/openbmc/qemu/qapi/ |
H A D | char.json | 1 # -*- Mode: Python -*- 20 # @frontend-open: shows whether the frontend device attached to this 30 'data': { 'label': 'str', 32 'frontend-open': 'bool' } } 35 # @query-chardev: 43 # .. qmp-example:: 45 # -> { "execute": "query-chardev" } 46 # <- { 51 # "frontend-open": false 56 # "frontend-open": true [all …]
|
/openbmc/linux/fs/ecryptfs/ |
H A D | miscdev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_poll() 34 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll() 35 if (daemon->flags & ECRYPTFS_DAEMON_ZOMBIE) { in ecryptfs_miscdev_poll() 40 if (daemon->flags & ECRYPTFS_DAEMON_IN_READ) in ecryptfs_miscdev_poll() 42 if (daemon->flags & ECRYPTFS_DAEMON_IN_POLL) in ecryptfs_miscdev_poll() 44 daemon->flags |= ECRYPTFS_DAEMON_IN_POLL; in ecryptfs_miscdev_poll() 45 mutex_unlock(&daemon->mux); in ecryptfs_miscdev_poll() 46 poll_wait(file, &daemon->wait, pt); in ecryptfs_miscdev_poll() 47 mutex_lock(&daemon->mux); in ecryptfs_miscdev_poll() [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mux_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 12 /* Test the link power state and send a MUX command in blocking mode. */ 16 struct iosm_mux *ipc_mux = ipc_imem->mux; in ipc_mux_tq_cmd_send() 19 skb_queue_tail(&ipc_mux->channel->ul_list, acb->skb); in ipc_mux_tq_cmd_send() 20 ipc_imem_ul_send(ipc_mux->imem); in ipc_mux_tq_cmd_send() 27 struct completion *completion = &ipc_mux->channel->ul_sem; in ipc_mux_acb_send() 28 int ret = ipc_task_queue_send_task(ipc_mux->imem, ipc_mux_tq_cmd_send, in ipc_mux_acb_send() 29 0, &ipc_mux->acb, in ipc_mux_acb_send() 30 sizeof(ipc_mux->acb), false); in ipc_mux_acb_send() [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | sc7180.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 // sc7180.c -- ALSA SoC Machine driver for SC7180 7 #include <dt-bindings/sound/sc7180-lpass.h> 17 #include <uapi/linux/input-event-codes.h> 40 struct snd_soc_component *component = jack->private_data; in sc7180_jack_free() 58 struct snd_soc_card *card = rtd->card; in sc7180_headset_init() 61 struct snd_soc_component *component = codec_dai->component; in sc7180_headset_init() 70 &pdata->hs_jack, in sc7180_headset_init() 75 dev_err(card->dev, "Unable to add Headset Jack\n"); in sc7180_headset_init() 79 jack = pdata->hs_jack.jack; in sc7180_headset_init() [all …]
|
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-j721e-wiz.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/phy/phy-ti.h> 13 #include <linux/clk-provider.h> 19 #include <linux/mux/consumer.h> 25 #include <linux/reset-controller.h> 44 /* To include mux clocks, divider clocks and gate clocks */ 125 [TI_WIZ_PLL0_REFCLK] = "pll0-refclk", 126 [TI_WIZ_PLL1_REFCLK] = "pll1-refclk", [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | omap-gpmc-smsc9221.dtsi | 13 vddvario: regulator-vddvario { 14 compatible = "regulator-fixed"; 15 regulator-name = "vddvario"; 16 regulator-always-on; 19 vdd33a: regulator-vdd33a { 20 compatible = "regulator-fixed"; 21 regulator-name = "vdd33a"; 22 regulator-always-on; 29 bank-width = <2>; 31 gpmc,mux-add-data; [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net-qmi | 9 framing from '802.3' to 'raw-ip'. 15 netdev is a headerless p-t-p device in 'raw-ip' mode, 23 firmware is configured for 'raw-ip' mode. 32 Write a number ranging from 1 to 254 to add a qmap mux 39 activation and data stream setup on the modem side by 50 created qmap mux based network device. 59 Indicates the mux id associated to the qmimux network interface 69 Set this to 'Y' to enable 'pass-through' mode, allowing packets 75 'Pass-through' mode can be enabled when the device is in 76 'raw-ip' mode only.
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-single.c | 25 #include <linux/pinctrl/pinconf-generic.h> 30 #include <linux/platform_data/pinctrl-single.h> 37 #define DRIVER_NAME "pinctrl-single" 41 * struct pcs_func_vals - mux function register offset and value pair 53 * struct pcs_conf_vals - pinconf parameter, pinconf register offset 70 * struct pcs_conf_type - pinconf property name, pinconf param pair 80 * struct pcs_function - pinctrl function 102 * struct pcs_gpiofunc_range - pin ranges with same mux value of gpio function 104 * @npins: number pins with the same mux value of gpio function 105 * @gpiofunc: mux value of gpio function [all …]
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/pinctrl/pinconf-generic.h> 19 #include <asm/mach-ralink/ralink_regs.h> 20 #include <asm/mach-ralink/mt7620.h> 22 #include "pinctrl-mtmips.h" 24 #include "../pinctrl-utils.h" 50 return p->group_count; in mtmips_get_group_count() 58 return (group >= p->group_count) ? NULL : p->group_names[group]; in mtmips_get_group_name() 68 if (group >= p->group_count) in mtmips_get_group_pins() 69 return -EINVAL; in mtmips_get_group_pins() [all …]
|
/openbmc/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | imx-ldb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i.MX drm driver - LVDS display bridge 11 #include <linux/media-bus-format.h> 13 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 34 #include "imx-drm.h" 36 #define DRIVER_NAME "imx-ldb" 82 return container_of(c, struct imx_ldb_encoder, connector)->channel; in con_to_imx_ldb_ch() 87 return container_of(e, struct imx_ldb_encoder, encoder)->channel; in enc_to_imx_ldb_ch() 111 struct imx_ldb *ldb = imx_ldb_ch->ldb; in imx_ldb_ch_set_bus_format() 112 int dual = ldb->ldb_ctrl & LDB_SPLIT_MODE_EN; in imx_ldb_ch_set_bus_format() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-meson-spicc.c | 7 * SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/clk-provider.h> 30 * - all transfers are cutted in 16 words burst because the FIFO hangs on 31 * TX underflow, and there is no TX "Half-Empty" interrupt, so we go by 33 * - CS management is dumb, and goes UP between every burst, so is really a 34 * "Data Valid" signal than a Chip Select, GPIO link should be used instead 69 #define SPICC_TH_EN BIT(1) /* TX FIFO Half-Full Interrupt */ 72 #define SPICC_RH_EN BIT(4) /* RX FIFO Half-Full Interrupt */ 89 #define SPICC_TH BIT(1) /* TX FIFO Half-Full Interrupt */ 92 #define SPICC_RH BIT(4) /* RX FIFO Half-Full Interrupt */ [all …]
|