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 <[email protected]>
---
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 <[email protected]>
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 <[email protected]>
---
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
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 <[email protected]>
---
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
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 <[email protected]>
> ---
> 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 <[email protected]>
>
>
>
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 [email protected]:
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#
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!