From 483a8df2f491007b45b83de3b157fb52895ac37c Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Fri, 29 Nov 2024 14:31:34 +0700 Subject: [PATCH] tests: drivers: i2c: Add support i2c_api test for RA4, RA2 Add conf and overlay to run i2c_api test on: ek_ra4w1, ek_ra4m2, ek_ra4m3, ek_ra2a1 Signed-off-by: Tri Nguyen Signed-off-by: Khoa Nguyen --- tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf | 1 + tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay | 6 ++++++ tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf | 1 + tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay | 6 ++++++ tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf | 1 + tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay | 6 ++++++ tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf | 1 + tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay | 6 ++++++ 8 files changed, 28 insertions(+) create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf create mode 100644 tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf b/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf new file mode 100644 index 00000000000000..83547b4fe7250a --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.conf @@ -0,0 +1 @@ +CONFIG_SENSOR_GY271_QMC=y diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay b/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay new file mode 100644 index 00000000000000..cce5441d28ee73 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra2a1.overlay @@ -0,0 +1,6 @@ +/ { + aliases { + i2c-0 = &iic0; + gy271 = &iic0; + }; +}; diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf b/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf new file mode 100644 index 00000000000000..83547b4fe7250a --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.conf @@ -0,0 +1 @@ +CONFIG_SENSOR_GY271_QMC=y diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay b/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay new file mode 100644 index 00000000000000..cce5441d28ee73 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4m2.overlay @@ -0,0 +1,6 @@ +/ { + aliases { + i2c-0 = &iic0; + gy271 = &iic0; + }; +}; diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf b/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf new file mode 100644 index 00000000000000..83547b4fe7250a --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.conf @@ -0,0 +1 @@ +CONFIG_SENSOR_GY271_QMC=y diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay b/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay new file mode 100644 index 00000000000000..cce5441d28ee73 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4m3.overlay @@ -0,0 +1,6 @@ +/ { + aliases { + i2c-0 = &iic0; + gy271 = &iic0; + }; +}; diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf b/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf new file mode 100644 index 00000000000000..83547b4fe7250a --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.conf @@ -0,0 +1 @@ +CONFIG_SENSOR_GY271_QMC=y diff --git a/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay b/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay new file mode 100644 index 00000000000000..cce5441d28ee73 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/ek_ra4w1.overlay @@ -0,0 +1,6 @@ +/ { + aliases { + i2c-0 = &iic0; + gy271 = &iic0; + }; +};