Samsung Sensorhub driver
Schema identifier ($id): "http://devicetree.org/schemas/iio/samsung,sensorhub-rinato.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Sensorhub is a MCU which manages several sensors and also plays the role of a virtual sensor device.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,sensorhub-rinato", "samsung,sensorhub-thermostat"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
ap-mcu-gpios — required here #
Maximum number of items (maxItems): 1
Application Processor to sensorhub line - used during communication
mcu-ap-gpios — required here #
Maximum number of items (maxItems): 1
Sensorhub to Application Processor - used during communication
mcu-reset-gpios — required here #
Maximum number of items (maxItems): 1
Reset the sensorhub.
Required in this object (required): "compatible", "reg", "interrupts", "ap-mcu-gpios", "mcu-ap-gpios", "mcu-reset-gpios"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi {
#address-cells = <1>;
#size-cells = <0>;
sensorhub@0 {
compatible = "samsung,sensorhub-rinato";
reg = <0>;
spi-max-frequency = <5000000>;
interrupt-parent = <&gpx0>;
interrupts = <2 0>;
ap-mcu-gpios = <&gpx0 0 0>;
mcu-ap-gpios = <&gpx0 4 0>;
mcu-reset-gpios = <&gpx0 5 0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)