UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ratheesh_c
Visitor
1,853 Views
Registered: ‎01-28-2011

RTC driver for microblaze linux

Hi,
We have ported microblaze linux( 2.6.35)on custom board.
When i checked the RTC(pcf8563 river probe function ,it checks for I2C_FUNC_I2C functionality.But in Xilinx I2c controller driver this functionality is not supported.
static u32 xiic_bit_func(struct i2c_adapter *adap){
return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_10BIT_ADDR |    I2C_FUNC_PROTOCOL_MANGLING;}
How can i interface with RTC(pcf8563).Then i tried to add the I2C_FUNC_I2C to xiic_bit_func function.it started reading the date from rtc.Sometimes during the boot-up kernal tries to read the RTC date&time and hangs there.
what could be the problem ???
microblaze version - 7.30.aI2c controller version -2.03.a

regards

Ratheesh

0 Kudos