e2c0e220fd
Add VREF+ sensor driver and DT node definition. This driver allows determining the actual voltage applied to an SoC's VREF+ pin, by comparing the VREFINT internal bandgap voltage reference with its factory calibration data. In packages where VREF+ is bonded to VDDA, this permits direct measurement of VDDA voltage. Signed-off-by: Kenneth J. Miller <ken@miller.ec>
24 lines
600 B
YAML
24 lines
600 B
YAML
# Copyright (c) 2023 Kenneth J. Miller <ken@miller.ec>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: STM32 family VREF+ node
|
|
|
|
compatible: "st,stm32-vref"
|
|
|
|
include: sensor-device.yaml
|
|
|
|
properties:
|
|
vrefint-cal-addr:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
Device engineering bytes address containing the factory-measured
|
|
calibration bandgap voltage (VREFINT_CAL).
|
|
|
|
vrefint-cal-mv:
|
|
type: int
|
|
required: true
|
|
description: |
|
|
VDDA/VREF+ voltage in millivolts applied during manufacturing to determine
|
|
the internal bandgap voltage reference VREFINT.
|