mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Drop includes of headers which example code does not use. No functional impact. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: David Heidelberg <david@ixit.cz> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20250724111345.47889-5-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/magnetometer/voltafield,af8133j.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Voltafield AF8133J magnetometer sensor
|
|
|
|
maintainers:
|
|
- Ondřej Jirman <megi@xff.cz>
|
|
|
|
properties:
|
|
compatible:
|
|
const: voltafield,af8133j
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
reset-gpios:
|
|
description:
|
|
A signal for active low reset input of the sensor. (optional; if not
|
|
used, software reset over I2C will be used instead)
|
|
|
|
avdd-supply:
|
|
description:
|
|
A regulator that provides AVDD power (Working power, usually 3.3V) to
|
|
the sensor.
|
|
|
|
dvdd-supply:
|
|
description:
|
|
A regulator that provides DVDD power (Digital IO power, 1.8V - AVDD)
|
|
to the sensor.
|
|
|
|
mount-matrix:
|
|
description: An optional 3x3 mounting rotation matrix.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- avdd-supply
|
|
- dvdd-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
magnetometer@1c {
|
|
compatible = "voltafield,af8133j";
|
|
reg = <0x1c>;
|
|
avdd-supply = <®_dldo1>;
|
|
dvdd-supply = <®_dldo1>;
|
|
reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|