From nobody Fri Oct 6 19:29:47 2023 X-Original-To: dev-commits-src-main@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 4S2JR013lPz4wJDb; Fri, 6 Oct 2023 19:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S2JR00bznz3PPd; Fri, 6 Oct 2023 19:29:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696620588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nHngIWPzrO+RyAbxpSyzBAigTWh1MpkvWp5u5ZlNRHg=; b=syIa6tV/OEA72YV/SN7PYyxRYlzgi2pIByRYZJSlt8kN/Ex3RsWsTBepVMAcRN44pFGV1K FhPHy0+IzIA8r56cHXNweSJJP+xgMeolp0Def+VlHFU9vE2rnX7p3RM67dh2vdYBpwfmc9 85lwYNOwJEAkOhs+PGkUnWaWvfjZSBwgnl8FG/MmJ/fH//vBySeoXWJyGpj1MnvCwTY+kM idzpBTFW3kGBFtHXMiEhk6SvSCq7rSA+wk/7TobVeGendtt/cy9cCEeDk3YhPXo6m2iIO9 z84g3LPc0FcuX4kM11FNSiJzyTk7jn5saESIxwQfJuVDWzYMr14tbBuqTF545A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696620588; a=rsa-sha256; cv=none; b=NxKzMQVL8KpST7py+I4m2f3DyOv6o7MrQvdKrYyGmt6B4SkmnwNsTPOdiCfT+VHoHGgwGB cusIgi0nXLJgWKvJgcQxDoG8qZLsC64aVy5dAAyvuBlpUNmMhUBqcjSwU+dee4NPf0xNyf JYyMdtWwbQU8exgiPd1M9TH8RGRgKsFBSR6vh/b0uGxrKgSScl1ugEqabnX7GtSKJOdewT ASOl+CrkNo5qIrfUglpmn9OMWbP9NcuzLdlHMAk8J1J2knoYvhL7E9d+jBn77YUVJQJ3tF JWxZFdOj2Sil/qZtfi6u3bHazUERRclX1Wnl/qbkjyGGPZ05iNsAltwhlmLSPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696620588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nHngIWPzrO+RyAbxpSyzBAigTWh1MpkvWp5u5ZlNRHg=; b=czGWHL4Lf589b1D785JVlc9xk87+zStiGx6TinHuqA5yu2DsIDRzV3ZEpTgHOlDrWg02Kf UfugHypJyfjyHwQ+UVN8uMXEeKMBdnL99oagq/tRNEAyDffi51xzxlUAcGWz4XeO1dm5Xy 7dqC94Bzn9chyFUFqKVE/uqbu3O10gRj8D0GAYefWj5jYoXlrCC9NLraal2M6IeGCAOXCF w9K4+Be9bLy3onAz4FI9B3TeBjbtwTOA/WUwMweoGXWJ5Zor47I8Ve/ZZZgX1ekh5mpMyu 31X/66TZdYz0dFnZh7GKLFiQ/gCYhdzX5cgzSRxJRTpwiW0d5yU+XO5caH2Gtg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S2JQz6gxQz11Mb; Fri, 6 Oct 2023 19:29:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 396JTl7t093973; Fri, 6 Oct 2023 19:29:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 396JTlYt093970; Fri, 6 Oct 2023 19:29:47 GMT (envelope-from git) Date: Fri, 6 Oct 2023 19:29:47 GMT Message-Id: <202310061929.396JTlYt093970@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 03205a8cd57f - main - i2c: rtc: Add module for hym8563 driver List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03205a8cd57feb95752142d899d026ff8f45f3e6 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=03205a8cd57feb95752142d899d026ff8f45f3e6 commit 03205a8cd57feb95752142d899d026ff8f45f3e6 Author: Emmanuel Vadot AuthorDate: 2023-10-06 19:20:00 +0000 Commit: Emmanuel Vadot CommitDate: 2023-10-06 19:29:38 +0000 i2c: rtc: Add module for hym8563 driver It's used in the nanopi-r5s --- sys/modules/i2c/Makefile | 3 ++- sys/modules/i2c/hym8563/Makefile | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/sys/modules/i2c/Makefile b/sys/modules/i2c/Makefile index abbb390b0e07..6c976e9303f1 100644 --- a/sys/modules/i2c/Makefile +++ b/sys/modules/i2c/Makefile @@ -28,7 +28,8 @@ SUBDIR = \ smbus \ .if !empty(OPT_FDT) -SUBDIR += rv3032 \ +SUBDIR += hym8563 \ + rv3032 \ rx8803 \ tca64xx \ tmp461 diff --git a/sys/modules/i2c/hym8563/Makefile b/sys/modules/i2c/hym8563/Makefile new file mode 100644 index 000000000000..e64190887610 --- /dev/null +++ b/sys/modules/i2c/hym8563/Makefile @@ -0,0 +1,13 @@ + +.PATH: ${SRCTOP}/sys/dev/iicbus/rtc +KMOD= hym8563 +SRCS= hym8563.c + +SRCS+= bus_if.h \ + clock_if.h \ + device_if.h \ + iicbus_if.h \ + opt_platform.h \ + ofw_bus_if.h + +.include