devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2
       [not found] <CGME20230912060640epcas2p43a9e6e11906d03641e76fb3df97462b8@epcas2p4.samsung.com>
@ 2023-09-12  5:56 ` Jaewon Kim
  2023-09-14  8:10   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Jaewon Kim @ 2023-09-12  5:56 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
	Jaewon Kim

Use pinctrl macro instead of hard-coded number.
This makes the code more readable.

Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index d163891cd399..c2a9e59d36a0 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -1103,7 +1103,7 @@ initial_alive: initial-state {
 
 	te_irq: te-irq-pins {
 		samsung,pins = "gpf1-3";
-		samsung,pin-function = <0xf>;
+		samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
 	};
 };
 
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2
  2023-09-12  5:56 ` [PATCH] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2 Jaewon Kim
@ 2023-09-14  8:10   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-14  8:10 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar,
	Jaewon Kim
  Cc: Krzysztof Kozlowski, devicetree, linux-arm-kernel,
	linux-samsung-soc, linux-kernel


On Tue, 12 Sep 2023 14:56:35 +0900, Jaewon Kim wrote:
> Use pinctrl macro instead of hard-coded number.
> This makes the code more readable.
> 
> 

Applied, thanks!

[1/1] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2
      https://git.kernel.org/krzk/linux/c/d8c326bd5aa5d6aac0c4826dfeadcb02dc77ab88

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-14  8:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20230912060640epcas2p43a9e6e11906d03641e76fb3df97462b8@epcas2p4.samsung.com>
2023-09-12  5:56 ` [PATCH] arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2 Jaewon Kim
2023-09-14  8:10   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).