Date: Mon, 13 Nov 2023 07:29:13 +0900 From: =?UTF-8?B?6aKo5L6G5pWj5Lq6?= <furaisanjin@gmail.com> To: freebsd-arm@freebsd.org Subject: Conflict DS1307 and MAX77620 Message-ID: <CAJzLSnzUeLhNcOOM7zyxJJrY67_t3V0Gxt3ujSo9C8itXnfdnw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000007a2dbc0609fc1797 Content-Type: text/plain; charset="UTF-8" Hello all. I found that a similar discussion was done almost 2 years ago. https://lists.freebsd.org/archives/freebsd-arm/2021-November/000600.html I'm using the official FreeBSD 13.2 release. uname -a FreeBSD macavity 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC arm64 freebsd-version -kru 13.2-RELEASE-p4 13.2-RELEASE-p4 13.2-RELEASE-p5 I created overlay dtb files for i2c and ds1307, and loaded them at boot. FreeBSD detected ds1360 as MAX77620 like below. Nov 12 16:17:18 localhost kernel: rtc1: <MAX77620 RTC> at addr 0xd0 on iicbus0 Nov 12 16:17:18 localhost kernel: rtc1: registered as a time-of-day clock, resolution 1.000000s My SBC just has Allwinner H5 and nothing like tegra210. I created a custom kernel to remove tegra210. The custom kernel is fine and can detect ds1307 correctly. Nov 13 06:21:52 localhost kernel: ds13070: <Dallas DS1307> at addr 0xd0 on iicbus0 Nov 13 06:21:52 localhost kernel: ds13070: registered as a time-of-day clock, resolution 1.000000s Is there any way to disable max77620 without creating a custom kernel? Best regards, furaisanjin --0000000000007a2dbc0609fc1797 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello all.</div><div><br></div><div>I found that a si= milar discussion was done almost 2 years ago.</div><div><br></div><div><a h= ref=3D"https://lists.freebsd.org/archives/freebsd-arm/2021-November/000600.= html">https://lists.freebsd.org/archives/freebsd-arm/2021-November/000600.h= tml</a></div><div><br></div><div>I'm using the official FreeBSD 13.2 re= lease.</div><div><br></div><div>uname -a<br>FreeBSD macavity 13.2-RELEASE-p= 4 FreeBSD 13.2-RELEASE-p4 GENERIC arm64<br>freebsd-version -kru<br>13.2-REL= EASE-p4<br>13.2-RELEASE-p4<br>13.2-RELEASE-p5</div><div><br></div><div>I cr= eated overlay dtb files for i2c and ds1307, and loaded them at boot. FreeBS= D detected ds1360 as MAX77620 like below.</div><div><br></div><div>Nov 12 1= 6:17:18 localhost kernel: rtc1: <MAX77620 RTC> at addr 0xd0 on iicbus= 0<br>Nov 12 16:17:18 localhost kernel: rtc1: registered as a time-of-day cl= ock, resolution 1.000000s</div><div><br></div><div>My SBC just has=20 Allwinner H5 and nothing like tegra210. I created a custom kernel to remov= e tegra210. The custom kernel is fine and can detect ds1307 correctly.</div= ><div><br></div>Nov 13 06:21:52 localhost kernel: ds13070: <Dallas DS130= 7> at addr 0xd0 on iicbus0<br><div>Nov 13 06:21:52 localhost kernel: ds1= 3070: registered as a time-of-day clock, resolution 1.000000s</div><div><br= ></div><div>Is there any way to disable max77620 without creating a custom = kernel?</div><div><br></div><div>Best regards,</div><div>furaisanjin</div><= div><br></div><div><br></div><div><br></div><div><br></div></div> --0000000000007a2dbc0609fc1797--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJzLSnzUeLhNcOOM7zyxJJrY67_t3V0Gxt3ujSo9C8itXnfdnw>