diff options
Diffstat (limited to 'zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml')
-rw-r--r-- | zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml b/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml new file mode 100644 index 0000000000..d1cc4c26e5 --- /dev/null +++ b/zephyr/dts/bindings/cbi/cros-ec,cbi-ssfc.yaml @@ -0,0 +1,56 @@ +# 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: CBI Second Source Factory Cache (SSFC) + +compatible: "cros-ec,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: + - AUDIO_CODEC + - 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 = "cros-ec,cbi-ssfc"; +# +# base_sensor { +# enum-name = "BASE_SENSOR"; +# size = <3>; +# bmi160 { +# compatible = "cros-ec,cbi-ssfc-value"; +# status = "okay"; +# +# value = <1>; +# devices = <&alt_base_accel &alt_base_gyro>; +# }; +# kx022 { +# compatible = "cros-ec,cbi-ssfc-value"; +# status = "okay"; +# +# value = <3>; +# devices = <&base_accel_kx022>; +# }; +# }; +# }; |