dts: bindings: lpadc: Add regulator phandle prop
Add phandle prop to reference any regulator that must be enabled in order for the LPADC to function as intended. Change LPADC driver to use this property if present. LPADC on LPC55S36 depends on VREF peripheral, enable for this platform. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
15bc6a2389
commit
fe8b112efd
4 changed files with 30 additions and 1 deletions
|
@ -71,6 +71,10 @@ properties:
|
|||
required: true
|
||||
description: Offset value B to use if CONFIG_LPADC_DO_OFFSET_CALIBRATION is false
|
||||
|
||||
nxp,reference-supply:
|
||||
type: phandles
|
||||
description: References to required regulators which must be enabled for LPADC to function
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue