Path: blob/master/Documentation/devicetree/bindings/iio/resolver/adi,ad2s90.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/resolver/adi,ad2s90.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices AD2S90 Resolver-to-Digital Converter78maintainers:9- Matheus Tavares <matheus.bernardino@usp.br>1011description: |12Datasheet: https://www.analog.com/en/products/ad2s90.html1314properties:15compatible:16const: adi,ad2s901718reg:19maxItems: 12021spi-max-frequency:22maximum: 83000023description: |24Chip's max frequency, as specified in its datasheet, is 2Mhz. But a 600ns25delay is expected between the application of a logic LO to CS and the26application of SCLK, as also specified. And since the delay is not27implemented in the spi code, to satisfy it, SCLK's period should be at28most 2 * 600ns, so the max frequency should be 1 / (2 * 6e-7), which gives29roughly 830000Hz.3031spi-cpol: true3233spi-cpha: true3435required:36- compatible37- reg3839dependencies:40spi-cpol: [ spi-cpha ]41spi-cpha: [ spi-cpol ]4243allOf:44- $ref: /schemas/spi/spi-peripheral-props.yaml#4546unevaluatedProperties: false4748examples:49- |50spi {51#address-cells = <1>;52#size-cells = <0>;5354resolver@0 {55compatible = "adi,ad2s90";56reg = <0>;57spi-max-frequency = <830000>;58spi-cpol;59spi-cpha;60};61};62...636465