Message ID | DU0PR04MB9660CEF3C80D29F09CD2750EBDAAA@DU0PR04MB9660.eurprd04.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ouwFgH8P; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=SILICOMLTD.onmicrosoft.com header.i=@SILICOMLTD.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-SILICOMLTD-onmicrosoft-com header.b=c8e2kcMp; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SP4hC03ncz1yQ5 for <incoming@patchwork.ozlabs.org>; Mon, 6 Nov 2023 19:46:16 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=77Et06IhWk4fifxHfJ3kft2Y3tH+bu2X23v8wNaBngw=; b=ouwFgH8Pb8chvf09gj5z6tsESH FxZvgLmq78BSS3uwQ6og9rh4m9LoT6Fd5yopMqcxEVM3SkOfjI080qjvBj734g/LnYRXQvw5UNF9c 7fUn9QPKsD+pog/ILiIKIWOpIko+JGQwSBYAMMV//sTl8d6Dedbur1qMcB/K6mPGCVGPFVJy20oCu kbGDyetgYM/CvK1vDG7hOHqZKYOpwV+fIn+RtUQA0RYSrgvKhLLLGeeMMVQGp0Lmm8pB/JQdPNRC9 IodyvzmUN04zOgP6wO766PSJ2+onTNFRPSWaHTReTgg8LB4iZ2RZiQp8o9Fk6LDKIMCo45MHVtm0P 86BiYFNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qzvC8-00G5jE-1W; Mon, 06 Nov 2023 08:42:52 +0000 Received: from mail-he1eur04on0729.outbound.protection.outlook.com ([2a01:111:f400:fe0d::729] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qzvC4-00G5ir-0k for openwrt-devel@lists.openwrt.org; Mon, 06 Nov 2023 08:42:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUDykccjESOIrr/KIfxRsD85RS2U8wEofpYnB9xOimSXWKyaX/V8L4Yh+UX9SrmJe9dq2v92ve6G3WxPEts8UZ4wiGqpWGomChodhPyQhYuHsojMrZiiRGMJoSpI1tZnCHQOC8A/deKt6mEHoTjRtG7meE5O2gYV62RhylxPFtWjwC8i6VvD3WhlcstAMtciSv7gdtbxN0+7rslFn7kRrE9C8sptxnjzNpi/OQWQlafGfAnb3vyATqDV4VP/ctD8EionTVJsIQwLjXVApw14iDBFA5iil68aLx+ILBfrUYrvXmnXx786DaUrhiwbwH79ARrIerZToLH7XThvdYVU/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=l0RlLXZguiiGVjeqB46rFiiIqlUcfpdktJhDOnBtUec=; b=M75rfkpyRPTLkuTz7SGMLKMZ7/CTXhmhpBKWJFKOlqh06m+rWMk2uQeEC4Sls+m8OIrMig94wuWKK/byw1oiyar3WXHGtdZ2u5eh7hv1hMYm+nKWGdAG/942rKRbLVDqW+gu0ztn2ri2oQHhG3CGVe5w86nFSa/Vo+zPrsEdklzJR0uHYKxPCoM0OINsCDhfFEXF/Xn4B3oIFUvcDOw4nneGRa9VUhEh4tvHMSNsRhebC0dguWW1ipjwX+AnMvoD5rJLlKs641PxIq500JebMJH3YBAA9tg/zsfIjNMQgvKZlj/dZg7QODeEmjoGkWTTMsa3TggW2LFk9D5kn9kBOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silicom.co.il; dmarc=pass action=none header.from=silicom.co.il; dkim=pass header.d=silicom.co.il; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SILICOMLTD.onmicrosoft.com; s=selector2-SILICOMLTD-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l0RlLXZguiiGVjeqB46rFiiIqlUcfpdktJhDOnBtUec=; b=c8e2kcMp/EgzOiNBMQbAnO+VYC65IZAl/CUY62lwuKH/4WMHCIgd8kab7aMXHOrdY9z9yRfIUGnSwS6zw9fLfqb70qtuJivxjzf6HAmshxTRMMGuLo/6l7HxmjWukCr3PFEuk3/Mjof7dsYoD4ILSZwkQrpQ1/das+6eu6vXsUg= Received: from DU0PR04MB9660.eurprd04.prod.outlook.com (2603:10a6:10:31b::6) by PAXPR04MB8751.eurprd04.prod.outlook.com (2603:10a6:102:20d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.16; Mon, 6 Nov 2023 08:42:35 +0000 Received: from DU0PR04MB9660.eurprd04.prod.outlook.com ([fe80::4985:7ead:20b8:9281]) by DU0PR04MB9660.eurprd04.prod.outlook.com ([fe80::4985:7ead:20b8:9281%6]) with mapi id 15.20.6977.010; Mon, 6 Nov 2023 08:42:35 +0000 From: Xiaojun Liu <xiaojun.liu@silicom.co.il> To: "openwrt-devel@lists.openwrt.org" <openwrt-devel@lists.openwrt.org> Subject: [PATCH v1] x86 64: Add driver for Silicom Platform device Thread-Topic: [PATCH v1] x86 64: Add driver for Silicom Platform device Thread-Index: AdoQeuhHTVxl6SJFTKms70w0PzX+8A== Date: Mon, 6 Nov 2023 08:42:35 +0000 Message-ID: <DU0PR04MB9660CEF3C80D29F09CD2750EBDAAA@DU0PR04MB9660.eurprd04.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silicom.co.il; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR04MB9660:EE_|PAXPR04MB8751:EE_ x-ms-office365-filtering-correlation-id: f6563516-9286-414e-dc33-08dbdea4530f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nBqxsz+BIIC0rw0uOY1ceHIB1IwpkWgfuMscc8x1QkKsS6cKot0lOJSqg90F3mFDXAW53FKunGFIyjbUgf1UINnImJx69h2wEnrCjLpXtYvnR/vwhoppSKPttTM0X1CMSS7GzwGgS8EnYC4FatMsuOyNo90ErvDQBhiUyRFmvnem/4V61o80SnZNLTdP+5fbb08KhMRm5jTGKCkvs0FBvv/8tPdS5HpbQontWscgomnbHVF0B9D0JPdzG6IOczdTXAae0TIs2WOXOAziyrL9A/R7Yuz1+KCtqS6kI7TfgKIAY/WmQyrZiI/LBswCN2Qwvq0U0d8c7D2PPJhoo0dmsPfyn7AHbhbZ6YICHQayYjEyyF+sqyBv4fRe9ND8ulHwL8pPdrSkAwjDbCs9UFnSXg4gjky6HkgGJBluRsvmIopYtzwidAkgLQ2TG6HmrE626KN3dZYAC0QoystuR7dj0RMElq9pOc3mS06uKM/wg+NpXahQMykVSOjcSxI+8VnEInVVgQWdV6Wb9Ma+48Yk1CK0kkHmvSRi5lFLmmiewrmhbVGoERGUB5KHqzD4klBzVZvk+yTfchZosZZHk8Tg/PgS8SnsRRngenMuBvZRGjs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9660.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(346002)(396003)(39850400004)(376002)(136003)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(55016003)(9686003)(7696005)(478600001)(71200400001)(6506007)(2906002)(38100700002)(33656002)(99936003)(122000001)(86362001)(66476007)(5660300002)(64756008)(66946007)(41300700001)(66446008)(66556008)(26005)(44832011)(316002)(6916009)(38070700009)(52536014)(8936002)(76116006)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: hnLGG5LmQmDm77CJKZD/2CqI0kVhcxPw0zp60ut2LaYKCYynJjt9EaRtkCvElKCV0PfGqkICtlxddpg8GzeqRGrfiDuYsna4SxwhthgvjdNSxJPOzl8FWaF6S8UVQO+kqFUZOLdMAtmw0HVSuh+LkfBE76G333JGSos7xgfDO5QDnslQy+dydlFgt83jH+pV4FQDcviN+udf/gE9EAt4OkzfII+DwW8jEg1QI//Kl565gVC4aMte6CN4wkPVCTzhWE6C5kTB0EQ2VclLuCqHnYTo/7e+58Wzjv5K4nUWdzxmKOcDbzceuH+rmZwsO1uGS5PG3007i71Z0TOfcaSjBn4UuT+XQdBYSLpIo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V3+t0hc66lQk+hSSYw9yoQgyXVhwz+uCG6hRlNtQTdLUP8yQSI/d7w9xwsFQmXydesJqUwngKIaYZ5DoyHFV7+2RzTNUU5V4AjX9aotqW/ddPIvJlU5WSrEjVQOmne5wTZMkQfuedW1k8ejDCmMuaEKO4u Content-Type: multipart/mixed; boundary="_002_DU0PR04MB9660CEF3C80D29F09CD2750EBDAAADU0PR04MB9660eurp_" MIME-Version: 1.0 X-OriginatorOrg: silicom.co.il X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9660.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6563516-9286-414e-dc33-08dbdea4530f X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2023 08:42:35.2183 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c9e326d8-ce47-4930-8612-cc99d3c87ad1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i9FZpBtT1Fl+nmI0cjfEiZT2yR8P22rA+Gp1W3LhSy0yO39nzPepP4nI6x7R7uVRRsfKyOYsT7ETrc1W4KNBuhF9uTod1QNK1GmdcCruaTk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8751 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231106_004248_387110_6C543223 X-CRM114-Status: GOOD ( 10.85 ) X-Spam-Score: -0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Add Silicom platform driver for Swisscom BB and Cordoba family products. This platform driver provides support for various functions via the linux LED framework, GPIO framework, Hardware Monitoring (H [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
[v1] x86 64: Add driver for Silicom Platform device
|
expand
|
diff --git a/package/kernel/silicom-platform/Makefile b/package/kernel/silicom-platform/Makefile new file mode 100644 index 0000000000..a3770cd3e0 --- /dev/null +++ b/package/kernel/silicom-platform/Makefile @@ -0,0 +1,44 @@ +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=silicom-platform +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/silicom-ltd/openwrt-silc-drv.git +PKG_SOURCE_DATE:=2023-11-03 +PKG_SOURCE_VERSION:=fa48edb29dc88af35f3d5eda80258ebff4fdbefe +PKG_MIRROR_HASH:=07ae21062417110897770983eabadb69c87b1e9824e33b63c3a4313c4a7b37a0 + +PKG_LICENSE:=GPLv2 +PKG_LICENSE_FILES:=COPYING + +PKG_MAINTAINER:=Xiaojun Liu <xiaojun.liu@silicom.co.il> + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/silicom-platform + SUBMENU:=Other modules + TITLE:=Silicom Platform driver for Swisscom BB and Cordoba family products + FILES:=\ + $(PKG_BUILD_DIR)/$(PKG_NAME)/silicom-platform.ko + AUTOLOAD:=$(call AutoProbe,silicom-platform) +endef + +define KernelPackage/silicom-platform/description + This platform driver provides support for various functions via + the Linux LED framework, GPIO framework, Hardware Monitoring (HWMON) + and device attributes. +endef + +define Build/Configure +endef + +define Build/Compile + $(KERNEL_MAKE) $(PKG_JOBS) \ + M="$(PKG_BUILD_DIR)/$(PKG_NAME)" \ + modules +endef + +$(eval $(call KernelPackage,silicom-platform))
Add Silicom platform driver for Swisscom BB and Cordoba family products. This platform driver provides support for various functions via the linux LED framework, GPIO framework, Hardware Monitoring (HWMON) and device attributes. Signed-off-by: Xiaojun Liu mailto:xiaojun.liu@silicom.co.il -- package/kernel/silicom-platform/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+)