From nobody Wed Feb 09 09:40:25 2022 X-Original-To: dev-commits-src-all@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 C765619C59CC; Wed, 9 Feb 2022 09:40:26 +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 4Jtvxj5d3Bz4tgr; Wed, 9 Feb 2022 09:40:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399626; 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=/gptcZJ+fSCtHBjD5cGuJrmIfQDBpUuN7EglsnbpuyU=; b=V3GX0aDrQLteuBdtA13HrAWBzIlYA2ezLIuYM9dzTC67Rg9csPrtet+yFH8xoM87L13FB9 Urq+PF5YG61kbVYzom1PaGr9MOpwuKYWhD5YqOTxpOiTSyPuPm/f+ymCvnUsOZ7bdmtQ1k psR+/vBWZXse3ohIK+EgBwjK3RCepc/ctldRr4t8/2sOrj3lS9NvEtxlsClEYLLFZFAV4o y4hd+zLPVaoUWZ0EKZTYEOb1QIdnoHA/zOao5xGS/SjOESP8FXqNO59/XZP6NPb1U1FNnJ FosbMcc9IA9Vb89O0l/1C6ZO/UDLLza2nHsUuXfExy+xaVlxq1UoYMRoEXKeow== 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 62FA82AE1; Wed, 9 Feb 2022 09:40:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2199ePk9099562; Wed, 9 Feb 2022 09:40:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2199ePJM099561; Wed, 9 Feb 2022 09:40:25 GMT (envelope-from git) Date: Wed, 9 Feb 2022 09:40:25 GMT Message-Id: <202202090940.2199ePJM099561@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andriy Gapon Subject: git: c238600e3789 - stable/12 - add overlay for enabling i2c1 on allwinner h3 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: avg X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: c238600e37897576f9200c3d3990874e91714f2b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644399626; 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=/gptcZJ+fSCtHBjD5cGuJrmIfQDBpUuN7EglsnbpuyU=; b=qnzHkeo/V/DMo/EcvRQIS9IqHLLwpdmuKKOEew997NsX7Ka1uSlYol7DRx9+vyh+0yQ7/X sjIfTRCYT3XNQAge9/ZePcOiPbwMkYXT6UyIgeRnVMjZYVUjx3f48D9g7DcGUXy9qHlApF DX4r9TTTTKnosZi5hn3g5zsxaM3M61T8LNxGqXKZXHEvC4hzIqWZE7aU/XckeqHbfsKQTh 2SmytITRNx15Ua68tkCiH61vkT5qcvR911Lw9OX0mkwOXzeem/HZv2yMg4jo13ZBmvrGdt 8cUC8DqzG729aT0jEYt5wbsgzY1+467x5Bv7a6MSaPWR5wBi7enPvMTUEJeG9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644399626; a=rsa-sha256; cv=none; b=QV6FZNXfGlbITZxBeJ7ovT3gP/5h8A1jBM5kisNedq5ljbaEI4A+xA6PVJq0q8GZ0TwGbN zfXECLil/Kk6K5wcei0TCEsw2Bi0Ak25EppSiEw4X+o+OF+EqRmm0NAtwsEja1crDMQuCx WY9DdTX4GbeBrDoguBLJ5O6C0fYGUmxNaZ2FlZotg8PeH+yl8ZafasZbt3nB0vf0ObIwba Yof4Lhs3x2It7Rav9LPjyPd7RfsX5Z5xbht/uVUbAMqzxO43FsoQNnBP1FwyA+n953wX95 T3XC0fj+pW03pV3YTFNmntY1ELts24a//eo/WT1hjgZL71ZlvoH8EgsaA2ZDOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=c238600e37897576f9200c3d3990874e91714f2b commit c238600e37897576f9200c3d3990874e91714f2b Author: Andriy Gapon AuthorDate: 2021-11-03 11:37:17 +0000 Commit: Andriy Gapon CommitDate: 2022-02-09 09:40:05 +0000 add overlay for enabling i2c1 on allwinner h3 At least on Orange Pi PC Plus it is routed to the 40-pin header, so it can used to communicate with external devices. (cherry picked from commit a471646a0802344215cd2434fcf39997112b7958) --- sys/dts/arm/overlays/sun8i-h3-i2c1.dtso | 10 ++++++++++ sys/modules/dtb/allwinner/Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso new file mode 100644 index 000000000000..78c45005ee07 --- /dev/null +++ b/sys/dts/arm/overlays/sun8i-h3-i2c1.dtso @@ -0,0 +1,10 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "allwinner,sun8i-h3"; +}; + +&{/soc/i2c@1c2b000} { + status = "okay"; +}; diff --git a/sys/modules/dtb/allwinner/Makefile b/sys/modules/dtb/allwinner/Makefile index 0a47ca31f3af..51793bbc7854 100644 --- a/sys/modules/dtb/allwinner/Makefile +++ b/sys/modules/dtb/allwinner/Makefile @@ -26,6 +26,7 @@ DTS= \ DTSO= sun8i-a83t-sid.dtso \ sun8i-h3-i2c0.dtso \ + sun8i-h3-i2c1.dtso \ sun8i-h3-spi0.dtso LINKS= \