mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 17:15:46 -04:00
Pull devicetree updates from Rob Herring:
"Bindings:
- Convert smsc,lan91c111, qcom,spi-qup, qcom,msm-uartdm,
qcom,i2c-qup, qcom,gsbi, i2c-mt65xx, TI wkup_m3_ipc (and new
props), qcom,smp2p, TI timer, Mediatek gnss, Mediatek topckgen,
Mediatek apmixedsys, Mediatek infracfg, fsl,ls-extirq,
fsl,layerscape-dcfg, QCom PMIC SPMI, rda,8810pl-timer, Xilinx
zynqmp_ipi, uniphier-pcie, and Ilitek touchscreen controllers
- Convert various Arm Ltd peripheral IP bindings to schemas
- New bindings for Menlo board CPLD, DH electronics board CPLD,
Qualcomm Geni based QUP I2C, Renesas RZ/G2UL OSTM, Broafcom BCM4751
GNSS, MT6360 PMIC, ASIX USB Ethernet controllers, and
Microchip/SMSC LAN95xx USB Ethernet controllers
- Add vendor prefix for Enclustra
- Add various compatible string additions
- Various example fixes and cleanups
- Remove unused hisilicon,hi6220-reset binding
- Treewide fix properties missing type definition
- Drop some empty and unreferenced .txt bindings
- Documentation improvements for writing schemas
DT driver core:
- Drop static IRQ resources for DT platform devices as IRQ setup is
dynamic and drivers have all been converted to use
platform_get_irq() and friends
- Rework memory allocations and frees for overlays
- Continue overlay notifier callbacks on successful calls and add
unittests
- Handle 'interrupts-extended' in early DT IRQ setup
- Fix of_property_read_string() errors to match documentation
- Ignore disabled nodes in FDT API calls"
* tag 'devicetree-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (86 commits)
of/irq: fix typo in comment
dt-bindings: Fix properties without any type
Revert "dt-bindings: mailbox: qcom-ipcc: add missing properties into example"
dt-bindings: input: touchscreen: ilitek_ts_i2c: Absorb ili2xxx bindings
dt-bindings: timer: samsung,exynos4210-mct: define strict clock order
dt-bindings: timer: samsung,exynos4210-mct: drop unneeded minItems
dt-bindings: timer: cdns,ttc: drop unneeded minItems
dt-bindings: mailbox: zynqmp_ipi: convert to yaml
dt-bindings: usb: ci-hdrc-usb2: fix node node for ethernet controller
dt-bindings: net: add schema for Microchip/SMSC LAN95xx USB Ethernet controllers
dt-bindings: net: add schema for ASIX USB Ethernet controllers
of/fdt: Ignore disabled memory nodes
dt-bindings: arm: fix typos in compatible
dt-bindings: mfd: Add bindings child nodes for the Mediatek MT6360
dt-bindings: display: convert Arm Komeda to DT schema
dt-bindings: display: convert Arm Mali-DP to DT schema
dt-bindings: display: convert Arm HDLCD to DT schema
dt-bindings: display: convert PL110/PL111 to DT schema
dt-bindings: arm: convert vexpress-config to DT schema
dt-bindings: arm: convert vexpress-sysregs to DT schema
...
106 lines
2.9 KiB
YAML
106 lines
2.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/hwmon/adt7475.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ADT7475 hwmon sensor
|
|
|
|
maintainers:
|
|
- Jean Delvare <jdelvare@suse.com>
|
|
|
|
description: |
|
|
The ADT7473, ADT7475, ADT7476, and ADT7490 are thermal monitors and multiple
|
|
PWN fan controllers.
|
|
|
|
They support monitoring and controlling up to four fans (the ADT7490 can only
|
|
control up to three). They support reading a single on chip temperature
|
|
sensor and two off chip temperature sensors (the ADT7490 additionally
|
|
supports measuring up to three current external temperature sensors with
|
|
series resistance cancellation (SRC)).
|
|
|
|
Datasheets:
|
|
https://www.onsemi.com/pub/Collateral/ADT7473-D.PDF
|
|
https://www.onsemi.com/pub/Collateral/ADT7475-D.PDF
|
|
https://www.onsemi.com/pub/Collateral/ADT7476-D.PDF
|
|
https://www.onsemi.com/pub/Collateral/ADT7490-D.PDF
|
|
|
|
Description taken from onsemiconductors specification sheets, with minor
|
|
rephrasing.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- adi,adt7473
|
|
- adi,adt7475
|
|
- adi,adt7476
|
|
- adi,adt7490
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
adi,pwm-active-state:
|
|
description: |
|
|
Integer array, represents the active state of the pwm outputs If set to 0
|
|
the pwm uses a logic low output for 100% duty cycle. If set to 1 the pwm
|
|
uses a logic high output for 100% duty cycle.
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
minItems: 3
|
|
maxItems: 3
|
|
items:
|
|
enum: [0, 1]
|
|
default: 1
|
|
|
|
patternProperties:
|
|
"^adi,bypass-attenuator-in[0-4]$":
|
|
description: |
|
|
Configures bypassing the individual voltage input attenuator. If
|
|
set to 1 the attenuator is bypassed if set to 0 the attenuator is
|
|
not bypassed. If the property is absent then the attenuator
|
|
retains it's configuration from the bios/bootloader.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum: [0, 1]
|
|
|
|
"adi,pin(5|10)-function":
|
|
description: |
|
|
Configures the function for pin 5 on the adi,adt7473 and adi,adt7475. Or
|
|
pin 10 on the adi,adt7476 and adi,adt7490.
|
|
$ref: /schemas/types.yaml#/definitions/string
|
|
enum:
|
|
- pwm2
|
|
- smbalert#
|
|
|
|
"adi,pin(9|14)-function":
|
|
description: |
|
|
Configures the function for pin 9 on the adi,adt7473 and adi,adt7475. Or
|
|
pin 14 on the adi,adt7476 and adi,adt7490
|
|
$ref: /schemas/types.yaml#/definitions/string
|
|
enum:
|
|
- tach4
|
|
- therm#
|
|
- smbalert#
|
|
- gpio
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
hwmon@2e {
|
|
compatible = "adi,adt7476";
|
|
reg = <0x2e>;
|
|
adi,bypass-attenuator-in0 = <1>;
|
|
adi,bypass-attenuator-in1 = <0>;
|
|
adi,pwm-active-state = <1 0 1>;
|
|
adi,pin10-function = "smbalert#";
|
|
adi,pin14-function = "tach4";
|
|
};
|
|
};
|