From patchwork Tue Mar 13 17:35:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Unterwurzacher X-Patchwork-Id: 131525 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1037742ljb; Tue, 13 Mar 2018 10:56:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELvS0VNGwr4Va+cGzpikPv7FYiWc24BhQTnquidtA8//KEOQrAtO1o6ceKOxPHmrvNt5N0jD X-Received: by 10.99.52.11 with SMTP id b11mr1125715pga.377.1520963776396; Tue, 13 Mar 2018 10:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520963776; cv=none; d=google.com; s=arc-20160816; b=xL/lGQXHgKLxBJ2DvYn6jJWp4tDa8TNE7kcPhuXFNOp7eFwDvBNzCi1DduqrdrqRAj DgvvsIiVNNLRBICysMhM5Sf5DSuG7cJF/FaFZG1wOum6N4ZePJ7NywfYmTdzpKGdLHTV iY2wUCWnhj39AhkGRWqjsqhrKs11Xqd1aTmaFIP81PW2+rEQeSVwdNIPB7XpimDUt5in snmV6Wl0K9su+pin6zlWMjmHnStTc8hY8Iyv8yLiXIxm0xhTWJ2hVJ0ZmXWRil0uHlAF ckDSXSjhGKedgHkY/Vm2UIIaJWUHeGpMCvf2L0NdtCqY95rGDFJ6wPQkKUPymYldpYyL 78Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=9b64QJJAzbEI3NA2UJQ/x9cFt6i5+PMDDQu2hHwKOws=; b=BD/TDji5zz5+2E5iyRtbQeJHYHzXitMRaGX37dVNQCX91vuDWhcO4Xro8Glb8p5Hxs ZIvSP6mwAM+X9zWxYPHpGCNMBBmXo2wOSprs3bdESYKpmoCXWERn5f3ReonuNkdta8/k n/Vq8g00XxKvcMlOwAvzZHJdHeHux0DLEqZVymsZuJGh3DgKgGFl+DEvz5Ve8LAmEzNd QG5l7grDHASaauhU6Ym8a3Vi8cGRlgujki/GaXO5DzG3ng46OQ6BoSLKcxArE2VuQxG+ sLZykHnByp6OU321laEpqHLesego62hkTfGwZuO4k0yB1ep9yaTT8eJe2isfFyKklubi 5DcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z62si422091pgd.819.2018.03.13.10.56.16; Tue, 13 Mar 2018 10:56:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbeCMR4N (ORCPT + 28 others); Tue, 13 Mar 2018 13:56:13 -0400 Received: from vegas.theobroma-systems.com ([144.76.126.164]:34775 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752519AbeCMR4M (ORCPT ); Tue, 13 Mar 2018 13:56:12 -0400 Received: from [86.59.122.178] (port=46158 helo=blau.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1evnps-0000jO-TQ; Tue, 13 Mar 2018 18:35:40 +0100 From: Jakob Unterwurzacher To: jakob.unterwurzacher@theobroma-systems.com Cc: Martin Elshuber , Philipp Tomsich , Wolfgang Grandegger , Marc Kleine-Budde , linux-can@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/1] can: ucan: add driver for Theobroma Systems UCAN devices Date: Tue, 13 Mar 2018 18:35:19 +0100 Message-Id: <20180313173520.21257-1-jakob.unterwurzacher@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the second iteration of the Theobroma Systems CAN/USB adapter driver. Thanks to feedback from the list and additonal internal stress-testing, the driver, the wire protocol and the device firmware have been improved. Among other changes, error states are now handled, and an explicit tx completion message has been added. A few questions and review comments are still open. I will post an email gathering all answers in a reply to this cover letter. Jakob Unterwurzacher (1): can: ucan: add driver for Theobroma Systems UCAN devices Documentation/networking/can_ucan_protocol.rst | 315 +++++ Documentation/networking/index.rst | 1 + drivers/net/can/usb/Kconfig | 10 + drivers/net/can/usb/Makefile | 1 + drivers/net/can/usb/ucan.c | 1587 ++++++++++++++++++++++++ 5 files changed, 1914 insertions(+) create mode 100644 Documentation/networking/can_ucan_protocol.rst create mode 100644 drivers/net/can/usb/ucan.c -- 2.11.0 Cc: Martin Elshuber Cc: Philipp Tomsich Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Cc: linux-can@vger.kernel.org Cc: linux-kernel@vger.kernel.org