diff --git a/doc/_scripts/redirects.py b/doc/_scripts/redirects.py index 0ab053db7e..64130c7f87 100644 --- a/doc/_scripts/redirects.py +++ b/doc/_scripts/redirects.py @@ -181,6 +181,7 @@ REDIRECTS = [ ('reference/usermode/overview', 'kernel/usermode/overview'), ('reference/usermode/syscalls', 'kernel/usermode/syscalls'), ('reference/util/index', 'kernel/util/index'), + ('samples/drivers/adc/README', 'samples/drivers/adc/adc_dt/README'), ('samples/drivers/kscan_touch', 'samples/subsys/input/input'), ('samples/drivers/led_apa102/README', 'samples/drivers/led_strip/README'), ('samples/drivers/led_lpd8806/README', 'samples/drivers/led_strip/README'), diff --git a/samples/drivers/adc/CMakeLists.txt b/samples/drivers/adc/adc_dt/CMakeLists.txt similarity index 100% rename from samples/drivers/adc/CMakeLists.txt rename to samples/drivers/adc/adc_dt/CMakeLists.txt diff --git a/samples/drivers/adc/README.rst b/samples/drivers/adc/adc_dt/README.rst similarity index 89% rename from samples/drivers/adc/README.rst rename to samples/drivers/adc/adc_dt/README.rst index b91867e2ff..af185f5caa 100644 --- a/samples/drivers/adc/README.rst +++ b/samples/drivers/adc/adc_dt/README.rst @@ -1,5 +1,5 @@ -.. zephyr:code-sample:: adc - :name: Analog-to-Digital Converter (ADC) +.. zephyr:code-sample:: adc_dt + :name: Analog-to-Digital Converter (ADC) with devicetree :relevant-api: adc_interface Read analog inputs from ADC channels. @@ -31,7 +31,7 @@ Configuration of channels (settings like gain, reference, or acquisition time) also needs to be specified in devicetree, in ADC controller child nodes. Also the ADC resolution and oversampling setting (if used) need to be specified there. See :zephyr_file:`boards/nrf52840dk_nrf52840.overlay -` for an example of +` for an example of such setup. Building and Running for ST Nucleo L073RZ @@ -41,7 +41,7 @@ The sample can be built and executed for the :ref:`nucleo_l073rz_board` as follows: .. zephyr-app-commands:: - :zephyr-app: samples/drivers/adc + :zephyr-app: samples/drivers/adc/adc_dt :board: nucleo_l073rz :goals: build flash :compact: diff --git a/samples/drivers/adc/boards/cc1352r1_launchxl.overlay b/samples/drivers/adc/adc_dt/boards/cc1352r1_launchxl.overlay similarity index 100% rename from samples/drivers/adc/boards/cc1352r1_launchxl.overlay rename to samples/drivers/adc/adc_dt/boards/cc1352r1_launchxl.overlay diff --git a/samples/drivers/adc/boards/cc1352r_sensortag.overlay b/samples/drivers/adc/adc_dt/boards/cc1352r_sensortag.overlay similarity index 100% rename from samples/drivers/adc/boards/cc1352r_sensortag.overlay rename to samples/drivers/adc/adc_dt/boards/cc1352r_sensortag.overlay diff --git a/samples/drivers/adc/boards/cc26x2r1_launchxl.overlay b/samples/drivers/adc/adc_dt/boards/cc26x2r1_launchxl.overlay similarity index 100% rename from samples/drivers/adc/boards/cc26x2r1_launchxl.overlay rename to samples/drivers/adc/adc_dt/boards/cc26x2r1_launchxl.overlay diff --git a/samples/drivers/adc/boards/cc3220sf_launchxl.overlay b/samples/drivers/adc/adc_dt/boards/cc3220sf_launchxl.overlay similarity index 100% rename from samples/drivers/adc/boards/cc3220sf_launchxl.overlay rename to samples/drivers/adc/adc_dt/boards/cc3220sf_launchxl.overlay diff --git a/samples/drivers/adc/boards/cc3235sf_launchxl.overlay b/samples/drivers/adc/adc_dt/boards/cc3235sf_launchxl.overlay similarity index 100% rename from samples/drivers/adc/boards/cc3235sf_launchxl.overlay rename to samples/drivers/adc/adc_dt/boards/cc3235sf_launchxl.overlay diff --git a/samples/drivers/adc/boards/cy8cproto_062_4343w.overlay b/samples/drivers/adc/adc_dt/boards/cy8cproto_062_4343w.overlay similarity index 100% rename from samples/drivers/adc/boards/cy8cproto_062_4343w.overlay rename to samples/drivers/adc/adc_dt/boards/cy8cproto_062_4343w.overlay diff --git a/samples/drivers/adc/boards/cy8cproto_063_ble.overlay b/samples/drivers/adc/adc_dt/boards/cy8cproto_063_ble.overlay similarity index 100% rename from samples/drivers/adc/boards/cy8cproto_063_ble.overlay rename to samples/drivers/adc/adc_dt/boards/cy8cproto_063_ble.overlay diff --git a/samples/drivers/adc/boards/da1469x_dk_pro.overlay b/samples/drivers/adc/adc_dt/boards/da1469x_dk_pro.overlay similarity index 100% rename from samples/drivers/adc/boards/da1469x_dk_pro.overlay rename to samples/drivers/adc/adc_dt/boards/da1469x_dk_pro.overlay diff --git a/samples/drivers/adc/boards/disco_l475_iot1.overlay b/samples/drivers/adc/adc_dt/boards/disco_l475_iot1.overlay similarity index 100% rename from samples/drivers/adc/boards/disco_l475_iot1.overlay rename to samples/drivers/adc/adc_dt/boards/disco_l475_iot1.overlay diff --git a/samples/drivers/adc/boards/efm32pg_stk3402a.overlay b/samples/drivers/adc/adc_dt/boards/efm32pg_stk3402a.overlay similarity index 100% rename from samples/drivers/adc/boards/efm32pg_stk3402a.overlay rename to samples/drivers/adc/adc_dt/boards/efm32pg_stk3402a.overlay diff --git a/samples/drivers/adc/boards/esp32_devkitc_wroom_procpu.overlay b/samples/drivers/adc/adc_dt/boards/esp32_devkitc_wroom_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32_devkitc_wroom_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/esp32_devkitc_wroom_procpu.overlay diff --git a/samples/drivers/adc/boards/esp32_devkitc_wrover_procpu.overlay b/samples/drivers/adc/adc_dt/boards/esp32_devkitc_wrover_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32_devkitc_wrover_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/esp32_devkitc_wrover_procpu.overlay diff --git a/samples/drivers/adc/boards/esp32c3_devkitm.overlay b/samples/drivers/adc/adc_dt/boards/esp32c3_devkitm.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32c3_devkitm.overlay rename to samples/drivers/adc/adc_dt/boards/esp32c3_devkitm.overlay diff --git a/samples/drivers/adc/boards/esp32c3_luatos_core.overlay b/samples/drivers/adc/adc_dt/boards/esp32c3_luatos_core.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32c3_luatos_core.overlay rename to samples/drivers/adc/adc_dt/boards/esp32c3_luatos_core.overlay diff --git a/samples/drivers/adc/boards/esp32c3_luatos_core_esp32c3_usb.overlay b/samples/drivers/adc/adc_dt/boards/esp32c3_luatos_core_esp32c3_usb.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32c3_luatos_core_esp32c3_usb.overlay rename to samples/drivers/adc/adc_dt/boards/esp32c3_luatos_core_esp32c3_usb.overlay diff --git a/samples/drivers/adc/boards/esp32s2_saola.overlay b/samples/drivers/adc/adc_dt/boards/esp32s2_saola.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32s2_saola.overlay rename to samples/drivers/adc/adc_dt/boards/esp32s2_saola.overlay diff --git a/samples/drivers/adc/boards/esp32s3_devkitm_procpu.overlay b/samples/drivers/adc/adc_dt/boards/esp32s3_devkitm_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32s3_devkitm_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/esp32s3_devkitm_procpu.overlay diff --git a/samples/drivers/adc/boards/esp32s3_luatos_core_procpu.overlay b/samples/drivers/adc/adc_dt/boards/esp32s3_luatos_core_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32s3_luatos_core_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/esp32s3_luatos_core_procpu.overlay diff --git a/samples/drivers/adc/boards/esp32s3_luatos_core_procpu_usb.overlay b/samples/drivers/adc/adc_dt/boards/esp32s3_luatos_core_procpu_usb.overlay similarity index 100% rename from samples/drivers/adc/boards/esp32s3_luatos_core_procpu_usb.overlay rename to samples/drivers/adc/adc_dt/boards/esp32s3_luatos_core_procpu_usb.overlay diff --git a/samples/drivers/adc/boards/ev11l78a.overlay b/samples/drivers/adc/adc_dt/boards/ev11l78a.overlay similarity index 100% rename from samples/drivers/adc/boards/ev11l78a.overlay rename to samples/drivers/adc/adc_dt/boards/ev11l78a.overlay diff --git a/samples/drivers/adc/boards/frdm_k64f.overlay b/samples/drivers/adc/adc_dt/boards/frdm_k64f.overlay similarity index 100% rename from samples/drivers/adc/boards/frdm_k64f.overlay rename to samples/drivers/adc/adc_dt/boards/frdm_k64f.overlay diff --git a/samples/drivers/adc/boards/gd32a503v_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32a503v_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32a503v_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32a503v_eval.overlay diff --git a/samples/drivers/adc/boards/gd32f350r_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32f350r_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32f350r_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32f350r_eval.overlay diff --git a/samples/drivers/adc/boards/gd32f403z_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32f403z_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32f403z_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32f403z_eval.overlay diff --git a/samples/drivers/adc/boards/gd32f450i_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32f450i_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32f450i_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32f450i_eval.overlay diff --git a/samples/drivers/adc/boards/gd32l233r_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32l233r_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32l233r_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32l233r_eval.overlay diff --git a/samples/drivers/adc/boards/gd32vf103v_eval.overlay b/samples/drivers/adc/adc_dt/boards/gd32vf103v_eval.overlay similarity index 100% rename from samples/drivers/adc/boards/gd32vf103v_eval.overlay rename to samples/drivers/adc/adc_dt/boards/gd32vf103v_eval.overlay diff --git a/samples/drivers/adc/boards/longan_nano.overlay b/samples/drivers/adc/adc_dt/boards/longan_nano.overlay similarity index 100% rename from samples/drivers/adc/boards/longan_nano.overlay rename to samples/drivers/adc/adc_dt/boards/longan_nano.overlay diff --git a/samples/drivers/adc/boards/longan_nano_gd32vf103_lite.overlay b/samples/drivers/adc/adc_dt/boards/longan_nano_gd32vf103_lite.overlay similarity index 100% rename from samples/drivers/adc/boards/longan_nano_gd32vf103_lite.overlay rename to samples/drivers/adc/adc_dt/boards/longan_nano_gd32vf103_lite.overlay diff --git a/samples/drivers/adc/boards/lpcxpresso55s36.overlay b/samples/drivers/adc/adc_dt/boards/lpcxpresso55s36.overlay similarity index 100% rename from samples/drivers/adc/boards/lpcxpresso55s36.overlay rename to samples/drivers/adc/adc_dt/boards/lpcxpresso55s36.overlay diff --git a/samples/drivers/adc/boards/lpcxpresso55s69_lpc55s69_cpu0.overlay b/samples/drivers/adc/adc_dt/boards/lpcxpresso55s69_lpc55s69_cpu0.overlay similarity index 100% rename from samples/drivers/adc/boards/lpcxpresso55s69_lpc55s69_cpu0.overlay rename to samples/drivers/adc/adc_dt/boards/lpcxpresso55s69_lpc55s69_cpu0.overlay diff --git a/samples/drivers/adc/boards/mec15xxevb_assy6853.overlay b/samples/drivers/adc/adc_dt/boards/mec15xxevb_assy6853.overlay similarity index 100% rename from samples/drivers/adc/boards/mec15xxevb_assy6853.overlay rename to samples/drivers/adc/adc_dt/boards/mec15xxevb_assy6853.overlay diff --git a/samples/drivers/adc/boards/mec172xevb_assy6906.overlay b/samples/drivers/adc/adc_dt/boards/mec172xevb_assy6906.overlay similarity index 100% rename from samples/drivers/adc/boards/mec172xevb_assy6906.overlay rename to samples/drivers/adc/adc_dt/boards/mec172xevb_assy6906.overlay diff --git a/samples/drivers/adc/boards/mimxrt1010_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1010_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1010_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1010_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1015_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1015_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1015_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1015_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1020_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1020_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1020_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1020_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1024_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1024_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1024_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1024_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1040_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1040_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1040_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1040_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1050_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1050_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1050_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1050_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1060_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1060_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1060_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1060_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1064_evk.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1064_evk.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1064_evk.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1064_evk.overlay diff --git a/samples/drivers/adc/boards/mimxrt1160_evk_mimxrt1166_cm7.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1160_evk_mimxrt1166_cm7.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1160_evk_mimxrt1166_cm7.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1160_evk_mimxrt1166_cm7.overlay diff --git a/samples/drivers/adc/boards/mimxrt1170_evk_mimxrt1176_cm7_A.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1170_evk_mimxrt1176_cm7_A.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1170_evk_mimxrt1176_cm7_A.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1170_evk_mimxrt1176_cm7_A.overlay diff --git a/samples/drivers/adc/boards/mimxrt1170_evk_mimxrt1176_cm7_B.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt1170_evk_mimxrt1176_cm7_B.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt1170_evk_mimxrt1176_cm7_B.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt1170_evk_mimxrt1176_cm7_B.overlay diff --git a/samples/drivers/adc/boards/mimxrt595_evk_mimxrt595s_cm33.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt595_evk_mimxrt595s_cm33.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt595_evk_mimxrt595s_cm33.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt595_evk_mimxrt595s_cm33.overlay diff --git a/samples/drivers/adc/boards/mimxrt685_evk_mimxrt685s_cm33.overlay b/samples/drivers/adc/adc_dt/boards/mimxrt685_evk_mimxrt685s_cm33.overlay similarity index 100% rename from samples/drivers/adc/boards/mimxrt685_evk_mimxrt685s_cm33.overlay rename to samples/drivers/adc/adc_dt/boards/mimxrt685_evk_mimxrt685s_cm33.overlay diff --git a/samples/drivers/adc/boards/mr_canhubk3.overlay b/samples/drivers/adc/adc_dt/boards/mr_canhubk3.overlay similarity index 100% rename from samples/drivers/adc/boards/mr_canhubk3.overlay rename to samples/drivers/adc/adc_dt/boards/mr_canhubk3.overlay diff --git a/samples/drivers/adc/boards/nrf51dk_nrf51822.overlay b/samples/drivers/adc/adc_dt/boards/nrf51dk_nrf51822.overlay similarity index 100% rename from samples/drivers/adc/boards/nrf51dk_nrf51822.overlay rename to samples/drivers/adc/adc_dt/boards/nrf51dk_nrf51822.overlay diff --git a/samples/drivers/adc/boards/nrf52840dk_nrf52840.overlay b/samples/drivers/adc/adc_dt/boards/nrf52840dk_nrf52840.overlay similarity index 100% rename from samples/drivers/adc/boards/nrf52840dk_nrf52840.overlay rename to samples/drivers/adc/adc_dt/boards/nrf52840dk_nrf52840.overlay diff --git a/samples/drivers/adc/boards/nucleo_c031c6.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_c031c6.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_c031c6.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_c031c6.overlay diff --git a/samples/drivers/adc/boards/nucleo_h7a3zi_q.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_h7a3zi_q.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_h7a3zi_q.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_h7a3zi_q.overlay diff --git a/samples/drivers/adc/boards/nucleo_l073rz.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_l073rz.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_l073rz.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_l073rz.overlay diff --git a/samples/drivers/adc/boards/nucleo_l552ze_q.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_l552ze_q.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_l552ze_q.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_l552ze_q.overlay diff --git a/samples/drivers/adc/boards/nucleo_u575zi_q.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_u575zi_q.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_u575zi_q.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_u575zi_q.overlay diff --git a/samples/drivers/adc/boards/nucleo_wba52cg.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_wba52cg.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_wba52cg.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_wba52cg.overlay diff --git a/samples/drivers/adc/boards/nucleo_wl55jc.overlay b/samples/drivers/adc/adc_dt/boards/nucleo_wl55jc.overlay similarity index 100% rename from samples/drivers/adc/boards/nucleo_wl55jc.overlay rename to samples/drivers/adc/adc_dt/boards/nucleo_wl55jc.overlay diff --git a/samples/drivers/adc/boards/robokit1.overlay b/samples/drivers/adc/adc_dt/boards/robokit1.overlay similarity index 100% rename from samples/drivers/adc/boards/robokit1.overlay rename to samples/drivers/adc/adc_dt/boards/robokit1.overlay diff --git a/samples/drivers/adc/boards/rpi_pico.overlay b/samples/drivers/adc/adc_dt/boards/rpi_pico.overlay similarity index 100% rename from samples/drivers/adc/boards/rpi_pico.overlay rename to samples/drivers/adc/adc_dt/boards/rpi_pico.overlay diff --git a/samples/drivers/adc/boards/sam4e_xpro.overlay b/samples/drivers/adc/adc_dt/boards/sam4e_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/sam4e_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/sam4e_xpro.overlay diff --git a/samples/drivers/adc/boards/sam4s_xplained.overlay b/samples/drivers/adc/adc_dt/boards/sam4s_xplained.overlay similarity index 100% rename from samples/drivers/adc/boards/sam4s_xplained.overlay rename to samples/drivers/adc/adc_dt/boards/sam4s_xplained.overlay diff --git a/samples/drivers/adc/boards/sam_e70_xplained_same70q21.overlay b/samples/drivers/adc/adc_dt/boards/sam_e70_xplained_same70q21.overlay similarity index 100% rename from samples/drivers/adc/boards/sam_e70_xplained_same70q21.overlay rename to samples/drivers/adc/adc_dt/boards/sam_e70_xplained_same70q21.overlay diff --git a/samples/drivers/adc/boards/sam_v71_xult_samv71q21.overlay b/samples/drivers/adc/adc_dt/boards/sam_v71_xult_samv71q21.overlay similarity index 100% rename from samples/drivers/adc/boards/sam_v71_xult_samv71q21.overlay rename to samples/drivers/adc/adc_dt/boards/sam_v71_xult_samv71q21.overlay diff --git a/samples/drivers/adc/boards/samc21n_xpro.overlay b/samples/drivers/adc/adc_dt/boards/samc21n_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/samc21n_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/samc21n_xpro.overlay diff --git a/samples/drivers/adc/boards/samd21_xpro.overlay b/samples/drivers/adc/adc_dt/boards/samd21_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/samd21_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/samd21_xpro.overlay diff --git a/samples/drivers/adc/boards/same54_xpro.overlay b/samples/drivers/adc/adc_dt/boards/same54_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/same54_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/same54_xpro.overlay diff --git a/samples/drivers/adc/boards/saml21_xpro.overlay b/samples/drivers/adc/adc_dt/boards/saml21_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/saml21_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/saml21_xpro.overlay diff --git a/samples/drivers/adc/boards/samr21_xpro.overlay b/samples/drivers/adc/adc_dt/boards/samr21_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/samr21_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/samr21_xpro.overlay diff --git a/samples/drivers/adc/boards/samr34_xpro.overlay b/samples/drivers/adc/adc_dt/boards/samr34_xpro.overlay similarity index 100% rename from samples/drivers/adc/boards/samr34_xpro.overlay rename to samples/drivers/adc/adc_dt/boards/samr34_xpro.overlay diff --git a/samples/drivers/adc/boards/stm32h573i_dk.overlay b/samples/drivers/adc/adc_dt/boards/stm32h573i_dk.overlay similarity index 100% rename from samples/drivers/adc/boards/stm32h573i_dk.overlay rename to samples/drivers/adc/adc_dt/boards/stm32h573i_dk.overlay diff --git a/samples/drivers/adc/boards/stm32h735g_disco.overlay b/samples/drivers/adc/adc_dt/boards/stm32h735g_disco.overlay similarity index 100% rename from samples/drivers/adc/boards/stm32h735g_disco.overlay rename to samples/drivers/adc/adc_dt/boards/stm32h735g_disco.overlay diff --git a/samples/drivers/adc/boards/stm32l496g_disco.overlay b/samples/drivers/adc/adc_dt/boards/stm32l496g_disco.overlay similarity index 100% rename from samples/drivers/adc/boards/stm32l496g_disco.overlay rename to samples/drivers/adc/adc_dt/boards/stm32l496g_disco.overlay diff --git a/samples/drivers/adc/boards/stm32l562e_dk.overlay b/samples/drivers/adc/adc_dt/boards/stm32l562e_dk.overlay similarity index 100% rename from samples/drivers/adc/boards/stm32l562e_dk.overlay rename to samples/drivers/adc/adc_dt/boards/stm32l562e_dk.overlay diff --git a/samples/drivers/adc/boards/tlsr9518adk80d.overlay b/samples/drivers/adc/adc_dt/boards/tlsr9518adk80d.overlay similarity index 100% rename from samples/drivers/adc/boards/tlsr9518adk80d.overlay rename to samples/drivers/adc/adc_dt/boards/tlsr9518adk80d.overlay diff --git a/samples/drivers/adc/boards/xiao_esp32s3_procpu.overlay b/samples/drivers/adc/adc_dt/boards/xiao_esp32s3_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/xiao_esp32s3_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/xiao_esp32s3_procpu.overlay diff --git a/samples/drivers/adc/boards/xmc45_relax_kit.overlay b/samples/drivers/adc/adc_dt/boards/xmc45_relax_kit.overlay similarity index 100% rename from samples/drivers/adc/boards/xmc45_relax_kit.overlay rename to samples/drivers/adc/adc_dt/boards/xmc45_relax_kit.overlay diff --git a/samples/drivers/adc/boards/yd_esp32_procpu.overlay b/samples/drivers/adc/adc_dt/boards/yd_esp32_procpu.overlay similarity index 100% rename from samples/drivers/adc/boards/yd_esp32_procpu.overlay rename to samples/drivers/adc/adc_dt/boards/yd_esp32_procpu.overlay diff --git a/samples/drivers/adc/prj.conf b/samples/drivers/adc/adc_dt/prj.conf similarity index 100% rename from samples/drivers/adc/prj.conf rename to samples/drivers/adc/adc_dt/prj.conf diff --git a/samples/drivers/adc/sample.yaml b/samples/drivers/adc/adc_dt/sample.yaml similarity index 93% rename from samples/drivers/adc/sample.yaml rename to samples/drivers/adc/adc_dt/sample.yaml index 7b523ea062..a4d6c8f5fe 100644 --- a/samples/drivers/adc/sample.yaml +++ b/samples/drivers/adc/adc_dt/sample.yaml @@ -1,7 +1,7 @@ sample: - name: ADC driver sample + name: ADC devicetree driver sample tests: - sample.drivers.adc: + sample.drivers.adc.adc_dt: tags: - adc depends_on: adc diff --git a/samples/drivers/adc/src/main.c b/samples/drivers/adc/adc_dt/src/main.c similarity index 100% rename from samples/drivers/adc/src/main.c rename to samples/drivers/adc/adc_dt/src/main.c