diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-24 08:46:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-25 15:39:39 +0200 |
commit | eddd8312948329e28f00a6f1ca52b3e7f3c330ee (patch) | |
tree | 1b4ef77f92f72af55f853e09be1789a4206fbcb6 /dts/Bindings/misc | |
parent | eed776a50f486d4c1951da32a30d3fd1588ac6e2 (diff) | |
download | barebox-eddd8312948329e28f00a6f1ca52b3e7f3c330ee.tar.gz barebox-eddd8312948329e28f00a6f1ca52b3e7f3c330ee.tar.xz |
dts: update to v6.0-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/misc')
-rw-r--r-- | dts/Bindings/misc/eeprom-93xx46.yaml | 70 | ||||
-rw-r--r-- | dts/Bindings/misc/qemu,vcpu-stall-detector.yaml | 51 |
2 files changed, 51 insertions, 70 deletions
diff --git a/dts/Bindings/misc/eeprom-93xx46.yaml b/dts/Bindings/misc/eeprom-93xx46.yaml deleted file mode 100644 index 44fd2f6f0d..0000000000 --- a/dts/Bindings/misc/eeprom-93xx46.yaml +++ /dev/null @@ -1,70 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/eeprom-93xx46.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip 93xx46 SPI compatible EEPROM family dt bindings - -maintainers: - - Cory Tusar <cory.tusar@pid1solutions.com> - -properties: - compatible: - enum: - - atmel,at93c46 - - atmel,at93c46d - - atmel,at93c56 - - atmel,at93c66 - - eeprom-93xx46 - - microchip,93lc46b - - data-size: - description: number of data bits per word - $ref: /schemas/types.yaml#/definitions/uint32 - enum: [8, 16] - - reg: - description: chip select of EEPROM - maxItems: 1 - - spi-max-frequency: true - spi-cs-high: true - - read-only: - description: - parameter-less property which disables writes to the EEPROM - type: boolean - - select-gpios: - description: - specifies the GPIO that needs to be asserted prior to each access - of EEPROM (e.g. for SPI bus multiplexing) - maxItems: 1 - - -required: - - compatible - - reg - - data-size - - spi-max-frequency - -additionalProperties: false - -examples: - - | - #include <dt-bindings/gpio/gpio.h> - - spi { - #address-cells = <1>; - #size-cells = <0>; - - eeprom@0 { - compatible = "eeprom-93xx46"; - reg = <0>; - spi-max-frequency = <1000000>; - spi-cs-high; - data-size = <8>; - select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; - }; - }; diff --git a/dts/Bindings/misc/qemu,vcpu-stall-detector.yaml b/dts/Bindings/misc/qemu,vcpu-stall-detector.yaml new file mode 100644 index 0000000000..1aebeb696e --- /dev/null +++ b/dts/Bindings/misc/qemu,vcpu-stall-detector.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VCPU stall detector + +description: + This binding describes a CPU stall detector mechanism for virtual CPUs + which is accessed through MMIO. + +maintainers: + - Sebastian Ene <sebastianene@google.com> + +properties: + compatible: + enum: + - qemu,vcpu-stall-detector + + reg: + maxItems: 1 + + clock-frequency: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + The internal clock of the stall detector peripheral measure in Hz used + to decrement its internal counter register on each tick. + Defaults to 10 if unset. + default: 10 + + timeout-sec: + description: | + The stall detector expiration timeout measured in seconds. + Defaults to 8 if unset. Please note that it also takes into account the + time spent while the VCPU is not running. + default: 8 + +required: + - compatible + +additionalProperties: false + +examples: + - | + vmwdt@9030000 { + compatible = "qemu,vcpu-stall-detector"; + reg = <0x9030000 0x10000>; + clock-frequency = <10>; + timeout-sec = <8>; + }; |