Skip to content

tests: add pytest-based pm device test for bee series#220

Open
YuzhuoLiuRTK wants to merge 2 commits into
rtkconnectivity:realtek-main-v3.7from
YuzhuoLiuRTK:downstream/realtek-main-v3.7/pm-device-test
Open

tests: add pytest-based pm device test for bee series#220
YuzhuoLiuRTK wants to merge 2 commits into
rtkconnectivity:realtek-main-v3.7from
YuzhuoLiuRTK:downstream/realtek-main-v3.7/pm-device-test

Conversation

@YuzhuoLiuRTK

Copy link
Copy Markdown
Collaborator

Add PM device test for rtl87x2g drivers:

  • uart, gpio, input_kscan, pwm, aon_qdec, adc, spi, i2c, sdhc, can

Add PM device test for rtl8752h drivers:

  • uart, gpio, input_kscan, pwm, qdec, adc, spi, i2c

Usage (choose one):
west build -p -b rtl87x2g_evb tests/pm_device_test
pytest pm_device_pytest/test_pm_all.py --shell-port=COM10 --dma-port=COM21
or
west twister -p rtl87x2g_evb -T tests/pm_device_test --device-testing
--device-serial=COM10 --pytest-args="--dma-port=COM21

Pass tests/drivers/can/api test.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
@YuzhuoLiuRTK YuzhuoLiuRTK changed the title Add pytest-based pm device test tests: add pytest-based pm device test for bee series Apr 3, 2026
Add PM device test for rtl87x2g drivers:
- uart, gpio, input_kscan, pwm, aon_qdec, adc, spi, i2c, sdhc, can

Add PM device test for rtl8752h drivers:
- uart, gpio, input_kscan, pwm, qdec, adc, spi, i2c

Usage (choose one):
  west build -p -b rtl87x2g_evb tests/pm_device_test
  pytest pm_device_pytest/test_pm_all.py --shell-port=COM10 --dma-port=COM21
  or
  west twister -p rtl87x2g_evb -T tests/pm_device_test --device-testing
  --device-serial=COM10 --pytest-args="--dma-port=COM21

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
@YuzhuoLiuRTK YuzhuoLiuRTK force-pushed the downstream/realtek-main-v3.7/pm-device-test branch from 7eb7941 to 9833a3f Compare April 3, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant