PCA85073A i2c rtc driver need for S32G274 board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PCA85073A i2c rtc driver need for S32G274 board

4,826 次查看
vimalrajendran
Contributor II

Hi ,

       iam currently working S32G274 board. my kernel verion 5.4.69 version. i need RTC driver for PCA85073A chip.

标记 (1)
0 项奖励
10 回复数

4,783 次查看
bpe
NXP Employee
NXP Employee

The kernel driver for PCA85073A RTC is defined in rtc-pcf85063.c. The respective configuration option is CONFIG_RTC_DRV_PCF85063. The driver is enabled in Automotive BSP kernel by default.

Best Regards,
Platon

 

0 项奖励

4,739 次查看
vimalrajendran
Contributor II

Hi ,

i tried but boot log  showing below mentioned error

2.984709] 001: rtc-pcf85063 0-0051: RTC chip is not present
[ 2.984794] 001: rtc-pcf85063: probe of 0-0051 failed with error -110

0 项奖励

4,733 次查看
bpe
NXP Employee
NXP Employee

Are you working with an NXP development or reference board? If so, please mention it's exact part number and the version of the Automotive BSP you are working with.

 

Best Regards,
Platon

 

0 项奖励

4,731 次查看
vimalrajendran
Contributor II

Hi ,

       i am working with NXP S32g274a our custom development board. and BSP version 29.0.0

0 项奖励

4,715 次查看
bpe
NXP Employee
NXP Employee

Suggestions:

1. Make sure the RTC responds to the access cycles on the I2C bus it is
connected to.

2. Make sure the connection between the RTC and the central chip is properly
reflected in the Device Tree

Best Regards,
Platon

0 项奖励

4,703 次查看
vimalrajendran
Contributor II

Hi ,

 This is my device tree for pca85073a. if you want any changes in dtsi. please point out your idea.

&i2c1 { 
status = "okay";
clock-frequency = <100000>; 
rtc@51 {
      compatible = "nxp,pca85073a";
      reg = <0x51>;
     nxp,no-battery;
};

};

 

 

Thanks

Vimal

0 项奖励

4,639 次查看
vimalrajendran
Contributor II

Hi ,

      still iam facing issue with i2c-1 for below Mentioned Pin

 

pinctrl1_i2c1: i2c1grp {
fsl,pins = <
S32_GEN1_PAD_PB3__I2C1_SCLK_OUT
S32_GEN1_PAD_PB4__I2C1_DATA_OUT
S32_GEN1_PAD_PB3__I2C1_SCLK_IN
S32_GEN1_PAD_PB4__I2C1_DATA_IN
>;
};

0 项奖励

4,638 次查看
vimalrajendran
Contributor II

 

 

 

pinctrl_gpioeirq: gpioeirqgrp {
fsl,pins = <
//S32_GEN1_PAD_PB3__SIUL_EIRQ0
S32_GEN1_PAD_PB4__SIUL_EIRQ1

0 项奖励

4,626 次查看
vimalrajendran
Contributor II

Hi ,

        same RTC(85073) module work with other i2c. but i2c-1 (PB3,PB4) pins are not working. could you give me any solutions.

 

 

Thanks

vimal

0 项奖励

4,610 次查看
bpe
NXP Employee
NXP Employee

This is a duplicate thread. NXP Technical Support is following you on this one. Please do not create duplicates.

 

Best Regards,
Platon

 

0 项奖励