brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · dd2ae2b Raw
74 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung Sensorhub driver8 9maintainers:10  - Jonathan Cameron <jic23@kernel.org>11 12description: |13  Sensorhub is a MCU which manages several sensors and also plays the role14  of a virtual sensor device.15 16properties:17  compatible:18    enum:19      - samsung,sensorhub-rinato20      - samsung,sensorhub-thermostat21 22  reg:23    maxItems: 124 25  interrupts:26    maxItems: 127 28  ap-mcu-gpios:29    maxItems: 130    description:31      Application Processor to sensorhub line - used during communication32 33  mcu-ap-gpios:34    maxItems: 135    description:36      Sensorhub to Application Processor - used during communication37 38  mcu-reset-gpios:39    maxItems: 140    description:41      Reset the sensorhub.42 43required:44  - compatible45  - reg46  - interrupts47  - ap-mcu-gpios48  - mcu-ap-gpios49  - mcu-reset-gpios50 51allOf:52  - $ref: /schemas/spi/spi-peripheral-props.yaml#53 54unevaluatedProperties: false55 56examples:57  - |58    spi {59        #address-cells = <1>;60        #size-cells = <0>;61 62        sensorhub@0 {63            compatible = "samsung,sensorhub-rinato";64            reg = <0>;65            spi-max-frequency = <5000000>;66            interrupt-parent = <&gpx0>;67            interrupts = <2 0>;68            ap-mcu-gpios = <&gpx0 0 0>;69            mcu-ap-gpios = <&gpx0 4 0>;70            mcu-reset-gpios = <&gpx0 5 0>;71        };72    };73...74