diff options
author | Dan Murphy | 2020-06-23 07:55:31 -0500 |
---|---|---|
committer | Dan Murphy | 2020-06-23 07:55:31 -0500 |
commit | 13976fbf2c4401a1cdd761a60f116efe4d2a49b0 (patch) | |
tree | 5d000a2ef76ba373bc4fb343a81da0d35b8234e5 | |
parent | 85a5a94f6c542140d8aba8817860cb5e71bdc666 (diff) | |
parent | 75d1088cfa52becd84c16aa272fe36e7955da5ad (diff) | |
download | ti-upstream-tools-13976fbf2c4401a1cdd761a60f116efe4d2a49b0.tar.gz ti-upstream-tools-13976fbf2c4401a1cdd761a60f116efe4d2a49b0.tar.xz ti-upstream-tools-13976fbf2c4401a1cdd761a60f116efe4d2a49b0.zip |
Merge pull request #6 in LCPDPUB/ti-upstream-tools from ~A0132425/ti-upstream-tools:ehrpwm to master
* commit '75d1088cfa52becd84c16aa272fe36e7955da5ad':
system_test_receipe: Add test suite for BBB ehrpwm overlay
system_test: am335x-boneblack-ehrpwm.dtso: Add a dtso to test ehrpwm
-rw-r--r-- | arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso | 29 | ||||
-rw-r--r-- | system_test/system_test_recipe | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso b/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso new file mode 100644 index 0000000..3d1774d --- /dev/null +++ b/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso | |||
@@ -0,0 +1,29 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
2 | /** | ||
3 | * DT overlay for BBB eHRPWM testing | ||
4 | * | ||
5 | * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ | ||
6 | */ | ||
7 | |||
8 | /dts-v1/; | ||
9 | /plugin/; | ||
10 | #include <dt-bindings/pinctrl/am33xx.h> | ||
11 | |||
12 | &am33xx_pinmux { | ||
13 | ehrpwm2_pins_default: ehrpwm2_pins_default { | ||
14 | pinctrl-single,pins = < | ||
15 | AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE4 ) /* (R1) lcd_data0.ehrpwm2A */ | ||
16 | AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE4 ) /* (R2) lcd_data1.ehrpwm2B */ | ||
17 | >; | ||
18 | }; | ||
19 | }; | ||
20 | |||
21 | &epwmss2 { | ||
22 | status = "okay"; | ||
23 | }; | ||
24 | |||
25 | &ehrpwm2 { | ||
26 | status = "okay"; | ||
27 | pinctrl-names = "default"; | ||
28 | pinctrl-0 = <&ehrpwm2_pins_default>; | ||
29 | }; | ||
diff --git a/system_test/system_test_recipe b/system_test/system_test_recipe index 7bfddbb..b6525e7 100644 --- a/system_test/system_test_recipe +++ b/system_test/system_test_recipe | |||
@@ -25,3 +25,4 @@ arch: arm testsuite: am4_emmc defconfig: ti_sdk_am3x_release patch_dir: none ove | |||
25 | arch: arm testsuite: am3_can defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: am3_can | 25 | arch: arm testsuite: am3_can defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: am3_can |
26 | arch: arm testsuite: can_built_in defconfig: am3_can_built_in patch_dir: none overlay_dir: none | 26 | arch: arm testsuite: can_built_in defconfig: am3_can_built_in patch_dir: none overlay_dir: none |
27 | arch: arm testsuite: omapl138_mmc defconfig: omapl138_mmc_module patch_dir: none overlay_dir: none | 27 | arch: arm testsuite: omapl138_mmc defconfig: omapl138_mmc_module patch_dir: none overlay_dir: none |
28 | arch: arm testsuite: am3_ehrpwm defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: am3_ehrpwm | ||