linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc
@ 2024-03-12 19:56 Josua Mayer
  2024-03-12 19:56 ` [PATCH 1/2] " Josua Mayer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josua Mayer @ 2024-03-12 19:56 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Josua Mayer

Add description for an on-som rtc that was missed in original submission
of device-tree.

Also update the clearfog reference carrier board aliases to include the
previously disabled i2c bus with this rtc.

Signed-off-by: Josua Mayer <josua@solid-run.com>
---
Josua Mayer (2):
      arm64: dts: fsl-lx2162a-som: add description for rtc
      arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6

 arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts | 1 +
 arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi  | 9 +++++++++
 2 files changed, 10 insertions(+)
---
base-commit: e8f897f4afef0031fe618a8e94127a0934896aba
change-id: 20240312-lx2162-rtc-a68b6ebfcb53

Sincerely,
-- 
Josua Mayer <josua@solid-run.com>


_______________________________________________
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 1/2] arm64: dts: fsl-lx2162a-som: add description for rtc
  2024-03-12 19:56 [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Josua Mayer
@ 2024-03-12 19:56 ` Josua Mayer
  2024-03-12 19:56 ` [PATCH 2/2] arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6 Josua Mayer
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Josua Mayer @ 2024-03-12 19:56 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Josua Mayer

SolidRun LX2162A SoM has an RTC on bus IIC6 (dts i2c5).
Enable this bus and add description for the rtc.

Signed-off-by: Josua Mayer <josua@solid-run.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi
index 0580ea30cfbc..e914291e63a1 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi
@@ -71,3 +71,12 @@ variable_eeprom: eeprom@54 {
 		reg = <0x54>;
 	};
 };
+
+&i2c5 {
+	status = "okay";
+
+	rtc@6f {
+		compatible = "microchip,mcp7940x";
+		reg = <0x6f>;
+	};
+};

-- 
2.35.3


_______________________________________________
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 2/2] arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6
  2024-03-12 19:56 [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Josua Mayer
  2024-03-12 19:56 ` [PATCH 1/2] " Josua Mayer
@ 2024-03-12 19:56 ` Josua Mayer
  2024-03-15 15:50 ` [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Rob Herring
  2024-03-30 15:07 ` Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Josua Mayer @ 2024-03-12 19:56 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, devicetree, linux-kernel, Josua Mayer

SoM dts has enabled  i2c bus IIC6 (dts i2c5), but defines no aliases.

LX2162A Clearfog dts has aliases for all i2c buses to ensure predictable
numbering for userspace. Add an additional alias for this extra bus.

Signed-off-by: Josua Mayer <josua@solid-run.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
index 9f88583aa25e..eafef8718a0f 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
@@ -25,6 +25,7 @@ aliases {
 		i2c7 = &mpcie1_i2c;
 		i2c8 = &mpcie0_i2c;
 		i2c9 = &pcieclk_i2c;
+		i2c10 = &i2c5;
 		mmc0 = &esdhc0;
 		mmc1 = &esdhc1;
 		serial0 = &uart0;

-- 
2.35.3


_______________________________________________
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 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc
  2024-03-12 19:56 [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Josua Mayer
  2024-03-12 19:56 ` [PATCH 1/2] " Josua Mayer
  2024-03-12 19:56 ` [PATCH 2/2] arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6 Josua Mayer
@ 2024-03-15 15:50 ` Rob Herring
  2024-03-30 15:07 ` Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2024-03-15 15:50 UTC (permalink / raw)
  To: Josua Mayer
  Cc: Conor Dooley, Rob Herring, Shawn Guo, linux-arm-kernel,
	devicetree, Krzysztof Kozlowski, linux-kernel, Li Yang


On Tue, 12 Mar 2024 20:56:53 +0100, Josua Mayer wrote:
> Add description for an on-som rtc that was missed in original submission
> of device-tree.
> 
> Also update the clearfog reference carrier board aliases to include the
> previously disabled i2c bus with this rtc.
> 
> Signed-off-by: Josua Mayer <josua@solid-run.com>
> ---
> Josua Mayer (2):
>       arm64: dts: fsl-lx2162a-som: add description for rtc
>       arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6
> 
>  arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts | 1 +
>  arch/arm64/boot/dts/freescale/fsl-lx2162a-sr-som.dtsi  | 9 +++++++++
>  2 files changed, 10 insertions(+)
> ---
> base-commit: e8f897f4afef0031fe618a8e94127a0934896aba
> change-id: 20240312-lx2162-rtc-a68b6ebfcb53
> 
> Sincerely,
> --
> Josua Mayer <josua@solid-run.com>
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y freescale/fsl-lx2162a-clearfog.dtb' for 20240312-lx2162-rtc-v1-0-1f4cd431b1cf@solid-run.com:

arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dtb: i2c@2050000: Unevaluated properties are not allowed ('clock-names' was unexpected)
	from schema $id: http://devicetree.org/schemas/i2c/i2c-imx.yaml#






_______________________________________________
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 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc
  2024-03-12 19:56 [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Josua Mayer
                   ` (2 preceding siblings ...)
  2024-03-15 15:50 ` [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Rob Herring
@ 2024-03-30 15:07 ` Shawn Guo
  3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2024-03-30 15:07 UTC (permalink / raw)
  To: Josua Mayer
  Cc: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-arm-kernel, devicetree, linux-kernel

On Tue, Mar 12, 2024 at 08:56:53PM +0100, Josua Mayer wrote:
> Josua Mayer (2):
>       arm64: dts: fsl-lx2162a-som: add description for rtc
>       arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6

Applied both, thanks!


_______________________________________________
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:[~2024-03-30 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12 19:56 [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Josua Mayer
2024-03-12 19:56 ` [PATCH 1/2] " Josua Mayer
2024-03-12 19:56 ` [PATCH 2/2] arm64: dts: fsl-lx2162a-clearfog: add alias for i2c bus iic6 Josua Mayer
2024-03-15 15:50 ` [PATCH 0/2] arm64: dts: fsl-lx2162a-som: add description for rtc Rob Herring
2024-03-30 15:07 ` Shawn Guo

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).