From patchwork Sat Sep 12 21:15:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 1362912 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=KYWWFG1X; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Uuv//4A5; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bplnk12Zsz9sTK for ; Sun, 13 Sep 2020 07:17:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YEqxnq9bJfUPbIy7hWvBMwkTTj+K4ms9OsIl8xRzJ9k=; b=KYWWFG1Xne0jsYXqhmZ6A/74E +4lhqYq3Xhpb10OHKdzn0MakFTw3WSZlvq9GKC8QOEIEfjc7l3v+JmkUh0UJZEgO0lldBmfQDowfk 3Qs2nDWwH8FFiMhvVr8b2A8krCTyD1tN1+XGov3fyB9S62jhGmrgFWh5qc/alPzI5Mxvvc0BTm2zu TMs6eO7naL/pxpYhCsfVgYHc6yBS3BaFzWOwbmE0/gveomnMBB8REi8z7166UsNbGa40S/x0/2j2g 7HVGn5CaKavHJyzq22RTyzkVhbHLzS6PMkJe7OmmCMFd0XSAp1laJeNYk73ebRWcSSfHpX6deGE3Q /QIl3t5nw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHCsL-0006Hi-83; Sat, 12 Sep 2020 21:16:01 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kHCsF-0006FN-Id for openwrt-devel@lists.openwrt.org; Sat, 12 Sep 2020 21:15:56 +0000 Received: by mail-ed1-x543.google.com with SMTP id j2so3196929eds.9 for ; Sat, 12 Sep 2020 14:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Un6zZvUcJRIokZobWPPQSQbOzvlzbF9B6F0exynr2Eo=; b=Uuv//4A5bDXoJfI6v2aDH5OYrpxrVMCeozahcMoPluE/Iwsj1sA275SCcnW3jsxNP8 sLFAVox+m1xw1kTKPJZCOgqm8NjASF+8ebTaxQSlx1d4mzjirIZjdxyG9sNcVrCYIjWh ikTpD0jan0XC9ndWt6Y6vk/xprGXBynkluvxbcAlwlws8GFFH3Tw+SLuNCHJUKUp+319 mXjZKrxDjFuoO6IolcF8CPISDtPfnT0k0Ve4sl64B1d1u3lfsKg4W7y/7I+VxqDuaYTP PLn9UZk6zXiYGEHc2rtIr5g14lZXDFYPGWaeF8y1KPACYN9zkXlqqE3vZYqzu3CF0vg2 RXzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Un6zZvUcJRIokZobWPPQSQbOzvlzbF9B6F0exynr2Eo=; b=BwqYLRsUzb0SkU4chSqnQqCY9HTsmPRjn2OBxKF/oRWmN3XKHVgEiOLLLwosamWWUy r3DaDN3HG4dlf09A1rOeGcrwS4vlOpQH0J12hMId/Tl2PNR8KpRSYbuuvnIZpP48VQsy CQRGarQ2sf0ugLkrs++yQbGu0FXcVSF8m27ISa0WOqY1L9IYZ8QKj4femov5YIXaL0qz WPvZsm+pb4c3awEdMvHCHrm5Ol06Nn3/Z6Dq04JG2r6vKEqxuco0/xcqYqr0eYcx37Wb KFLp0DoqxI0HVFtzLMt3N4SeZnSjpXSUbi8EJ3iZr2ioNWcdLzXqmn1CmpBtyElgEKs9 pu0w== X-Gm-Message-State: AOAM530dmnUygYuHDEurzWmjgat8xn9QZZDzYcRhfy8DU/mohO9utpvz M3HY2TRisYf3TT/3WcL2v4+seHKaFvY= X-Google-Smtp-Source: ABdhPJyit5LCHB9iL42jaijK+HSWn2ogLXMFZ5HQKHGHBWgqJL4iM/+sx671cLpGBfrcN7tw0BoZqw== X-Received: by 2002:a50:f687:: with SMTP id d7mr10382455edn.353.1599945353254; Sat, 12 Sep 2020 14:15:53 -0700 (PDT) Received: from debian64.daheim (p5b0d7816.dip0.t-ipconnect.de. [91.13.120.22]) by smtp.gmail.com with ESMTPSA id bn14sm3842505ejb.115.2020.09.12.14.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Sep 2020 14:15:52 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.94) (envelope-from ) id 1kHCs4-001442-6g; Sat, 12 Sep 2020 23:15:44 +0200 From: Christian Lamparter To: openwrt-devel@lists.openwrt.org Subject: [PATCH v3 6/8] kernel: package bcm53xx i2c module Date: Sat, 12 Sep 2020 23:15:32 +0200 Message-Id: <3f787818e4f2f2144473347f8d7a1acf0c6f3ff9.1599945264.git.chunkeey@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <05408ae755225bdcddace6a1316ee4176e437554.1599945264.git.chunkeey@gmail.com> References: <819d2e74bd950ba6970fa6bd03f6c10dd48dcbab.1599945264.git.chunkeey@gmail.com> <74a8026cdfc2105396f5a35e0d45d6d4f57aebe0.1599945264.git.chunkeey@gmail.com> <05408ae755225bdcddace6a1316ee4176e437554.1599945264.git.chunkeey@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_171555_664208_E3465E8C X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [chunkeey[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: rafal@milecki.pl, hauke@hauke-m.de, f.fainelli@gmail.com, chrisrblake93@gmail.com, Adrian Schmutzler Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The BCM5301x SoCs do have i2c. Since this is only being used by the Meraki MR32, this will be packaged as a module. Signed-off-by: Christian Lamparter --- package/kernel/linux/modules/i2c.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk index ca6463c81b..1c8b1b844e 100644 --- a/package/kernel/linux/modules/i2c.mk +++ b/package/kernel/linux/modules/i2c.mk @@ -259,3 +259,17 @@ endef $(eval $(call KernelPackage,i2c-tiny-usb)) +I2C_BCM_IPROC_MODULES:= \ + CONFIG_I2C_BCM_IPROC:drivers/i2c/busses/i2c-bcm-iproc + +define KernelPackage/i2c-bcm-iproc + $(call i2c_defaults,$(I2C_BCM_IPROC_MODULES),59) + TITLE:=Broadcom iProc I2C controller + DEPENDS:=@TARGET_bcm53xx +kmod-i2c-core +endef + +define KernelPackage/i2c-bcm-iproc/description + Kernel module for the Broadcom iProc I2C controller. +endef + +$(eval $(call KernelPackage,i2c-bcm-iproc))