From nobody Wed Oct 18 14:34:33 2023 X-Original-To: dev-commits-src-branches@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 4S9YJn3hvlz4x6VT; Wed, 18 Oct 2023 14:34:33 +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 4S9YJn2bf6z3V2Y; Wed, 18 Oct 2023 14:34:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697639673; 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=74dfhVTdlJhej0GFDSAamd+E9l9HjjWsljRPV8MLqEw=; b=USqrlyCP4JuoR0sRUF3d9c/xlkzfBDsdTzCQlkMeyweIHg8wwdtI8bGZ6AWLR+VmfJG0uw vBwZHe8p29rKfyZ3LVNn9Ww7mt3pvmKrXzRHAEHm/lqV4zSuSJL0SgSlqGBtEyIgW567JW VuB2l22JPmq9exNgyunLVc91yq2kHukrBK37PSONSAWNTb8MZ+ULLmbCBiajxwszwrERMA wdeK50gD0A6El6PUcFh4H9gAqmBdGZnHXQP+fxdXynJJEWOkhVOyeqMpEDBCu5l5r/+f6I 5E8N8e5WLk4aOTG70X6LloF0HSr3HrG4QTnz+U9J5t87v+RQDZnTZ7c3OzxstQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697639673; a=rsa-sha256; cv=none; b=wixWJru9slurYJTkbV322X8jHdbyA741AtIPOqrtOU+SGaoQgw8g4tFjXZRe0pRfLfFsiT eH9Sn5lH0iZb1CQDl1XF7LJQZXsMYycm7vNjjLd/pMiNGH+kelKj63THjSUggCUNXOIV3q Jbzm4GFJItyue1XTFMrB3/dCv5k+zya3EihYjzQN+OJj8zmyqpYGTsorDN70RQJA/CNy12 RhjGUyNOVTrFZ44WqhR9t4el0uvrHzWVM1ivl5CnXekOzjvechB7Dw9Ee48iMVpCYytAKw FTDXl4+NF8qZHmfwy0j56Y7mERketfJKSw900XBxMWrM/Knf/62ve/HgNykMcw== 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=1697639673; 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=74dfhVTdlJhej0GFDSAamd+E9l9HjjWsljRPV8MLqEw=; b=AP3rMn/mncSu+DSg6WqMQ4lh3uHBLxTVowrUGNH0LQUR2sWUBc5Fzkl9DjwrdNaC3hu3fY 7VDuLYV+3i/7PidjzjHvzDNs5B7KGcu+jC8yr6P1FfuhyZoOqQ3QcJTz11+z4n3A+PJipk 53T+FNcpWz6pIeO/3do0QBLhSiE51FXstWT2+ymN+vZJd+nPoEA8kJV9mFPXngNMHJFIU0 xnC8jDA77S0/9q9e0p+aGt6whtTO2n9ecf03cHB/6jCw2FTuJoSrHfo+tGgr9LnyINGXX6 PZjyks6/SpYLu5KaOOZaaSsc0CHrKyB5oEoCHei8XoQ+X0TKh48108Ds7gyS0w== 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 4S9YJn0slJz18ry; Wed, 18 Oct 2023 14:34:33 +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 39IEYXTm092905; Wed, 18 Oct 2023 14:34:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39IEYX71092902; Wed, 18 Oct 2023 14:34:33 GMT (envelope-from git) Date: Wed, 18 Oct 2023 14:34:33 GMT Message-Id: <202310181434.39IEYX71092902@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: e8d7fd8991bf - stable/14 - i2c: rtc: Add module for hym8563 driver List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: e8d7fd8991bf5de5d2526a21ae8924315ecca563 Auto-Submitted: auto-generated The branch stable/14 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e8d7fd8991bf5de5d2526a21ae8924315ecca563 commit e8d7fd8991bf5de5d2526a21ae8924315ecca563 Author: Emmanuel Vadot AuthorDate: 2023-10-06 19:20:00 +0000 Commit: Emmanuel Vadot CommitDate: 2023-10-18 14:33:53 +0000 i2c: rtc: Add module for hym8563 driver It's used in the nanopi-r5s (cherry picked from commit 03205a8cd57feb95752142d899d026ff8f45f3e6) --- 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