Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp210696pxf; Thu, 11 Mar 2021 01:52:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRhtwk/omfmi5eO2+wRLS3Oz09ycfng1UBhd5qgiH2vX2qtVvFwSpX9qbDXE6nNFICwdSA X-Received: by 2002:aa7:d917:: with SMTP id a23mr7661088edr.122.1615456365566; Thu, 11 Mar 2021 01:52:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615456365; cv=none; d=google.com; s=arc-20160816; b=0bxCJAdnVWPoRRNzdI8GG5xW5yROyRexu4gn6JaDzf6LBl+DMQAgY3ev2zHy8HvKqD x65EpWA7aaQJoGYA/YnPFYsmOQj9MCd0PRqIFQK/Zf56Ofw0IELvjnz/+DvR9rwpQTm7 1esT9YiB0XcABc9ITKbObW/JJGkVSGTx3lTyqGiNAgmNvi0YCpfq/p09pEPtZ4xty4oj UKm4o+ZIdvEBen/ETa4nziUi8jWXbY+pEULEaERxZz0c+rC7nCa/xkdznOahS2KNXv/6 vUxunHhgijtDD2qVHHuiY1HrmFjAwR+B3e4vfFXDyASRynB9dZUkaXEdrfAp2acg+y2y s+5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=v7u+/xV3QKdov9B1WTObPx2BzVZdwCg4jskV5OYGlkA=; b=pOrl7TPxlOABTqQPBhsyLhYxspe06elBOsHRh3vZ7D4dgmD3EW0WXLC6oa0EEYavUA 4JcFVSi20MtuB0w1W14oRnicLOx0mVi8jMtw/S5B5s/RNcTnxqhO+sXCEPSXi6hS7Qfm qEgHBCp/oj1hMOq2fefRSigT0NTDOaVIjk3sajju6mlfXIfRL8M0WSXRB9s5+hHVVuSe p1VhiFJJBDdsyAAE/wyjWfC5uVypNq+WYNE81IEGuEsv/Ci+x+sbjQ7p5im246D7wJ3g yxbS+gDLjVpFNaVlHZ0n0KMGxN5nTQ3fRKj7oc/r6KLE30HV0Lvu4MHVO+o0q6SEf4/B 0EkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hF3fIxsL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b25si1379308ejv.506.2021.03.11.01.52.23; Thu, 11 Mar 2021 01:52:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hF3fIxsL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232144AbhCKJvV (ORCPT + 99 others); Thu, 11 Mar 2021 04:51:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232124AbhCKJu4 (ORCPT ); Thu, 11 Mar 2021 04:50:56 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F8B6C061574; Thu, 11 Mar 2021 01:50:56 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id f12so1084383wrx.8; Thu, 11 Mar 2021 01:50:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=v7u+/xV3QKdov9B1WTObPx2BzVZdwCg4jskV5OYGlkA=; b=hF3fIxsLGBJ0FEzYEV2W0GgU8/yJ4EPnKKr5hHsn/iDmPV+8KsQSMfxJ+OTMQThVtC RY0tfBY4NE4TAYr1tf7BIl4Z+Kno8Tpkfz2vb5XixlZNbg11LvtG5faVxDpgoMO9MmqK Brj8ZU+duoetl0hjqJenU+0GK19niUzotwQ+ymvc+BeW0bd2AkkTQKB/VSQSx2UG9V6y p8xZgfVtRB2dO8YoZEURxlLGa/qsjWGCy/boWbEzk1Stm9E+AjCGu2zDvyP7bV/BxiUV 09GOb+Wo6s9dMXGTl+LFZV3/j2TxP50KHWlv+1ZFtCseP7QyOl0Jgt0FRGlEn7yOPGzt 3tog== 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; bh=v7u+/xV3QKdov9B1WTObPx2BzVZdwCg4jskV5OYGlkA=; b=oUdtnbJT83q8dnubaHZX1jqa5e6Frt61CBTPvG6hTf4HemNYgDyhJZtEheLA9s9G9v UJnG/CkTDYuSZbEnX8od7Ggwu0KAksEwQrPrHvTZsomz3AtfpVCD7tOrZLLcC0R6pnuc yAJMpeUA+WfvQSQmk263XNydH7sjT9g+DPYr+lmAJEeYfarcsRMwJTkuC7y6bBfFqLQa erTATKMNc5xzn5aB3XGM+hufea0D1YltM7+zanXm46rWTZBV2GoXdysC4MM+Swzg3dQ9 OwSHJD7JIE9OaxKjLENYw+ujQoWuBcEcL67X6h10Jh9gyhCUFnugRshDQ41QXjYfsoWH cCHA== X-Gm-Message-State: AOAM532FG4hQ87kvnySZYGhGxvT9nAlaDSs5hO94+KmOdnVfjvsX6+wJ LMku3jvzxHUhvwPY+bifrhE= X-Received: by 2002:a5d:4e83:: with SMTP id e3mr7858865wru.82.1615456255306; Thu, 11 Mar 2021 01:50:55 -0800 (PST) Received: from ruhe.localdomain (93-173-65-134.bb.netvision.net.il. [93.173.65.134]) by smtp.gmail.com with ESMTPSA id h22sm3270337wmb.36.2021.03.11.01.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 01:50:54 -0800 (PST) From: eli.billauer@gmail.com To: gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org, dan.carpenter@oracle.com, Eli Billauer Subject: [PATCH v4 0/2] Submission of XillyUSB driver Date: Thu, 11 Mar 2021 11:50:31 +0200 Message-Id: <20210311095033.20956-1-eli.billauer@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eli Billauer This is a resubmission of the XillyUSB driver, which is the USB variant of the existing Xillybus driver. Because these driver share some API related functions, this submission consists of two patches: (1) A patch moving away Xillybus' class related functions to a separate module file. (2) A patch adding the new XillyUSB driver, based upon this new separate module. As far as I can tell, the shared code between the Xillybus and XillyUSB drivers covers everything that makes sense to share. I submit XillyUSB as a staging driver, with the hope for a detailed review on this issue, as well as a general code audit. Thanks, Eli Eli Billauer (2): char: xillybus: Move class-related functions to new xillybus_class.c staging: Add driver for XillyUSB (Xillybus variant for USB) MAINTAINERS | 1 + drivers/char/xillybus/Kconfig | 4 + drivers/char/xillybus/Makefile | 1 + drivers/char/xillybus/xillybus.h | 10 +- drivers/char/xillybus/xillybus_class.c | 263 +++ drivers/char/xillybus/xillybus_core.c | 181 +- drivers/staging/Kconfig | 2 + drivers/staging/Makefile | 1 + drivers/staging/xillyusb/Kconfig | 20 + drivers/staging/xillyusb/Makefile | 6 + drivers/staging/xillyusb/TODO | 13 + drivers/staging/xillyusb/xillyusb.c | 2184 ++++++++++++++++++++++++ include/linux/xillybus_class.h | 30 + 13 files changed, 2549 insertions(+), 167 deletions(-) create mode 100644 drivers/char/xillybus/xillybus_class.c create mode 100644 drivers/staging/xillyusb/Kconfig create mode 100644 drivers/staging/xillyusb/Makefile create mode 100644 drivers/staging/xillyusb/TODO create mode 100644 drivers/staging/xillyusb/xillyusb.c create mode 100644 include/linux/xillybus_class.h -- 2.17.1