RE: [PATCH net-next] ptp: clockmatrix: use rsmu driver to access i2c/spi bus

From: Min Li
Date: Thu Sep 23 2021 - 12:29:51 EST




> -----Original Message-----
> From: Jakub Kicinski <kuba@xxxxxxxxxx>
> Sent: September 23, 2021 11:31 AM
> To: Min Li <min.li.xe@xxxxxxxxxxx>
> Cc: richardcochran@xxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; lee.jones@xxxxxxxxxx
> Subject: Re: [PATCH net-next] ptp: clockmatrix: use rsmu driver to access
> i2c/spi bus
>
> On Wed, 22 Sep 2021 09:57:14 -0400 min.li.xe@xxxxxxxxxxx wrote:
> > From: Min Li <min.li.xe@xxxxxxxxxxx>
> >
> > rsmu (Renesas Synchronization Management Unit ) driver is located in
> > drivers/mfd and responsible for creating multiple devices including
> > clockmatrix phc, which will then use the exposed regmap and mutex
> > handle to access i2c/spi bus.
>
> Does not build on 32 bit. You need to use division helpers.

Hi Jakub

I did build it through 32 bit arm and didn't get the problem.

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-

Thanks

Min