/openbmc/linux/drivers/media/platform/via/ |
H A D | via-camera.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #define VCR_IC_EAV 0x0001 /* End of active video status */ 8 #define VCR_IC_FBOTFLD 0x0004 /* "flipping" Bottom field is active */ 9 #define VCR_IC_ACTBUF 0x0018 /* Active video buffer */ 10 #define VCR_IC_VSYNC 0x0020 /* 0 = VB, 1 = active video */ 11 #define VCR_IC_BOTFLD 0x0040 /* Bottom field is active */ 13 #define VCR_IC_INTEN 0x0100 /* End of active video int. enable */ 14 #define VCR_IC_VBIINT 0x0200 /* End of VBI int enable */ 18 #define VCR_TSC_ENABLE 0x000001 /* Transport stream input enable */ 20 #define VCR_TSC_METHOD 0x00000c /* DMA method (non-functional) */ [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | display-timing.txt | 1 display-timing bindings 4 display-timings node 5 -------------------- 8 - none 11 - native-mode: The native mode for the display, in case multiple modes are 15 -------------- 18 - hactive, vactive: display resolution 19 - hfront-porch, hback-porch, hsync-len: horizontal display timing parameters 21 vfront-porch, vback-porch, vsync-len: vertical display timing parameters in 23 - clock-frequency: display clock in Hz [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-timing.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 14 There are different ways of describing the timing data of a panel. The 20 +-------+----------+-------------------------------------+----------+ 24 +-------+----------+-------------------------------------+----------+ 28 +-------+----------#######################################----------+ [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rpmh-rsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. 31 #include <soc/qcom/cmd-db.h> 33 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 35 #include "rpmh-internal.h" 38 #include "trace-rpmh.h" 99 * - The main rpmh-rsc address is the base of a register space that can 101 * (DRV_PRNT_CHLD_CONFIG). Also found within the rpmh-rsc register 103 * specified in the device tree by "qcom,tcs-offset" and used to [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | max8903_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max8903_charger.c - Maxim 8903 USB/Adapter Charger Driver 27 struct gpio_desc *cen; /* Charger Enable input */ 32 struct gpio_desc *dcm; /* Current-Limit Mode input (1: DC, 2: USB) */ 49 struct max8903_data *data = power_supply_get_drvdata(psy); in max8903_get_property() local 53 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in max8903_get_property() 54 if (data->chg) { in max8903_get_property() 55 if (gpiod_get_value(data->chg)) in max8903_get_property() 57 val->intval = POWER_SUPPLY_STATUS_CHARGING; in max8903_get_property() 58 else if (data->usb_in || data->ta_in) in max8903_get_property() [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | omap3isp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * TI OMAP3 ISP - Bus Configuration 25 * struct isp_parallel_cfg - Parallel interface configuration 26 * @data_lane_shift: Data lane shifter 27 * 0 - CAMEXT[13:0] -> CAM[13:0] 28 * 2 - CAMEXT[13:2] -> CAM[11:0] 29 * 4 - CAMEXT[13:4] -> CAM[9:0] 30 * 6 - CAMEXT[13:6] -> CAM[7:0] 32 * 0 - Sample on rising edge, 1 - Sample on falling edge 34 * 0 - Active high, 1 - Active low [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | rs485.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 direction for the built-in half-duplex mode. The properties described 11 hereafter shall be given to a half-duplex capable UART node. 14 - Rob Herring <robh@kernel.org> 17 rs485-rts-delay: 18 description: prop-encoded-array <a b> 19 $ref: /schemas/types.yaml#/definitions/uint32-array 21 - description: Delay between rts signal and beginning of data sent in [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | pxa27x-udc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "pxa-regs.h" 12 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 13 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 15 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 17 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 18 Enable */ 19 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ 20 #define UDCCR_ACN (0x03 << 11) /* Active UDC configuration Number */ 22 #define UDCCR_AIN (0x07 << 8) /* Active UDC interface Number */ [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-pcie-idio-24.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO driver for the ACCES PCIe-IDIO-24 family 6 * This driver supports the following ACCES devices: PCIe-IDIO-24, 7 * PCIe-IDI-24, PCIe-IDO-24, and PCIe-IDIO-12. 25 * 0: Enable Interrupt Sources (Bit 0) 26 * 1: Enable Interrupt Sources (Bit 1) 28 * 3: Mailbox Interrupt Enable 29 * 4: Power Management Interrupt Enable 31 * 6: Slave Read Local Data Parity Check Error Enable 32 * 7: Slave Read Local Data Parity Check Error Status [all …]
|
H A D | gpiolib-of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2007-2008 MontaVista Software, Inc. 26 #include "gpiolib-of.h" 29 * This is Linux-specific flags. By default controllers' and Linux' mapping 31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended. 44 * of_gpio_named_count() - Count GPIOs for a device 51 * -EINVAL for an incorrectly formed gpios property, or 52 * -ENOENT for a missing gpios property 66 return of_count_phandle_with_args(np, propname, "#gpio-cells"); in of_gpio_named_count() 70 * of_gpio_spi_cs_get_count() - special GPIO counting for SPI [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tvp5150_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * tvp5150 - Texas Instruments TVP5150A/AM1 video decoder registers 33 #define TVP5150_DATA_RATE_SEL 0x0d /* Outputs and data rates select */ 39 #define TVP5150_ACT_VD_CROP_ST_MSB 0x11 /* Active video cropping start MSB */ 40 #define TVP5150_ACT_VD_CROP_ST_LSB 0x12 /* Active video cropping start LSB */ 41 #define TVP5150_ACT_VD_CROP_STP_MSB 0x13 /* Active video cropping stop MSB */ 42 #define TVP5150_ACT_VD_CROP_STP_LSB 0x14 /* Active video cropping stop LSB */ 53 #define TVP5150_INT_ENABLE_REG_B 0x1d /* Interrupt enable register B */ 56 /* Reserved 1Fh-27h */ 75 /* Reserved 29h-2bh */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 33 st,fmc2-ebi-cs-cclk-enable: 34 description: Continuous clock enable (first bank must be configured 40 st,fmc2-ebi-cs-mux-enable: [all …]
|
H A D | arm,pl172.txt | 5 - compatible: Must be "arm,primecell" and exactly one from 8 - reg: Must contains offset/length value for controller. 10 - #address-cells: Must be 2. The partition number has to be encoded in the 11 first address cell and it may accept values 0..N-1 12 (N - total number of partitions). The second cell is the 15 - #size-cells: Must be set to 1. 17 - ranges: Must contain one or more chip select memory regions. 19 - clocks: Must contain references to controller clocks. 21 - clock-names: Must contain "mpmcclk" and "apb_pclk". 23 - clock-ranges: Empty property indicating that child nodes can inherit [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interfaces.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sakari Ailus <sakari.ailus@linux.intel.com> 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 14 Video data pipelines usually consist of external devices, e.g. camera sensors, 16 video DMA engines and video data processors. 22 Data interfaces on all video devices are described by their child 'port' nodes. 23 Configuration of a port depends on other devices participating in the data [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83640_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #define PTP_TDR 0x0015 /* PTP Time Data Register */ 20 #define PTP_TXTS 0x001c /* PTP Transmit Timestamp Register, in four 16-bit reads */ 21 #define PTP_RXTS 0x001d /* PTP Receive Timestamp Register, in six? 16-bit reads */ 23 #define PTP_EDATA 0x001f /* PTP Event Data Register */ 54 #define BC_WRITE (1<<11) /* Broadcast Write Enable */ 60 #define TRIG_EN (1<<8) /* Enable PTP Trigger */ 66 #define PTP_ENABLE (1<<2) /* Enable PTP Clock */ 75 #define TXTS_IE (1<<3) /* Transmit Timestamp Interrupt Enable */ 76 #define RXTS_IE (1<<2) /* Receive Timestamp Interrupt Enable */ [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | Attention_Handler.md | 25 the active attention(s). 36 - vital: log an event, request a SBE dump and request a re-ipl of the host. 37 - PHYPTI: log an event and request a memory preserving IPL (MPIPL) of the host. 38 - HBTI: log an event, request a hardware dump and request a re-ipl of the host. 39 - BP: notify the debug agent (e.g. Cronus) 40 - checkstop: log an event, call the analyzer, request a system dump and request 41 a re-ipl of the host. 48 the handling of attentions. Among these are systemd, dbus, phosphor-logging and 53 - systemd: loading and unloading of the attention handler service. 54 - dbus: querying the state of the BMC and host, requesting dumps and requesting [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6-logicpd-baseboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 compatible = "gpio-keys"; 9 button-0 { 13 debounce-interval = <10>; 14 wakeup-source; 17 button-1 { 21 debounce-interval = <10>; 22 wakeup-source; 25 button-2 { 29 debounce-interval = <10>; [all …]
|
H A D | imx53-tx53-x13x.dts | 2 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 44 * http://www.opensource.org/licenses/gpl-license.html 48 /dts-v1/; 49 #include "imx53-tx53.dtsi" 50 #include <dt-bindings/input/input.h> 53 model = "Ka-Ro electronics TX53 module (LVDS)"; 63 compatible = "pwm-backlight"; 65 power-supply = <®_3v3>; 66 brightness-levels = < [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | fdomain.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #define REG_SCSI_DATA 0 /* R/W: SCSI Data (with ACK) */ 21 #define BSTAT_CMD BIT(3) /* Command/Data */ 32 #define BCTL_CMD BIT(5) /* Command/Data */ 34 #define BCTL_BUSEN BIT(7) /* Enable bus drivers */ 36 #define ASTAT_IRQ BIT(0) /* Interrupt active */ 50 #define REG_FSTAT 3 /* R: Adapter Status 2 (FIFO) - (@) */ 55 #define REG_MCTL 3 /* W: SCSI Data Mode Control */ 57 #define MCTL_ACTDEASS BIT(4) /* Active deassert of REQ and ACK */ 58 #define MCTL_TARGET BIT(5) /* Enable target mode */ [all …]
|
/openbmc/u-boot/board/spear/x600/ |
H A D | fpga.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 * SoC at all. And CLOCK and DATA are connected to the SSP2 port. We use 20 * 16bit serial writes via this SSP port to write the data bits into the 27 * Set the active-low FPGA reset signal. 38 * Set the FPGA's active-low SelectMap program line to the specified level 50 * Test the state of the active-low FPGA INIT line. Return 1 on INIT 62 * INIT signal state generated via a local state-machine. in fpga_init_fn() 73 * Test the state of the active-high FPGA DONE pin 80 * Wait for Tx-FIFO to become empty before looking for DONE in fpga_done_fn() 82 while (!(readl(&ssp->sspsr) & SSPSR_TFE)) in fpga_done_fn() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | sony,imx214.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor 10 - Ricardo Ribalda <ribalda@kernel.org> 13 The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with 14 an active array size of 4224H x 3200V. It is programmable through an I2C 15 interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a 19 - $ref: ../video-interface-devices.yaml# 27 - 0x10 [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Intel PXA27x on-chip full speed USB device controller 28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */ 33 #define UDCDRn(x) (0x0300 + ((x)<<2)) /* UDC Data Register */ 36 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 37 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 39 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 41 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 42 Enable */ 43 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 45 #define pin_to_hwirq(r, p) ((r)->parent_base + (p) - (r)->pin_base) 65 unsigned long enable; in __pdc_enable_intr() local 73 enable = pdc_reg_read(IRQ_ENABLE_BANK, index); in __pdc_enable_intr() 74 __assign_bit(mask, &enable, on); in __pdc_enable_intr() 75 pdc_reg_write(IRQ_ENABLE_BANK, index, enable); in __pdc_enable_intr() 77 enable = pdc_reg_read(IRQ_i_CFG, pin_out); in __pdc_enable_intr() 78 __assign_bit(IRQ_i_CFG_IRQ_ENABLE, &enable, on); in __pdc_enable_intr() 79 pdc_reg_write(IRQ_i_CFG, pin_out, enable); in __pdc_enable_intr() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serio/ |
H A D | ps2-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Danilo Krummrich <danilokrummrich@dk-develop.de> 14 const: ps2-gpio 16 data-gpios: 18 the gpio used for the data signal - this should be flagged as 19 active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) 20 from <dt-bindings/gpio/gpio.h> since the signal is open drain by [all …]
|
/openbmc/linux/sound/aoa/soundbus/i2sbus/ |
H A D | i2sbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2sbus driver -- private definitions 42 active:1; /* is this stream active? */ member 69 /* info about currently active substreams */ 79 struct pmf_function *enable, member 86 /* spinlock for low-level interrupt locking */ 88 /* mutex for high-level consistency */ 98 struct codec_info *ci, void *data); 100 i2sbus_detach_codec(struct soundbus_dev *dev, void *data); 121 int enable); [all …]
|