From owner-svn-src-head@freebsd.org Thu Jun 14 06:41:00 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B15CC1006C34; Thu, 14 Jun 2018 06:41:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F30C778C8; Thu, 14 Jun 2018 06:41:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4077524D12; Thu, 14 Jun 2018 06:41:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5E6f04n064081; Thu, 14 Jun 2018 06:41:00 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5E6ex7e064074; Thu, 14 Jun 2018 06:40:59 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201806140640.w5E6ex7e064074@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Thu, 14 Jun 2018 06:40:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335115 - in head/sys/modules: . rockchip rockchip/rk_i2c X-SVN-Group: head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sys/modules: . rockchip rockchip/rk_i2c X-SVN-Commit-Revision: 335115 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 06:41:00 -0000 Author: manu Date: Thu Jun 14 06:40:59 2018 New Revision: 335115 URL: https://svnweb.freebsd.org/changeset/base/335115 Log: Add modules/rockchip Build rockchip modules as part of buildkernel. Add the i2c controller module. Added: head/sys/modules/rockchip/ head/sys/modules/rockchip/Makefile (contents, props changed) head/sys/modules/rockchip/rk_i2c/ head/sys/modules/rockchip/rk_i2c/Makefile (contents, props changed) Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Thu Jun 14 06:39:33 2018 (r335114) +++ head/sys/modules/Makefile Thu Jun 14 06:40:59 2018 (r335115) @@ -331,6 +331,7 @@ SUBDIR= \ ${_rdrand_rng} \ re \ rl \ + ${_rockchip} \ rtwn \ rtwn_pci \ rtwn_usb \ @@ -563,6 +564,7 @@ _allwinner= allwinner _armv8crypto= armv8crypto _efirt= efirt _em= em +_rockchip= rockchip .endif .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" Added: head/sys/modules/rockchip/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/rockchip/Makefile Thu Jun 14 06:40:59 2018 (r335115) @@ -0,0 +1,7 @@ +# $FreeBSD$ +# Build modules specific to RockChip. + +SUBDIR = \ + rk_i2c \ + +.include Added: head/sys/modules/rockchip/rk_i2c/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/rockchip/rk_i2c/Makefile Thu Jun 14 06:40:59 2018 (r335115) @@ -0,0 +1,16 @@ +# $FreeBSD$ + +.PATH: ${SRCTOP}/sys/arm64/rockchip + +KMOD= rk_i2c +SRCS= rk_i2c.c + +SRCS+= \ + bus_if.h \ + clknode_if.h \ + device_if.h \ + iicbus_if.h \ + ofw_bus_if.h \ + opt_platform.h \ + +.include