aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Murphy <a0272616@ti.com>2020-06-23 07:55:31 -0500
committerDan Murphy <a0272616@ti.com>2020-06-23 07:55:31 -0500
commit13976fbf2c4401a1cdd761a60f116efe4d2a49b0 (patch)
tree5d000a2ef76ba373bc4fb343a81da0d35b8234e5
parent85a5a94f6c542140d8aba8817860cb5e71bdc666 (diff)
parent75d1088cfa52becd84c16aa272fe36e7955da5ad (diff)
downloadlinux-dt-13976fbf2c4401a1cdd761a60f116efe4d2a49b0.tar.gz
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.dtso29
-rw-r--r--system_test/system_test_recipe1
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 @@
+// SPDX-License-Identifier: GPL-2.0
+/**
+ * DT overlay for BBB eHRPWM testing
+ *
+ * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
+ */
+
+/dts-v1/;
+/plugin/;
+#include <dt-bindings/pinctrl/am33xx.h>
+
+&am33xx_pinmux {
+ ehrpwm2_pins_default: ehrpwm2_pins_default {
+ pinctrl-single,pins = <
+ AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE4 ) /* (R1) lcd_data0.ehrpwm2A */
+ AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE4 ) /* (R2) lcd_data1.ehrpwm2B */
+ >;
+ };
+};
+
+&epwmss2 {
+ status = "okay";
+};
+
+&ehrpwm2 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&ehrpwm2_pins_default>;
+};
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
arch: arm testsuite: am3_can defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: am3_can
arch: arm testsuite: can_built_in defconfig: am3_can_built_in patch_dir: none overlay_dir: none
arch: arm testsuite: omapl138_mmc defconfig: omapl138_mmc_module patch_dir: none overlay_dir: none
+arch: arm testsuite: am3_ehrpwm defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: am3_ehrpwm