diff options
| author | Tom Rini <[email protected]> | 2025-10-08 15:01:20 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 15:01:20 -0600 |
| commit | eea470fd7f6a0db9fbdf8ab187a8b522dbb49c10 (patch) | |
| tree | 3ffbbe97a17dc7706c317173524adc8de9137fb8 /dts/upstream/Bindings/trigger-source | |
| parent | 0ee639ff5af33342c6c2f4579e210d707abc9bc2 (diff) | |
| parent | b7abe4d77a4d28a09434a57f704ec8a53011bbab (diff) | |
Subtree merge tag 'v6.17-dts' of dts repo [1] into dts/upstream
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git
Diffstat (limited to 'dts/upstream/Bindings/trigger-source')
| -rw-r--r-- | dts/upstream/Bindings/trigger-source/adi,util-sigma-delta-spi.yaml | 49 | ||||
| -rw-r--r-- | dts/upstream/Bindings/trigger-source/gpio-trigger.yaml | 40 |
2 files changed, 89 insertions, 0 deletions
diff --git a/dts/upstream/Bindings/trigger-source/adi,util-sigma-delta-spi.yaml b/dts/upstream/Bindings/trigger-source/adi,util-sigma-delta-spi.yaml new file mode 100644 index 00000000000..ea466179551 --- /dev/null +++ b/dts/upstream/Bindings/trigger-source/adi,util-sigma-delta-spi.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2025 Analog Devices, Inc. +# Copyright (c) 2025 BayLibre, SAS + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/trigger-source/adi,util-sigma-delta-spi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices Util Sigma-Delta SPI IP Core + +maintainers: + - David Lechner <[email protected]> + +description: + The Util Sigma-Delta SPI is an FPGA IP core from Analog Devices that provides + a SPI offload trigger from the RDY signal of the combined DOUT/RDY pin of + the sigma-delta family of ADCs. + https://analogdevicesinc.github.io/hdl/library/util_sigma_delta_spi/index.html + +properties: + compatible: + const: adi,util-sigma-delta-spi + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#trigger-source-cells': + const: 0 + +required: + - compatible + - reg + - clocks + - '#trigger-source-cells' + +additionalProperties: false + +examples: + - | + trigger@40000 { + reg = <0x40000 0x1000>; + compatible = "adi,util-sigma-delta-spi"; + clocks = <&clk 0>; + #trigger-source-cells = <0>; + }; diff --git a/dts/upstream/Bindings/trigger-source/gpio-trigger.yaml b/dts/upstream/Bindings/trigger-source/gpio-trigger.yaml new file mode 100644 index 00000000000..1331d153ee8 --- /dev/null +++ b/dts/upstream/Bindings/trigger-source/gpio-trigger.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/trigger-source/gpio-trigger.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic trigger source using GPIO + +description: A GPIO used as a trigger source. + +maintainers: + - Jonathan Santos <[email protected]> + +properties: + compatible: + const: gpio-trigger + + '#trigger-source-cells': + const: 0 + + gpios: + maxItems: 1 + description: GPIO to be used as a trigger source. + +required: + - compatible + - '#trigger-source-cells' + - gpios + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + trigger { + compatible = "gpio-trigger"; + #trigger-source-cells = <0>; + gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + }; |
