rn5t618 vs. rn5t568
Hi,
just looked a bit around in the source and stumbled across drivers/mfd/rn5t568.c
It contains
* MFD core driver for Ricoh RN5T618 PMIC
but the filename is rn5t568.c That is very confusing.
a compatible ricoh,rn5t568 (but 567) does not exist in the kernel.
So which chip this is really about? Did not analyse things deeper yet.
I am also curious because I wrote most stuff in the kernel about the rn5t618/rc5t619.
Regards,
Andreas
Quoted 7 lines · Andreas Kemnade
Hi,
just looked a bit around in the source and stumbled across
drivers/mfd/rn5t568.cIt contains
* MFD core driver for Ricoh RN5T618 PMIC
Quoted 6 lines
but the filename is
rn5t568.cThat is very confusing.
a compatible ricoh,rn5t568 (but 567) does not exist in the kernel.So which chip this is really about? Did not analyse things deeper yet.
I am also curious because I wrote most stuff in the kernel about the rn5t618/rc5t619.
Jürgen had to support the rn5t568 which is not yet supported in Linux. He took the Kernel rn5t618.c driver and adjusted it accordingly. Jürgen can't remember exactly, but he said the chips are quite similar.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Hi,
Am Donnerstag, dem 27.04.2023 um 09:36 +0200 schrieb Sascha Hauer:
Quoted 10 lines · Andreas Kemnade
Quoted 9 lines
Hi,
just looked a bit around in the source and stumbled across
drivers/mfd/rn5t568.cIt contains
* MFD core driver for Ricoh RN5T618 PMICbut the filename is
rn5t568.cThat is very confusing.
a compatible ricoh,rn5t568 (but 567) does not exist in the kernel.
567 and 568 are pin compatible. As far as I know the 568 has some fixed OTP settings which are used after reset. Depending on the type extension (C, S, AD…) the I²C address differs and the default output voltages.
Quoted 7 lines
Quoted 3 lines
So which chip this is really about? Did not analyse things deeper yet.
I am also curious because I wrote most stuff in the kernel about the rn5t618/rc5t619.
Jürgen had to support the rn5t568 which is not yet supported in Linux. He took the Kernel
rn5t618.cdriver and adjusted it accordingly. Jürgen can't remember exactly, but he said the chips are quite similar.
Due to the support of the 567 variant it is already supported in the kernel.
jb
Signature · 4 lines
Pengutronix e.K. | Juergen Borleis | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-128 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Hi,
Quoted 20 lines · On Tue, 02 May 2023 10:37:08 +0200 Juergen Borleis <[email protected]> wrote:
Hi,
Am Donnerstag, dem 27.04.2023 um 09:36 +0200 schrieb Sascha Hauer:
Quoted 10 lines · Andreas Kemnade
Quoted 9 lines
Hi,
just looked a bit around in the source and stumbled across
drivers/mfd/rn5t568.cIt contains
* MFD core driver for Ricoh RN5T618 PMICbut the filename is
rn5t568.cThat is very confusing.
a compatible ricoh,rn5t568 (but 567) does not exist in the kernel.567 and 568 are pin compatible. As far as I know the 568 has some fixed OTP settings which are used after reset. Depending on the type extension (C, S, AD…) the I²C address differs and the default output voltages.
Quoted 2 lines
Quoted 2 lines
So which chip this is really about? Did not analyse things deeper yet.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
I am also curious because I wrote most stuff in the kernel about the rn5t618/rc5t619.
Jürgen had to support the rn5t568 which is not yet supported in Linux. He took the Kernel
rn5t618.cdriver and adjusted it accordingly. Jürgen can't remember exactly, but he said the chips are quite similar.Due to the support of the 567 variant it is already supported in the kernel.
hmm, but if you do not share dt compatibles, you need to maintain different devicetrees in kernel vs. barebox. I thought you try to keep them in sync as much a possible. Also in mainline kernel the watchdog does not have its own device tree node.
Regards,
Andreas