diff options
Diffstat (limited to 'zephyr/dts/bindings')
34 files changed, 143 insertions, 321 deletions
diff --git a/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml b/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml index 83bd825236..d2fed4bfa6 100644 --- a/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml +++ b/zephyr/dts/bindings/battery/battery-fuel-gauge.yaml @@ -5,6 +5,8 @@ description: | Battery fuel gauge parameters +compatible: "battery-fuel-gauge" + properties: manuf_name: description: | diff --git a/zephyr/dts/bindings/battery/battery-info.yaml b/zephyr/dts/bindings/battery/battery-info.yaml index c188616260..54e81cedeb 100644 --- a/zephyr/dts/bindings/battery/battery-info.yaml +++ b/zephyr/dts/bindings/battery/battery-info.yaml @@ -8,6 +8,8 @@ description: Current is in milliamperes Temperature is in Celsius degrees +compatible: "battery-info" + properties: voltage_max: description: | diff --git a/zephyr/dts/bindings/battery/battery-smart.yaml b/zephyr/dts/bindings/battery/battery-smart.yaml index 5992226291..1d0c9786eb 100644 --- a/zephyr/dts/bindings/battery/battery-smart.yaml +++ b/zephyr/dts/bindings/battery/battery-smart.yaml @@ -28,7 +28,6 @@ properties: - "dynapack,cosmx_gh02047xl" - "dynapack,c140254" - "ganfeng,7c01" - - "ganfeng,sg20" - "getac,bq40z50-R3-S3" - "getac,bq40z50-R3-S2" - "lgc,ac17a8m" diff --git a/zephyr/dts/bindings/battery/cosmx,ap20cbl-2.yaml b/zephyr/dts/bindings/battery/cosmx,ap20cbl-2.yaml index 7faceedb11..5e64834f15 100644 --- a/zephyr/dts/bindings/battery/cosmx,ap20cbl-2.yaml +++ b/zephyr/dts/bindings/battery/cosmx,ap20cbl-2.yaml @@ -17,22 +17,22 @@ properties: default: 0x3A ship_mode_reg_data: default: [ 0xC574, 0xC574 ] - # Documentation: b/257860663#comment7 + # Documentation: b/243772306 # Manufacturer Access 0x00 - # b14: Charging Disabled (0: Off, 1: On) - # b13: Discharging Disabled (0: Off, 1: On) + # b14: C-FET Status (0: Off, 1: On) + # b15: D-FET Status (0: Off, 1: On) fet_mfgacc_support: default: 1 fet_reg_addr: default: 0x0 fet_reg_mask: - default: 0x2000 + default: 0x8000 fet_disconnect_val: - default: 0x2000 + default: 0x0000 fet_cfet_mask: default: 0x4000 fet_cfet_off_val: - default: 0x4000 + default: 0x0000 # Battery info voltage_max: diff --git a/zephyr/dts/bindings/battery/ganfeng,sg20.yaml b/zephyr/dts/bindings/battery/ganfeng,sg20.yaml deleted file mode 100644 index 6e8f558b00..0000000000 --- a/zephyr/dts/bindings/battery/ganfeng,sg20.yaml +++ /dev/null @@ -1,53 +0,0 @@ -description: "Ganfeng SG20" -compatible: "ganfeng,sg20" - -include: battery-smart.yaml - -properties: - enum-name: - type: string - default: "ganfeng,sg20" - - # Fuel gauge - manuf_name: - default: "Ganfeng" - device_name: - default: "SG20" - ship_mode_reg_addr: - default: 0x00 - ship_mode_reg_data: - default: [ 0x0010, 0x0010 ] - 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: 8700 - voltage_normal: - default: 7600 - 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: 60 diff --git a/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc-value.yaml b/zephyr/dts/bindings/cbi/named-cbi-ssfc-value.yaml index 6bbba1bdd7..7e04afed87 100644 --- a/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc-value.yaml +++ b/zephyr/dts/bindings/cbi/named-cbi-ssfc-value.yaml @@ -4,9 +4,9 @@ description: Possible CBI SSFC field values. - It has to be defined as grandchild on the "cros-ec,cbi-ssfc" + It has to be defied as grandchild on the "named-cbi-ssfc" -compatible: "cros-ec,cbi-ssfc-value" +compatible: "named-cbi-ssfc-value" properties: value: diff --git a/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml b/zephyr/dts/bindings/cbi/named-cbi-ssfc.yaml index d1cc4c26e5..2db330079d 100644 --- a/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml +++ b/zephyr/dts/bindings/cbi/named-cbi-ssfc.yaml @@ -4,7 +4,7 @@ description: CBI Second Source Factory Cache (SSFC) -compatible: "cros-ec,cbi-ssfc" +compatible: "named-cbi-ssfc" child-binding: description: @@ -33,24 +33,24 @@ child-binding: # Example: # # cbi-ssfc { -# compatible = "cros-ec,cbi-ssfc"; +# compatible = "named-cbi-ssfc"; # # base_sensor { # enum-name = "BASE_SENSOR"; # size = <3>; # bmi160 { -# compatible = "cros-ec,cbi-ssfc-value"; +# compatible = "named-cbi-ssfc-value"; # status = "okay"; # # value = <1>; # devices = <&alt_base_accel &alt_base_gyro>; # }; # kx022 { -# compatible = "cros-ec,cbi-ssfc-value"; +# 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/richtek,rt9490.yaml b/zephyr/dts/bindings/charger/richtek,rt9490.yaml index 0f9acf999a..ecd25696f3 100644 --- a/zephyr/dts/bindings/charger/richtek,rt9490.yaml +++ b/zephyr/dts/bindings/charger/richtek,rt9490.yaml @@ -9,11 +9,6 @@ compatible: "richtek,rt9490" include: chg-chip.yaml properties: - irq: - type: phandles - description: | - GPIO interrupt from BC1.2 - - thermistor: - type: phandle - description: Underlying thermistor device to measure temperature + thermistor: + type: phandle + description: Underlying thermistor device to measure temperature diff --git a/zephyr/dts/bindings/cros_pwr_signal/mediatek,mt8186-power-signal-list.yaml b/zephyr/dts/bindings/cros_pwr_signal/mt8186,power-signal-list.yaml index 5f0e75f717..6e9af9ccef 100644 --- a/zephyr/dts/bindings/cros_pwr_signal/mediatek,mt8186-power-signal-list.yaml +++ b/zephyr/dts/bindings/cros_pwr_signal/mt8186,power-signal-list.yaml @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 description: MediaTek MT8186, Power Signal List -compatible: "mediatek,mt8186-power-signal-list" +compatible: "mt8186,power-signal-list" include: power-signal-list.yaml diff --git a/zephyr/dts/bindings/cros_pwr_signal/mediatek,mt8192-power-signal-list.yaml b/zephyr/dts/bindings/cros_pwr_signal/mt8192,power-signal-list.yaml index 8bbd1207eb..b1dedb76c8 100644 --- a/zephyr/dts/bindings/cros_pwr_signal/mediatek,mt8192-power-signal-list.yaml +++ b/zephyr/dts/bindings/cros_pwr_signal/mt8192,power-signal-list.yaml @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 description: MediaTek, Power Signal List -compatible: "mediatek,mt8192-power-signal-list" +compatible: "mt8192,power-signal-list" include: power-signal-list.yaml diff --git a/zephyr/dts/bindings/emul/cros,anx7447-tcpc-emul.yaml b/zephyr/dts/bindings/emul/cros,anx7447-tcpc.yaml index a4b41a0cec..562485d03d 100644 --- a/zephyr/dts/bindings/emul/cros,anx7447-tcpc-emul.yaml +++ b/zephyr/dts/bindings/emul/cros,anx7447-tcpc.yaml @@ -4,7 +4,7 @@ # description: Zephyr ANX7447 emulator -compatible: "cros,anx7447-tcpc-emul" +compatible: "cros,anx7447-emul" include: i2c-device.yaml diff --git a/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml b/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml new file mode 100644 index 0000000000..11dd5f5218 --- /dev/null +++ b/zephyr/dts/bindings/emul/cros,bb-retimer-emul.yaml @@ -0,0 +1,30 @@ +# Copyright 2021 The ChromiumOS Authors +# 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/zephyr,bma255-emul.yaml b/zephyr/dts/bindings/emul/zephyr,bma255.yaml index 7017d62667..3f504e05a5 100644 --- a/zephyr/dts/bindings/emul/zephyr,bma255-emul.yaml +++ b/zephyr/dts/bindings/emul/zephyr,bma255.yaml @@ -4,7 +4,7 @@ description: Zephyr BMA255 Emulator -compatible: "zephyr,bma255-emul" +compatible: "zephyr,bma255" include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml b/zephyr/dts/bindings/emul/zephyr,bmi.yaml index b8b1d2551d..6280d5cc39 100644 --- a/zephyr/dts/bindings/emul/zephyr,bmi-emul.yaml +++ b/zephyr/dts/bindings/emul/zephyr,bmi.yaml @@ -4,7 +4,7 @@ description: Zephyr BMI Emulator -compatible: "zephyr,bmi-emul" +compatible: "zephyr,bmi" include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,pi3usb9201-emul.yaml b/zephyr/dts/bindings/emul/zephyr,pi3usb9201-emul.yaml new file mode 100644 index 0000000000..1f26a62f73 --- /dev/null +++ b/zephyr/dts/bindings/emul/zephyr,pi3usb9201-emul.yaml @@ -0,0 +1,9 @@ +# Copyright 2021 The ChromiumOS Authors +# 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-emul.yaml b/zephyr/dts/bindings/emul/zephyr,smart-battery.yaml index 88060b01d7..4c46fd4f64 100644 --- a/zephyr/dts/bindings/emul/zephyr,smart-battery-emul.yaml +++ b/zephyr/dts/bindings/emul/zephyr,smart-battery.yaml @@ -4,7 +4,7 @@ description: Zephyr Smart Battery Emulator -compatible: "zephyr,smart-battery-emul" +compatible: "zephyr,smart-battery" include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,tcs3400-emul.yaml b/zephyr/dts/bindings/emul/zephyr,tcs3400.yaml index 8c33331b7a..f214a21064 100644 --- a/zephyr/dts/bindings/emul/zephyr,tcs3400-emul.yaml +++ b/zephyr/dts/bindings/emul/zephyr,tcs3400.yaml @@ -4,7 +4,7 @@ description: Zephyr ALS TCS3400 light sensor i2c emulator -compatible: "zephyr,tcs3400-emul" +compatible: "zephyr,tcs3400" include: base.yaml diff --git a/zephyr/dts/bindings/emul/zephyr,tusb1064-emul.yaml b/zephyr/dts/bindings/emul/zephyr,tusb1064.yaml index 3cab1dd5a6..3cab1dd5a6 100644 --- a/zephyr/dts/bindings/emul/zephyr,tusb1064-emul.yaml +++ b/zephyr/dts/bindings/emul/zephyr,tusb1064.yaml diff --git a/zephyr/dts/bindings/fan/cros-ec,fan-steps.yaml b/zephyr/dts/bindings/fan/cros-ec,fan-steps.yaml deleted file mode 100644 index 3befe43868..0000000000 --- a/zephyr/dts/bindings/fan/cros-ec,fan-steps.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2022 The ChromiumOS Authors -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -description: Fan steps parent node -compatible: "cros-ec,fan-steps" -child-binding: - description: Support multiple thermal sensor temperature to trigger different fans speed, - each step could have different rpm for each fan - properties: - temp_on: - required: false - type: array - description: - Temperatures for each sensor to trigger next fan level, - <sensor 0, sensor 1, sensor 2, ...> mapping to variant overlay - temp_off: - required: false - type: array - description: - Temperatures for each sensor to trigger previous fan level, - <sensor 0, sensor 1, sensor 2, ...> mapping to variant overlay - rpm_target: - required: false - type: array - description: - Support multiple fan speed target for each level (in RPM), - <fan0 rpm target, fan1 rpm target, ...> diff --git a/zephyr/dts/bindings/fan/cros-ec,fans.yaml b/zephyr/dts/bindings/fan/cros-ec,fans.yaml index a9d198e37c..9aa6317f61 100644 --- a/zephyr/dts/bindings/fan/cros-ec,fans.yaml +++ b/zephyr/dts/bindings/fan/cros-ec,fans.yaml @@ -24,12 +24,6 @@ child-binding: type: int description: Maximum fan speed (in RPM) - rpm_deviation: - required: false - default: 7 - type: int - description: - Percentage of fan rpm deviation pwms: type: phandle-array required: true diff --git a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml b/zephyr/dts/bindings/gpio/gpio-enum-name.yaml index 5041b0646a..8252ca75e1 100644 --- a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml +++ b/zephyr/dts/bindings/gpio/gpio-enum-name.yaml @@ -55,7 +55,6 @@ properties: - GPIO_EN_USB_A_5V - GPIO_IMVP9_VRRDY_OD - GPIO_KB_DISCRETE_INT - - GPIO_KBD_KSO2 - GPIO_LID_ACCEL_INT_L - GPIO_LID_OPEN - GPIO_PACKET_MODE_EN diff --git a/zephyr/dts/bindings/gpio/named-gpios.yaml b/zephyr/dts/bindings/gpio/named-gpios.yaml index 7b92f1a636..bf0ba7237e 100644 --- a/zephyr/dts/bindings/gpio/named-gpios.yaml +++ b/zephyr/dts/bindings/gpio/named-gpios.yaml @@ -15,6 +15,9 @@ child-binding: gpios: type: phandle-array required: false + "#led-pin-cells": + type: int + required: false no-auto-init: description: When set, the GPIO is not initialised, and can be @@ -33,3 +36,5 @@ child-binding: to the particular board's GPIO name. type: string required: false + led-pin-cells: + - value diff --git a/zephyr/dts/bindings/keyboard/cros-ec,keyscan.yaml b/zephyr/dts/bindings/keyboard/cros-keyscan.yaml index 0e093bf015..a2ec2afc46 100644 --- a/zephyr/dts/bindings/keyboard/cros-ec,keyscan.yaml +++ b/zephyr/dts/bindings/keyboard/cros-keyscan.yaml @@ -4,7 +4,7 @@ description: Keyboard scanning properties -compatible: "cros-ec,keyscan" +compatible: "cros-keyscan" properties: output-settle: diff --git a/zephyr/dts/bindings/led/maxim,max695x.yaml b/zephyr/dts/bindings/led/maxim,max695x.yaml deleted file mode 100644 index a219512b0d..0000000000 --- a/zephyr/dts/bindings/led/maxim,max695x.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2022 The ChromiumOS Authors -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: | - MAX6958/MAX6959 7-Segment LED Display - - Example configuration - - max695x@38 { - compatible = "maxim,max695x"; - reg = <0x38>; - }; - - -compatible: "maxim,max695x" - -include: i2c-device.yaml diff --git a/zephyr/dts/bindings/led/maxim,seven-seg-display.yaml b/zephyr/dts/bindings/led/maxim,seven-seg-display.yaml new file mode 100644 index 0000000000..d66a0cdca2 --- /dev/null +++ b/zephyr/dts/bindings/led/maxim,seven-seg-display.yaml @@ -0,0 +1,19 @@ +# Copyright 2022 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: MAX6958/MAX6959 7-Segment LED Display + +compatible: "maxim,seven-seg-display" + +include: i2c-device.yaml + +# +# examples: +# +# seven_seg_display: max695x-seven-seg-display@38 { +# compatible = "maxim,seven-seg-display"; +# reg = <0x38>; +# label = "MAX695X_SEVEN_SEG_DISPLAY"; +# }; +# diff --git a/zephyr/dts/bindings/leds/cros-ec,gpio-led-pins.yaml b/zephyr/dts/bindings/leds/cros-ec,gpio-led-pins.yaml index fbf4e5217c..2e5fe7cff0 100644 --- a/zephyr/dts/bindings/leds/cros-ec,gpio-led-pins.yaml +++ b/zephyr/dts/bindings/leds/cros-ec,gpio-led-pins.yaml @@ -15,8 +15,8 @@ child-binding: the LED and 0 always turns off the LED. So a node looks like color-amber { led-color = "LED_AMBER"; - led-pins = <&gpio_ec_chg_led_y_c1 gpio_ec_chg_led_b_c1>; - led-values = <1 0>; + led-pins = <&gpio_ec_chg_led_y_c1 1>, + <&gpio_ec_chg_led_b_c1 0>; }; properties: led-color: @@ -61,15 +61,10 @@ child-binding: - EC_LED_COLOR_WHITE - EC_LED_COLOR_AMBER led-pins: - type: phandles + type: phandle-array required: true description: | - This property is used to specify an array of gpio pins to set a - particular color. - - led-values: - type: array - required: true - description: | - This property is used to specify an array of values to set on the - corresponding led-pins to set a particular color. + This property is used to specify an array of gpio pins and + corresponding values to enable a particular color. + e.g. Amber color - led-pins = <&gpio_ec_chg_led_y_c1 1>, + <&gpio_ec_chg_led_b_c1 0>; diff --git a/zephyr/dts/bindings/leds/cros-ec,pwm-led-pins.yaml b/zephyr/dts/bindings/leds/cros-ec,pwm-led-pins.yaml index 5ee8e112b5..19fee69be4 100644 --- a/zephyr/dts/bindings/leds/cros-ec,pwm-led-pins.yaml +++ b/zephyr/dts/bindings/leds/cros-ec,pwm-led-pins.yaml @@ -14,8 +14,8 @@ child-binding: looks like this where 100 is PWM duty cycle in percentage. color-amber { led-color = "LED_AMBER"; - led-pwms = <&pwm_led_y &pwm_led_b>; - led-values = <100 0>; + led-pins = <&pwm_led_y 100>, + <&pwm_led_b 0>; }; properties: led-color: @@ -59,16 +59,11 @@ child-binding: - EC_LED_COLOR_YELLOW - EC_LED_COLOR_WHITE - EC_LED_COLOR_AMBER - led-pwms: - type: phandles + led-pins: + type: phandle-array required: true description: | - This property is used to specify an array of pwms to set a - particular color. - - led-values: - type: array - required: true - description: | - This property is used to specify an array of values to set on the - corresponding pwm-pins to set a particular color. + This property is used to specify an array of PWM pins and + corresponding values to enable a particular color. + e.g. Amber color - led-pins = <&pwm_led_y 100>, + <&pwm_led_b 0>; diff --git a/zephyr/dts/bindings/leds/cros-ec,pwm-pin-config.yaml b/zephyr/dts/bindings/leds/cros-ec,pwm-pin-config.yaml new file mode 100644 index 0000000000..bdef6b6144 --- /dev/null +++ b/zephyr/dts/bindings/leds/cros-ec,pwm-pin-config.yaml @@ -0,0 +1,19 @@ +# Copyright 2022 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: PWM LED pin configuration + +compatible: "cros-ec,pwm-pin-config" + +child-binding: + description: PWMs associated with LEDs + properties: + pwms: + type: phandle-array + required: true + "#led-pin-cells": + type: int + required: false + led-pin-cells: + - value diff --git a/zephyr/dts/bindings/power/intel,ap-pwr-signal-emul.yaml b/zephyr/dts/bindings/power/intel,ap-pwr-signal-emul.yaml deleted file mode 100644 index 1863349892..0000000000 --- a/zephyr/dts/bindings/power/intel,ap-pwr-signal-emul.yaml +++ /dev/null @@ -1,124 +0,0 @@ - # Copyright 2022 The ChromiumOS Authors - # Use of this source code is governed by a BSD-style license that can be - # found in the LICENSE file. - -description: | - Power Signal Emulator Node - - Power signal emulator allows executing AP Power Sequence in a virtual - environment by simulating power signals behavior. - - This file defines a node to bind two or more power signals. A node connects - one input-signal with one or more output-signals. When a node is loaded and - initialized by power signal emulator, its input-signal state will control - the value of its children output-signals. Behavior of output-signals are - configurable to meet AP power sequence test cases. - - Power Signals direction is determined from emulator node perspective. An input - signal in a node, is the one to be monitored by the emulator, while an output - signal gets its value altered when corresponding input signal's state changes. - -compatible: "intel,ap-pwr-signal-emul" - -properties: - input-signal: - type: phandle - required: true - description: | - Input signal whose value is monitored to control children output-signal`s - value. - - assert-value: - type: int - required: false - default: 1 - description: | - Value that indicates `input-signal` must be ASSERTED. - - A power signal state can be ASSERTED or DEASSERTED.`input-signal` is only - considered asserted if its new value is equal to `assert-value`, any - other value makes it deasserted. - - edge: - type: string - required: false - description: | - Controls when to trigger children value change, based on `input-signal` - new state. - - EDGE_ACTIVE_ON_ASSERT: Children value changes only when `input-signal` - state changes into asserted. - - EDGE_ACTIVE_ON_DEASSERT: Children value changes only when `input-signal` - state changes into deasserted. - - EDGE_ACTIVE_ON_DEASSERT: Children value changes everytime `input-signal` - state changes. - - default: EDGE_ACTIVE_ON_BOTH - enum: - - EDGE_ACTIVE_ON_ASSERT - - EDGE_ACTIVE_ON_DEASSERT - - EDGE_ACTIVE_ON_BOTH - - init-value: - type: int - required: false - description: | - Initial value of `input-signal`. - -child-binding: - description: | - Child power signals configuration. - - properties: - output-signal: - type: phandle - required: true - description: | - Output signal whose value will be controlled by parent `input-signal` - state. - - assert-value: - type: int - required: false - default: 1 - description: | - Value that will be assigned to this signal when parent `input-signal` - state is asserted. - - assert-delay-ms: - type: int - required: false - default: 10 - description: | - Milliseconds to delay setting this signal to its `assert-value` - after `input-signal` is asserted. - - deassert-value: - type: int - required: false - default: 0 - description: | - Value that will be assigned to this signal when parent `input-signal` - state is deasserted. - - deassert-delay-ms: - type: int - required: false - default: 10 - description: | - Milliseconds to delay setting this signal to its `deassert-value` - after `input-signal` is deasserted. - - init-value: - type: int - required: false - description: | - Value set to this power signal when initializing this node. - - invert-value: - type: boolean - description: | - Invert this power signal assertion logic, this applies to both values - and delays. diff --git a/zephyr/dts/bindings/power/intel,ap-pwr-test-platform.yaml b/zephyr/dts/bindings/power/intel,ap-pwr-test-platform.yaml deleted file mode 100644 index c2f7e10cd1..0000000000 --- a/zephyr/dts/bindings/power/intel,ap-pwr-test-platform.yaml +++ /dev/null @@ -1,18 +0,0 @@ - # Copyright 2022 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: | - Power Signal Test Platform - - This is a virtual representation of platform comprised of one or more power - signal emulator nodes. Test platform is loaded into power signal emulator. - -compatible: "intel,ap-pwr-test-platform" - -properties: - nodes: - type: phandles - required: true - description: | - phandle array of power signals nodes to be run by emulator. diff --git a/zephyr/dts/bindings/switchcap/cros-ec,switchcap-gpio.yaml b/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml index 344738c8c0..0016401835 100644 --- a/zephyr/dts/bindings/switchcap/cros-ec,switchcap-gpio.yaml +++ b/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml @@ -1,6 +1,6 @@ description: SwitchCap controlled by gpios -compatible: "cros-ec,switchcap-gpio" +compatible: "switchcap-gpio" properties: enable-pin: diff --git a/zephyr/dts/bindings/switchcap/lion,ln9310.yaml b/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml index c1c4a99bee..2a73325cd3 100644 --- a/zephyr/dts/bindings/switchcap/lion,ln9310.yaml +++ b/zephyr/dts/bindings/switchcap/switchcap-ln9310.yaml @@ -1,6 +1,6 @@ -description: SwitchCap controlled by Lion Semiconductor LN9310 +description: SwitchCap controlled by LN9310 -compatible: "lion,ln9310" +compatible: "switchcap-ln9310" properties: enable-pin: diff --git a/zephyr/dts/bindings/usbc/bc12/richtek,rt9490-bc12.yaml b/zephyr/dts/bindings/usbc/bc12/richtek,rt9490-bc12.yaml new file mode 100644 index 0000000000..38791d65bf --- /dev/null +++ b/zephyr/dts/bindings/usbc/bc12/richtek,rt9490-bc12.yaml @@ -0,0 +1,15 @@ +# Copyright 2022 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: USBC BC1.2 + +compatible: "richtek,rt9490-bc12" + +include: base.yaml + +properties: + irq: + type: phandles + description: | + GPIO interrupt from BC1.2 diff --git a/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml b/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml deleted file mode 100644 index f8dd9807ed..0000000000 --- a/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022 The ChromiumOS Authors -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -description: Renesas RAA489000 USB TCPC binding - -compatible: "renesas,raa489000" - -include: i2c-device.yaml - -properties: - tcpc-flags: - type: int - default: 0 - description: | - TCPC configuration flags |