From 8408de7077819ac0f1bec79d7a827ba24c3986b3 Mon Sep 17 00:00:00 2001 From: Guillaume Gautier Date: Fri, 12 May 2023 15:24:19 +0200 Subject: [PATCH] dts: bindings: adc: add two compat for stm32 adc Add two compat for STM32F4-like (F2, F4, F7 & L1) and STM32F1-like (F1 & F37x) ADCs. Signed-off-by: Guillaume Gautier --- dts/bindings/adc/st,stm32f1-adc.yaml | 12 ++++++++++++ dts/bindings/adc/st,stm32f4-adc.yaml | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 dts/bindings/adc/st,stm32f1-adc.yaml create mode 100644 dts/bindings/adc/st,stm32f4-adc.yaml diff --git a/dts/bindings/adc/st,stm32f1-adc.yaml b/dts/bindings/adc/st,stm32f1-adc.yaml new file mode 100644 index 00000000000..7ccb23c3c68 --- /dev/null +++ b/dts/bindings/adc/st,stm32f1-adc.yaml @@ -0,0 +1,12 @@ +# Copyright (c) 2023 STMicroelectronics + +# SPDX-License-Identifier: Apache-2.0 + +description: | + ST STM32F1 family ADC + This compatible stands for all ADC blocks similar to the one on STM32F1, + like F37x. + +compatible: "st,stm32f1-adc" + +include: st,stm32-adc.yaml diff --git a/dts/bindings/adc/st,stm32f4-adc.yaml b/dts/bindings/adc/st,stm32f4-adc.yaml new file mode 100644 index 00000000000..a24769e1200 --- /dev/null +++ b/dts/bindings/adc/st,stm32f4-adc.yaml @@ -0,0 +1,12 @@ +# Copyright (c) 2023 STMicroelectronics + +# SPDX-License-Identifier: Apache-2.0 + +description: | + ST STM32F4 family ADC + This compatible stands for all ADC blocks similar to the one on STM32F4, + like F2, F7 or L1. + +compatible: "st,stm32f4-adc" + +include: st,stm32-adc.yaml