From nobody Sun Nov 12 22:29:13 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ST6gk1lFRz50X08 for ; Sun, 12 Nov 2023 22:29:54 +0000 (UTC) (envelope-from furaisanjin@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ST6gj2yKJz4RbM for ; Sun, 12 Nov 2023 22:29:53 +0000 (UTC) (envelope-from furaisanjin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=JLVueoVJ; spf=pass (mx1.freebsd.org: domain of furaisanjin@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=furaisanjin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507cee17b00so5057405e87.2 for ; Sun, 12 Nov 2023 14:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699828191; x=1700432991; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4gLKHS+vyJS+AtRqWJItKbMo4G1XmoNfvAahcRXMwOI=; b=JLVueoVJv/KyhkRQMt5pNfhWSEDaXYNvgZxXMLtt5Y7nBUrWAc+UPelqVGaEeR7EPF GTcRiEBsw5YEJmk9PivPkVA0Q2QLwYWpEmWWptzY8dLBdmegsCnwKeYzyb/QE+6hqA8R UpOLc23ESHmV5ek7xtN6HdQZHX72wNjPCGx3+lPc6nz7aOtzNdGFDX+eXOl8vWUXK641 yjXBBODy3LmAvt9bwjdGOChjvbdCDSDNQMzN4bPrzetcSgHU8RKbO6byz2UH0PtXWhDy 5Yd85YOEpn6MFRW+e4w6NrvPRe6wNRFxkyVkaY0CtHzXHV3zKsAoDyaBUooRFIqENJ/f Eb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699828191; x=1700432991; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4gLKHS+vyJS+AtRqWJItKbMo4G1XmoNfvAahcRXMwOI=; b=IbGN57klDb/hwnclYrNmIvLTUk7NYC4rvyMS+AyGe5oBMKOhlXJiY4J9gRMAd9y2R8 yfv9+zVNbbyuSjZojUb7qyZnZUSBomqtUIdk1oV1MeP/g69P//OzBYsqQgrF+azOyvXY Y9UxXa0QGnxen1IQy1O9y4knlxduht92StKX8V8oB5ZdHSeFUGQZsMzPWurN6TO2SxgF f0PhzhPVUvfualWqg31S7fDEU3JTPMclu/EUjNWxWQoPtp/r3QdUbukR5xM2rrm5SSjM gQ9zuse2K29Kgn8E+RkUXlfZbW3iMAeGaBLZ28+76o7r21Y9p5fBo35WFXRKfq5sR7oh CWOQ== X-Gm-Message-State: AOJu0YzE/bbShmxyQBbYoFnoIMx0wLCZo4FGBstT/oMAjXNHBbEDr1fK r4QuZHY6YCkAiTKWkGdnlu897OBlrijFa6NjItBhTRxBi+ZAhw== X-Google-Smtp-Source: AGHT+IESlYFY9BqpjLRvYkHEAciM9FAjNfBBl7QG9D5JP4Jmdf5A8yxWU3Et8UnBm/HI4Wm1hIJW02HEUmYIG/hf7+0= X-Received: by 2002:a05:6512:48d5:b0:509:47e1:6ebe with SMTP id er21-20020a05651248d500b0050947e16ebemr3043538lfb.14.1699828190554; Sun, 12 Nov 2023 14:29:50 -0800 (PST) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 From: =?UTF-8?B?6aKo5L6G5pWj5Lq6?= Date: Mon, 13 Nov 2023 07:29:13 +0900 Message-ID: Subject: Conflict DS1307 and MAX77620 To: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007a2dbc0609fc1797" X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.985]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12e:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4ST6gj2yKJz4RbM X-Spamd-Bar: --- --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: 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: 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
Hello all.

I found that a si= milar discussion was done almost 2 years ago.


I'm using the official FreeBSD 13.2 re= lease.

uname -a
FreeBSD macavity 13.2-RELEASE-p= 4 FreeBSD 13.2-RELEASE-p4 GENERIC arm64
freebsd-version -kru
13.2-REL= EASE-p4
13.2-RELEASE-p4
13.2-RELEASE-p5

I cr= eated overlay dtb files for i2c and ds1307, and loaded them at boot. FreeBS= D detected ds1360 as MAX77620 like below.

Nov 12 1= 6:17:18 localhost kernel: rtc1: <MAX77620 RTC> at addr 0xd0 on iicbus= 0
Nov 12 16:17:18 localhost kernel: rtc1: registered as a time-of-day cl= ock, resolution 1.000000s

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.

Nov 13 06:21:52 localhost kernel: ds13070: <Dallas DS130= 7> at addr 0xd0 on iicbus0
Nov 13 06:21:52 localhost kernel: ds1= 3070: 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
<= div>



--0000000000007a2dbc0609fc1797--