/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 23 #include <sdbusplus/bus.hpp> 56 * @param bus the D-Bus bus 59 Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event); 62 * Implements the D-Bus "configure" method. 66 * This method should be called when the system is being powered on. It 72 * Implements the D-Bus "monitor" method. 77 * - regulator sensors will be read and published on D-Bus 78 * - phase fault detection will be performed 80 * Regulator monitoring should be enabled when the system is being powered [all …]
|
H A D | dbus_sensor.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include <sdbusplus/bus.hpp> 65 * the necessary D-Bus interfaces via templates/multiple inheritance. 73 * valid sensor Unit values on D-Bus. 78 * Define simple name for the tuple used to create D-Bus associations. 90 * This class represents a voltage regulator sensor on D-Bus. 99 // Specify which compiler-generated methods we want 112 * @param bus D-Bus bus object 117 * @param deviceInventoryPath D-Bus inventory path of the voltage regulator 119 * @param chassisInventoryPath D-Bus inventory path of the chassis that [all …]
|
H A D | manager.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 54 * implement the D-Bus compatible interface. 62 const fs::path standardConfigFileDir{"/usr/share/phosphor-regulators"}; 68 const fs::path testConfigFileDir{"/etc/phosphor-regulators"}; 70 Manager::Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event) : in Manager() argument 71 ManagerObject{bus, managerObjPath}, bus{bus}, eventLoop{event}, in Manager() 72 services{bus}, 79 bus, std::bind_front(&Manager::compatibleSystemTypesFound, this)); 87 // Obtain D-Bus service name 88 bus.request_name(busName); [all …]
|
/openbmc/linux/Documentation/w1/slaves/ |
H A D | w1_therm.rst | 16 ----------- 42 A bulk read of all devices on the bus could be done writing ``trigger`` 44 send the convert command to all devices on the bus, and if parasite 45 powered devices are detected on the bus (and strong pullup is enabled 47 time required by parasited powered device on the line. Reading 49 -1 if at least one sensor still in conversion, 1 if conversion is complete 72 the sensor. Resolution is reset when the sensor gets power-cycled. 81 Some non-genuine DS18B20 chips are fixed in 12-bit mode only, so the actual 86 The write-only sysfs entry ``eeprom_cmd`` is an alternative for EEPROM operations. 91 ``0`` if the device is parasite powered, ``1`` if the device is externally powered. [all …]
|
/openbmc/phosphor-buttons/inc/ |
H A D | host_then_chassis_poweroff.hpp | 4 #include <sdbusplus/bus/match.hpp> 20 * - A button press will power on as long as the BMC is 24 * - A button press less than 4s won't do anything. 25 * - At 4s, issue a host power off and start a 10s timer. 26 * - If the button is released within that 10s and not pressed 28 * - If the button is released within that 10s and also 31 * - If the button is pressed throughout that 10s 49 * @param[in] bus - The sdbusplus bus object 51 explicit HostThenChassisPowerOff(sdbusplus::bus_t& bus) : in HostThenChassisPowerOff() argument 52 PowerButtonProfile(bus), state(PowerOpState::buttonNotPressed), in HostThenChassisPowerOff() [all …]
|
H A D | button_handler.hpp | 6 #include <sdbusplus/bus.hpp> 7 #include <sdbusplus/bus/match.hpp> 45 * There are 3 buttons supported - Power, ID, and Reset. 47 * check for that button on D-Bus before listening for its signals. 62 * @param[in] bus - sdbusplus connection object 64 explicit Handler(sdbusplus::bus_t& bus); 72 * @param[in] msg - sdbusplus message from signal 81 * @param[in] msg - sdbusplus message from signal 88 * Reboots the host if it is powered on. 90 * @param[in] msg - sdbusplus message from signal [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/docs/ |
H A D | README.md | 1 # phosphor-power-sequencer 5 The phosphor-power-sequencer application powers the chassis on/off and monitors 14 The application is a single-threaded C++ executable. It is a 'daemon' process 16 reaches the Ready state and before the chassis is powered on. 18 The application is driven by an optional, system-specific JSON configuration 30 - UCD90160 31 - UCD90320 33 Additional device types can be supported by creating a new sub-class within the 38 - A BMC application or script sets the `state` property to 1 on the 39 `org.openbmc.control.Power` D-Bus interface. [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | non-d0-probe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 In some cases it may be preferred to leave certain devices powered off for the 19 probe. The support for _DSC requires support from the kernel bus type if the 20 bus driver normally sets the device in D0 state for probe. 22 The downside of using _DSC is that as the device is not powered on, even if 28 --- 33 the device will not be powered on (put in D0 state) for probe. 36 -------- 41 .. code-block:: text 44 0 D0 Device fully powered on [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/usb/core/generic.c - generic driver for USB devices (not interfaces) 5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de> 9 * (C) Copyright Johannes Erdfelt 1999-2001 14 * (C) Copyright David Brownell 2000-2004 17 * (C) Copyright Greg Kroah-Hartman 2002-2003 34 return desc->bInterfaceClass == USB_CLASS_COMM in is_rndis() 35 && desc->bInterfaceSubClass == 2 in is_rndis() 36 && desc->bInterfaceProtocol == 0xff; in is_rndis() 41 return desc->bInterfaceClass == USB_CLASS_MISC in is_activesync() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A D | fe-diseqc-reset-overload.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due -… 31 If the bus has been automatically powered off due to power overload, 32 this ioctl call restores the power to the bus. The call requires 34 is manually powered off. Not all Digital TV adapters support this ioctl. 41 On error -1 is returned, and the ``errno`` variable is set 45 :ref:`Generic Error Codes <gen-errors>` chapter.
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | pcie_card_floors.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 * @class PCIeCardFloors - Action to set the PCIe card floor index parameter 36 * - Loads PCIe card metadata files using the PCIeCardMetadata class. 37 * - Watches for PCIe slots to be powered on (or off). 38 * - Reads four properties off of the PCIeDevice interface on the powered 40 * - Looks up the floor index for the card by calling PCIeCardMetadata::lookup 42 * - Sets the pcie_floor_index parameter with the highest floor index found. 43 * - If no PCIe cards are found, it removes the parameter. 44 * - If a card isn't recognized, it's ignored since it isn't considered a 46 * - If a powered on card has its own temperature sensor, then it doesn't [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb-devices-usbsevseg | 1 What: /sys/bus/usb/.../powered 5 Description: Controls whether the device's display will powered. 6 A value of 0 is off and a non-zero value is on. 8 What: /sys/bus/usb/.../mode_msb 9 What: /sys/bus/usb/.../mode_lsb 22 What: /sys/bus/usb/.../textmode 28 hex: each character is between 0-15 29 ascii: each character is between '0'-'9' and 'A'-'F'. 31 What: /sys/bus/usb/.../text 37 What: /sys/bus/usb/.../decimals
|
H A D | sysfs-driver-w1_therm | 1 What: /sys/bus/w1/devices/.../alarms 7 (typical -55 degC to 125 degC), if not values will be trimmed 11 master level, refer to Documentation/w1/w1-generic.rst for 17 What: /sys/bus/w1/devices/.../eeprom_cmd 33 What: /sys/bus/w1/devices/.../ext_power 39 * '0': device parasite powered 40 * '1': device externally powered 41 * '-xx': xx is kernel error when reading power status 47 What: /sys/bus/w1/devices/.../resolution 55 values after power-on. Read or write are : [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | rpaphp_pci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PCI Hot Plug Controller Driver for RPA-compliant PPC64 platform. 15 #include <asm/pci-bridge.h> 23 * RTAS call get-sensor-state(DR_ENTITY_SENSE) return values as per PAPR: 24 * -- generic return codes --- 25 * -1: Hardware Error 26 * -2: RTAS_BUSY 27 * -3: Invalid sensor. RTAS Parameter Error. 28 * -- rtas_get_sensor function specific return codes --- 29 * -9000: Need DR entity to be powered up and unisolated before RTAS call [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,tlv320aic3x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 TLV320AIC3x are a series of low-power stereo audio codecs with stereo 13 single-ended or fully differential configurations. 15 The serial control bus supports SPI or I2C protocols, while the serial audio 16 data bus is programmable for I2S, left/right-justified, DSP, or TDM modes. 44 - Jai Luthra <j-luthra@ti.com> 49 - ti,tlv320aic3x 50 - ti,tlv320aic33 [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | sfctemp.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * TempSensor reset. The RSTN can be de-asserted once the analog core has 20 * powered up. Trst(min 100ns) 21 * 0:reset 1:de-assert 26 * TempSensor analog core power down. The analog core will be powered up 27 * Tpu(min 50us) after PD is de-asserted. RSTN should be held low until the 28 * analog core is powered up. 41 * Temp(C)=DOUT*Y/4094 - K 64 /* make sure we're powered down first */ in sfctemp_power_up() 65 writel(SFCTEMP_PD, sfctemp->regs); in sfctemp_power_up() [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | cpuinfo_utils.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 /** Host CPU is powered off. */ 32 /** Host CPU is powered on, but BIOS has not completed POST. */ 38 /** Current host state - initialized to "off" */ 42 * Register D-Bus match handlers to keep hostState current. The D-Bus logic is 46 * @param[in] conn D-Bus ASIO connection. 65 * @tparam Dest Destination type - mostly useful to avoid an extra static_cast 70 * @param loBit 0-based index of the least significant bit to return. 71 * @param hiBit 0-based index of the most significant bit to return. 79 d &= (1ull << (hiBit - loBit + 1)) - 1; in mask()
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-ect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 21 0 C 0----------->: : +======>(other CTI channel IO) 22 0 P 0<-----------: : v 24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+ 25 ####### in_trigs : : (id 0-3) ***** ::::::: v 26 # ETM #----------->: : ^ ####### 27 # #<-----------: : +---# ETR # 50 The hardware trigger signals can also be connected to non-CoreSight devices 60 --------------------------- [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/ |
H A D | design.md | 3 This document describes the high-level design of the `phosphor-regulators` 6 The low-level design is documented using doxygen comments in the source files. 13 The `phosphor-regulators` application is a single-threaded C++ executable. It is 15 when the BMC reaches the Ready state and before the chassis is powered on. 17 The application is driven by a system-specific JSON configuration file. The JSON 24 - Manager 25 - Top level class created in `main()`. 26 - Loads the JSON configuration file. 27 - Implements the D-Bus `configure` and `monitor` methods. 28 - Contains a System object. [all …]
|
/openbmc/linux/Documentation/ABI/obsolete/ |
H A D | sysfs-driver-hid-roccat-kovaplus | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 4 Description: The integer value of this attribute ranges from 1-4. 11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 14 Description: The integer value of this attribute ranges from 0-4. 18 The profile that's active when powered down is the same that's 19 active when the mouse is powered on. 22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 25 Description: The integer value of this attribute ranges from 1-10. 32 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 35 Description: The integer value of this attribute ranges from 1-10. [all …]
|
/openbmc/linux/drivers/soundwire/ |
H A D | intel_bus_common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 // Copyright(c) 2015-2023 Intel Corporation. All rights reserved. 9 #include "bus.h" 14 struct device *dev = sdw->cdns.dev; in intel_start_bus() 15 struct sdw_cdns *cdns = &sdw->cdns; in intel_start_bus() 16 struct sdw_bus *bus = &cdns->bus; in intel_start_bus() local 23 if (bus->multi_link) in intel_start_bus() 34 if (bus->multi_link) { in intel_start_bus() 56 dev_err(dev, "%s: unable to exit bus reset sequence: %d\n", __func__, ret); in intel_start_bus() 63 schedule_delayed_work(&cdns->attach_dwork, in intel_start_bus() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | pmbus_read_sensor.md | 16 | :--------------- | :--------------------- | 29 - Some regulators only support a subset of these sensor types. 30 - Some of these sensor types are not part of the PMBus specification and must be 31 obtained by reading from manufacturer-specific commands. 38 …-------- | :--------------------------------------------------------------------------------------… 39 …nput voltage, and temperature. Two byte value with an 11-bit, two's complement mantissa and a 5-bi… 40 | linear_16 | Linear data format used for values related to voltage output. Two byte (16-bit), unsi… 53 ### D-Bus Sensor 56 [D-Bus sensor object](https://github.com/openbmc/docs/blob/master/architecture/sensor-architecture.… 60 D-Bus sensors have an object path with the following format: [all …]
|
/openbmc/phosphor-power/phosphor-power-supply/test/ |
H A D | power_supply_tests.cpp | 24 static auto PSUGPIOLineName = "presence-ps0"; 129 * @param[in] invpath - String for inventory path to use in TEST_F() 130 * @param[in] i2cbus - The bus number this power supply is on in TEST_F() 131 * @param[in] i2caddr - The 16-bit I2C address of the power supply in TEST_F() 132 * @param[in] gpioLineName - The string for the gpio-line-name to read for in TEST_F() 134 * @param[in] bindDelay - Time in milliseconds to delay binding the device in TEST_F() 137 auto bus = sdbusplus::bus::new_default(); in TEST_F() local 142 auto psu = std::make_unique<PowerSupply>(bus, "", 3, 0x68, "ibm-cffps", in TEST_F() 160 auto psu = std::make_unique<PowerSupply>(bus, PSUInventoryPath, 3, 0x68, in TEST_F() 161 "ibm-cffps", "", isPowerOn); in TEST_F() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/bus/ |
H A D | renesas,bsc.yaml | 2 --- 3 $id: http://devicetree.org/schemas/bus/renesas,bsc.yaml# 4 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 title: Renesas Bus State Controller (BSC) 9 - Geert Uytterhoeven <geert+renesas@glider.be> 12 The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus 13 Bridge", or "External Bus Interface") can be found in several Renesas ARM 14 SoCs. It provides an external bus for connecting multiple external 18 While the BSC is a fairly simple memory-mapped bus, it may be part of a 21 must be powered on, and the functional clock driving the BSC must be [all …]
|