driver: adc: npcx: remove threshold-reg-offset
DT property
Remove `threshold-reg-offset` DT property and implement them with static inline functions in `reg_def.h` Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
d2892c1123
commit
eacdadf270
6 changed files with 32 additions and 42 deletions
|
@ -24,10 +24,6 @@ properties:
|
|||
type: int
|
||||
required: true
|
||||
description: the number of ADC channels
|
||||
threshold-reg-offset:
|
||||
type: int
|
||||
required: true
|
||||
description: the offset of threshold detector register address
|
||||
threshold-count:
|
||||
type: int
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue