15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Samsung Sensorhub driver 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Jonathan Cameron <jic23@kernel.org> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: | 135def4c47SEmmanuel Vadot Sensorhub is a MCU which manages several sensors and also plays the role 145def4c47SEmmanuel Vadot of a virtual sensor device. 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot compatible: 185def4c47SEmmanuel Vadot enum: 195def4c47SEmmanuel Vadot - samsung,sensorhub-rinato 205def4c47SEmmanuel Vadot - samsung,sensorhub-thermostat 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot reg: 235def4c47SEmmanuel Vadot maxItems: 1 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot interrupts: 265def4c47SEmmanuel Vadot maxItems: 1 275def4c47SEmmanuel Vadot 285def4c47SEmmanuel Vadot ap-mcu-gpios: 295def4c47SEmmanuel Vadot maxItems: 1 305def4c47SEmmanuel Vadot description: 315def4c47SEmmanuel Vadot Application Processor to sensorhub line - used during communication 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot mcu-ap-gpios: 345def4c47SEmmanuel Vadot maxItems: 1 355def4c47SEmmanuel Vadot description: 365def4c47SEmmanuel Vadot Sensorhub to Application Processor - used during communication 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot mcu-reset-gpios: 395def4c47SEmmanuel Vadot maxItems: 1 405def4c47SEmmanuel Vadot description: 415def4c47SEmmanuel Vadot Reset the sensorhub. 425def4c47SEmmanuel Vadot 435def4c47SEmmanuel Vadotrequired: 445def4c47SEmmanuel Vadot - compatible 455def4c47SEmmanuel Vadot - reg 465def4c47SEmmanuel Vadot - interrupts 475def4c47SEmmanuel Vadot - ap-mcu-gpios 485def4c47SEmmanuel Vadot - mcu-ap-gpios 495def4c47SEmmanuel Vadot - mcu-reset-gpios 505def4c47SEmmanuel Vadot 51*7ef62cebSEmmanuel VadotallOf: 52*7ef62cebSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 53*7ef62cebSEmmanuel Vadot 54*7ef62cebSEmmanuel VadotunevaluatedProperties: false 55*7ef62cebSEmmanuel Vadot 565def4c47SEmmanuel Vadotexamples: 575def4c47SEmmanuel Vadot - | 585def4c47SEmmanuel Vadot spi { 595def4c47SEmmanuel Vadot #address-cells = <1>; 605def4c47SEmmanuel Vadot #size-cells = <0>; 615def4c47SEmmanuel Vadot 625def4c47SEmmanuel Vadot sensorhub@0 { 635def4c47SEmmanuel Vadot compatible = "samsung,sensorhub-rinato"; 645def4c47SEmmanuel Vadot reg = <0>; 655def4c47SEmmanuel Vadot spi-max-frequency = <5000000>; 665def4c47SEmmanuel Vadot interrupt-parent = <&gpx0>; 675def4c47SEmmanuel Vadot interrupts = <2 0>; 685def4c47SEmmanuel Vadot ap-mcu-gpios = <&gpx0 0 0>; 695def4c47SEmmanuel Vadot mcu-ap-gpios = <&gpx0 4 0>; 705def4c47SEmmanuel Vadot mcu-reset-gpios = <&gpx0 5 0>; 715def4c47SEmmanuel Vadot }; 725def4c47SEmmanuel Vadot }; 735def4c47SEmmanuel Vadot... 74