[PATCH 3/3] arm64: dts: ti: Add TDA54 pinctrl header

Yemike Abhilash Chandra y-abhilashchandra at ti.com
Wed Sep 30 02:20:20 PDT 2026


Add TDA54_PINMUX() and the mux mode defines for use by TDA54 device tree
sources to build pinmux values.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra at ti.com>
---
Note: I understand that this patch goes through the SoC tree, but is
included here to give reviewers the full context.

 arch/arm64/boot/dts/ti/k3-tda54-pinctrl.h | 29 +++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-tda54-pinctrl.h

diff --git a/arch/arm64/boot/dts/ti/k3-tda54-pinctrl.h b/arch/arm64/boot/dts/ti/k3-tda54-pinctrl.h
new file mode 100644
index 000000000000..a3e730e103ae
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-tda54-pinctrl.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
+/*
+ * This header provides constants for TI's TDA54 SoC device tree sources.
+ *
+ * Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/
+ */
+#ifndef DTS_ARM64_TI_K3_TDA54_PINCTRL_H
+#define DTS_ARM64_TI_K3_TDA54_PINCTRL_H
+
+#define TDA54_PINMUX(pad, mux)		(((pad) << 8) | ((mux) & 0xf))
+
+#define TDA54_MUX_MODE0		0
+#define TDA54_MUX_MODE1		1
+#define TDA54_MUX_MODE2		2
+#define TDA54_MUX_MODE3		3
+#define TDA54_MUX_MODE4		4
+#define TDA54_MUX_MODE5		5
+#define TDA54_MUX_MODE6		6
+#define TDA54_MUX_MODE7		7
+#define TDA54_MUX_MODE8		8
+#define TDA54_MUX_MODE9		9
+#define TDA54_MUX_MODE10		10
+#define TDA54_MUX_MODE11		11
+#define TDA54_MUX_MODE12		12
+#define TDA54_MUX_MODE13		13
+#define TDA54_MUX_MODE14		14
+#define TDA54_MUX_MODE15		15
+
+#endif
-- 
2.34.1




More information about the linux-arm-kernel mailing list