| { |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "_comment": "This file is auto-generated; to update, run regen.py", |
| "properties": { |
| "chromeos": { |
| "additionalProperties": false, |
| "properties": { |
| "configs": { |
| "items": { |
| "additionalProperties": false, |
| "properties": { |
| "arc": { |
| "additionalProperties": false, |
| "properties": { |
| "build-properties": { |
| "additionalProperties": false, |
| "properties": { |
| "device": { |
| "description": "Device name to report in 'ro.product.device'. This is often '{product}_cheets' but it can be something else if desired.", |
| "type": "string" |
| }, |
| "first-api-level": { |
| "description": "The first Android API level that this model shipped with.\nDeprecated since M94 (b/187778952).\n", |
| "type": "string" |
| }, |
| "marketing-name": { |
| "description": "Name of this model as it is called in the market, reported in 'ro.product.model'. This often starts with '{oem}'.", |
| "type": "string" |
| }, |
| "metrics-tag": { |
| "description": "Tag to use to track metrics for this model. The tag can be shared across many devices if desired, but this will result in larger granularity for metrics reporting. Ideally the metrics system should support collation of metrics with different tags into groups, but if this is not supported, this tag can be used to achieve the same end. This is reported in 'ro.product.metrics.tag'.", |
| "type": "string" |
| }, |
| "oem": { |
| "description": "Original Equipment Manufacturer for this model. This generally means the OEM name printed on the device.", |
| "type": "string" |
| }, |
| "pai-regions": { |
| "description": "(Optional) Comma-separated allow list of region codes\nthat can be appended to 'ro.oem.key1' for the purpose of\ntargeting Play Auto Install applications by region. The\nvalue(s) should match the values that would be returned\nby `cros_region_data region_code` for the relevant\nregion(s). If the device's region code is not in the\nallow list, or if there is no allow list, 'ro.oem.key1'\nwill not include the region code. The allow list can\nalso be a single '*' character to indicate that the\nregion code should always be appended.\n", |
| "pattern": "(^([a-zA-Z0-9\\.\\-]+,)*[a-zA-Z0-9\\.\\-]+$)|(^\\*$)", |
| "type": "string" |
| }, |
| "product": { |
| "description": "Product name to report in 'ro.product.name'. This may be the device name, or it can be something else, to allow several devices to be grouped into one product.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "product", |
| "device", |
| "metrics-tag" |
| ], |
| "type": "object" |
| }, |
| "hardware-features": { |
| "additionalProperties": false, |
| "description": "Defines hardware_features.xml file provided to ARC during\ninitialization.\n", |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "media-codecs": { |
| "additionalProperties": false, |
| "description": "Defines media_codecs_c2.xml file provided to ARC during\ninitialization.\n", |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "media-codecs-performance": { |
| "additionalProperties": false, |
| "description": "Defines media_codecs_performance_c2.xml file provided to\nARC during initialization.\n", |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "media-profiles": { |
| "additionalProperties": false, |
| "description": "Defines media_profiles.xml file provided to ARC during\ninitialization.\n", |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "scale": { |
| "description": "The screen density value in dpi that will be used for ARC apps. This value should be from the list of DPIs in android cdd.", |
| "enum": [ |
| 280 |
| ], |
| "type": "integer" |
| } |
| }, |
| "required": [ |
| "build-properties" |
| ], |
| "type": "object" |
| }, |
| "audio": { |
| "additionalProperties": false, |
| "properties": { |
| "main": { |
| "additionalProperties": false, |
| "properties": { |
| "cras-config-dir": { |
| "description": "Subdirectory for model-specific configuration.", |
| "type": "string" |
| }, |
| "disable-profile": { |
| "description": "Optional --disable_profile parameter for CRAS daemon.", |
| "type": "string" |
| }, |
| "files": { |
| "build-only-element": true, |
| "items": { |
| "additionalProperties": false, |
| "properties": { |
| "destination": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| }, |
| "source": { |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "sound-card-init-conf": { |
| "description": "Optional model specific config filename for sound_card_init.", |
| "type": "string" |
| }, |
| "speaker-amp": { |
| "description": "Specifies the name of the speaker amplifier on the device.", |
| "type": "string" |
| }, |
| "ucm-suffix": { |
| "description": "Optional UCM suffix used to determine model specific config.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "cras-config-dir" |
| ], |
| "type": "object" |
| } |
| }, |
| "required": [ |
| "main" |
| ], |
| "type": "object" |
| }, |
| "auto-night-light": { |
| "description": "Whether the auto-night-light feature is enabled on the device, which sets the schedule for Night light automatically to sunset-to-sunrise.", |
| "type": "boolean" |
| }, |
| "battery": { |
| "properties": { |
| "no-battery-boot-supported": { |
| "description": "Device supports booting without a battery.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "bluetooth": { |
| "additionalProperties": false, |
| "properties": { |
| "flags": { |
| "additionalProperties": false, |
| "properties": { |
| "block-floss-availability": { |
| "description": "Block Floss from enablement by chrome.", |
| "type": "boolean" |
| }, |
| "block-llprivacy-availability": { |
| "description": "Block LL Privacy from enablement by chrome.", |
| "type": "boolean" |
| }, |
| "enable-bluetooth-offload": { |
| "description": "Enable audio offload path.", |
| "type": "boolean" |
| }, |
| "enable-suspend-management": { |
| "description": "Enable powerd suspend management callbacks.", |
| "type": "boolean" |
| }, |
| "reset-on-resume": { |
| "description": "Expect bluetooth chip to have reset on resume.", |
| "type": "boolean" |
| }, |
| "stop-on-suspend": { |
| "description": "Stop the bluetooth adapter on suspend and start it on resume.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "brand-code": { |
| "description": "Brand code of the model (also called RLZ code).", |
| "type": "string" |
| }, |
| "branding": { |
| "additionalProperties": false, |
| "description": "Contains branding characteristics for this model.", |
| "properties": { |
| "marketing-name": { |
| "description": "Name of this model as it is called in the market, reported in 'ro.product.model'. This often starts with '{oem-name}'.", |
| "type": "string" |
| }, |
| "oem-name": { |
| "description": "Original Equipment Manufacturer for this model. Generally\nthis means the OEM name printed on the device. This field\ncan only be included after the product has been publicly\nannounced AND should be filled by OEM. It is recommended not\nto use this field directly, and use cros_healthd Mojo\ninterface instead as a general solution.\n", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "camera": { |
| "additionalProperties": false, |
| "properties": { |
| "clock": { |
| "description": "Specified the camera clock on the model.", |
| "enum": [ |
| "monotonic", |
| "boottime" |
| ], |
| "type": "string" |
| }, |
| "config-file": { |
| "additionalProperties": false, |
| "description": "Defines the camera configuration file.", |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "count": { |
| "description": "Specified the number of cameras on the model.", |
| "type": "integer" |
| }, |
| "devices": { |
| "description": "List of camera devices on the model. Newly created models should use this property to define camera configuration.", |
| "items": { |
| "additionalProperties": false, |
| "if": { |
| "properties": { |
| "interface": { |
| "const": "usb" |
| } |
| } |
| }, |
| "properties": { |
| "detachable": { |
| "description": "Whether the camera module is detachable.", |
| "type": "boolean" |
| }, |
| "facing": { |
| "description": "Direction the camera faces relative to device screen.", |
| "enum": [ |
| "front", |
| "back" |
| ], |
| "type": "string" |
| }, |
| "flags": { |
| "additionalProperties": false, |
| "description": "Bit flags representing camera capabilities of this device. A camera module can be mounted on this slot only if all the flags match.", |
| "properties": { |
| "support-1080p": { |
| "description": "Supports 1920x1080 resolution.", |
| "type": "boolean" |
| }, |
| "support-autofocus": { |
| "description": "Supports auto-focus.", |
| "type": "boolean" |
| } |
| }, |
| "required": [ |
| "support-1080p", |
| "support-autofocus" |
| ], |
| "type": "object" |
| }, |
| "has-privacy-switch": { |
| "description": "The camera has a privacy switch that can disable the output when enabled.", |
| "type": "boolean" |
| }, |
| "ids": { |
| "description": "List of strings each identifies a possible camera module on this slot. An empty list means this information is not available.", |
| "items": { |
| "description": "An identifier string of camera module. For USB cameras this must be 4-digit hexadecimal VID and PID separated by a colon, e.g. 0123:abcd. For MIPI cameras it depends on vendor software usage.", |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "interface": { |
| "description": "The interface type of the camera device.", |
| "enum": [ |
| "usb", |
| "mipi" |
| ], |
| "type": "string" |
| }, |
| "orientation": { |
| "description": "Clockwise angle through which the output image needs to be rotated to be upright on the device screen in its native orientation.", |
| "enum": [ |
| 0, |
| 90, |
| 180, |
| 270 |
| ], |
| "type": "integer" |
| }, |
| "privacy-switch-is-delayed": { |
| "description": "The state of the privacy switch can be read only when the camera stream is active.", |
| "type": "boolean" |
| } |
| }, |
| "required": [ |
| "interface", |
| "facing", |
| "orientation", |
| "flags" |
| ], |
| "then": { |
| "properties": { |
| "ids": { |
| "items": { |
| "pattern": "[0-9a-f]{4}:[0-9a-f]{4}" |
| } |
| } |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "legacy-usb": { |
| "description": "Indicates if the device has legacy usb cameras.", |
| "type": "boolean" |
| }, |
| "zsl-lookback": { |
| "description": "Specifies the duration to look back for Zero-Shutter Lag (ZSL) in milliseconds.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "cros-healthd": { |
| "additionalProperties": false, |
| "description": "Contains properties used by cros_healthd for model-specific telemetry and diagnostics.", |
| "properties": { |
| "battery": { |
| "additionalProperties": false, |
| "properties": { |
| "has-smart-battery-info": { |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "cached-vpd": { |
| "additionalProperties": false, |
| "properties": { |
| "has-sku-number": { |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "routines": { |
| "additionalProperties": false, |
| "properties": { |
| "battery-health": { |
| "additionalProperties": false, |
| "properties": { |
| "percent-battery-wear-allowed": { |
| "description": "Upper bound for the battery's wear percentage.\nBattery health routine in cros_healthd uses this\nfield as a threshold to determine whether the\nbattery is in good condition.\n", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "fingerprint-diag": { |
| "additionalProperties": false, |
| "properties": { |
| "detect-zones": { |
| "description": "A list of rectangles [x1, y1, x2, y2] defining the\nfinger detection zones on the sensor.\n", |
| "items": { |
| "additionalProperties": false, |
| "description": "Rectangles [x1, y1, x2, y2].\n", |
| "properties": { |
| "x1": { |
| "description": "`x1` should be smaller than `x2`.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "x2": { |
| "description": "`x1` should be smaller than `x2`.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "y1": { |
| "description": "`y1` should be smaller than `y2`.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "y2": { |
| "description": "`y1` should be smaller than `y2`.\n", |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "required": [ |
| "x1", |
| "y1", |
| "x2", |
| "y2" |
| ], |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "max-dead-pixels": { |
| "description": "The maximum allowed number of dead pixels on the\nfingerprint sensor.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "max-dead-pixels-in-detect-zone": { |
| "description": "The maximum allowed number of dead pixels in the\ndetection zone.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "max-error-reset-pixels": { |
| "description": "The maximum allowed number of error pixels when\ndoing the reset test on the fingerprint sensor.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "max-pixel-dev": { |
| "description": "The maximum deviation from the median for a pixel.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "max-reset-pixel-dev": { |
| "description": "The maximum deviation from the median for a pixel\nwhen doing the reset test.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "num-detect-zone": { |
| "description": "The number of detect zone.\n", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "pixel-median": { |
| "additionalProperties": false, |
| "description": "Range constraints of the pixel median value of the\ncheckerboards.\n", |
| "properties": { |
| "cb-type1-lower": { |
| "description": "Checkerboard type1 lower bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "cb-type1-upper": { |
| "description": "Checkerboard type1 upper bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "cb-type2-lower": { |
| "description": "Checkerboard type2 lower bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "cb-type2-upper": { |
| "description": "Checkerboard type2 upper bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "icb-type1-lower": { |
| "description": "Inverted checkerboard type1 lower bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "icb-type1-upper": { |
| "description": "Inverted checkerboard type1 upper bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "icb-type2-lower": { |
| "description": "Inverted checkerboard type2 lower bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "icb-type2-upper": { |
| "description": "Inverted checkerboard type2 upper bound.\n", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "required": [ |
| "cb-type1-lower", |
| "cb-type1-upper", |
| "cb-type2-lower", |
| "cb-type2-upper", |
| "icb-type1-lower", |
| "icb-type1-upper", |
| "icb-type2-lower", |
| "icb-type2-upper" |
| ], |
| "type": "object" |
| }, |
| "routine-enable": { |
| "description": "Enable fingerprint diagnostic routine or not.\n", |
| "type": "boolean" |
| } |
| }, |
| "required": [ |
| "routine-enable", |
| "max-dead-pixels", |
| "max-dead-pixels-in-detect-zone", |
| "max-pixel-dev", |
| "pixel-median", |
| "num-detect-zone", |
| "max-error-reset-pixels", |
| "max-reset-pixel-dev" |
| ], |
| "type": "object" |
| }, |
| "nvme-wear-level": { |
| "additionalProperties": false, |
| "properties": { |
| "wear-level-threshold": { |
| "description": "Threshold number in percentage which NVMe wear level\nroutine (only available to wilco devices) in\ncros_healthd examines wear level status against.\n", |
| "maximum": 99, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "cross-device": { |
| "additionalProperties": false, |
| "description": "Contains properties to configure cross-device features between ChromeOS devices and other devices, such as Instant Tethering and Smart Lock.", |
| "properties": { |
| "instant-tethering": { |
| "additionalProperties": false, |
| "description": "Contains properties to configure the Instant Tethering cross-device feature.", |
| "properties": { |
| "disable-instant-tethering": { |
| "description": "Disables the Instant Tethering feature. false by default", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "demo-mode": { |
| "additionalProperties": false, |
| "description": "Properties related to the ChromeOS Demo Mode, defining the user experience when the device is used in retail.", |
| "properties": { |
| "highlights-extension-id": { |
| "description": "The Chrome extension ID of the highlights app used during demo mode.", |
| "type": "string" |
| }, |
| "screensaver-extension-id": { |
| "description": "The Chrome extension ID of the attract loop played during demo mode.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "detachable-base": { |
| "additionalProperties": false, |
| "description": "Contains the configuration for the hammerd which is used to update the detachable base firmware.", |
| "properties": { |
| "ec-image-name": { |
| "description": "The target EC binary name which is placed under /lib/firmware.", |
| "type": "string" |
| }, |
| "files": { |
| "build-only-element": true, |
| "items": { |
| "additionalProperties": false, |
| "properties": { |
| "destination": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| }, |
| "source": { |
| "description": "Source of the file relative to the build system ${FILESDIR}", |
| "type": "string" |
| }, |
| "symlink": { |
| "description": "Symlink file that will be installed pointing to the destination.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "i2c-path": { |
| "description": "Path to the I2C device under sysfs /sys/bus/i2c/devices/*, in format <bus>-<address>. This is required for i2c interface detachable base. Note - i2c bus numbering can shift across reboots, please have corresponding setup based on your platform to ensure consistency. By taking this as an example: '/sys/bus/i2c/devices/1-0023' The i2c-path is '1-0023'.", |
| "type": "string" |
| }, |
| "product-id": { |
| "description": "The Product ID of the detachable base. This value can be queried by command 'lsusb'. By taking this as an example: Bus 001 Device 032: ID 18d1:503c Google LLC the product-id is 20540(=0x503c).", |
| "type": "integer" |
| }, |
| "touch-image-name": { |
| "description": "The touchpad binary name which is placed under /lib/firmware. This is only needed if the detachable base contains touchpad.", |
| "type": "string" |
| }, |
| "usb-path": { |
| "description": "Searches and finds the idVendor and idProduct under sysfs /sys/bus/usb/devices/* which matches the vendor-id and product-id. This is required for usb interface detachable base. By taking this as an example: '/sys/bus/usb/devices/1-1.1' The usb-path is '1-1.1'.", |
| "type": "string" |
| }, |
| "vendor-id": { |
| "description": "The Vendor ID of the detachable base. This value can be queried by command 'lsusb'. By taking this as an example: Bus 001 Device 032: ID 18d1:503c Google LLC the vendor-id is 6353(=0x18d1).", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "dgpu": { |
| "additionalProperties": false, |
| "description": "Contains details about the model's dgpu implementation.", |
| "properties": { |
| "dgpu-type": { |
| "description": "type of dGPU.", |
| "type": "string" |
| }, |
| "has-dgpu": { |
| "description": "Whether the model has discrete GPU.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "displays": { |
| "items": { |
| "additionalProperties": false, |
| "description": "Additional display properties beyond what is available thru standards such as EDID. The display matches based on the libdrm connector type.", |
| "properties": { |
| "connector-type": { |
| "additionalProperties": false, |
| "description": "The libdrm connector type that must match for the properties to apply to this display. For example, specify 14 for eDP. See drm_mode.h included with libdrm for all possible values.", |
| "maximum": 20, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "rounded-corners": { |
| "additionalProperties": false, |
| "description": "Specify the radius of each corner.", |
| "properties": { |
| "bottom-left": { |
| "description": "The radius, in physical pixels, of the rounded corner.", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "bottom-right": { |
| "description": "The radius, in physical pixels, of the rounded corner.", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "top-left": { |
| "description": "The radius, in physical pixels, of the rounded corner.", |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "top-right": { |
| "description": "The radius, in physical pixels, of the rounded corner.", |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "efi": { |
| "description": "Contains settings related to EFI firmware.", |
| "properties": { |
| "bootvar-name-override": { |
| "description": "Override the label/description of EFI boot entries managed\nby postinstall. The default is hard-coded in postinstall.\nThis should be used by devices with non-ChromeOS firmware,\nin conjunction with the `manage_efi_boot_entries` USE flag.\n", |
| "pattern": "[a-zA-Z0-9 ]+", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "fingerprint": { |
| "additionalProperties": false, |
| "dependencies": { |
| "ro-version": [ |
| "board" |
| ] |
| }, |
| "description": "Contains details about the model's fingerprint implementation.", |
| "properties": { |
| "board": { |
| "description": "Specifies the fingerprint board in use.", |
| "type": "string" |
| }, |
| "fingerprint-sensor-type": { |
| "description": "Type of FP sensor. Currently describes whether FP is overlapped on the power button or not.", |
| "enum": [ |
| "stand-alone", |
| "on-power-button" |
| ], |
| "type": "string" |
| }, |
| "ro-version": { |
| "build-only-element": true, |
| "description": "RO version for the fingerprint firmware for the FPMCU specified by the \"board\" property. If not specified, the default RO version for the FPMCU is used.", |
| "type": "string" |
| }, |
| "sensor-location": { |
| "description": "Specifies the location of the fingerprint sensor.", |
| "enum": [ |
| "none", |
| "power-button-top-left", |
| "keyboard-bottom-left", |
| "keyboard-bottom-right", |
| "keyboard-top-right", |
| "right-side", |
| "left-side", |
| "left-of-power-button-top-right" |
| ], |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "firmware": { |
| "additionalProperties": false, |
| "properties": { |
| "bcs-overlay": { |
| "build-only-element": true, |
| "description": "BCS overlay path used to determine BCS file path for binary firmware downloads.", |
| "type": "string" |
| }, |
| "build-targets": { |
| "additionalProperties": false, |
| "build-only-element": true, |
| "properties": { |
| "base": { |
| "description": "Build target of the base EC firmware for a detachable device, that will be considered dirty when building/testing", |
| "type": "string" |
| }, |
| "bmpblk": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "coreboot": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "depthcharge": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "ec": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "ec-extras": { |
| "items": { |
| "description": "Extra EC build targets to build within chromeos-ec.", |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "gsc": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "ish": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "libpayload": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "u-boot": { |
| "description": "Build target that will be considered dirty when building/testing locally.", |
| "type": "string" |
| }, |
| "zephyr-detachable-base": { |
| "description": "Specifies the detachable base of Zephyr-based firmware target to build.", |
| "type": "string" |
| }, |
| "zephyr-ec": { |
| "description": "Specifies the list of Zephyr-based firmware targets to build.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "detachable-ui": { |
| "build-only-element": true, |
| "description": "Enables the firmware detachable UI.", |
| "type": "boolean" |
| }, |
| "ec-ro-image": { |
| "build-only-element": true, |
| "description": "Name of the file located in BCS under the respective bcs-overlay.", |
| "type": "string" |
| }, |
| "ec-rw-image": { |
| "build-only-element": true, |
| "description": "Name of the file located in BCS under the respective bcs-overlay.", |
| "type": "string" |
| }, |
| "firmware-config": { |
| "build-only-element": false, |
| "description": "The firmware config bitmap to be flashed to the CBI. This field is used in the factory.", |
| "type": "integer" |
| }, |
| "has-alt-firmware": { |
| "build-only-element": false, |
| "description": "Contains attributes from the runtime firmware, to be used by the system in different aspects, such as tast tests and upstart.", |
| "type": "boolean" |
| }, |
| "has-ec-component-manifest": { |
| "build-only-element": true, |
| "description": "Enables EC component manifest to support EC component probing (go/ec-comp-probe).", |
| "type": "boolean" |
| }, |
| "has-splash-screen": { |
| "build-only-element": false, |
| "description": "Indicates if firmware is setting up the initial splash screen.", |
| "type": "boolean" |
| }, |
| "image-name": { |
| "build-only-element": false, |
| "description": "The name of the firmware image used by the firmware updater. Typically the device name, but can differ when a device may have two or more different firmware images.", |
| "type": "string" |
| }, |
| "key-id": { |
| "build-only-element": true, |
| "description": "Key ID from the signer key set that is used to sign the given firmware image.", |
| "type": "string" |
| }, |
| "main-ro-image": { |
| "build-only-element": true, |
| "description": "Name of the file located in BCS under the respective bcs-overlay.", |
| "type": "string" |
| }, |
| "main-rw-a-hash": { |
| "build-only-element": true, |
| "description": "Hash digest associated with the payload (FW_MAIN_A) for optional verification.", |
| "type": "string" |
| }, |
| "main-rw-a-hash-algorithm": { |
| "build-only-element": true, |
| "description": "Hash algorithm in use.", |
| "enum": [ |
| "md5sum" |
| ], |
| "type": "string" |
| }, |
| "main-rw-image": { |
| "build-only-element": true, |
| "description": "Name of the file located in BCS under the respective bcs-overlay.", |
| "type": "string" |
| }, |
| "name": { |
| "build-only-element": true, |
| "description": "This is a human-recognizable name used to refer to the firmware. It will be used when generating the shellball via firmware packer. Mainly, this is only for compatibility testing with device tree (since DT allowed firmwares to be named).", |
| "type": "string" |
| }, |
| "no-firmware": { |
| "build-only-element": true, |
| "description": "Set this flag to True to indicate the sku has no firmware bundle (bios+ec) and should be included in the firmware section even if `build-targets` is not specified.", |
| "type": "boolean" |
| }, |
| "pd-ro-image": { |
| "build-only-element": true, |
| "description": "Name of the file located in BCS under the respective bcs-overlay.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "firmware-signing": { |
| "additionalProperties": false, |
| "build-only-element": true, |
| "properties": { |
| "key-id": { |
| "description": "Key ID from the signer key set that is used to sign the given firmware image.", |
| "type": "string" |
| }, |
| "sig-id-in-customization-id": { |
| "description": "Indicates that this model cannot be decoded by the mapping table. Instead the model is stored in the VPD (Vital Product Data) region in the customization_id property. This allows us to determine the model to use in the factory during the finalization stage. Note that if the VPD is wiped then the model will be lost. This may mean that the device will revert back to a generic model, or may not work. It is not possible in general to test whether the model in the VPD is correct at run-time. We simply assume that it is. The advantage of using this property is that no hardware changes are needed to change one model into another. For example we can create 20 different whitelabel boards, all with the same hardware, just by changing the customization_id that is written into SPI flash.", |
| "type": "boolean" |
| }, |
| "signature-id": { |
| "description": "ID used to generate keys/keyblocks in the firmware signing output.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "key-id", |
| "signature-id" |
| ], |
| "type": "object" |
| }, |
| "hardware-properties": { |
| "additionalProperties": false, |
| "description": "Contains boolean flags or enums for hardware properties of this board, for example if it's convertible, has a touchscreen, has a camera, etc. This information is used to auto-generate C code that is consumed by the EC build process in order to do run-time configuration. If a value is defined within a config file, but not for a specific model, that value will be assumed to be false for that model. If a value is an enum and is not specified for a specific model, it will default to \"none\". All properties must be booleans or enums. If non-boolean properties are desired, the generation code in cros_config_schema.py must be updated to support them.", |
| "properties": { |
| "display-type": { |
| "description": "Denotes the type of display this device contains.", |
| "enum": [ |
| "default", |
| "old" |
| ], |
| "type": "string" |
| }, |
| "fan-count": { |
| "description": "The number of fan in the device.", |
| "maximum": 7, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "form-factor": { |
| "description": "Denotes the form factor of the device.", |
| "enum": [ |
| "CHROMEBASE", |
| "CHROMEBIT", |
| "CHROMESLATE", |
| "CHROMEBOOK", |
| "CHROMEBOX", |
| "CLAMSHELL", |
| "CONVERTIBLE", |
| "DETACHABLE" |
| ], |
| "type": "string" |
| }, |
| "has-audio-jack": { |
| "description": "True if the device has an audio jack.", |
| "type": "boolean" |
| }, |
| "has-backlight": { |
| "description": "Does the device have a backlight.", |
| "type": "boolean" |
| }, |
| "has-base-accelerometer": { |
| "description": "Is there an accelerometer in the base of the device.", |
| "type": "boolean" |
| }, |
| "has-base-gyroscope": { |
| "description": "Is there a gyroscope in the base of the device.", |
| "type": "boolean" |
| }, |
| "has-base-light-sensor": { |
| "description": "Is there a light sensor in the base of the device.", |
| "type": "boolean" |
| }, |
| "has-base-magnetometer": { |
| "description": "Is there a magnetometer in the base of the device.", |
| "type": "boolean" |
| }, |
| "has-camera-light-sensor": { |
| "description": "Is there a light sensor in the camera of the device.", |
| "type": "boolean" |
| }, |
| "has-hdmi": { |
| "description": "True if the device has an HDMI port.", |
| "type": "boolean" |
| }, |
| "has-lid-accelerometer": { |
| "description": "Is there an accelerometer in the lid of the device.", |
| "type": "boolean" |
| }, |
| "has-lid-gyroscope": { |
| "description": "Is there a gyroscope in the lid of the device.", |
| "type": "boolean" |
| }, |
| "has-lid-light-sensor": { |
| "description": "Is there a light sensor in the lid of the device.", |
| "type": "boolean" |
| }, |
| "has-lid-magnetometer": { |
| "description": "Is there a magnetometer in the lid of the device.", |
| "type": "boolean" |
| }, |
| "has-poe-peripheral-support": { |
| "description": "Does the device have hardware for connecting PoE peripherals.", |
| "type": "boolean" |
| }, |
| "has-privacy-screen": { |
| "description": "Does the device have a privacy screen.", |
| "type": "boolean" |
| }, |
| "has-sd-reader": { |
| "description": "True if the device has an SD card reader.", |
| "type": "boolean" |
| }, |
| "has-side-volume-button": { |
| "description": "True if the device has a side volume button.", |
| "type": "boolean" |
| }, |
| "has-touchscreen": { |
| "description": "Does the device have a touchscreen.", |
| "type": "boolean" |
| }, |
| "is-lid-convertible": { |
| "description": "Can the lid be rotated 360 degrees.", |
| "type": "boolean" |
| }, |
| "psu-type": { |
| "description": "Type of PSU the device has:\n- battery: the device has a battery intended for primary use\n- AC_primary: the device has a battery, but it is not intended for primary use\n- AC_only: the device has no battery\n- no_power: the device does not receive power in any direct manner (e.g., it is virtualized)\n", |
| "enum": [ |
| "battery", |
| "AC_primary", |
| "AC_only", |
| "no_power" |
| ], |
| "type": "string" |
| }, |
| "recovery-input": { |
| "description": "Denotes the input method for entering device recovery.", |
| "enum": [ |
| "KEYBOARD", |
| "POWER_BUTTON", |
| "RECOVERY_BUTTON" |
| ], |
| "type": "string" |
| }, |
| "storage-type": { |
| "description": "Type of the fixed storage device.", |
| "enum": [ |
| "STORAGE_TYPE_UNKNOWN", |
| "EMMC", |
| "NVME", |
| "SATA", |
| "UFS", |
| "BRIDGED_EMMC" |
| ], |
| "type": "string" |
| }, |
| "stylus-category": { |
| "description": "Denotes the category of stylus this device contains.", |
| "enum": [ |
| "none", |
| "internal", |
| "external", |
| "unknown" |
| ], |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "hdmi-cec": { |
| "description": "Configurable parameters for HDMI-CEC.", |
| "properties": { |
| "power-off-displays-on-shutdown": { |
| "description": "Automatically power off all connected displays on shutdown.", |
| "type": "boolean" |
| }, |
| "power-on-displays-on-boot": { |
| "description": "Automatically power on all connected displays on boot.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "hps": { |
| "additionalProperties": false, |
| "description": "Contains details about the model's hps (go/cros-hps) implementation.", |
| "properties": { |
| "has-hps": { |
| "description": "Whether the model has an hps device.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "hwid-override": { |
| "description": "Override the HWID reported by crossystem. This\nproperty should only be used for devices supporting\nnon-ChromeOS firmware, where we don't have the ability\nto set the HWID in GBB.\n", |
| "pattern": "[A-Z0-9]+(-[A-Z]{4})?( [0-9A-F]+(-[0-9A-F]+)*)? ([A-Z2-7]{4}(-[A-Z2-7]{4})*|[A-Z2-7][2-9][A-Z2-7](-[A-Z2-7][2-9][A-Z2-7])*)", |
| "type": "string" |
| }, |
| "identity": { |
| "additionalProperties": false, |
| "description": "Defines attributes that are used by cros_config to detect the identity of the platform and which corresponding config should be used.", |
| "properties": { |
| "custom-label-tag": { |
| "description": "`custom_label_tag` value set in the VPD, to add branding over an\nunbranded base model. Note that `whitelabel_tag` is the\nhistorical name for this VPD value, and is accepted as well.\n", |
| "type": "string" |
| }, |
| "customization-id": { |
| "description": "'customization_id' value set in the VPD for non-unibuild Zergs and Whitelabels. Deprecated for use in new products since 2017/07/26.", |
| "type": "string" |
| }, |
| "feature-device-type": { |
| "description": "Type of feature enablement for this device", |
| "enum": [ |
| "legacy", |
| "on" |
| ], |
| "type": "string" |
| }, |
| "frid": { |
| "description": "String which must match the AP firmware FRID (first part before the\nperiod) in order for the config to match. Leaving this value unset\nwill cause the config to match any FRID.\n", |
| "type": "string" |
| }, |
| "platform-name": { |
| "description": "Do not set or use this value. It is no longer used and is pending deletion.", |
| "type": "string" |
| }, |
| "sku-id": { |
| "description": "SKU/Board strapping pins [configured during board manufacturing](https://chromium.googlesource.com/chromiumos/docs/+/HEAD/design_docs/cros_board_info.md#SKU_ID). Leaving this value unset will cause the config to match any SKU ID.", |
| "maximum": 2147483647, |
| "minimum": -1, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "keyboard": { |
| "description": "Contains details about the model's keyboard.", |
| "properties": { |
| "backlight": { |
| "description": "Specifies the existence of backlight.", |
| "type": "boolean" |
| }, |
| "mcutype": { |
| "description": "Type of MCU firmware, if present.", |
| "enum": [ |
| "prism_rgb_controller" |
| ], |
| "type": "string" |
| }, |
| "numpad": { |
| "description": "Specifies the existence of numpad.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "modem": { |
| "additionalProperties": false, |
| "properties": { |
| "firmware-variant": { |
| "description": "Variant of the modem firmware to be used. This value is read by modemfwd to match against the variant field of a firmware entry in a firmware manifest. In most cases, we simply use the model name as the value.", |
| "type": "string" |
| }, |
| "modem-type": { |
| "description": "The type of modem present on the device.", |
| "pattern": "[0-9]+", |
| "type": "string" |
| }, |
| "wedge-reboot-delay-ms": { |
| "description": "Delay in milliseconds after which we pulse the modem reset GPIO if it hasn't appeared on the USB bus. This value is used by modemfwd and defaults to 5 minutes if not defined.", |
| "pattern": "[0-9]+", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "name": { |
| "description": "Google code name for the given model. While it is OK to use this string for human-display purposes (such as in a debug log or help dialog), or for a searchable-key in metrics collection, it is not recommended to use this property for creating model-specific behaviors. In this case, add a property to the schema which describes your behavior and use that instead.", |
| "pattern": "^[_a-zA-Z0-9]{3,}", |
| "type": "string" |
| }, |
| "nnapi": { |
| "description": "Configurable parameters for the NNAPI (Neural Networks API) package.", |
| "properties": { |
| "drivers": { |
| "description": "Set of drivers that can be used with NNAPI.", |
| "items": { |
| "properties": { |
| "name": { |
| "type": "string" |
| }, |
| "shared-library": { |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "name", |
| "shared-library" |
| ], |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "nnpalm": { |
| "additionalProperties": false, |
| "properties": { |
| "model": { |
| "description": "Optional - model version to use, empty by default.", |
| "type": "string" |
| }, |
| "radius-polynomial": { |
| "description": "Optional - empty by default.", |
| "type": "string" |
| }, |
| "touch-compatible": { |
| "description": "Optional - false by default but should be true for compatible devices.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "oem-id": { |
| "description": "Some projects store SKU ID, OEM ID and Board Revision in an\nEEPROM and only SKU ID can be updated in the factory and RMA\nflow but others should be pre-flashed in the chip level. In\nthis case, we would like to validate whether oem-id here from\nthe updated SKU ID matches the one in the EEPROM so we can\nprevent this device from being updated to another OEM's devices.\n", |
| "pattern": "[0-9]+", |
| "type": "string" |
| }, |
| "power": { |
| "additionalProperties": false, |
| "description": "Defines settings that control power management functions. This mostly defines power_manager preferences, but there are a few other power related settings included. For details about each power_manager preference, see - src/platform2/power_manager/common/power_constants.h/cc For examples on setting these properties (including multiline examples), see the power config example in test_data/test.yaml", |
| "properties": { |
| "adaptive-charging-alarm-sec": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "adaptive-charging-enabled": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "adaptive-charging-hold-delta-percent": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "adaptive-charging-hold-percent": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "adaptive-charging-min-probability": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "allow-ambient-eq": { |
| "description": "Enable (1) or disable (0) Ambient EQ.", |
| "pattern": "^[01]$", |
| "type": "string" |
| }, |
| "allow-zero-charge-readings-on-ac": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "als-smoothing-constant": { |
| "default": "1.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "autobrightness": { |
| "additionalProperties": false, |
| "properties": { |
| "config-file": { |
| "additionalProperties": false, |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| } |
| }, |
| "required": [ |
| "config-file" |
| ], |
| "type": "object" |
| }, |
| "avoid-suspend-when-headphone-jack-plugged": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-poll-interval-initial-ms": { |
| "default": "1000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-poll-interval-ms": { |
| "default": "30000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-stabilized-after-battery-saver-ms": { |
| "default": "30000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-stabilized-after-line-power-connected-ms": { |
| "default": "5000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-stabilized-after-line-power-disconnected-ms": { |
| "default": "5000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-stabilized-after-resume-ms": { |
| "default": "5000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "battery-stabilized-after-startup-ms": { |
| "default": "5000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "charge-limit-enabled": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "charging-ports": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "cutoff-power-ua": { |
| "default": "-1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "defer-external-display-timeout": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "detect-hover": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "disable-dark-resume": { |
| "default": "1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "disable-idle-suspend": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "enable-console-during-suspend": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "external-ambient-light-sensor": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "external-backlight-als-steps": { |
| "default": "5.0 -1 600 100.0 500 -1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "external-display-only": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "external-display-only-models": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "factory-mode": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "has-ambient-light-sensor": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "has-barreljack": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "has-charge-controller": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "has-keyboard-backlight": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "has-machine-quirks": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "hibernate-power-ua": { |
| "default": "-1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "ignore-external-policy": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "instant-transitions-below-min-level": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "internal-backlight-als-steps": { |
| "default": "80.0 63.0 -1 400 100.0 80.0 100 -1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "internal-backlight-max-nits": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "internal-backlight-no-als-ac-brightness": { |
| "default": "80.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "internal-backlight-no-als-battery-brightness": { |
| "default": "63.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "keyboard-backlight-als-steps": { |
| "default": "40.0 -1 20 0.0 15 -1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "keyboard-backlight-keep-on-during-video-ms": { |
| "default": "3000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "keyboard-backlight-keep-on-ms": { |
| "default": "30000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "keyboard-backlight-no-als-brightness": { |
| "default": "40.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "keyboard-backlight-user-steps": { |
| "default": "0.0 10.0 20.0 40.0 60.0 100.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "legacy-power-button": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "low-battery-shutdown-percent": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "low-battery-shutdown-time-s": { |
| "default": "180", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "manual-eventlog-add": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "max-charge-samples": { |
| "default": "5", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "max-current-samples": { |
| "default": "5", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "max-dark-suspend-delay-timeout-ms": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "min-visible-backlight-level": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "multiple-batteries": { |
| "default": "1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "num-sessions-on-current-charge": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "plugged-dim-ms": { |
| "default": "420000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "plugged-off-ms": { |
| "default": "450000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "plugged-quick-dim-ms": { |
| "default": "120000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "plugged-quick-lock-ms": { |
| "default": "510000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "plugged-suspend-ms": { |
| "default": "510000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "power-supply-full-factor": { |
| "default": "0.97", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "preferred-lid-device": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "require-usb-input-device-to-suspend": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "retry-suspend-attempts": { |
| "default": "10", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "retry-suspend-ms": { |
| "default": "10000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "send-feedback-if-undimmed": { |
| "default": "1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-regulatory-domain-mapping": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-transmit-power-dpr-gpio": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-transmit-power-for-activity-proximity": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-transmit-power-for-proximity": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-transmit-power-for-tablet-mode": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-cellular-transmit-power-level-mapping": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-default-proximity-state-high": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-transmit-power-prefer-far-for-proximity": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-wifi-transmit-power-for-activity-proximity": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-wifi-transmit-power-for-proximity": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "set-wifi-transmit-power-for-tablet-mode": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "shutdown-from-suspend-sec": { |
| "default": "259200", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "slow-adaptive-charging-enabled": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "smart-discharge-to-zero-hr": { |
| "default": "-1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "suspend-mode": { |
| "default": "deep", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "suspend-prevention-models": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "suspend-to-idle": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "suspend-to-idle-models": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "touchpad-wakeup": { |
| "description": "Enable (1) or disable (0) wake from touchpad. If not set, default to enable. When set to enable, on many devices, firmware is in charge of controlling whether to wake from touchpad. This flag is reserved for older devices without firmware support (Nami and Coral) and please do not set for new devices.", |
| "pattern": "^[01]$", |
| "type": "string" |
| }, |
| "tpm-counter-suspend-threshold": { |
| "default": "0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "tpm-status-interval-sec": { |
| "default": "3600", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "turn-off-screen-timeout-ms": { |
| "default": "3000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "unplugged-dim-ms": { |
| "default": "300000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "unplugged-off-ms": { |
| "default": "330000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "unplugged-quick-dim-ms": { |
| "default": "60000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "unplugged-quick-lock-ms": { |
| "default": "390000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "unplugged-suspend-ms": { |
| "default": "390000", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "usb-min-ac-watts": { |
| "default": "20.0", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "use-cras": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "use-lid": { |
| "default": "1", |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "use-modemmanager-for-dynamic-sar": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "use-multi-power-level-dynamic-sar": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "use-regulatory-domain-for-dynamic-sar": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "wake-on-dp": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "wakeup-input-device-names": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| }, |
| "wifi-transmit-power-mode-for-static-device": { |
| "description": "For details, see https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "proximity-sensor": { |
| "additionalProperties": false, |
| "description": "Defines the proximity sensor settings for devices such as /dev/proximity-wifi and /dev/proximity-wifi-lte typically used for SAR.", |
| "properties": { |
| "semtech-config": { |
| "description": "Configurtion files for semtech sensors.", |
| "items": { |
| "properties": { |
| "file": { |
| "additionalProperties": false, |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| }, |
| "location": { |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "location", |
| "file" |
| ], |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "pvs": { |
| "additionalProperties": false, |
| "description": "Contains information needed to run PVS for this model.", |
| "properties": { |
| "program": { |
| "description": "The program that corresponds to this model.", |
| "type": "string" |
| }, |
| "project": { |
| "description": "The project that corresponds to this model.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "regulatory-label": { |
| "description": "Base name of the directory containing the regulatory label files to show on this device.", |
| "type": "string" |
| }, |
| "resource": { |
| "description": "Defines settings that configure resourced. https://chromium.googlesource.com/chromiumos/config/+/main/proto/chromiumos/config/api/software/resource_config.proto", |
| "properties": { |
| "ac": { |
| "description": "Defines settings that configure resourced based on power source. https://chromium.googlesource.com/chromiumos/config/+/main/proto/chromiumos/config/api/resource_config.proto", |
| "properties": { |
| "arcvm-gaming-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "battery-saver-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "borealis-gaming-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "default-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "fullscreen-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "vm-boot-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "web-rtc-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "dc": { |
| "description": "Defines settings that configure resourced based on power source. https://chromium.googlesource.com/chromiumos/config/+/main/proto/chromiumos/config/api/resource_config.proto", |
| "properties": { |
| "arcvm-gaming-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "battery-saver-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "borealis-gaming-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "default-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "fullscreen-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "vm-boot-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "web-rtc-power-preferences": { |
| "description": "For config details, see https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/resourced/README.md; For governor (CPUfreq scaling governor) and epp (Energy-Performance Preference), see https://www.kernel.org/doc/html/latest/admin-guide/pm/intel_pstate.html", |
| "properties": { |
| "cpu-offline": { |
| "description": "The policy to offline CPUs to reduce power consumption. Mainly used by battery-saver mode (battery-saver-power-preferences). Empty by default and CPU won't be offlined.", |
| "oneOf": [ |
| { |
| "properties": { |
| "half": { |
| "description": "Offline half of the cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "small-core": { |
| "description": "Offline small cores.", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "smt": { |
| "description": "Offline Simultaneous Multithreading (SMT).", |
| "properties": { |
| "min-active-threads": { |
| "description": "The minimum number of active threads required. If not set, resourced sets default to 2.", |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "cpufreq-disable-boost": { |
| "description": "(Optional) Whether cpufreq boost mode will be disabled or not. Mainly used by WebRTC (video calls) and battery-saver mode (battery-saver-power-preferences) to reduce power consumption. Defaults to false, enabling cpufreq.", |
| "type": "boolean" |
| }, |
| "epp": { |
| "oneOf": [ |
| { |
| "properties": { |
| "balance-performance": { |
| "type": "object" |
| }, |
| "balance-power": { |
| "type": "object" |
| }, |
| "default": { |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "power": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| }, |
| "governor": { |
| "oneOf": [ |
| { |
| "properties": { |
| "conservative": { |
| "type": "object" |
| }, |
| "ondemand": { |
| "properties": { |
| "powersave-bias": { |
| "type": "integer" |
| }, |
| "sampling-rate-ms": { |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "performance": { |
| "type": "object" |
| }, |
| "powersave": { |
| "type": "object" |
| }, |
| "schedutil": { |
| "type": "object" |
| }, |
| "userspace": { |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "rmad": { |
| "additionalProperties": false, |
| "description": "ChromeOS Shimless RMA daemon configurations.", |
| "properties": { |
| "enabled": { |
| "description": "Whether enable Shimless RMA.", |
| "type": "boolean" |
| }, |
| "has-cbi": { |
| "description": "Whether the device has CBI.", |
| "type": "boolean" |
| }, |
| "ssfc": { |
| "additionalProperties": false, |
| "description": "Configs to generate the SSFC value on a device.", |
| "properties": { |
| "component-type-configs": { |
| "items": { |
| "additionalProperties": false, |
| "description": "Configs for each component type.", |
| "properties": { |
| "component-type": { |
| "description": "Component type, e.g. gyroscope.", |
| "type": "string" |
| }, |
| "default-value": { |
| "description": "Default SSFC value if none of the component in |probed_componentns| is probed.", |
| "maximum": 4294967295, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "probeable-components": { |
| "items": { |
| "additionalProperties": false, |
| "description": "Mapping of probeable components to SSFC values.", |
| "properties": { |
| "identifier": { |
| "description": "Component name in the probe statement, e.g. gyroscope_1.", |
| "type": "string" |
| }, |
| "value": { |
| "description": "SSFC value of the component.", |
| "maximum": 4294967295, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| }, |
| "mask": { |
| "description": "SSFC bitmap mask for bits that should be preserved after RMA, e.g. configs that can only be set by the factory but not the RMA center.", |
| "maximum": 4294967295, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "use-legacy-custom-label": { |
| "description": "Whether use the legacy custom label key in VPD.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "schedqos": { |
| "description": "ChromeOS scheduler QoS settings.", |
| "properties": { |
| "default": { |
| "description": "Defines settings that configure resourced based on schedqos. https://chromium.googlesource.com/chromiumos/config/+/main/proto/chromiumos/config/api/schedqos_config.proto", |
| "properties": { |
| "background-cpu-share": { |
| "description": "The cpu share of background cpu cgroup.", |
| "type": "integer" |
| }, |
| "normal-cpu-share": { |
| "description": "The cpu share of normal cpu cgroup.", |
| "type": "integer" |
| }, |
| "thread-background": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-balanced": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-eco": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-urgent": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-urgent-bursty": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-urgent-bursty-server": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "thread-utility": { |
| "description": "Thread config for schedqos of each QoS state.", |
| "properties": { |
| "cpuset-cgroup": { |
| "description": "The cpuset cgroup to use.", |
| "enum": [ |
| "all", |
| "efficient" |
| ], |
| "type": "string" |
| }, |
| "latency-sensitive": { |
| "description": "Whether the thread is latency sensitive or not. The value (1 for true, 0 for false) is set to /proc/pid/task/tid/latency_sensitive.", |
| "type": "boolean" |
| }, |
| "nice": { |
| "description": "The nice value for scheduler.", |
| "maximum": 19, |
| "minimum": -20, |
| "type": "integer" |
| }, |
| "rt-priority": { |
| "description": "The priority on RT mode. Negative value means RT is disabled.", |
| "type": "integer" |
| }, |
| "uclamp-min": { |
| "description": "Percentage of uclamp.min.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "scheduler-tune": { |
| "additionalProperties": false, |
| "description": "ChromeOS scheduler's tunable values.", |
| "properties": { |
| "boost-arcvm": { |
| "description": "(Optional) Global scheduler's boost factor of the ARCVM vcores and host services. For normal architectures, the boost-arcvm is directly converted to % boost value, where 1.0 is 100%. For the little.Big architecture, the ARCVM will be boosted by a % value, calculated from the formula little-core-freq / big-core-freq * boost-arcvm. Besides boosting the scheduler for the VM by a % value, the cgroup's uclamp.latency_sensitive attribute is enabled to further reduce the scheduling latency. Note - this is intended to be a temporary solution, which will be removed upon having the more appropriate scheduler improvements ready.", |
| "maximum": 1.0, |
| "minimum": 0.0, |
| "type": "number" |
| }, |
| "boost-top-app": { |
| "description": "(Optional) Scheduler's boost value(%) for ARCVM topmost applications. When top-app class application is running, ARCVM applies this value to scheduler attribute. Tasks with higher boost value are more likely to have higher operating power point even when the system is low-utilized. If it is not set, the default value will be calculated by the performance ratio of the highest performance core and the lowest performance core. So the recommended value is higher than that. 0 means no boost and is not recommended.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "boost-urgent": { |
| "description": "(Optional) Scheduler's boost value(%) for urgent tasks. When an urgent thread is created, chrome applies this value to scheduler attribute. Tasks with higher boost value are more likely to have higher operating power point even when the system is low utilized.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "cpuset-nonurgent": { |
| "description": "(Optional) non-urgent task are only allowed to use given CPUs.", |
| "pattern": "^[0-9]+(-[0-9]+|(,[0-9]+)+)$", |
| "type": "string" |
| }, |
| "input-boost": { |
| "description": "(Optional) chromium kernel has a cpu-boost feature, which boosts CPUs for a short duration when user intraction is detected from input devices. This value specifies how much CPUs will be boosted.", |
| "maximum": 100, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "spi-flash-transform": { |
| "description": "ChromeOS flash name mappings used by ap_wpsr.", |
| "type": "object" |
| }, |
| "test-label": { |
| "description": "Test alias (model) label that will be applied in Autotest and reported for test results.", |
| "type": "string" |
| }, |
| "thermal": { |
| "additionalProperties": false, |
| "properties": { |
| "dptf-dv": { |
| "description": "System image path to the .dv file containing DPTF (Dynamic Platform and Thermal Framework) settings.", |
| "type": "string" |
| }, |
| "files": { |
| "build-only-element": true, |
| "items": { |
| "additionalProperties": false, |
| "properties": { |
| "destination": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| }, |
| "source": { |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "required": [ |
| "files" |
| ], |
| "type": "object" |
| }, |
| "touch": { |
| "additionalProperties": false, |
| "properties": { |
| "files": { |
| "build-only-element": true, |
| "items": { |
| "additionalProperties": false, |
| "properties": { |
| "destination": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| }, |
| "source": { |
| "description": "Source of the file relative to the build system ${FILESDIR}", |
| "type": "string" |
| }, |
| "symlink": { |
| "description": "Symlink file that will be installed pointing to the destination.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object" |
| }, |
| "typecd": { |
| "description": "Configurable parameters for the Chrome OS Type C daemon.", |
| "properties": { |
| "mode-entry-dp-only": { |
| "description": "AP driven alternate mode entry on this system should be restricted to DisplayPort alternate mode.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "ui": { |
| "additionalProperties": false, |
| "properties": { |
| "apps": { |
| "properties": { |
| "extra-web-apps-dir": { |
| "additionalProperties": false, |
| "build-only-element": true, |
| "description": "Subdirectory of external web apps directory (/usr/share/google-chrome/extensions/web_apps) containing additional apps which should be installed on the device.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "ash-disabled-features": { |
| "build-only-element": true, |
| "items": { |
| "description": "Disabled features passed to the Ash window manager and system UI. Each entry should be a string of the form FeatureName. If this property is not set, features will be determined by other cros_config properties. Serialized to a null byte separated string when written to configfs.img", |
| "pattern": "^[a-zA-Z0-9]+$", |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "ash-enabled-features": { |
| "build-only-element": true, |
| "items": { |
| "description": "Enabled features passed to the Ash window manager and system UI. Each entry should be a string of the form FeatureName. If this property is not set, features will be determined by other cros_config properties. Serialized to a null byte separated string when written to configfs.img", |
| "pattern": "^[a-zA-Z0-9]+$", |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "extra-ash-flags": { |
| "build-only-element": true, |
| "items": { |
| "description": "Switches passed to the Ash window manager and system UI. Each entry should be a string of the form --<key>=<value>, or --<key> for boolean switches. If this property is not set, flags will be determined by other cros_config properties. Serialized to a null byte separated string when written to configfs.img", |
| "pattern": "^--[a-zA-Z][a-zA-Z-]*(=.+)?$", |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "handwriting-recognition-web-platform-api": { |
| "description": "Whether the handwriting recognition web platform API is supported.", |
| "type": "boolean" |
| }, |
| "help-content-id": { |
| "description": "Identifier passed to the Showoff app to identify any device-specific help content to be displayed.", |
| "type": "string" |
| }, |
| "power-button": { |
| "additionalProperties": false, |
| "properties": { |
| "edge": { |
| "enum": [ |
| "left", |
| "right", |
| "top", |
| "bottom" |
| ], |
| "type": "string" |
| }, |
| "position": { |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "side-volume-button": { |
| "additionalProperties": false, |
| "description": "Defines the position of the side volume button. `region` indicates whether the button is at the side of the \"screen\" or \"keyboard\" of the device. `side` indicates which edge the button is anchored to while the device in landscape primary screen orientation. It can be \"left\", \"right\", \"top\", \"bottom\".", |
| "properties": { |
| "region": { |
| "enum": [ |
| "keyboard", |
| "screen" |
| ], |
| "type": "string" |
| }, |
| "side": { |
| "enum": [ |
| "left", |
| "right", |
| "top", |
| "bottom" |
| ], |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| }, |
| "uwb": { |
| "additionalProperties": false, |
| "description": "Contains details about the model's uwb implementation.", |
| "properties": { |
| "has-uwb": { |
| "description": "Whether the model has UWB equipped.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object" |
| }, |
| "wallpaper": { |
| "description": "Base filename of the default wallpaper to show on this device.", |
| "type": "string" |
| }, |
| "wifi": { |
| "description": "Sets limits on maximum WiFi transmit power for tablet and non-tablet device configurations. This config must contain properties for ath10k driver, rtw88 driver, rtw89 driver, mtk driver, or intel driver. Note that configs for the intel driver are delivered as encoded wifi sar hex files.", |
| "oneOf": [ |
| { |
| "additionalProperties": false, |
| "properties": { |
| "non-tablet-mode-power-table-ath10k": { |
| "additionalProperties": false, |
| "description": "[ath10k] WiFi power chain for use with QCA ath10k drivers. Limits in units of 0.25 dBm. 5g band power limit applies to all 5g bands.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit (0.25dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g": { |
| "description": "5G band power limit (0.25dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "tablet-mode-power-table-ath10k": { |
| "additionalProperties": false, |
| "description": "[ath10k] WiFi power chain for use with QCA ath10k drivers. Limits in units of 0.25 dBm. 5g band power limit applies to all 5g bands.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit (0.25dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g": { |
| "description": "5G band power limit (0.25dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| }, |
| { |
| "additionalProperties": false, |
| "properties": { |
| "geo-offsets-eu": { |
| "additionalProperties": false, |
| "description": "Offsets which are applied to WiFi power limits depending on the current regulatory domain. Offsets in units of 0.125 dBm. The sum of a geo offset and any power limit to which it applies cannot exceed 255. When the current regulatory domain is unknown or has yet to be determined, the base transmit power limits are used without any geo offsets applied. 'geo-offsets-fcc' is used for regulatory domains which follow FCC guidelines, 'geo-offsets-eu' is used for regulatory domains which follow ETSI guidelines, and 'geo-offsets-rest-of-world' is used for regulatory domains which don't follow FCC or ETSI guidelines.", |
| "properties": { |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "geo-offsets-fcc": { |
| "additionalProperties": false, |
| "description": "Offsets which are applied to WiFi power limits depending on the current regulatory domain. Offsets in units of 0.125 dBm. The sum of a geo offset and any power limit to which it applies cannot exceed 255. When the current regulatory domain is unknown or has yet to be determined, the base transmit power limits are used without any geo offsets applied. 'geo-offsets-fcc' is used for regulatory domains which follow FCC guidelines, 'geo-offsets-eu' is used for regulatory domains which follow ETSI guidelines, and 'geo-offsets-rest-of-world' is used for regulatory domains which don't follow FCC or ETSI guidelines.", |
| "properties": { |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "geo-offsets-rest-of-world": { |
| "additionalProperties": false, |
| "description": "Offsets which are applied to WiFi power limits depending on the current regulatory domain. Offsets in units of 0.125 dBm. The sum of a geo offset and any power limit to which it applies cannot exceed 255. When the current regulatory domain is unknown or has yet to be determined, the base transmit power limits are used without any geo offsets applied. 'geo-offsets-fcc' is used for regulatory domains which follow FCC guidelines, 'geo-offsets-eu' is used for regulatory domains which follow ETSI guidelines, and 'geo-offsets-rest-of-world' is used for regulatory domains which don't follow FCC or ETSI guidelines.", |
| "properties": { |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "non-tablet-mode-power-table-rtw": { |
| "additionalProperties": false, |
| "description": "[rtw] WiFi power chain for use with Realtek rtw88 or rtw89 drivers. Limits in units of 0.125 dBm for rtw88 and 0.25 dBm for rtw89. 5g band 2 (channels 5.35G-5.47G) power limit is not supported.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit: All 2G band channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-1": { |
| "description": "5G band 1 power limit: 5.15G-5.35G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-3": { |
| "description": "5G band 3 power limit: 5.47G-5.725G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-4": { |
| "description": "5G band 4 power limit: 5.725G-5.95G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-1": { |
| "description": "6G band 1 power limit: 5.955G-6.155G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-2": { |
| "description": "6G band 1 power limit: 6.175G-6.415G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-3": { |
| "description": "6G band 1 power limit: 6.435G-6.515G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-4": { |
| "description": "6G band 1 power limit: 6.535G-6.695G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-5": { |
| "description": "6G band 1 power limit: 6.715G-6.855G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-6": { |
| "description": "6G band 1 power limit: 6.895G-7.115G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "tablet-mode-power-table-rtw": { |
| "additionalProperties": false, |
| "description": "[rtw] WiFi power chain for use with Realtek rtw88 or rtw89 drivers. Limits in units of 0.125 dBm for rtw88 and 0.25 dBm for rtw89. 5g band 2 (channels 5.35G-5.47G) power limit is not supported.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit: All 2G band channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-1": { |
| "description": "5G band 1 power limit: 5.15G-5.35G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-3": { |
| "description": "5G band 3 power limit: 5.47G-5.725G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-4": { |
| "description": "5G band 4 power limit: 5.725G-5.95G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-1": { |
| "description": "6G band 1 power limit: 5.955G-6.155G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-2": { |
| "description": "6G band 1 power limit: 6.175G-6.415G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-3": { |
| "description": "6G band 1 power limit: 6.435G-6.515G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-4": { |
| "description": "6G band 1 power limit: 6.535G-6.695G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-5": { |
| "description": "6G band 1 power limit: 6.715G-6.855G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-6": { |
| "description": "6G band 1 power limit: 6.895G-7.115G channels. (0.125 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| }, |
| { |
| "additionalProperties": false, |
| "properties": { |
| "eu-power-table-mtk": { |
| "additionalProperties": false, |
| "description": "[mtk] WiFi power chain of regulatory domain for use with MediaTek mt7921 driver. Limits in units of 0.25 dBm, Offset in units of 0.25 dBm", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g": { |
| "description": "5G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g": { |
| "description": "6G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "fcc-power-table-mtk": { |
| "additionalProperties": false, |
| "description": "[mtk] WiFi power chain of regulatory domain for use with MediaTek mt7921 driver. Limits in units of 0.25 dBm, Offset in units of 0.25 dBm", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g": { |
| "description": "5G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g": { |
| "description": "6G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "non-tablet-mode-power-table-mtk": { |
| "additionalProperties": false, |
| "description": "[mtk] WiFi power chain for use with MediaTek mt7921 driver. Limits in units of 0.25 dBm.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-1": { |
| "description": "5G band 1 power limit: 5.15G-5.35G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-2": { |
| "description": "5G band 2 power limit: 5.35G-5.47G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-3": { |
| "description": "5G band 3 power limit: 5.47G-5.725G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-4": { |
| "description": "5G band 4 power limit: 5.725G-5.95G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-1": { |
| "description": "6G band 1 power limit: 5.945G-6.165G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-2": { |
| "description": "6G band 2 power limit: 6.165G-6.405G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-3": { |
| "description": "6G band 3 power limit: 6.405G-6.525G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-4": { |
| "description": "6G band 4 power limit: 6.525G-6.705G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-5": { |
| "description": "6G band 5 power limit: 6.705G-6.865G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-6": { |
| "description": "6G band 6 power limit: 6.865G-7.125G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "rest-of-world-power-table-mtk": { |
| "additionalProperties": false, |
| "description": "[mtk] WiFi power chain of regulatory domain for use with MediaTek mt7921 driver. Limits in units of 0.25 dBm, Offset in units of 0.25 dBm", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g": { |
| "description": "5G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g": { |
| "description": "6G band geo power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-2g": { |
| "description": "Value to be added to the 2.4GHz WiFi band. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-5g": { |
| "description": "Value to be added to all 5GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "offset-6g": { |
| "description": "Value to be added to all 6GHz WiFi bands. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| }, |
| "tablet-mode-power-table-mtk": { |
| "additionalProperties": false, |
| "description": "[mtk] WiFi power chain for use with MediaTek mt7921 driver. Limits in units of 0.25 dBm.", |
| "properties": { |
| "limit-2g": { |
| "description": "2G band power limit. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-1": { |
| "description": "5G band 1 power limit: 5.15G-5.35G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-2": { |
| "description": "5G band 2 power limit: 5.35G-5.47G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-3": { |
| "description": "5G band 3 power limit: 5.47G-5.725G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-5g-4": { |
| "description": "5G band 4 power limit: 5.725G-5.95G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-1": { |
| "description": "6G band 1 power limit: 5.945G-6.165G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-2": { |
| "description": "6G band 2 power limit: 6.165G-6.405G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-3": { |
| "description": "6G band 3 power limit: 6.405G-6.525G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-4": { |
| "description": "6G band 4 power limit: 6.525G-6.705G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-5": { |
| "description": "6G band 5 power limit: 6.705G-6.865G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| }, |
| "limit-6g-6": { |
| "description": "6G band 6 power limit: 6.865G-7.125G frequency. (0.25 dBm)", |
| "maximum": 255, |
| "minimum": 0, |
| "type": "integer" |
| } |
| }, |
| "type": "object" |
| } |
| } |
| }, |
| { |
| "additionalProperties": false, |
| "build-only-element": true, |
| "properties": { |
| "sar-file": { |
| "additionalProperties": false, |
| "properties": { |
| "build-path": { |
| "build-only-element": true, |
| "description": "Source of the file relative to the build system.", |
| "type": "string" |
| }, |
| "system-path": { |
| "description": "Installation path for the file on the system image.", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "build-path", |
| "system-path" |
| ], |
| "type": "object" |
| } |
| } |
| } |
| ], |
| "type": "object" |
| } |
| }, |
| "required": [ |
| "name" |
| ], |
| "type": "object" |
| }, |
| "type": "array" |
| } |
| }, |
| "required": [ |
| "configs" |
| ], |
| "type": "object" |
| } |
| }, |
| "type": "object" |
| } |