diff options
Diffstat (limited to 'zephyr/dts/bindings')
85 files changed, 0 insertions, 3017 deletions
diff --git a/zephyr/dts/bindings/adc/named-adc.yaml b/zephyr/dts/bindings/adc/named-adc.yaml deleted file mode 100644 index 6f06d73b86..0000000000 --- a/zephyr/dts/bindings/adc/named-adc.yaml +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: ADC parent node - -compatible: "named-adc-channels" - -child-binding: - description: Named ADCs child node - properties: - label: - required: true - type: string - description: - Human-readable string describing the device (used as - device_get_binding() argument) - channel: - required: true - type: int - description: ADC channel used - mul: - required: false - type: int - default: 1 - description: Multiplication factor of ADC measurement - div: - required: false - type: int - default: 1 - description: Division factor of ADC measurement - gain: - required: false - type: string - description: - Gain selection for the ADC channel. Source of valid gain settings is - "enum adc_gain" found in <zephyr-base>/include/drivers/adc.h - enum: - - ADC_GAIN_1_6 - - ADC_GAIN_1_5 - - ADC_GAIN_1_4 - - ADC_GAIN_1_3 - - ADC_GAIN_1_2 - - ADC_GAIN_2_3 - - ADC_GAIN_1 - - ADC_GAIN_2 - - ADC_GAIN_3 - - ADC_GAIN_4 - - ADC_GAIN_8 - - ADC_GAIN_16 - - ADC_GAIN_32 - - ADC_GAIN_64 - - ADC_GAIN_128 - default: ADC_GAIN_1 - reference: - required: false - type: string - description: - Sets the reference voltage for the ADC channel. Source of valid - reference voltages is "enum adc_reference" found in - <zephyr-base>/include/drivers/adc. - enum: - - ADC_REF_VDD_1 - - ADC_REF_VDD_1_2 - - ADC_REF_VDD_1_3 - - ADC_REF_VDD_1_4 - - ADC_REF_INTERNAL - - ADC_REF_EXTERNAL0 - - ADC_REF_EXTERNAL1 - default: ADC_REF_INTERNAL - acquisition-time: - required: false - type: int - description: - Set the acquisition time for ADC conversion. Use the ADC_ACQ_TIME macro - to compose this value. If the hardware doesn't support a configurable - acquisition time, use ADC_ACQ_TIME_DEFAULT (0). - default: 0 - differential: - required: false - type: boolean - description: - Set the ADC acquisition mode to differential. Default mode is - single-ended acquisition. - enum-name: - type: string - required: true - description: - Enum values used in the source code to refer to the ADC channels - enum: - - ADC_AMON_BMON - - ADC_BOARD_ID_0 - - ADC_BOARD_ID_1 - - ADC_PMON - - ADC_PSYS - - ADC_TEMP_SENSOR_CHARGER - - ADC_TEMP_SENSOR_DDR_SOC - - ADC_TEMP_SENSOR_FAN - - ADC_TEMP_SENSOR_PP3300_REGULATOR - - ADC_VBUS - - ADC_VBUS_C0 - - ADC_VBUS_C1 - - ADC_EVB_CH_0 - - ADC_EVB_CH_1 - - ADC_EVB_CH_2 - - ADC_EVB_CH_3 - - ADC_EVB_CH_4 diff --git a/zephyr/dts/bindings/battery/as3gwrc3ka,c235-41.yaml b/zephyr/dts/bindings/battery/as3gwrc3ka,c235-41.yaml deleted file mode 100644 index c4359b29d2..0000000000 --- a/zephyr/dts/bindings/battery/as3gwrc3ka,c235-41.yaml +++ /dev/null @@ -1,56 +0,0 @@ -description: "AS3GWRc3KA C235-41" -compatible: "as3gwrc3ka,c235-41" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "as3gwrc3ka,c235-41" - - # Fuel gauge - manuf_name: - default: "AS3GWRc3KA" - device_name: - default: "C235-41" - ship_mode_reg_addr: - default: 0x00 - ship_mode_reg_data: - default: [ 0x10, 0x10 ] - # Documentation: b/150833879 - # Charging/Discharging FETs Status - # Register SBS_PackStatus_ACCESS (0x99) - # Bit-3: XDSG - # Bit-2: XCHG - fet_reg_addr: - default: 0x99 - fet_reg_mask: - default: 0x08 - fet_disconnect_val: - default: 0x08 - fet_cfet_mask: - default: 0x04 - fet_cfet_off_val: - default: 0x04 - - # Battery info - voltage_max: - default: 8800 - voltage_normal: - default: 7700 - voltage_min: - default: 6000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 45 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: 0 - discharging_max_c: - default: 60 diff --git a/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml b/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml deleted file mode 100644 index 2572090024..0000000000 --- a/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: | - Battery fuel gauge parameters - -compatible: "battery-fuel-gauge" - -properties: - manuf_name: - description: Manufacturer name - type: string - device_name: - description: Model/Device name - type: string - ship_mode_wb_support: - description: | - Write Block support. If this is true, then i2c write block command - will be used instead of a 16-bit write - Value must be either 0 or 1. - type: int - ship_mode_reg_addr: - description: | - Address of register responsible for enabling ship mode. - type: int - ship_mode_reg_data: - description: | - Values written to register to enable ship mode. - type: array - sleep_mode_support: - description: | - Defines if battery support fuel gauge sleep command. - Value must be either 0 or 1. - type: int - sleep_mode_reg_addr: - description: | - Defines address where command will be sent to go into sleep mode. - type: int - sleep_mode_reg_data: - description: | - Defines value which will be sent to register to go into sleep mode. - type: int - fet_mfgacc_support: - description: | - Defines if battery supports manufacturer access command. - If enabled, FET status is read using the ManufacturerBlockAccess (0x44) - to read the OperationStatus (0x54) register. - The fet_reg_mask and fet_disconnect_val properties must still be - defined. - Value must be either 0 or 1. - type: int - fet_reg_addr: - description: | - Address of register which reports charging and discharging FETs status. - This property is ignored if fet_mfgacc_support is true. - type: int - fet_reg_mask: - description: | - Mask which determines which bit in status value contains the - discharge FET status. - type: int - fet_disconnect_val: - description: | - Value that describes which bits must be set to determine that - discharge FET has disconnected the battery. - type: int - fet_cfet_mask: - description: | - Mask which determines which bit in status value contains the - charge FET status. If this value is 0, this means there's - no charge FET. - type: int - fet_cfet_off_val: - description: | - Value that describes which bits must be set to determine that - charge FET has disconnected the battery. - type: int - imbalance_mv: - description: | - This property is used only if - CONFIG_PLATFORM_EC_BATTERY_MEASURE_IMBALANCE is enabled. - It should be an enum and its value should be a name of function - which will be assigned to imbalance_mv pointer. - type: string diff --git a/zephyr/dts/bindings/battery/battery-info.yaml b/zephyr/dts/bindings/battery/battery-info.yaml deleted file mode 100644 index 3a4cb875e7..0000000000 --- a/zephyr/dts/bindings/battery/battery-info.yaml +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: - Information about battery - Voltage is in millivolts - Current is in milliamperes - Temperature is in Celsius degrees - -compatible: "battery-info" - -properties: - voltage_max: - description: | - Maximum voltage that can be applied to the battery. - type: int - voltage_normal: - description: | - Nominal voltage of the battery. - type: int - voltage_min: - description: | - Minimum voltage of the battery. - If current voltage is below this value, system will shutdown. - type: int - precharge_voltage: - description: | - Voltage used during the precharge phase. Not all chargers - may take these into account. - type: int - precharge_current: - description: | - Maximum current used during the precharge phase. - type: int - start_charging_min_c: - description: | - Minimum temperature of battery to start charging it. - This value is used only if - CONFIG_PLATFORM_EC_BATTERY_CHECK_CHARGE_TEMP_LIMITS is enabled. - type: int - start_charging_max_c: - description: | - Maximum temperature of battery to start charging it. - This value is used only if - CONFIG_PLATFORM_EC_BATTERY_CHECK_CHARGE_TEMP_LIMITS is enabled. - type: int - charging_min_c: - description: | - Minimum temperature of battery during charging it. If the battery - temperature falls below this value, charging will be stopped. - This value is used only if - CONFIG_PLATFORM_EC_BATTERY_CHECK_CHARGE_TEMP_LIMITS is enabled. - type: int - charging_max_c: - description: | - Maximum temperature of battery during charging it. If the battery - temperature raises above this value, charging will be stopped. - This value is used only if - CONFIG_PLATFORM_EC_BATTERY_CHECK_CHARGE_TEMP_LIMITS is enabled. - type: int - discharging_min_c: - description: | - Minimum working temperature of battery. - If temperature is below this value, the system will shutdown. - type: int - discharging_max_c: - description: | - Maximum working temperature of battery. - If temperature is above this value, the system will shutdown. - type: int diff --git a/zephyr/dts/bindings/battery/battery-smart.yaml b/zephyr/dts/bindings/battery/battery-smart.yaml deleted file mode 100644 index ce0a330077..0000000000 --- a/zephyr/dts/bindings/battery/battery-smart.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -compatible: "battery-smart" - -include: [ "base.yaml", "battery-info.yaml", "battery-fuel-gauge.yaml" ] - -properties: - enum-name: - description: Unique value used for creating enum of batteries types - type: string - enum: - - "as3gwrc3ka,c235-41" - - "lgc,ap16l8j" - - "lgc,ap18c8k" - - "murata,ap18c4k" - - "panasonic,ap16l5j" - - "panasonic,ap16l5j-009" diff --git a/zephyr/dts/bindings/battery/lgc,ap16l8j.yaml b/zephyr/dts/bindings/battery/lgc,ap16l8j.yaml deleted file mode 100644 index e57cf48e24..0000000000 --- a/zephyr/dts/bindings/battery/lgc,ap16l8j.yaml +++ /dev/null @@ -1,55 +0,0 @@ -description: "LGC KT0020G010 AP16L8J" -compatible: "lgc,ap16l8j" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "lgc,ap16l8j" - - # Fuel gauge - manuf_name: - default: "LGC KT0020G010" - device_name: - default: "AP16L8J" - ship_mode_reg_addr: - default: 0x3A - ship_mode_reg_data: - default: [ 0xC574, 0xC574 ] - # Documentation: b/148625782 - # ManufacturerAccess() 0x0054 OperationStatus - # CHG (Bit 2): CHG FET status (1 = Active 0 = Inactive) - # DSG (Bit 1): DSG FET status (1 = Active 0 = Inactive) - fet_mfgacc_support: - default: 1 - fet_reg_mask: - default: 0x0002 - fet_disconnect_val: - default: 0x0000 - fet_cfet_mask: - default: 0x0004 - fet_cfet_off_val: - default: 0x0000 - - # Battery info - voltage_max: - default: 8700 - voltage_normal: - default: 7500 - voltage_min: - default: 6000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 50 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: -20 - discharging_max_c: - default: 75 diff --git a/zephyr/dts/bindings/battery/lgc,ap18c8k.yaml b/zephyr/dts/bindings/battery/lgc,ap18c8k.yaml deleted file mode 100644 index b997004f3d..0000000000 --- a/zephyr/dts/bindings/battery/lgc,ap18c8k.yaml +++ /dev/null @@ -1,57 +0,0 @@ -description: "LGC KT0030G020 AP18C8K" -compatible: "lgc,ap18c8k" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "lgc,ap18c8k" - - # Fuel gauge - manuf_name: - default: "LGC KT0030G020" - device_name: - default: "AP18C8K" - ship_mode_reg_addr: - default: 0x3A - ship_mode_reg_data: - default: [ 0xC574, 0xC574 ] - # Documentation: b/130608940 - # Command Code: 0x43 - # Bit 0 - DFET - Condition of D-FET ( 0=OFF, 1=ON ) - # Bit 1 - CFET - Condition of C-FET ( 0=OFF, 1=ON ) - fet_mfgacc_support: - default: 0 - fet_reg_addr: - default: 0x43 - fet_reg_mask: - default: 0x0001 - fet_disconnect_val: - default: 0x0000 - fet_cfet_mask: - default: 0x0002 - fet_cfet_off_val: - default: 0x0000 - - # Battery info - voltage_max: - default: 13050 - voltage_normal: - default: 11250 - voltage_min: - default: 9000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 50 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: -20 - discharging_max_c: - default: 75 diff --git a/zephyr/dts/bindings/battery/murata,ap18c4k.yaml b/zephyr/dts/bindings/battery/murata,ap18c4k.yaml deleted file mode 100644 index ca028b82cb..0000000000 --- a/zephyr/dts/bindings/battery/murata,ap18c4k.yaml +++ /dev/null @@ -1,57 +0,0 @@ -description: "Murata KT00304012 AP18C4K" -compatible: "murata,ap18c4k" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "murata,ap18c4k" - - # Fuel gauge - manuf_name: - default: "Murata KT00304012" - device_name: - default: "AP18C4K" - ship_mode_reg_addr: - default: 0x3A - ship_mode_reg_data: - default: [ 0xC574, 0xC574 ] - # Documentation: b/130615670 - # Manufacturer Access 0x00 - # b14: Charging Disabled (0: Off, 1: On) - # b13: Discharging Disabled (0: Off, 1: On) - fet_mfgacc_support: - default: 0 - fet_reg_addr: - default: 0x0 - fet_reg_mask: - default: 0x2000 - fet_disconnect_val: - default: 0x2000 - fet_cfet_mask: - default: 0x4000 - fet_cfet_off_val: - default: 0x4000 - - # Battery info - voltage_max: - default: 13200 - voltage_normal: - default: 11400 - voltage_min: - default: 9000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 50 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: -20 - discharging_max_c: - default: 75 diff --git a/zephyr/dts/bindings/battery/named-batteries.yaml b/zephyr/dts/bindings/battery/named-batteries.yaml deleted file mode 100644 index 1c922e2100..0000000000 --- a/zephyr/dts/bindings/battery/named-batteries.yaml +++ /dev/null @@ -1,20 +0,0 @@ -description: Named Batteries parent node - -compatible: "named-batteries" - -# TODO(b/183544739): Move this to use compatible strings - -child-binding: - description: Named batteries child node - properties: - enum-name: - type: string - required: true - enum: - - "ap16l5j" - - "ap16l5j_009" - - "ap16l8j" - - "c235" - - "lgc011" - - "lgc_ap18c8k" - - "murata_ap18c4k" diff --git a/zephyr/dts/bindings/battery/panasonic,ap16l5j-009.yaml b/zephyr/dts/bindings/battery/panasonic,ap16l5j-009.yaml deleted file mode 100644 index 5791549092..0000000000 --- a/zephyr/dts/bindings/battery/panasonic,ap16l5j-009.yaml +++ /dev/null @@ -1,59 +0,0 @@ -description: "Panasonic KT00205009 AP16L5J" -compatible: "panasonic,ap16l5j-009" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "panasonic,ap16l5j-009" - - # Fuel gauge - manuf_name: - default: "PANASONIC KT00205009" - device_name: - default: "AP16L5J" - ship_mode_reg_addr: - default: 0x3A - ship_mode_reg_data: - default: [ 0xC574, 0xC574 ] - # Documentation: b/144674480 - # ManufacturerAccess() 0x00 - # Bit14 Discharge FET status - # Set - Discharge FET is ON, Reset - Discharge FET is OFF - # Bit15 Charge FET status - # Set - Charge FET is ON, Reset - Charge FET is OFF - fet_mfgacc_support: - default: 0 - fet_reg_addr: - default: 0x0 - fet_reg_mask: - default: 0x4000 - fet_disconnect_val: - default: 0x0000 - fet_cfet_mask: - default: 0x8000 - fet_cfet_off_val: - default: 0x0000 - - # Battery info - voltage_max: - default: 8800 - voltage_normal: - default: 7700 - voltage_min: - default: 6000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 50 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: -20 - discharging_max_c: - default: 75 diff --git a/zephyr/dts/bindings/battery/panasonic,ap16l5j.yaml b/zephyr/dts/bindings/battery/panasonic,ap16l5j.yaml deleted file mode 100644 index fe0923dd87..0000000000 --- a/zephyr/dts/bindings/battery/panasonic,ap16l5j.yaml +++ /dev/null @@ -1,59 +0,0 @@ -description: "Panasonic AP16L5J" -compatible: "panasonic,ap16l5j" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "panasonic,ap16l5j" - - # Fuel gauge - manuf_name: - default: "PANASONIC" - device_name: - default: "AP16L5J" - ship_mode_reg_addr: - default: 0x3A - ship_mode_reg_data: - default: [ 0xC574, 0xC574 ] - # Documentation: b/144674480 - # ManufacturerAccess() 0x00 - # Bit14 Discharge FET status - # Set - Discharge FET is ON, Reset - Discharge FET is OFF - # Bit15 Charge FET status - # Set - Charge FET is ON, Reset - Charge FET is OFF - fet_mfgacc_support: - default: 0 - fet_reg_addr: - default: 0x0 - fet_reg_mask: - default: 0x4000 - fet_disconnect_val: - default: 0x0000 - fet_cfet_mask: - default: 0x8000 - fet_cfet_off_val: - default: 0x0000 - - # Battery info - voltage_max: - default: 8800 - voltage_normal: - default: 7700 - voltage_min: - default: 6000 - precharge_current: - default: 256 - start_charging_min_c: - default: 0 - start_charging_max_c: - default: 50 - charging_min_c: - default: 0 - charging_max_c: - default: 60 - discharging_min_c: - default: -20 - discharging_max_c: - default: 75 diff --git a/zephyr/dts/bindings/cbi/named-cbi-ssfc-value.yaml b/zephyr/dts/bindings/cbi/named-cbi-ssfc-value.yaml deleted file mode 100644 index f97d688727..0000000000 --- a/zephyr/dts/bindings/cbi/named-cbi-ssfc-value.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: - Possible CBI SSFC field values. - It has to be defied as grandchild on the "named-cbi-ssfc" - -compatible: "named-cbi-ssfc-value" - -properties: - value: - type: int - required: true - description: - Unique value of CBI SSFC field - default: - type: boolean - description: - Indicates that the specified value is default for the parent - CBI SSFC field node. It should appear only once for the CBI SSFC - definition. diff --git a/zephyr/dts/bindings/cbi/named-cbi-ssfc.yaml b/zephyr/dts/bindings/cbi/named-cbi-ssfc.yaml deleted file mode 100644 index bd6c1d535b..0000000000 --- a/zephyr/dts/bindings/cbi/named-cbi-ssfc.yaml +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: CBI Second Source Factory Cache (SSFC) - -compatible: "named-cbi-ssfc" - -child-binding: - description: - CBI SSFC fields definition. - The order of the children in this node define the order - of the SSFC bit fields from least significant bit to most - significant bit. The total size of all SSFC bit fields - must not exceed 32 bits. - properties: - enum-name: - type: string - required: true - description: - Enum values used only for description purposes - enum: - - BASE_SENSOR - - LID_SENSOR - - LIGHTBAR - - USB_SS_MUX - size: - type: int - required: true - description: The size of the field in bits. - -# Example: -# -# cbi-ssfc { -# compatible = "named-cbi-ssfc"; -# -# base_sensor { -# enum-name = "BASE_SENSOR"; -# size = <3>; -# bmi160 { -# compatible = "named-cbi-ssfc-value"; -# status = "okay"; -# -# value = <1>; -# devices = <&alt_base_accel &alt_base_gyro>; -# }; -# kx022 { -# compatible = "named-cbi-ssfc-value"; -# status = "okay"; -# -# value = <3>; -# devices = <&base_accel_kx022>; -# }; -# }; -# };
\ No newline at end of file diff --git a/zephyr/dts/bindings/charger/intersil,isl9238.yaml b/zephyr/dts/bindings/charger/intersil,isl9238.yaml deleted file mode 100644 index 08e00bf313..0000000000 --- a/zephyr/dts/bindings/charger/intersil,isl9238.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Intersil ISL9238 Charger IC - -compatible: "intersil,isl9238" - -include: i2c-device.yaml diff --git a/zephyr/dts/bindings/charger/intersil,isl9241.yaml b/zephyr/dts/bindings/charger/intersil,isl9241.yaml deleted file mode 100644 index 7557b949d8..0000000000 --- a/zephyr/dts/bindings/charger/intersil,isl9241.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Intersil ISL9241 Charger IC - -compatible: "intersil,isl9241" - -include: i2c-device.yaml - -properties: - switching-frequency: - type: int - required: false - description: - Sets the charger switching frequency. If not defined then the switching - frequency is configured by the resistor connected to the PROG pin on - the board. diff --git a/zephyr/dts/bindings/console/ec-console.yaml b/zephyr/dts/bindings/console/ec-console.yaml deleted file mode 100644 index f79ddd67b0..0000000000 --- a/zephyr/dts/bindings/console/ec-console.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: EC Console node - -compatible: "ec-console" - -properties: - disabled: - required: false - type: string-array - description: - List of EC channel names that are disabled in the output by default. diff --git a/zephyr/dts/bindings/cros_bbram/named-bbram-regions.yaml b/zephyr/dts/bindings/cros_bbram/named-bbram-regions.yaml deleted file mode 100644 index 8b12473d0a..0000000000 --- a/zephyr/dts/bindings/cros_bbram/named-bbram-regions.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (c) 2021 Google Inc. -# SPDX-License-Identifier: Apache-2.0 -description: Named battery-backed RAM parent node - -compatible: "named-bbram-regions" - -child-binding: - description: Named battery-backed RAM child node - properties: - offset: - type: int - required: true - size: - type: int - required: true diff --git a/zephyr/dts/bindings/cros_dbg/nuvoton,npcx-cros-dbg.yaml b/zephyr/dts/bindings/cros_dbg/nuvoton,npcx-cros-dbg.yaml deleted file mode 100644 index 109fa11d50..0000000000 --- a/zephyr/dts/bindings/cros_dbg/nuvoton,npcx-cros-dbg.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2021 Google Inc. -# SPDX-License-Identifier: Apache-2.0 - -description: Nuvoton, NPCX Debug Interface - -compatible: "nuvoton,npcx-cros-dbg" - -include: base.yaml - -properties: - reg: - required: true - - pinctrl-0: - type: phandles - required: true - description: configurations of pinmux controllers diff --git a/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml b/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml deleted file mode 100644 index 991f3c71cf..0000000000 --- a/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Describes the size and offset of the RO and RW regions - -compatible: "cros-ec,flash-layout" - -include: base.yaml - -properties: - type: - type: string - required: true - description: >- - A property required by the binman utility, defined here only to - prevent Zephyr's binding generator from erroring about - additional properties. - - The property should be set to the value "section" (done by - binman.dtsi) and should not be used anywhere in C code. - - See README.entries in binman for a description of what binman - uses this for. - offset: - type: int - required: true - description: >- - The offset of the flash region from the base of the flash. - size: - type: int - required: true - description: >- - The size of the flash region, in bytes. - read-only: - type: boolean - required: false - description: >- - Set if the section should be read-only. diff --git a/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml b/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml deleted file mode 100644 index b9c8a9f149..0000000000 --- a/zephyr/dts/bindings/cros_flash/cros-flash-controller.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2020 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -# Common fields for Chrome OS flash devices - -include: base.yaml - -bus: crosflash - -properties: - label: - required: true diff --git a/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml b/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml deleted file mode 100644 index 23c0f92c9c..0000000000 --- a/zephyr/dts/bindings/cros_flash/nuvoton,npcx-cros-flash.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -description: Nuvoton, NPCX-cros-flash node - -compatible: "nuvoton,npcx-cros-flash" - -include: cros-flash-controller.yaml - -properties: - reg: - required: true - - clocks: - required: true - - size: - type: int - required: true - - pinctrl-0: - type: phandles - required: true - description: configurations of pinmux controllers diff --git a/zephyr/dts/bindings/cros_kb_raw/cros-kb-raw-controller.yaml b/zephyr/dts/bindings/cros_kb_raw/cros-kb-raw-controller.yaml deleted file mode 100644 index e8c95419e1..0000000000 --- a/zephyr/dts/bindings/cros_kb_raw/cros-kb-raw-controller.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2020 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -# Common fields for Chrome OS raw keyboard devices - -include: base.yaml - -bus: croskb - -properties: - label: - required: true diff --git a/zephyr/dts/bindings/cros_kb_raw/nuvoton,npcx-cros-kb-raw.yaml b/zephyr/dts/bindings/cros_kb_raw/nuvoton,npcx-cros-kb-raw.yaml deleted file mode 100644 index 7544039ffc..0000000000 --- a/zephyr/dts/bindings/cros_kb_raw/nuvoton,npcx-cros-kb-raw.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -description: Nuvoton, NPCX-cros-kb-raw node - -compatible: "nuvoton,npcx-cros-kb-raw" - -include: cros-kb-raw-controller.yaml - -properties: - reg: - required: true - - clocks: - required: true - - pinctrl-0: - type: phandles - required: true - description: configurations of pinmux controllers - - wui_maps: - type: phandles - required: true - description: | - Mapping table between Wake-Up Input (WUI) and 8 IOs belong to this device. - Please notice not all IOs connect to WUIs. - - In this case, it will be presented by wui_none. - For example the WUI mapping on NPCX7 KSI pads would be - wui_maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26 - &wui_io25 &wui_io24 &wui_io23 &wui_io22>; diff --git a/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml b/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml deleted file mode 100644 index 73f0e8fdca..0000000000 --- a/zephyr/dts/bindings/cros_mkbp_event/ec-mkbp-event.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: EC MKBP Event node - -compatible: "ec-wake-mask-event" - -properties: - wakeup-mask: - required: false - type: int - default: 0 - description: - Define the MKBP or host events that will wake up the application - processor from suspend mode. - HOST_EVENT_MASK should be used for ec-mkbp-host-event-wakeup-mask e.g. - ec-mkbp-host-event-wakeup-mask { - compatible = "ec-wake-mask-event"; - wakeup-mask = <( - HOST_EVENT_MASK(HOST_EVENT_LID_OPEN) | - HOST_EVENT_MASK(HOST_EVENT_POWER_BUTTON) | - HOST_EVENT_MASK(HOST_EVENT_AC_CONNECTED) | - HOST_EVENT_MASK(HOST_EVENT_AC_DISCONNECTED) | - HOST_EVENT_MASK(HOST_EVENT_HANG_DETECT) | - HOST_EVENT_MASK(HOST_EVENT_RTC) | - HOST_EVENT_MASK(HOST_EVENT_MODE_CHANGE) | - HOST_EVENT_MASK(HOST_EVENT_DEVICE))>; - }; diff --git a/zephyr/dts/bindings/cros_rtc/cros-rtc.yaml b/zephyr/dts/bindings/cros_rtc/cros-rtc.yaml deleted file mode 100644 index f754826404..0000000000 --- a/zephyr/dts/bindings/cros_rtc/cros-rtc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2021 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -# Common fields for Chrome OS RTC devices - -include: base.yaml - -bus: crosrtc - -properties: - label: - required: true diff --git a/zephyr/dts/bindings/cros_rtc/nuvoton,npcx-cros-mtc.yaml b/zephyr/dts/bindings/cros_rtc/nuvoton,npcx-cros-mtc.yaml deleted file mode 100644 index 547b6897e8..0000000000 --- a/zephyr/dts/bindings/cros_rtc/nuvoton,npcx-cros-mtc.yaml +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2021 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -description: Nuvoton, NPCX Monotonic Counter (MTC) node - -compatible: "nuvoton,npcx-cros-mtc" - -include: base.yaml - -properties: - reg: - required: true - - label: - required: true - - mtc-alarm: - type: phandle - required: true - description: | - Mapping table between Wake-Up Input (WUI) and monotonic counter alarm - signal. - - For example, the WUI mapping on NPCX7 monotonic counter alarm would be - mtc-alarm = <&wui_mtc>; - diff --git a/zephyr/dts/bindings/cros_rtc/nxp,rtc-pcf85063a.yaml b/zephyr/dts/bindings/cros_rtc/nxp,rtc-pcf85063a.yaml deleted file mode 100644 index 7717649ede..0000000000 --- a/zephyr/dts/bindings/cros_rtc/nxp,rtc-pcf85063a.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2021 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -description: NXP, Real-Time Clock - -compatible: "nxp,rtc-pcf85063a" - -include: [base.yaml, i2c-device.yaml] - -properties: - label: - required: true - - int-gpios: - type: phandle-array - required: true - description: Interrupt from RTC diff --git a/zephyr/dts/bindings/cros_rtc/renesas,rtc-idt1337ag.yaml b/zephyr/dts/bindings/cros_rtc/renesas,rtc-idt1337ag.yaml deleted file mode 100644 index a741a98aef..0000000000 --- a/zephyr/dts/bindings/cros_rtc/renesas,rtc-idt1337ag.yaml +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2021 Google LLC -# SPDX-License-Identifier: Apache-2.0 - -description: RENESAS, Real-Time Clock - -compatible: "renesas,rtc-idt1337ag" - -include: [base.yaml, i2c-device.yaml] - -properties: - label: - required: true - - int-gpios: - type: phandle-array - required: true - description: Interrupt from RTC diff --git a/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml b/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml deleted file mode 100644 index 3e5a32f63f..0000000000 --- a/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: ITE, IT8XXX2 Serial Host Interface (SHI) node - -compatible: "ite,it8xxx2-cros-shi" - -include: base.yaml - -properties: - reg: - required: true - - pinctrl-0: - type: phandles - required: true - description: Configuration of SHI pinmux controller diff --git a/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml b/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml deleted file mode 100644 index c13f3e2b5a..0000000000 --- a/zephyr/dts/bindings/cros_shi/nuvoton,npcx-cros-shi.yaml +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2021 Google Inc. -# SPDX-License-Identifier: Apache-2.0 - -description: Nuvoton, NPCX Serial Host Interface (SHI) node - -compatible: "nuvoton,npcx-cros-shi" - -include: base.yaml - -properties: - reg: - description: mmio register space - required: true - - clocks: - required: true - description: configurations of device source clock controller - - pinctrl-0: - type: phandles - required: true - description: configurations of pinmux controllers - - shi-cs-wui: - type: phandle - required: true - description: | - Mapping table between Wake-Up Input (WUI) and SHI_CS signal. - - For example the WUI mapping on NPCX7 would be - shi-cs-wui = <&wui_io53>; diff --git a/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml b/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml deleted file mode 100644 index 007a73b17b..0000000000 --- a/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr BB retimer Emulator - -compatible: "cros,bb-retimer-emul" - -include: base.yaml - -properties: - vendor: - type: string - required: true - enum: - - BB_RETIMER_VENDOR_ID_1 - - BB_RETIMER_VENDOR_ID_2 - description: Vendor ID used by device that is emulated. - - error-on-ro-write: - type: boolean - description: - Flag indicating if error should be generated when read only register - is being written. - - error-on-reserved-bit-write: - type: boolean - description: - Flag indicating if error should be generated when reserved bit - is being written. diff --git a/zephyr/dts/bindings/emul/cros,i2c-mock.yaml b/zephyr/dts/bindings/emul/cros,i2c-mock.yaml deleted file mode 100644 index 7da69028bd..0000000000 --- a/zephyr/dts/bindings/emul/cros,i2c-mock.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2021 The chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: A generic I2C mock - -compatible: "cros,i2c-mock" - -include: base.yaml -properties: - reg: - required: true diff --git a/zephyr/dts/bindings/emul/cros,lis2dw12-emul.yaml b/zephyr/dts/bindings/emul/cros,lis2dw12-emul.yaml deleted file mode 100644 index 44c29fbe56..0000000000 --- a/zephyr/dts/bindings/emul/cros,lis2dw12-emul.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2021 The chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: CROS implementation of the LIS2DW12 emulator - -compatible: "cros,lis2dw12-emul" - -include: base.yaml -properties: - reg: - required: true diff --git a/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml b/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml deleted file mode 100644 index 811f77206f..0000000000 --- a/zephyr/dts/bindings/emul/cros,ln9310-emul.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Cros LN9310 Emulator - -compatible: "cros,ln9310-emul" - -include: base.yaml - -properties: - reg: - required: true diff --git a/zephyr/dts/bindings/emul/zephyr,bma255.yaml b/zephyr/dts/bindings/emul/zephyr,bma255.yaml deleted file mode 100644 index 40750196c1..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,bma255.yaml +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr BMA255 Emulator - -compatible: "zephyr,bma255" - -include: base.yaml - -properties: - nvm-off-x: - type: int - required: false - default: 0 - description: Accelerometer offset of x axis stored in NVM. - - nvm-off-y: - type: int - required: false - default: 0 - description: Accelerometer offset of y axis stored in NVM. - - nvm-off-z: - type: int - required: false - default: 0 - description: Accelerometer offset of z axis stored in NVM. - - nvm-gp0: - type: int - required: false - default: 0 - description: GP0 value stored in NVM. - - nvm-gp1: - type: int - required: false - default: 0 - description: GP1 value stored in NVM. - - nvm-acc-x: - type: int - required: false - default: 0 - description: Accelerometer value of x axis used until new value is set. - - nvm-acc-y: - type: int - required: false - default: 0 - description: Accelerometer value of y axis used until new value is set. - - nvm-acc-z: - type: int - required: false - default: 0 - description: Accelerometer value of z axis used until new value is set. - - error-on-compensation-not-ready: - type: boolean - description: - Flag indicating if error should be generated when fast compensation - is started when not ready bit is set. - - error-on-ro-write: - type: boolean - description: - Flag indicating if error should be generated when read only register - is being written. - - error-on-reserved-bit-write: - type: boolean - description: - Flag indicating if error should be generated when reserved bit - is being written. - - error-on-msb-first-access: - type: boolean - description: - Flag indicating if error should be generated when MSB register of - accelerometer value is accessed before LSB and shadowing is enabled - at the same time. diff --git a/zephyr/dts/bindings/emul/zephyr,bmi.yaml b/zephyr/dts/bindings/emul/zephyr,bmi.yaml deleted file mode 100644 index a754287bcc..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,bmi.yaml +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr BMI Emulator - -compatible: "zephyr,bmi" - -include: base.yaml - -properties: - device-model: - type: string - required: true - enum: - - BMI_EMUL_160 - - BMI_EMUL_260 - description: Model of device that is emulated. - - error-on-ro-write: - type: boolean - description: - Flag indicating if error should be generated when read only register - is being written. - - error-on-wo-read: - type: boolean - description: - Flag indicating if error should be generated when write only register - is being read. - - error-on-reserved-bit-write: - type: boolean - description: - Flag indicating if error should be generated when reserved bit - is being written. - - simulate-command-exec-time: - type: boolean - description: - Flag indicating if emulator should wait the same amount of time before - finishing command as real device would. diff --git a/zephyr/dts/bindings/emul/zephyr,pi3usb9201.yaml b/zephyr/dts/bindings/emul/zephyr,pi3usb9201.yaml deleted file mode 100644 index 856703e9d7..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,pi3usb9201.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr pi3usb9201 Emulator - -compatible: "zephyr,pi3usb9201-emul" - -include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,smart-battery.yaml b/zephyr/dts/bindings/emul/zephyr,smart-battery.yaml deleted file mode 100644 index cc1d2f368d..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,smart-battery.yaml +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr Smart Battery Emulator - -compatible: "zephyr,smart-battery" - -include: base.yaml - -properties: - mf-access: - type: int - required: false - default: 0 - description: Word returned on manufacturer access command. - - at-rate-full-mw-support: - type: boolean - description: - Flag indicating if AT_RATE_TIME_TO_FULL command supports mW capacity - mode. - - version: - type: string - required: false - enum: - - BATTERY_SPEC_VER_1_0 - - BATTERY_SPEC_VER_1_1 - - BATTERY_SPEC_VER_1_1_WITH_PEC - default: BATTERY_SPEC_VER_1_1_WITH_PEC - description: Version of Smart Battery. - - vscale: - type: int - required: false - default: 0 - description: Scaling of voltage. - - ipscale: - type: int - required: false - default: 0 - description: Scaling of current. - - int-charge-controller: - type: boolean - description: Flag indicating if internal charge controller is supported. - - primary-battery: - type: boolean - description: - Flag indicating if primary battery role selection is supported. - - design-mv: - type: int - required: false - default: 5000 - description: Design battery voltage in mV. - - design-cap: - type: int - required: false - default: 5000 - description: Design battery capacity in mAh. - - temperature: - type: int - required: false - default: 2930 - description: Battery temperature in 0.1 Kelvins. - - volt: - type: int - required: false - default: 5000 - description: Battery voltage in mV. - - cur: - type: int - required: false - default: 1000 - description: Current charging (> 0) or discharging (< 0) battery in mA. - - avg-cur: - type: int - required: false - default: 1000 - description: Average current from 1 minute. - - max-error: - type: int - required: false - default: 0 - description: Maximum error of commands return value in percent. - - cap: - type: int - required: false - default: 2000 - description: Capacity of the battery in mAh. - - full-cap: - type: int - required: false - default: 4000 - description: Full capacity of the battery in mAh. - - desired-charg-cur: - type: int - required: false - default: 2000 - description: Charging current requested by battery. - - desired-charg-volt: - type: int - required: false - default: 7000 - description: Charging voltage requested by battery. - - cycle-count: - type: int - required: false - default: 125 - description: Number of cycles. - - serial-number: - type: int - required: false - default: 7 - description: Serial number of battery. - - mf-name: - type: string - required: false - default: "zephyr" - description: Manufacturer name. Length has to be smaller than 32 bytes. - - dev-name: - type: string - required: false - default: "smartbat" - description: Device name. Length has to be smaller than 32 bytes. - - dev-chem: - type: string - required: false - default: "LION" - description: Device chemistry. Length has to be smaller than 32 bytes. - - mf-data: - type: string - required: false - default: "LION" - description: Manufacturer data. Length has to be smaller than 32 bytes. diff --git a/zephyr/dts/bindings/emul/zephyr,syv682x.yaml b/zephyr/dts/bindings/emul/zephyr,syv682x.yaml deleted file mode 100644 index 75de7cf743..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,syv682x.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr SYV682X Emulator - -compatible: "zephyr,syv682x-emul" - -include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,tcs3400.yaml b/zephyr/dts/bindings/emul/zephyr,tcs3400.yaml deleted file mode 100644 index a4474ec279..0000000000 --- a/zephyr/dts/bindings/emul/zephyr,tcs3400.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Zephyr ALS TCS3400 light sensor i2c emulator - -compatible: "zephyr,tcs3400" - -include: base.yaml - -properties: - device-id: - type: string - required: false - enum: - - TCS340015_DEVICE_ID - - TCS340037_DEVICE_ID - default: TCS340015_DEVICE_ID - description: Device ID that is set in the register. - - revision: - type: int - required: false - default: 0 - description: Wafer die revision level that is set in the register. - - error-on-ro-write: - type: boolean - description: - Flag indicating if error should be generated when read only register - is being written. - - error-on-reserved-bit-write: - type: boolean - description: - Flag indicating if error should be generated when reserved bit - is being written. - - error-on-msb-first-access: - type: boolean - description: - Flag indicating if error should be generated when MSB register of - accelerometer value is accessed before LSB and shadowing is enabled - at the same time. diff --git a/zephyr/dts/bindings/fan/named-fans.yaml b/zephyr/dts/bindings/fan/named-fans.yaml deleted file mode 100644 index 0595a20f54..0000000000 --- a/zephyr/dts/bindings/fan/named-fans.yaml +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Fan parent node - -compatible: "named-fans" - -child-binding: - description: Named fan's child node - properties: - label: - required: true - type: string - description: - Human-readable string describing the device (used as - device_get_binding() argument) - rpm_min: - required: true - type: int - description: - Minimum fan speed (in RPM) to keep turning - rpm_start: - required: true - type: int - description: - Fan speed (in RPM) to begin turning - rpm_max: - required: true - type: int - description: - Maximum fan speed (in RPM) - pwm: - type: phandle - required: true - description: - PWM channel to control the fan - tach: - type: phandle - required: false - description: - Tachometer to measure the fan speed - not_use_rpm_mode: - required: false - type: boolean - description: - Disable automatic RPM control using tachometer input - use_fast_start: - required: false - type: boolean - description: - Fan requires a higher duty cycle to start up than to keep - running - pgood_gpio: - required: false - type: phandle - description: - Active high input GPIO which signals the power is good - enable_gpio: - required: false - type: phandle - description: - Active high output GPIO to enable the power diff --git a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml b/zephyr/dts/bindings/gpio/gpio-enum-name.yaml deleted file mode 100644 index b7fc3809ac..0000000000 --- a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml +++ /dev/null @@ -1,180 +0,0 @@ -description: Named GPIOs parent node -properties: - enum-name: - type: string - description: - Enum used in code. - enum: - - GPIO_ACCEL_GYRO_INT_L - - GPIO_AC_PRESENT - - GPIO_ALS_RGB_INT_ODL - - GPIO_AP_EC_WARM_RST_REQ - - GPIO_AP_EC_WATCHDOG_L - - GPIO_AP_IN_SLEEP_L - - GPIO_AP_RST_L - - GPIO_AP_SUSPEND - - GPIO_AP_XHCI_INIT_DONE - - GPIO_BASE_IMU_INT_L - - GPIO_BATT_PRES_ODL - - GPIO_BC12_DET_EN - - GPIO_BOARD_VERSION1 - - GPIO_BOARD_VERSION2 - - GPIO_BOARD_VERSION3 - - GPIO_CCD_MODE_ODL - - GPIO_CHARGER_PROCHOT_ODL - - GPIO_CPU_PROCHOT - - GPIO_DA9313_GPIO0 - - GPIO_DEPRECATED_AP_RST_REQ - - GPIO_DP_AUX_PATH_SEL - - GPIO_DP_HOT_PLUG_DET - - GPIO_DP_MUX_OE_L - - GPIO_DP_MUX_SEL - - GPIO_EC_ACCEL_INT - - GPIO_EC_ALS_RGB_INT_L - - GPIO_EC_BL_EN_OD - - GPIO_EC_CHG_LED_W_C0 - - GPIO_EC_CHG_LED_Y_C0 - - GPIO_EC_CHG_LED_B_C1 - - GPIO_EC_CHG_LED_W_C1 - - GPIO_EC_CHG_LED_Y_C1 - - GPIO_EC_DPBRDG_HPD_ODL - - GPIO_EC_I2C_SENSOR_SCL - - GPIO_EC_I2C_SENSOR_SDA - - GPIO_EC_I2C0_SENSOR_SCL - - GPIO_EC_I2C0_SENSOR_SDA - - GPIO_EC_I2C1_USB_C0_SCL - - GPIO_EC_I2C1_USB_C0_SDA - - GPIO_EC_I2C2_USB_C1_SCL - - GPIO_EC_I2C2_USB_C1_SDA - - GPIO_EC_I2C3_USB_1_MIX_SCL - - GPIO_EC_I2C3_USB_1_MIX_SDA - - GPIO_EC_I2C5_BATTERY_SCL - - GPIO_EC_I2C5_BATTERY_SDA - - GPIO_EC_I2C7_EEPROM_PWR_SCL_R - - GPIO_EC_I2C7_EEPROM_PWR_SDA_R - - GPIO_EC_IMU_INT_L - - GPIO_EC_INT_L - - GPIO_EC_PCH_SYS_PWROK - - GPIO_EC_PCH_WAKE_ODL - - GPIO_EC_PCORE_INT_ODL - - GPIO_EC_PMIC_EN_ODL - - GPIO_EC_PMIC_WATCHDOG_L - - GPIO_EC_PROCHOT_IN_L - - GPIO_EC_PWR_BTN_ODL - - GPIO_EC_RST_ODL - - GPIO_EC_WP_L - - GPIO_EC_X_GPIO1 - - GPIO_EC_X_GPIO3 - - GPIO_EN_5V_USM - - GPIO_EN_A_RAILS - - GPIO_EN_EC_ID_ODL - - GPIO_EN_PP3000_SD_U - - GPIO_EN_PP3000_VMC_PMU - - GPIO_EN_PP3300_A - - GPIO_EN_PP5000 - - GPIO_EN_PP5000_A - - GPIO_EN_PP5000_FAN - - GPIO_EN_PP5000_USB_A0_VBUS - - GPIO_EN_PP5000_USBA - - GPIO_EN_PPVAR_VCCIN - - GPIO_EN_PWR_A - - GPIO_EN_PWR_PCORE_S0_R - - GPIO_EN_PWR_S0_R - - GPIO_EN_SLP_Z - - GPIO_EN_USB_A_5V - - GPIO_ENABLE_BACKLIGHT - - GPIO_ENTERING_RW - - GPIO_HIBERNATE_L - - GPIO_I2C_B_SCL - - GPIO_I2C_B_SDA - - GPIO_I2C_C_SCL - - GPIO_I2C_C_SDA - - GPIO_I2C_E_SCL - - GPIO_I2C_E_SDA - - GPIO_I2C_F_SCL - - GPIO_I2C_F_SDA - - GPIO_KBD_KSO2 - - GPIO_LID_ACCEL_INT_L - - GPIO_LID_OPEN - - GPIO_M2_SSD_PLN - - GPIO_PACKET_MODE_EN - - GPIO_PCH_DSW_PWROK - - GPIO_PCH_PWRBTN_L - - GPIO_PCH_RSMRST_L - - GPIO_PCH_RTCRST - - GPIO_PCH_SLP_S0_L - - GPIO_PCH_SLP_S3_L - - GPIO_PCH_SLP_S4_L - - GPIO_PCH_SLP_S5_L - - GPIO_PCH_SLP_SUS_L - - GPIO_PCH_SYS_PWROK - - GPIO_PG_EC_ALL_SYS_PWRGD - - GPIO_PG_EC_DSW_PWROK - - GPIO_PG_EC_RSMRST_ODL - - GPIO_PG_GROUPC_S0_OD - - GPIO_PG_LPDDR4X_S3_OD - - GPIO_PG_MT6360_ODL - - GPIO_PG_MT6315_GPU_ODL - - GPIO_PG_MT6315_PROC_ODL - - GPIO_PG_PP5000_A_ODL - - GPIO_PGOOD_FAN - - GPIO_PMIC_EC_PWRGD - - GPIO_PMIC_KPD_PWR_ODL - - GPIO_PMIC_RESIN_L - - GPIO_POWER_BUTTON_L - - GPIO_POWER_GOOD - - GPIO_PP5000_A_PG_OD - - GPIO_PS_HOLD - - GPIO_QSIP_ON - - GPIO_RSMRST_L_PGOOD - - GPIO_S0_PGOOD - - GPIO_S5_PGOOD - - GPIO_SET_VMC_VOLT_AT_1V8 - - GPIO_SKU_ID0 - - GPIO_SKU_ID1 - - GPIO_SKU_ID2 - - GPIO_SLP_SUS_L - - GPIO_SPI_CLK_GPG6 - - GPIO_SPI_CS_GPG7 - - GPIO_SPI_MISO_GPG5 - - GPIO_SPI_MOSI_GPG4 - - GPIO_SPI0_CS - - GPIO_SWITCHCAP_ON - - GPIO_SWITCHCAP_ON_L - - GPIO_SWITCHCAP_PG - - GPIO_SWITCHCAP_PG_INT_L - - GPIO_SYS_RESET_L - - GPIO_SYS_RST_ODL - - GPIO_TABLET_MODE_L - - GPIO_TRACKPAD_INT_GATE - - GPIO_USB_A_LOW_PWR_OD - - GPIO_USB_A0_FAULT_ODL - - GPIO_USB_A0_OC_ODL - - GPIO_USB_C0_BC12_INT_L - - GPIO_USB_C0_BC12_INT_ODL - - GPIO_USB_C0_FRS_EN - - GPIO_USB_C0_OC_ODL - - GPIO_USB_C0_PD_INT_ODL - - GPIO_USB_C0_PD_RST_L - - GPIO_USB_C0_PPC_INT_ODL - - GPIO_USB_C0_SWCTL_INT_ODL - - GPIO_USB_C0_TCPC_INT_ODL - - GPIO_USB_C1_BC12_INT_L - - GPIO_USB_C1_BC12_INT_ODL - - GPIO_USB_C1_FRS_EN - - GPIO_USB_C1_LS_EN - - GPIO_USB_C1_MIX_INT_ODL - - GPIO_USB_C1_OC_ODL - - GPIO_USB_C1_PD_INT_ODL - - GPIO_USB_C1_PD_RST_L - - GPIO_USB_C1_PPC_INT_ODL - - GPIO_USB_C1_RT_RST_ODL - - GPIO_USB_C1_SWCTL_INT_ODL - - GPIO_USB_C1_TCPC_INT_ODL - - GPIO_VBOB_EN - - GPIO_VOLUME_DOWN_L - - GPIO_VOLUME_UP_L - - GPIO_WARM_RESET_L - - GPIO_WP - - GPIO_WP_L - - GPIO_X_EC_GPIO2 diff --git a/zephyr/dts/bindings/gpio/gpio-id.yaml b/zephyr/dts/bindings/gpio/gpio-id.yaml deleted file mode 100644 index 24322b3de8..0000000000 --- a/zephyr/dts/bindings/gpio/gpio-id.yaml +++ /dev/null @@ -1,27 +0,0 @@ -description: Defines board version and sku id gpios - -compatible: cros-ec,gpio-id - -properties: - bits: - type: phandles - required: true - description: GPIO list to read, LSB to MSB - - system: - type: string - description: - Numeral system used to decode values - - binary - expects array with values of 0 and 1. - - binary_first_base3 - non-standard ternary number system - where the first 2^n natural numbers are represented as - they would be in a binary system (without any Z digits) - and the following 3^n-2^n numbers use the remaining - ternary representations in the normal ternary system order - - ternary - expects array with values of 0, 1 and 2. - It treats 'Z' state as digit '2'. - enum: - - binary - - binary_first_base3 - - ternary - diff --git a/zephyr/dts/bindings/gpio/hibernate-wake-pins.yaml b/zephyr/dts/bindings/gpio/hibernate-wake-pins.yaml deleted file mode 100644 index 64435f7b3b..0000000000 --- a/zephyr/dts/bindings/gpio/hibernate-wake-pins.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Hibernate Wake-up Pins Configurations - -compatible: "cros-ec,hibernate-wake-pins" - -properties: - wakeup-pins: - type: phandles - required: true - description: GPIO list for hibernate wake-up diff --git a/zephyr/dts/bindings/gpio/named-gpios.yaml b/zephyr/dts/bindings/gpio/named-gpios.yaml deleted file mode 100644 index 563c841f54..0000000000 --- a/zephyr/dts/bindings/gpio/named-gpios.yaml +++ /dev/null @@ -1,21 +0,0 @@ -description: Named GPIOs parent node - -compatible: "named-gpios" - -child-binding: - description: Named GPIOs child node - include: gpio-enum-name.yaml - properties: - gpios: - type: phandle-array - required: true - label: - required: true - type: string - description: | - Human readable string describing the device (used as - device_get_binding() argument) - "#gpio-cells": - type: int - required: false - const: 0 diff --git a/zephyr/dts/bindings/gpio/unused-gpios.yaml b/zephyr/dts/bindings/gpio/unused-gpios.yaml deleted file mode 100644 index 99f649e25e..0000000000 --- a/zephyr/dts/bindings/gpio/unused-gpios.yaml +++ /dev/null @@ -1,11 +0,0 @@ -description: Unused GPIOs node - -compatible: "unused-gpios" - -properties: - unused-gpios: - type: phandle-array - required: true - description: | - A list contains unused GPIOs. The chip vendor needs to configure them for - better power consumption in the lowest power state. diff --git a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml deleted file mode 100644 index ba2cc7b172..0000000000 --- a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (c) 2021 The Chromium OS Authors -# SPDX-License-Identifier: Apache-2.0 - -description: I2C port base properties - -properties: - i2c-port: - type: phandle - required: true - remote-port: - type: int - required: false - description: - A port number used by remote components like Kernel via the I2C_PASSTHRU - Host Command - enum-name: - type: string - required: true - description: - Enum values used in the source code to refer to the i2c port - enum: - - I2C_PORT_ACCEL - - I2C_PORT_BATTERY - - I2C_PORT_CHARGER - - I2C_PORT_EEPROM - - I2C_PORT_EVB_0 - - I2C_PORT_EVB_1 - - I2C_PORT_EVB_2 - - I2C_PORT_EVB_3 - - I2C_PORT_EVB_7 - - I2C_PORT_OPT_4 - - I2C_PORT_POWER - - I2C_PORT_PPC0 - - I2C_PORT_PPC1 - - I2C_PORT_RTC - - I2C_PORT_SENSOR - - I2C_PORT_TCPC0 - - I2C_PORT_TCPC1 - - I2C_PORT_USB_1_MIX - - I2C_PORT_USB_C0 - - I2C_PORT_USB_C0_C2_MUX - - I2C_PORT_USB_C0_C2_PPC - - I2C_PORT_USB_C0_C2_TCPC - - I2C_PORT_USB_C1 - - I2C_PORT_USB_C1_PPC - - I2C_PORT_USB_C1_TCPC - - I2C_PORT_USB_MUX0 - - I2C_PORT_USB_MUX1 - - I2C_PORT_VIRTUAL - - I2C_PORT_WLC - label: - required: true - type: string - description: - Human readable string describing the device (used as device_get_binding() - argument). diff --git a/zephyr/dts/bindings/i2c/named-i2c-ports.yaml b/zephyr/dts/bindings/i2c/named-i2c-ports.yaml deleted file mode 100644 index 4fce9c3229..0000000000 --- a/zephyr/dts/bindings/i2c/named-i2c-ports.yaml +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2020 The Chromium OS Authors -# SPDX-License-Identifier: Apache-2.0 - -description: Named I2C ports parent node - -compatible: "named-i2c-ports" - -child-binding: - description: Named I2C ports child node - include: [cros-ec-i2c-port-base.yaml] diff --git a/zephyr/dts/bindings/keyboard/cros-keyscan.yaml b/zephyr/dts/bindings/keyboard/cros-keyscan.yaml deleted file mode 100644 index 11caf7fd11..0000000000 --- a/zephyr/dts/bindings/keyboard/cros-keyscan.yaml +++ /dev/null @@ -1,82 +0,0 @@ - # Copyright 2021 The Chromium OS Authors. All rights reserved. - # Use of this source code is governed by a BSD-style license that can be - # found in the LICENSE file. - -description: Keyboard scanning properties - -compatible: "cros-keyscan" - -properties: - output-settle: - type: int - required: false - default: 80 - description: | - Delay time, in microseconds, between setting up output and waiting for - it to settle. 80 microseconds is the recommended value when column 2 - of the keyboard passes through the Google Security Chip. Otherwise 50 - microseconds is the recommended value. - - debounce-down: - type: int - required: false - default: 9000 - description: | - Time, in microseconds, to debounce key-down. - - debounce-up: - type: int - required: false - default: 30000 - description: | - Time, in microseconds, to debounce key-up. - - scan-period: - type: int - required: false - default: 3000 - description: | - Time between scans when keyboard scan task runs in polling mode. - - min-post-scan-delay: - type: int - required: false - default: 1000 - description: | - Minimum time between end of one scan and start of the next one. - This ensures keyboard scanning doesn't starve the rest of the system - if the scan period is set too short, or if other higher-priority - system activity is starving the keyboard scan task too. - - poll-timeout: - type: int - required: false - default: 100000 - description: | - Revert to interrupt mode after no keyboard activity for this period. - Specified in microseconds. - - actual-key-mask: - type: array - required: false - default: [ - 0x1c, # C0 - 0xff, # C1 - 0xff, # C2 - 0xff, # C3 - 0xff, # C4 - 0xf5, # C5 - 0xff, # C6 - 0xa4, # C7 - 0xfe, # C8 - 0x55, # C9 - 0xfa, # C10 - 0xff, # C11 - 0xca, # C12 - 0x00, # C13 for keypad - 0x00, # C14 for keypad - ] - description: | - Keyboard scanning mask. For each keyboard column, specify which - keyboard rows actually exist. Default key mask includes scanning for - full Chromebook keyboard, excluding the keypad. diff --git a/zephyr/dts/bindings/led/cros-ec,pwm-leds.yaml b/zephyr/dts/bindings/led/cros-ec,pwm-leds.yaml deleted file mode 100644 index fd99e3202a..0000000000 --- a/zephyr/dts/bindings/led/cros-ec,pwm-leds.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: PWM LED configuration - -compatible: "cros-ec,pwm-leds" - -include: base.yaml - -properties: - leds: - type: phandles - required: true - description: | - List of pwm-leds nodes. These are expected to have a pwms property - pointing to the relevant PWMs, in red, green, blue and optionally sidesel - order. - - For example - pwmleds { - compatible = "pwm-leds"; - pwm_led0: pwm_led_0 { - pwms = <&led3_red - &led2_green - &led1_blue - &led3_sidesel - >; - }; - }; - cros-pwmleds { - compatible = "cros-ec,pwm-leds"; - leds = <&pwm_led0>; - }; - - color-map-red: - type: array - required: true - description: | - A map of PWM duty cycles per color, up to three channels. - - For example - color-map-red = <100 0 0>; - color-map-green = < 0 100 0>; - color-map-blue = < 0 0 100>; - color-map-yellow = <100 70 0>; - color-map-white = <100 70 100>; - color-map-amber = <100 20 0>; - - color-map-green: - type: array - required: true - - color-map-blue: - type: array - required: true - - color-map-yellow: - type: array - required: true - - color-map-white: - type: array - required: true - - color-map-amber: - type: array - required: true - - brightness-range: - type: array - required: true - description: | - A list of brigthness range value for all supported channels in order, - Red, Green, Blue, Yellow, White, Amber (0 to 255). diff --git a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-mutex.yaml b/zephyr/dts/bindings/motionsense/cros-ec,motionsense-mutex.yaml deleted file mode 100644 index c988af258d..0000000000 --- a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-mutex.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (c) 2021 The Chromium OS Authors -# SPDX-License-Identifier: Apache-2.0 - -description: Motion sense mutex parent node - -compatible: "cros-ec,motionsense-mutex" - -child-binding: - description: A mutex node is used to create an instance of mutex_t. - A mutex node is referenced by one or more sensor nodes in - "/motionsense-sensors" node. - properties: - label: - required: true - type: string - description: Human readable string describing the mutex. - This is a brief explanation about the mutex. - The property is not actually used in code. - - -# -# examples: -# -# motionsense-mutex { -# compatible = "cros-ec,motionsense-mutex"; -# mutex_bma255: bma255-mutex { -# label = "BMA255_MUTEX"; -# }; -# -# mutex_bmi260: bmi260-mutex { -# label = "BMI260_MUTEX"; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml b/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml deleted file mode 100644 index 7de86ec8db..0000000000 --- a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-rotation-ref.yaml +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: rotation reference parent node - -compatible: "cros-ec,motionsense-rotation-ref" - -child-binding: - description: | - A rotation matrix node is used to create - an instance of mat33_fp_t which is used by - sensor drivers. - properties: - mat33: - required: true - type: array - description: | - 3x3 matrix to rotate x, y, and z axes. - Applications with the sensor API expects sansor data - based on the same defined coordinate system. - * X-axis is horizontal and positive toward the right - * Y-axis is vertical and positive toward the top - * Z-axis points toward the user - - Depending on how the sensor is mounted on board(PCB), we - may need to change the direction of a axis and swap X and - Y-axis. Using the 3x3 matrix, it generates the correct - X,Y, and Z on the defined coordinate system. - - +- -+ +- -+ +- -+ - | v1 v2 v3 | | sensor_X | | X | - | v4 v5 v6 | * | sensor_Y | = | Y | - | v7 v8 v9 | | sensor_Z | | Z | - +- -+ +- -+ +- -+ - -# -# examples: -# -# motionsense-rotation-ref { -# compatible = "cros-ec,motionsense-rotation-ref"; -# /* change the direction of Y and Z-axis */ -# lid_rot_ref: lid-rotation-ref { -# mat33 = <1 0 0 -# 0 (-1) 0 -# 0 0 (-1)>; -# }; -# /* swap X and Y-axis, and then change the direction of Y-axis */ -# base_rot_ref: base-rotation-ref { -# mat33 = <0 1 0 -# (-1) 0 0 -# 0 0 1>; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-config.yaml b/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-config.yaml deleted file mode 100644 index 68cdd15637..0000000000 --- a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-config.yaml +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: | - There are 4 configuration parameters to deal with different - configuration - Power | S0 | S3 | S5 - --------+-------------------+-------------------+----------------- - From AP | <------- SENSOR_CONFIG_AP ----------> | - | Use for normal | While sleeping | Always disabled - | operation (game, | For Activity | - | screen rotation) | Recognition | - --------+-------------------+-------------------+------------------ - From EC |SENSOR_CONFIG_EC_S0|SENSOR_CONFIG_EC_S3|SENSOR_CONFIG_EC_S5 - | Background | Gesture Recognition (Double tap, ...) - | Activity (compass,| - | ambient light) | - -compatible: "cros-ec,motionsense-sensor-config" - -child-binding: - description: | - A config node is used to create a motion_data_t instance. - Node name can only be either ap, ec-s0, ec-s3, or ec-s5, - and it is used to indicate one of the 4 configurations. - For example, node name ec-s0 is for SENSOR_CONFIG_EC_S0. - ec-s0 { - label = "SENSOR_CONFIG_EC_S0"; - odr = <1000>; - ec_rate = <1000>; - }; - properties: - label: - type: string - required: false - description: | - Human-readable string describing the config. - see the example the above. - odr: - type: int - required: false - description: | - Sensor output data rate in mHz. - MSB is used to know if we are rounding up. - ec-rate: - type: int - required: false - description: Delay between collection by EC, in us. - -# -# examples: -# -# configs { -# compatible = -# "cros-ec,motionsense-sensor-config"; -# ec-s0 { -# label = "SENSOR_CONFIG_EC_S0"; -# odr = <(10000 | ROUND_UP_FLAG)>; -# }; -# ec-s3 { -# label = "SENSOR_CONFIG_EC_S3"; -# odr = <(10000 | ROUND_UP_FLAG)>; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-info.yaml b/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-info.yaml deleted file mode 100644 index e413e2bfff..0000000000 --- a/zephyr/dts/bindings/motionsense/cros-ec,motionsense-sensor-info.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: The node has the information required by motion sense running - -compatible: "cros-ec,motionsense-sensor-info" - -properties: - als-sensors: - type: phandles - required: false - description: | - List of ALS sensors to create motion_als_sensors array. - The ALS sensors listed in the motion_als_sensors array - are managed by motion sense task. The task reads the sensor - data from the sensors and put them into the designated part - in the ec mmap. For example, als_clear and als_rgb are aliases - of ALS sensor noded defined in motionsense-sensor node. - als-sensors = <&als_clear, &als_rgb>; - This will automatically generate motion_als_sensors array from it. - sensor-irqs: - type: phandles - required: false - description: | - List of GPIO interrupts from sensors to be enabled. - GPIOs specified here will be enabled before motion sense task starts. - sensor-irqs = <&gpio_ec_imu_int_l &gpio_ec_als_rgb_int_l>; - accel-force-mode-sensors: - type: phandles - required: false - description: | - List of sensors should be handled in force mode. Sensors listed will be - used to define CONFIG_ACCEL_FORCE_MODE_MASK so that motion sense task can - manage them in force mode. - accel-force-mode-sensors = <&lid_accel &als_clear>; - -# -# examples: -# -# motionsense-sensor-info { -# compatible = "cros-ec,motionsense-sensor-info"; -# -# /* list of entries for motion_als_sensors */ -# als-sensors = <&als_clear>; -# -# /* -# * list of GPIO interrupts that have to -# * be enabled at initial stage -# */ -# sensor-irqs = <&gpio_ec_imu_int_l &gpio_ec_als_rgb_int_l>; -# -# /* list of sensors in force mode */ -# accel-force-mode-sensors = <&lid_accel &als_clear>; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/driver/bmi160.yaml b/zephyr/dts/bindings/motionsense/driver/bmi160.yaml deleted file mode 100644 index 8f490254a3..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/bmi160.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# common fields for both BMI160 accel and BMI160 gyro - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI slave logic GPIO - enum: - - "BMI160_ADDR0_FLAGS" - default: "BMI160_ADDR0_FLAGS" diff --git a/zephyr/dts/bindings/motionsense/driver/bmi260.yaml b/zephyr/dts/bindings/motionsense/driver/bmi260.yaml deleted file mode 100644 index f308472ec3..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/bmi260.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# common fields for both BMI260 accel and BMI260 gyro - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI slave logic GPIO - enum: - - "BMI260_ADDR0_FLAGS" - default: "BMI260_ADDR0_FLAGS" diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml deleted file mode 100644 index 77d6282d7f..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bma255.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motionsense sensor node for BMA255 - -compatible: "cros-ec,bma255" - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI slave logic GPIO - enum: - - "BMA2x2_I2C_ADDR1_FLAGS" - - "BMA2x2_I2C_ADDR2_FLAGS" - - "BMA2x2_I2C_ADDR3_FLAGS" - - "BMA2x2_I2C_ADDR4_FLAGS" - default: "BMA2x2_I2C_ADDR1_FLAGS" diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-accel.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-accel.yaml deleted file mode 100644 index 4eabf12cd5..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-accel.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for BMI160 accel - -compatible: "cros-ec,bmi160-accel" - -include: bmi160.yaml - -properties: - default-range: - default: 4 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-gyro.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-gyro.yaml deleted file mode 100644 index b7a0b38290..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi160-gyro.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for BMI160 gyro - -compatible: "cros-ec,bmi160-gyro" - -include: bmi160.yaml - -properties: - default-range: - default: 1000 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml deleted file mode 100644 index 130600cca2..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-accel.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for BMI260 accel - -compatible: "cros-ec,bmi260-accel" - -include: bmi260.yaml - -properties: - default-range: - default: 4 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml deleted file mode 100644 index 00226d0304..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,bmi260-gyro.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for BMI260 gyro - -compatible: "cros-ec,bmi260-gyro" - -include: bmi260.yaml - -properties: - default-range: - default: 1000 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml deleted file mode 100644 index b90d824575..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,kx022.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motionsense sensor node for KX022 - -compatible: "cros-ec,kx022" - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI slave logic GPIO - enum: - - "KX022_ADDR0_FLAGS" - - "KX022_ADDR1_FLAGS" - default: "KX022_ADDR0_FLAGS" - default-range: - default: 2 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,lis2dw12.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,lis2dw12.yaml deleted file mode 100644 index bacf8f2c75..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,lis2dw12.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motionsense sensor node for LIS2DW12 Accelerometer - -compatible: "cros-ec,lis2dw12" - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI peripheral logic GPIO - enum: - - "LIS2DWL_ADDR0_FLAGS" - - "LIS2DWL_ADDR1_FLAGS" - default: "LIS2DWL_ADDR1_FLAGS" - default-range: - default: 2 diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-clear.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-clear.yaml deleted file mode 100644 index 323286c462..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-clear.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for TCS3400 CLEAR - -compatible: "cros-ec,tcs3400-clear" - -include: tcs3400.yaml diff --git a/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-rgb.yaml b/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-rgb.yaml deleted file mode 100644 index e2987cf44b..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/cros-ec,tcs3400-rgb.yaml +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: motion sense sensor node for TCS3400 RGB - -compatible: "cros-ec,tcs3400-rgb" - -include: tcs3400.yaml diff --git a/zephyr/dts/bindings/motionsense/driver/tcs3400.yaml b/zephyr/dts/bindings/motionsense/driver/tcs3400.yaml deleted file mode 100644 index 2fc3d7eacd..0000000000 --- a/zephyr/dts/bindings/motionsense/driver/tcs3400.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# common fields for both TCS3400 clear and TCS3400 rgb - -# every motionsense sensor node should include motionsense-sensor-base.yaml -include: motionsense-sensor-base.yaml - -properties: - i2c-spi-addr-flags: - type: string - description: i2c address or SPI slave logic GPIO - enum: - - "TCS3400_I2C_ADDR_FLAGS" - default: "TCS3400_I2C_ADDR_FLAGS" - default-range: - default: 0x10000 # scale = 1x, uscale = 0 diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-channel-scale.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-channel-scale.yaml deleted file mode 100644 index 753edc7ea8..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-channel-scale.yaml +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: | - Bindings for als_channel_scale_t in accelgyro.h. - Each channel has scaling factor for normalization & cover - -compatible: cros-ec,accelgyro-als-channel-scale - -properties: - k-channel-scale: - type: int - required: true - description: Channel scale factor - cover-scale: - type: int - required: true - description: Cover compensation scale factor - -# -# examples: -# -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-drv-data.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-drv-data.yaml deleted file mode 100644 index 7d64689cf2..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-als-drv-data.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: ALS driver data - -compatible: "cros-ec,accelgyro-als-drv-data" - -child-binding: - description: ALS calibration data - properties: - scale: - type: int - required: true - description: | - Scale, uscale, and offset are used to correct the raw 16 bit ALS data - and then to convert it to 32 bit using the following equations - raw_value += offset;\n - adjusted_value = raw_value * scale + raw_value * uscale / 10000; - uscale: - type: int - required: true - description: uscale - offset: - type: int - required: true - description: offset - -# -# examples: -# als-drv-data { -# compatible = "cros-ec,accelgyro-als-drv-data"; -# als-cal { -# scale = <1>; -# uscale = <0>; -# offset = <0>; -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-rgb-calibration.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-rgb-calibration.yaml deleted file mode 100644 index 4204a63cff..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,accelgyro-rgb-calibration.yaml +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: bindings for rgb_calibration_t in accelgyro.h - -compatible: "cros-ec,accelgyro-rgb-calibration" - -properties: - irt: - type: int - required: true - description: incandecent scaling factor - -child-binding: - description: RGB ALS Calibration Data - properties: - offset: - type: int - required: true - description: Any offset to add to raw channel data - coeff: - type: array - required: true - description: Clear, R, G, and B coefficients for this channel - -# -# examples: -# -# rgb_calibration { -# compatible = "cros-ec,accelgyro-rgb-calibration"; -# -# irt = <1>; -# -# rgb-cal-x { -# offset = <0>; -# coeff = <0 0 0 0>; -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# }; -# rgb-cal-y { -# offset = <0>; -# coeff = <0 0 0 0>; -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# }; -# rgb-cal-z { -# offset = <0>; -# coeff = <0 0 0 0>; -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bma255.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bma255.yaml deleted file mode 100644 index 4cabd620da..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bma255.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: BMA255 driver data node - -compatible: "cros-ec,drvdata-bma255" - -include: drvdata-base.yaml - -# -# examples: -# -# bma255_data: bma255-drv-data { -# compatible = "cros-ec,drvdata-bma255"; -# status = "okay"; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi160.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi160.yaml deleted file mode 100644 index 52f5c346fc..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi160.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: BMI160 driver data node - -compatible: "cros-ec,drvdata-bmi160" - -include: drvdata-base.yaml - -# -# examples: -# -# bmi160_data: bmi160-drv-data { -# compatible = "cros-ec,drvdata-bmi160"; -# status = "okay"; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml deleted file mode 100644 index 4d414121d1..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-bmi260.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: BMI260 driver data node - -compatible: "cros-ec,drvdata-bmi260" - -include: drvdata-base.yaml - -# -# examples: -# -# bmi260_data: bmi260-drv-data { -# compatible = "cros-ec,drvdata-bmi260"; -# status = "okay"; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-kionix.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-kionix.yaml deleted file mode 100644 index 3151412b79..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-kionix.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Kionix driver data node - -compatible: "cros-ec,drvdata-kionix" - -include: drvdata-base.yaml - -# -# examples: -# -# kx022_data: kx022-drv-data { -# compatible = "cros-ec,drvdata-kionix"; -# status = "okay"; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-lis2dw12.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-lis2dw12.yaml deleted file mode 100644 index ecb182a4fd..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-lis2dw12.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: LIS2DW12 driver data node - -compatible: "cros-ec,drvdata-lis2dw12" - -include: drvdata-base.yaml - -# -# examples: -# -# lis2dw12_data: lis2dw12-drv-data { -# compatible = "cros-ec,drvdata-lis2dw12"; -# status = "okay"; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-clear.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-clear.yaml deleted file mode 100644 index c1059d40be..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-clear.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: TCS3400 CLEAR driver data - -compatible: "cros-ec,drvdata-tcs3400-clear" - -include: drvdata-base.yaml - -# -# examples: -# -# tcs_clear_data: tcs3400-clear-drv-data { -# compatible = "cros-ec,drvdata-tcs3400-clear"; -# status = "okay"; -# -# als-drv-data { -# compatible = "cros-ec,accelgyro-als-drv-data"; -# als-cal { -# scale = <1>; -# uscale = <0>; -# offset = <0>; -# als-channel-scale { -# compatible = "cros-ec,accelgyro-als-channel-scale"; -# k-channel-scale = <1>; -# cover-scale = <1>; -# }; -# }; -# }; -# }; -# diff --git a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-rgb.yaml b/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-rgb.yaml deleted file mode 100644 index 7ae7bc5983..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/cros-ec,drvdata-tcs3400-rgb.yaml +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: TCS3400 RGB driver data - -compatible: "cros-ec,drvdata-tcs3400-rgb" - -include: drvdata-base.yaml - -child-binding: - description: saturation auto-adjustment - properties: - again: - type: int - required: false - description: Gain Scaling; must be value between 0 and 3 - atime: - type: int - required: false - description: Acquisition Time, controlled by the ATIME register diff --git a/zephyr/dts/bindings/motionsense/drvdata/drvdata-base.yaml b/zephyr/dts/bindings/motionsense/drvdata/drvdata-base.yaml deleted file mode 100644 index dc32d69d21..0000000000 --- a/zephyr/dts/bindings/motionsense/drvdata/drvdata-base.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# common fields for driver data - -include: base.yaml - -properties: - status: - required: true diff --git a/zephyr/dts/bindings/motionsense/motionsense-sensor-base.yaml b/zephyr/dts/bindings/motionsense/motionsense-sensor-base.yaml deleted file mode 100644 index 6948ce6997..0000000000 --- a/zephyr/dts/bindings/motionsense/motionsense-sensor-base.yaml +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# Common fields for motion sensors - -include: base.yaml - -properties: - status: - required: true - label: - type: string - required: true - description: | - Human readable string describing the motion sensor. - This is used as the name of the motion sensor. - e.g) label = "Lid Accel"; - active-mask: - type: string - description: indicates system power state for sensor to be active - enum: - - "SENSOR_ACTIVE_S5" - - "SENSOR_ACTIVE_S3" - - "SENSOR_ACTIVE_S0" - - "SENSOR_ACTIVE_S0_S3" - - "SENSOR_ACTIVE_S0_S3_S5" - default: "SENSOR_ACTIVE_S0_S3" - location: - type: string - required: true - description: location of the motion sensor - enum: - - "MOTIONSENSE_LOC_BASE" - - "MOTIONSENSE_LOC_LID" - - "MOTIONSENSE_LOC_CAMERA" - mutex: - type: phandle - required: false - description: mutex used by chip driver - port: - type: phandle - required: false - description: phandle to the named i2c port - rot-standard-ref: - type: phandle - required: false - description: phandle to 3x3 rotation matrix - default-range: - type: int - required: false - description: default range of sensor read - drv-data: - type: phandle - required: false - description: phandle to driver data to be used for the motion sensor - alternate-for: - type: phandle - description: phandle to another sensor that can be swapped with this one - at runtime. - alternate-indicator: - type: phandle - description: phandle to CBI SSGC value indicating that the sensor - should be used - -# -# examples: -# -# lid_accel: lid-accel { -# compatible = "cros-ec,bma255"; -# status = "okay"; -# -# label = "Lid Accel"; -# active-mask = "SENSOR_ACTIVE_S0_S3"; -# location = "MOTIONSENSE_LOC_LID"; -# mutex = <&mutex_bma255>; -# port = <&i2c_sensor>; -# rot-standard-ref = <&lid_rot_ref>; -# default-range = <2>; -# drv-data = <&bma255_data>; -# }; -# diff --git a/zephyr/dts/bindings/pwm/named-pwms.yaml b/zephyr/dts/bindings/pwm/named-pwms.yaml deleted file mode 100644 index f01fd5a30a..0000000000 --- a/zephyr/dts/bindings/pwm/named-pwms.yaml +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: PWM KEYS parent node - -compatible: "named-pwms" - -child-binding: - description: Named PWMs child node - properties: - pwms: - type: phandle-array - required: true - label: - required: true - type: string - description: - Human readable string describing the device (used as - device_get_binding() argument) - frequency: - required: true - type: int - description: PWM frequency, in Hz diff --git a/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml b/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml deleted file mode 100644 index 6b39833048..0000000000 --- a/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Intel JHL8040R Thunderbolt 4 Retimer - -compatible: "intel,jhl8040r" - -include: i2c-device.yaml - -properties: - reset-gpios: - type: phandle-array - required: true - - int-gpios: - type: phandle-array - required: false - - ls-en-gpios: - type: phandle-array - required: false diff --git a/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml b/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml deleted file mode 100644 index 5d1a25bf94..0000000000 --- a/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml +++ /dev/null @@ -1,16 +0,0 @@ -description: SwitchCap controlled by gpios - -compatible: "switchcap-gpio" - -properties: - enable-pin: - type: phandle - required: true - description: | - GPIO used to enable the switch cap - - power-good-pin: - type: phandle - required: false - description: | - GPIO used to read if power is good diff --git a/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml b/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml deleted file mode 100644 index afd89aacc6..0000000000 --- a/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml +++ /dev/null @@ -1,27 +0,0 @@ -description: SwitchCap controlled by LN9310 - -compatible: "switchcap-ln9310" - -properties: - enable-l-pin: - type: phandle - required: true - description: | - GPIO used to enable the switch cap - active low - - port: - type: phandle - required: true - description: | - I2C port used to communicate with controller - - addr-flags: - type: string - default: "LN9310_I2C_ADDR_0_FLAGS" - enum: - - "LN9310_I2C_ADDR_0_FLAGS" - - "LN9310_I2C_ADDR_1_FLAGS" - - "LN9310_I2C_ADDR_2_FLAGS" - - "LN9310_I2C_ADDR_3_FLAGS" - description: | - I2C address of controller diff --git a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml b/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml deleted file mode 100644 index 288dc2d1c8..0000000000 --- a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: > - Common properties for temperature sensors - Zero values in degrees K(-273 in degrees C)in thermal thresholds will - be ignored - -compatible: cros-ec,temp-sensor - -properties: - adc: - required: true - type: phandle - description: The named adc channel - - thermistor: - type: phandle - description: Underlying thermistor device if used - - label: - required: true - type: string - description: - Human-readable string describing the device (used as - device_get_binding() argument) - - enum-name: - type: string - required: true - description: - Enum values used in the source code to refer to the temperature sensors - enum: - - TEMP_SENSOR_CHARGER - - TEMP_SENSOR_DDR_SOC - - TEMP_SENSOR_FAN - - TEMP_SENSOR_PP3300_REGULATOR - - temp_fan_off: - type: int - description: - Temperature threshold in degrees C when no active cooling - is needed - - temp_fan_max: - type: int - description: - Temperature threshold in degrees C when max active cooling - is needed - - temp_host_warn: - type: int - description: - Temperature threshold in degrees C of thermal warn. - Temperatures above the thermal warn threshold generate a - request to the AP to throttle itself. - - temp_host_high: - type: int - description: - Temperature threshold in degrees C of thermal high. - Temperatures above the thermal high threshold cause the EC to - assert a signal (usually PROCHOT) to the AP and force the AP to - throttle. - - temp_host_halt: - type: int - description: - Temperature threshold in degrees C that forces AP to shutdown - due to thermal reason - - temp_host_release_warn: - type: int - description: - Temperature release threshold in degrees C of thermal warn - - temp_host_release_high: - type: int - description: - Temperature release threshold in degrees C of thermal high - - temp_host_release_halt: - type: int - description: - Temperature release threshold in degrees C of thermal shutdown diff --git a/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml b/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml deleted file mode 100644 index d4bc32ed3c..0000000000 --- a/zephyr/dts/bindings/temp/cros_ec_thermistor.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# For more information: -# https://www.electronics-tutorials.ws/io/thermistors.html - -description: Common properties for thermistors - -compatible: cros-ec,thermistor - -properties: - scaling-factor: - required: true - type: int - description: Scaling factor for voltage pairs - - num-pairs: - required: true - type: int - description: Number of sample data points for linear interpolation - - steinhart-reference-mv: - required: true - type: int - description: > - Used only for testing. - Is the reference voltage for temperature 25C. - - steinhart-reference-res: - required: true - type: int - description: > - Used only for testing. - Is the reference resistance for temperature 25C. - -child-binding: - description: > - Data samples derived from Steinhart-Hart - equation in a resistor divider circuit. - Used in linear interpolation. - - properties: - milivolt: - type: int - required: true - description: Voltage reading for a given temperature sample - - temp: - type: int - required: true - description: Temperature (Celcius) in a sample - - sample-index: - type: int - required: true - description: The index of a datum to maintain sample order to interpolate. diff --git a/zephyr/dts/bindings/vendor-prefixes.txt b/zephyr/dts/bindings/vendor-prefixes.txt deleted file mode 100644 index 856fa81426..0000000000 --- a/zephyr/dts/bindings/vendor-prefixes.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 2021 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# Valid device-tree compatible string prefixes used in this -# Zephyr module. The format is: -# vendor-prefix<TAB>vendor name -cros-ec The Chromium OS Embedded Controller Project |