STMicroelectronics ST95HF NFC controller
Schema identifier ($id): "http://devicetree.org/schemas/net/nfc/st,st95hf.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,st95hf"
enable-gpio — required here #
Output GPIO pin used for enabling/disabling the controller
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
st95hfvin-supply — not listed as required here #
ST95HF transceiver's Vin regulator supply
Required in this object (required): "compatible", "enable-gpio", "interrupts", "reg", "spi-max-frequency"
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) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
nfc@0{
compatible = "st,st95hf";
reg = <0>;
spi-max-frequency = <1000000>;
enable-gpio = <&pio4 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&pio0>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause