/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-drd.yaml 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 27 - mediatek,mt8186-mtu3 [all …]
|
H A D | analogix,anx7411.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: Analogix ANX7411 Type-C controller 10 - Xin Ji <xji@analogixsemi.com> 15 - analogix,anx7411 25 $ref: ../connector/usb-connector.yaml 33 const: usb-c-connector 35 power-role: true 37 data-role: true [all …]
|
H A D | mediatek,musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Min Guo <min.guo@mediatek.com> 15 pattern: '^usb@[0-9a-f]+$' 19 - enum: 20 - mediatek,mt8516-musb 21 - mediatek,mt2701-musb 22 - mediatek,mt7623-musb 23 - const: mediatek,mtk-musb [all …]
|
H A D | st,stusb160x.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: STMicroelectronics STUSB160x Type-C controller 10 - Amelie Delaunay <amelie.delaunay@foss.st.com> 15 - st,stusb1600 23 vdd-supply: 24 description: main power supply (4.1V-22V) 26 vsys-supply: 27 description: low power supply (3.0V-5.5V) [all …]
|
H A D | willsemi,wusb3801.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: WUSB3801 Type-C port controller 10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which 11 supports role and plug orientation detection using the CC pins. It is 12 compatible with the USB Type-C Cable and Connector Specification v1.2. 15 - Samuel Holland <samuel@sholland.org> 20 - willsemi,wusb3801 30 $ref: ../connector/usb-connector.yaml# [all …]
|
H A D | qcom,pmic-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC based USB Type-C block 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Qualcomm PMIC Type-C block 18 - qcom,pm8150b-typec 22 $ref: /schemas/connector/usb-connector.yaml# 26 description: Type-C port and pdphy SPMI register base offsets [all …]
|
H A D | richtek,rt1711h.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: Richtek RT1711H Type-C Port Switch and Power Delivery controller 10 - Gene Chen <gene_chen@richtek.com> 13 The RT1711H is a USB Type-C controller that complies with the latest 14 USB Type-C and PD standards. It does the USB Type-C detection including attach 15 and orientation. It integrates the physical layer of the USB BMC power 16 delivery protocol to allow up to 100W of power. The BMC PD block enables full 17 support for alternative interfaces of the Type-C specification. [all …]
|
H A D | mediatek,mt6360-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators, 14 regulators (BUCKs/LDOs), and TypeC Port Switch with Power Delivery controller. 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc [all …]
|
H A D | richtek,rt1711h.txt | 4 - compatible : Must be "richtek,rt1711h". 5 - reg : Must be 0x4e, it's slave address of RT1711H. 6 - interrupts : <a b> where a is the interrupt number and b represents an 9 Required sub-node: 10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 12 Documentation/devicetree/bindings/connector/usb-connector.yaml 18 interrupt-parent = <&gpio26>; 22 compatible = "usb-c-connector"; 23 label = "USB-C"; 24 data-role = "dual"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | typec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* USB Type-C Specification releases */ 58 static inline int is_sink(enum typec_role role) in is_sink() argument 60 return role == TYPEC_SINK; in is_sink() 63 static inline int is_source(enum typec_role role) in is_source() argument 65 return role == TYPEC_SOURCE; in is_source() 90 * struct enter_usb_data - Enter_USB Message details 94 * @active_link_training is a flag that should be set with uni-directional SBRX 95 * communication, and left 0 with passive cables and with bi-directional SBRX 104 * struct usb_pd_identity - USB Power Delivery identity data [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-typec | 1 USB Type-C port devices (eg. /sys/class/typec/port0/) 8 requesting data role swapping on the port. Swapping is supported 11 notified about role changes so that poll(2) on the attribute 12 wakes up. Change on the role will also generate uevent 13 KOBJ_CHANGE on the port. The current role is show in brackets, 22 The supported power roles. This attribute can be used to request 23 power role swap on the port. Swapping is supported as 26 notified about role changes so that poll(2) on the attribute 27 wakes up. Change on the role will also generate uevent 28 KOBJ_CHANGE. The current role is show in brackets, for example [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-idp-ec-h1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 11 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>; 12 cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>; 15 compatible = "google,cros-ec-spi"; 17 interrupt-parent = <&tlmm>; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&ap_ec_int_l>; 21 spi-max-frequency = <3000000>; 24 compatible = "google,cros-ec-pwm"; 25 #pwm-cells = <1>; [all …]
|
/openbmc/openbmc-test-automation/redfish/account_service/ |
H A D | test_ldap_configuration.robot | 153 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE} 164 ... power off. 168 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE} 172 # Verify that the LDAP user with operator privilege is able to power the system off. 192 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE} 222 ... allowed to power on the host. 407 [Setup] Update LDAP Configuration with LDAP User Role And Group 410 Update LDAP Configuration with LDAP User Role And Group ${LDAP_TYPE} 444 [Template] Update LDAP User Role And Host Poweroff 462 [Template] Update LDAP User Role And Host Poweron [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_vmi.robot | 93 10.5.20.-5 10.5.20.1 255.255.252.0 ${HTTP_BAD_REQUEST} 135 Redfish Power Off stack_mode=skip 136 Redfish Power On 141 Redfish Power Off stack_mode=skip 142 Redfish Power On 167 Redfish Power Off 168 Redfish Power On 182 Redfish Power Off 183 Redfish Power On 192 [Setup] Redfish Power On [all …]
|
/openbmc/docs/designs/ |
H A D | redfish-authorization.md | 22 operation-to-privilege mapping. 26 `ConfigureManager`, etc). A service may define custom OEM roles (read-only). A 27 service may even allow custom client-defined roles to be created, modified, and 30 The operation-to-privilege mapping is defined for every resource type and 33 authenticated Redfish role are sufficient to complete the operation in the 35 official registry collection as a base operation-to-privilege mapping. It also 49 and properties of `Mappings` are all read-only. 53 1. https://redfish.dmtf.org/schemas/DSP0266_1.15.1.html#privilege-model 54 2. https://redfish.dmtf.org/schemas/DSP0266_1.15.1.html#redfish-service-operation-to-privilege-mapp… 58 ### Phosphor-user-manager [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-axp288.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * extcon-axp288.c - X-Power AXP288 PMIC extcon cable detection driver 5 * Copyright (c) 2017-2018 Hans de Goede <hdegoede@redhat.com> 19 #include <linux/extcon-provider.h> 22 #include <linux/usb/role.h> 26 #include <asm/intel-family.h> 29 /* Power source status register */ 115 /* Power up/down reason string array */ 117 "Last wake caused by user pressing the power button", 124 "Last shutdown caused by user pressing the power button", [all …]
|
H A D | extcon-usbc-cros-ec.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/extcon-provider.h> 28 unsigned int dr; /* data role */ 29 bool pr; /* power role (true if VBUS enabled) */ 49 * cros_ec_pd_command() - Send a command to the EC. 73 return -ENOMEM; in cros_ec_pd_command() 75 msg->version = version; in cros_ec_pd_command() 76 msg->command = command; in cros_ec_pd_command() 77 msg->outsize = outsize; in cros_ec_pd_command() 78 msg->insize = insize; in cros_ec_pd_command() [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_redfish_utils.robot | 10 Redfish Power Operation 11 [Documentation] Do Redfish host power operation. 15 # reset_type Type of power operation. 106 [Documentation] Disable or enable delete redfish while performing the power operation keyword. 195 # "Context": "MYID-01" 249 # redfish_uri The power supply URI (e.g. /redfish/v1/Chassis/chassis/Power) 250 # reading_type The power watt readings (e.g. "PowerInputWatts") 260 # [@odata.id]: /redfish/v1/Chassis/chassis/Power#/PowerControl/0 261 # [@odata.type]: #Power.v1_0_0.PowerControl 263 # [Name]: Chassis Power Control [all …]
|
/openbmc/linux/Documentation/usb/ |
H A D | chipidea.rst | 2 ChipIdea Highspeed Dual Role Controller Driver 6 ----------------------------------- 12 ------------------------- 29 otg-rev = <0x0200>; 30 adp-disable; 33 ------------------- 35 1) Power up 2 Freescale i.MX6Q sabre SD boards with gadget class driver loaded 41 The A-device (with micro A plug inserted) should enumerate B-device. 43 3) Role switch 45 On B-device:: [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3_dr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mtu3_dr.c - dual role switch and host glue layer 24 mtu3_setbits(ssusb->mac_base, U3D_DEVICE_CONTROL, DC_SESSION); in toggle_opstate() 25 mtu3_setbits(ssusb->mac_base, U3D_POWER_MANAGEMENT, SOFT_CONN); in toggle_opstate() 28 /* only port0 supports dual-role mode */ 32 void __iomem *ibase = ssusb->ippc_base; in ssusb_port0_switch() 35 dev_dbg(ssusb->dev, "%s (switch u%d port0 to %s)\n", __func__, in ssusb_port0_switch() 39 /* 1. power off and disable u2 port0 */ in ssusb_port0_switch() 44 /* 2. power on, enable u2 port0 and select its mode */ in ssusb_port0_switch() 51 /* 1. power off and disable u3 port0 */ in ssusb_port0_switch() [all …]
|
/openbmc/webui-vue/src/locales/ |
H A D | en-US.json | 88 …ssible from the logged in account. Contact your system administrator to check your privilege role." 95 "power": "Power", string 134 "power": "@:appPageTitle.power", string 139 "power": "Power", string 155 "powerRestorePolicy": "Power restore policy", 161 "serverPowerOperations": "Server power operations", 206 "label": "24-hour time", 338 "operationInProgress": "Server power operation in progress.", 343 "viewServerPowerOperations": "View server power operations" 380 "powerSupplies": "Power supplies", [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_clocking.c | 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* Copyright 2016-2018 NXP 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 107 sja1105_packing(buf, &idiv->clksrc, 28, 24, size, op); in sja1105_cgu_idiv_packing() 108 sja1105_packing(buf, &idiv->autoblock, 11, 11, size, op); in sja1105_cgu_idiv_packing() 109 sja1105_packing(buf, &idiv->idiv, 5, 2, size, op); in sja1105_cgu_idiv_packing() 110 sja1105_packing(buf, &idiv->pd, 0, 0, size, op); in sja1105_cgu_idiv_packing() 116 const struct sja1105_regs *regs = priv->info->regs; in sja1105_cgu_idiv_config() 117 struct device *dev = priv->ds->dev; in sja1105_cgu_idiv_config() 121 if (regs->cgu_idiv[port] == SJA1105_RSV_ADDR) in sja1105_cgu_idiv_config() [all …]
|
/openbmc/linux/drivers/usb/typec/ |
H A D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class 27 /* ------------------------------------------------------------------------- */ 64 return partner->identity; in get_pd_identity() 68 return cable->identity; in get_pd_identity() 75 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type() 83 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 84 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() 86 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type() 89 ptype = product_type_cable[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600"; 29 iio-hwmon { [all …]
|