Path: blob/master/Documentation/devicetree/bindings/iio/samsung,sensorhub-rinato.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Samsung Sensorhub driver78maintainers:9- Jonathan Cameron <jic23@kernel.org>1011description: |12Sensorhub is a MCU which manages several sensors and also plays the role13of a virtual sensor device.1415properties:16compatible:17enum:18- samsung,sensorhub-rinato19- samsung,sensorhub-thermostat2021reg:22maxItems: 12324interrupts:25maxItems: 12627ap-mcu-gpios:28maxItems: 129description:30Application Processor to sensorhub line - used during communication3132mcu-ap-gpios:33maxItems: 134description:35Sensorhub to Application Processor - used during communication3637mcu-reset-gpios:38maxItems: 139description:40Reset the sensorhub.4142required:43- compatible44- reg45- interrupts46- ap-mcu-gpios47- mcu-ap-gpios48- mcu-reset-gpios4950allOf:51- $ref: /schemas/spi/spi-peripheral-props.yaml#5253unevaluatedProperties: false5455examples:56- |57spi {58#address-cells = <1>;59#size-cells = <0>;6061sensorhub@0 {62compatible = "samsung,sensorhub-rinato";63reg = <0>;64spi-max-frequency = <5000000>;65interrupt-parent = <&gpx0>;66interrupts = <2 0>;67ap-mcu-gpios = <&gpx0 0 0>;68mcu-ap-gpios = <&gpx0 4 0>;69mcu-reset-gpios = <&gpx0 5 0>;70};71};72...737475