diff options
author | Nishanth Menon <nm@ti.com> | 2023-03-15 10:52:27 -0500 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2023-03-20 12:35:12 -0500 |
commit | fe49f2d776f7994dc60dd04712a437fd0bdc67a0 (patch) | |
tree | a66961256e66f882eb91f298e4028c3d9edaaf84 /arch/arm64/boot/dts/ti/k3-am62a.dtsi | |
parent | c680fa2a09a9550284546d2deeb31640ec3b56c8 (diff) | |
download | linux-stable-fe49f2d776f7994dc60dd04712a437fd0bdc67a0.tar.gz linux-stable-fe49f2d776f7994dc60dd04712a437fd0bdc67a0.tar.bz2 linux-stable-fe49f2d776f7994dc60dd04712a437fd0bdc67a0.zip |
arm64: dts: ti: Use local header for pinctrl register values
The DTS uses hardware register values directly in pin controller pin
configuration and not an abstraction of any form.
These definitions were previously put in the bindings header to avoid
code duplication and to provide some context meaning (name), but they
do not fit the purpose of bindings.
Store the constants in a header next to DTS and use them instead of
bindings.
Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/all/c4d53e9c-dac0-8ccc-dc86-faada324beba@linaro.org/
Link: https://lore.kernel.org/r/20230315155228.1566883-3-nm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am62a.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am62a.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62a.dtsi b/arch/arm64/boot/dts/ti/k3-am62a.dtsi index 6eb87c3f9f3c..fe60c9ce21e3 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a.dtsi @@ -8,9 +8,10 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/arm-gic.h> -#include <dt-bindings/pinctrl/k3.h> #include <dt-bindings/soc/ti,sci_pm_domain.h> +#include "k3-pinctrl.h" + / { model = "Texas Instruments K3 AM62A SoC"; compatible = "ti,am62a7"; |