[U-Boot] [EXT] Re: [PATCH 2/4] configs: ls1028aqds: Enable DM support for pcf2127 rtc

Chuanhua Han chuanhua.han at nxp.com
Mon Jul 15 07:20:23 UTC 2019



> -----Original Message-----
> From: Alex Marginean <alexm.osslist at gmail.com>
> Sent: 2019年7月15日 15:16
> To: Chuanhua Han <chuanhua.han at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>; albert.u.boot at aribaud.net; Andy Tang
> <andy.tang at nxp.com>; Sudhanshu Gupta <sudhanshu.gupta at nxp.com>;
> Harninder Rai <harninder.rai at nxp.com>; Rajesh Bhagat
> <rajesh.bhagat at nxp.com>
> Cc: u-boot at lists.denx.de
> Subject: [EXT] Re: [U-Boot] [PATCH 2/4] configs: ls1028aqds: Enable DM
> support for pcf2127 rtc
> 
> Caution: EXT Email
> 
> On 7/10/2019 10:48 AM, Chuanhua Han wrote:
> > Enable related configs on all ls1028aqds boards to support pcf2127 rtc
> > DM function.
> >
> > Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
> > ---
> > depends on:
> >       -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatchwo
> rk.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117203&data
> =02%7C01%7Cchuanhua.han%40nxp.com%7C817d847ff0354fbe1aad08d708f
> 44625%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369877175
> 48591048&sdata=opbvJeeagqt4bcMU6afno3a6d6QwSFphkfTs2324eDI%
> 3D&reserved=0
> >       -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatchwo
> rk.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117224&data
> =02%7C01%7Cchuanhua.han%40nxp.com%7C817d847ff0354fbe1aad08d708f
> 44625%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369877175
> 48601042&sdata=3JzYgVuNprnWXXg41y%2Bpb4GJTVzmbt4McAwJnZx2v
> tY%3D&reserved=0
> >       -
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D118231&d
> ata
> >
> =02%7C01%7Cchuanhua.han%40nxp.com%7C817d847ff0354fbe1aad08d708f
> 44625%7
> >
> C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63698771754860104
> 2&sda
> >
> ta=ilmiN7mqR8pyUEzLLhnwWPpSfm0uV%2BQBbxyCZESXkpA%3D&reser
> ved=0
> >
> >   configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 11 ++++++++++-
> >   configs/ls1028aqds_tfa_defconfig             | 11 ++++++++++-
> >   2 files changed, 20 insertions(+), 2 deletions(-)
> >
> 
> date command doesn't seem to work at my end:
> => date
> wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
> i2c_init_transfer: failed for chip 0x51 retry=0
> wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
> i2c_init_transfer: failed for chip 0x51 retry=1
> wait_for_sr_state: Arbitration lost sr=92 cr=0 state=2020
> i2c_init_transfer: failed for chip 0x51 retry=2
> i2c_init_transfer: give up i2c_regs=0x2010000 ## Get date failed
No, You need to apply the fix pcf2127-rtc patch first.
http://patchwork.ozlabs.org/patch/1128859/

> 
> other than that it looks OK.
> 
> Reviewed-by: Alex Marginean <alexm.osslist at gmail.com>
> Tested-by: Alex Marginean <alexm.osslist at gmail.com>



More information about the U-Boot mailing list