summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin yan <martin.yan@microchip.corp-partner.google.com>2022-10-18 16:11:54 -0400
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-19 16:53:23 +0000
commit3f46aff94d4d654771ad9b364ab086f09d8b8f6c (patch)
tree5d096acbca2d9bb17074a81fa50e9a3d081bda05
parent93684a594fc840166e78686b1241a108e45ea1e6 (diff)
downloadchrome-ec-3f46aff94d4d654771ad9b364ab086f09d8b8f6c.tar.gz
zephyr: mchp: Disable CONFIG_PINMUX
Fully support pinctrl configuration, then disable pinmux configuration BUG=none BRANCH=main TEST=zmake build -a Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com> Change-Id: I660c7f33e2ff90814a23d586c0111a3bdce9e982 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3965168 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
-rw-r--r--zephyr/boards/arm/mec1727/mec1727.dts29
-rw-r--r--zephyr/boards/arm/mec1727/mec1727_defconfig2
2 files changed, 1 insertions, 30 deletions
diff --git a/zephyr/boards/arm/mec1727/mec1727.dts b/zephyr/boards/arm/mec1727/mec1727.dts
index 3852f35fa8..e30d82266b 100644
--- a/zephyr/boards/arm/mec1727/mec1727.dts
+++ b/zephyr/boards/arm/mec1727/mec1727.dts
@@ -21,35 +21,6 @@
zephyr,flash-controller = &int_flash;
};
- pinmux: pinmux {
- compatible = "microchip,xec-pinmux";
-
- pinmux_000_036: pinmux-0 {
- ph-reg = <&gpio_000_036>;
- port-num = <0>;
- };
- pinmux_040_076: pinmux-1 {
- ph-reg = <&gpio_040_076>;
- port-num = <1>;
- };
- pinmux_100_136: pinmux-2 {
- ph-reg = <&gpio_100_136>;
- port-num = <2>;
- };
- pinmux_140_176: pinmux-3 {
- ph-reg = <&gpio_140_176>;
- port-num = <3>;
- };
- pinmux_200_236: pinmux-4 {
- ph-reg = <&gpio_200_236>;
- port-num = <4>;
- };
- pinmux_240_276: pinmux-5 {
- ph-reg = <&gpio_240_276>;
- port-num = <5>;
- };
- };
-
named-pwms {
compatible = "named-pwms";
};
diff --git a/zephyr/boards/arm/mec1727/mec1727_defconfig b/zephyr/boards/arm/mec1727/mec1727_defconfig
index b6aa0dd1e9..e8c189750e 100644
--- a/zephyr/boards/arm/mec1727/mec1727_defconfig
+++ b/zephyr/boards/arm/mec1727/mec1727_defconfig
@@ -25,7 +25,7 @@ CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
# Pinmux Driver
-CONFIG_PINMUX=y
+CONFIG_PINMUX=n
# Pinctrl Driver
CONFIG_PINCTRL=y