public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins
@ 2023-10-05 19:55 Igor Prusov
  2023-10-05 19:55 ` [PATCH v1 1/2] arm64: dts: meson: a1: Add SPIFC mux pins Igor Prusov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Igor Prusov @ 2023-10-05 19:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
	Kevin Hilman
  Cc: prusovigor, kernel, Igor Prusov, Jerome Brunet,
	Martin Blumenstingl, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel

This series adds SPIFC pins description to A1 pinctrl node and selects
them in AD402's SPIFC node to make sure that muxed GPIO is properly
configured.

Igor Prusov (2):
  arm64: dts: meson: a1: Add SPIFC mux pins
  arm64: dts: meson-a1-ad402: set SPIFC pins

 arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts |  2 ++
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi      | 12 ++++++++++++
 2 files changed, 14 insertions(+)

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v1 1/2] arm64: dts: meson: a1: Add SPIFC mux pins
  2023-10-05 19:55 [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins Igor Prusov
@ 2023-10-05 19:55 ` Igor Prusov
  2023-10-05 19:55 ` [PATCH v1 2/2] arm64: dts: meson-a1-ad402: set SPIFC pins Igor Prusov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Igor Prusov @ 2023-10-05 19:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
	Kevin Hilman
  Cc: prusovigor, kernel, Igor Prusov, Jerome Brunet,
	Martin Blumenstingl, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel

SPI Flash Controller uses multi-function pins, so add missing mux
definition.

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 5c6f93ddf7b4..6cd50187896a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -168,6 +168,18 @@ mux {
 						bias-pull-down;
 					};
 				};
+
+				spifc_pins: spifc {
+					mux {
+						groups = "spif_mo",
+							 "spif_mi",
+							 "spif_clk",
+							 "spif_cs",
+							 "spif_hold_n",
+							 "spif_wp_n";
+						function = "spif";
+					};
+				};
 			};
 
 			gpio_intc: interrupt-controller@440 {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH v1 2/2] arm64: dts: meson-a1-ad402: set SPIFC pins
  2023-10-05 19:55 [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins Igor Prusov
  2023-10-05 19:55 ` [PATCH v1 1/2] arm64: dts: meson: a1: Add SPIFC mux pins Igor Prusov
@ 2023-10-05 19:55 ` Igor Prusov
  2023-10-06  6:39 ` [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add " Neil Armstrong
  2023-10-06  6:43 ` Neil Armstrong
  3 siblings, 0 replies; 5+ messages in thread
From: Igor Prusov @ 2023-10-05 19:55 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
	Kevin Hilman
  Cc: prusovigor, kernel, Igor Prusov, Jerome Brunet,
	Martin Blumenstingl, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel

SPIFC uses muxed GPIO pins, so they should be properly configured.

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
---
 arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts b/arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts
index 8a6a7791839e..1c20516fa653 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts
@@ -103,6 +103,8 @@ &saradc {
 
 &spifc {
 	status = "okay";
+	pinctrl-0 = <&spifc_pins>;
+	pinctrl-names = "default";
 
 	spi_nand@0 {
 		compatible = "spi-nand";
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins
  2023-10-05 19:55 [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins Igor Prusov
  2023-10-05 19:55 ` [PATCH v1 1/2] arm64: dts: meson: a1: Add SPIFC mux pins Igor Prusov
  2023-10-05 19:55 ` [PATCH v1 2/2] arm64: dts: meson-a1-ad402: set SPIFC pins Igor Prusov
@ 2023-10-06  6:39 ` Neil Armstrong
  2023-10-06  6:43 ` Neil Armstrong
  3 siblings, 0 replies; 5+ messages in thread
From: Neil Armstrong @ 2023-10-06  6:39 UTC (permalink / raw)
  To: Igor Prusov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Kevin Hilman
  Cc: prusovigor, kernel, Jerome Brunet, Martin Blumenstingl,
	devicetree, linux-arm-kernel, linux-amlogic, linux-kernel

On 05/10/2023 21:55, Igor Prusov wrote:
> This series adds SPIFC pins description to A1 pinctrl node and selects
> them in AD402's SPIFC node to make sure that muxed GPIO is properly
> configured.
> 
> Igor Prusov (2):
>    arm64: dts: meson: a1: Add SPIFC mux pins
>    arm64: dts: meson-a1-ad402: set SPIFC pins
> 
>   arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts |  2 ++
>   arch/arm64/boot/dts/amlogic/meson-a1.dtsi      | 12 ++++++++++++
>   2 files changed, 14 insertions(+)
> 

For the 2 patches:
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins
  2023-10-05 19:55 [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins Igor Prusov
                   ` (2 preceding siblings ...)
  2023-10-06  6:39 ` [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add " Neil Armstrong
@ 2023-10-06  6:43 ` Neil Armstrong
  3 siblings, 0 replies; 5+ messages in thread
From: Neil Armstrong @ 2023-10-06  6:43 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Kevin Hilman,
	Igor Prusov
  Cc: prusovigor, kernel, Jerome Brunet, Martin Blumenstingl,
	devicetree, linux-arm-kernel, linux-amlogic, linux-kernel

Hi,

On Thu, 05 Oct 2023 22:55:41 +0300, Igor Prusov wrote:
> This series adds SPIFC pins description to A1 pinctrl node and selects
> them in AD402's SPIFC node to make sure that muxed GPIO is properly
> configured.
> 
> Igor Prusov (2):
>   arm64: dts: meson: a1: Add SPIFC mux pins
>   arm64: dts: meson-a1-ad402: set SPIFC pins
> 
> [...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.7/arm64-dt)

[1/2] arm64: dts: meson: a1: Add SPIFC mux pins
      https://git.kernel.org/amlogic/c/4985d0b308eeec44d2563d7c9d4884bc382d01de
[2/2] arm64: dts: meson-a1-ad402: set SPIFC pins
      https://git.kernel.org/amlogic/c/b50944fe2234a175ace253ed05dfae10caa49566

These changes has been applied on the intermediate git tree [1].

The v6.7/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

-- 
Neil


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-10-06  6:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-05 19:55 [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add SPIFC pins Igor Prusov
2023-10-05 19:55 ` [PATCH v1 1/2] arm64: dts: meson: a1: Add SPIFC mux pins Igor Prusov
2023-10-05 19:55 ` [PATCH v1 2/2] arm64: dts: meson-a1-ad402: set SPIFC pins Igor Prusov
2023-10-06  6:39 ` [PATCH v1 0/2] arm64: dts: meson-a1-ad402: Add " Neil Armstrong
2023-10-06  6:43 ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox