RTC bring up max31341b on IMX8MM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RTC bring up max31341b on IMX8MM

282件の閲覧回数
divyeshmarne0
Contributor III

Hi Team

We are integrating RTC module (max31341b ) with IMX8MM on Android 11 code base.

We are successfully able to integrate and It is working sometimes.

When I reboot device using adb reboot that time RTC is restoring proper time. But when I turn OFF entire system for some time, that time we are not getting expected time.( Checked RTC cell and 32Khz freq is proper when system TURN OFF).

Could you please review the same and let us know if any other changes required.

DTSI ENTRI:

--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi

pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";

+ max31341b: max31341b@69 {
+ compatible = "maxim,max31341b";
+ reg = <0x69>;
+ trickle-resistor-ohms=<6000>;
+ backup-threshold=<3>;
+ power-management=<1>;
+ trickle-diode-enable="OK";
+ status ="okay";
+ };
+

diff --git a/arch/arm64/configs/imx_v8_android_defconfig b/arch/arm64/configs/imx_v8_android_defconfig

--- a/arch/arm64/configs/imx_v8_android_defconfig
+++ b/arch/arm64/configs/imx_v8_android_defconfig

+CONFIG_RTC_DRV_MAX31341B=y

NOTE:

RTC probe is invoking properly. Please check patch and review. Suggest changes if i missed anything

FAIL LOG:

divyeshmarne0_0-1651042226607.png

Thanks

Divyesh.

0 件の賞賛
返信
0 返答(返信)