Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp488652ima; Wed, 24 Oct 2018 04:41:39 -0700 (PDT) X-Google-Smtp-Source: AJdET5dlmnM/eVFmPgD7zR5HDubg1oNLloRfU2ofbLF9YsbGHuQwqh8ezxijcVNM/gVHwT2PXebD X-Received: by 2002:a17:902:d01:: with SMTP id 1-v6mr2262364plu.88.1540381299168; Wed, 24 Oct 2018 04:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540381299; cv=none; d=google.com; s=arc-20160816; b=slfFvl2PpLHJm1Flod160RpIEoNOejinPbcUbhEvFyYXO3jxqZ8PpjzJj6RXtzMp3S Kg0dOg1YtWtXxtBIzo0h31GL6iHJZVY7RY2uFtJAeNMYrZ078h/knyoiYPNt60MO8bYE aGQEB8uRe3tYO8MeF2IeKF/OZrM2Zm6U+Sj0EWYxcnZoKIoCcONPjxdoSiFYasoxXHID TObSKSGSmsh4kce00Mv+lS25CNNyhRPJCmbhTqRjOaETIbXtp0muoHYFiDo2nDQrXFpc zak5rlkRj4rf47VL9/JS2zWPlB0xfODjuKL5wlYnLtHysjIbk1XHpoXkMXgbDf8QI9re VtbQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=D8C+71HgbOmzWSmmFjgZIm6OrZVmpL6uqIr4i0Xaf0E=; b=gM9P8+HMvL+ZTYycUaGG1LuhuyymlXp9iD3Pmbn1Ne5e0pa/MdsHqCU8AvqBczIlen pEsZElbiWJKgY7eY1DXdjNe5XoWXzSFM1BE0tO9m4FkPZsykQaidIwd2AUwKQXtkp5MN ZUGaJUVpX8qERPHoCRSD+H9/0cMGwwqcGpEtS16zRrOxzUmive2X5IdWo4TUCLdvDaiF ZO34vSs5R9RuuIjArqCiXpX6+p8murfzv10GiSMhK0Fob0xzAxk1aiA6egaQMvNexjPG FL9R7iqZ2Wy2GLiczd1nMVkNe7xefvmnrqOUF+Zd6fLff1fv3cuCeTAHleQmorLD1H8A qC5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uDyI5xJM; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si4298512pfa.260.2018.10.24.04.41.23; Wed, 24 Oct 2018 04:41:39 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uDyI5xJM; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727416AbeJXUHf (ORCPT + 99 others); Wed, 24 Oct 2018 16:07:35 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:46530 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbeJXUHf (ORCPT ); Wed, 24 Oct 2018 16:07:35 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9OBdfm7046183; Wed, 24 Oct 2018 06:39:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1540381181; bh=D8C+71HgbOmzWSmmFjgZIm6OrZVmpL6uqIr4i0Xaf0E=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=uDyI5xJMLFKogOFsGRpgkTzZa+PlJ+yUYBMyP5kYXyLAA5PyUt3HIj+vo9BDrjp6i SVjl8EbcbjQgjcE0RsE297ybMT6Pq9cC24PmxRZ0buRuIUv0t+/dp6FMF3xSeC50c8 aupKjHXgrkHaSexKcqZkeHQEos7w0RRJvEn/0yqE= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9OBdfWk023012; Wed, 24 Oct 2018 06:39:41 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 24 Oct 2018 06:39:41 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 24 Oct 2018 06:39:41 -0500 Received: from [172.22.136.76] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9OBdeih007833; Wed, 24 Oct 2018 06:39:40 -0500 Subject: Re: [RFC PATCH 0/3] M_CAN Framework rework To: Faiz Abbas , , , CC: , , References: <20181010142055.25271-1-dmurphy@ti.com> <8247a28f-ae33-1ab1-b6d1-c89b839d357c@ti.com> From: Dan Murphy Message-ID: <8b793f8a-6ffb-9e23-1965-9e7c631031a1@ti.com> Date: Wed, 24 Oct 2018 06:39:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <8247a28f-ae33-1ab1-b6d1-c89b839d357c@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/24/2018 02:33 AM, Faiz Abbas wrote: > Hi Dan, > > On Thursday 18 October 2018 01:51 AM, Dan Murphy wrote: >> Bump >> >> On 10/10/2018 09:20 AM, Dan Murphy wrote: >>> All >>> >>> This patch series creates a m_can core framework that devices can register >>> to. The m_can core manages the Bosch IP and CAN frames. Each device that >>> is registered is responsible for managing device specific functions. >>> >>> This rewrite was suggested in a device driver submission for the TCAN4x5x >>> device >>> Reference upstream post: >>> https://lore.kernel.org/patchwork/patch/984163/ >>> >>> For instance the TCAN device is a SPI device that uses a specific data payload to >>> determine writes and reads. In addition the device has a reset input as well >>> as a wakeup pin. The register offset of the m_can registers differs and must >>> be set by the device attached to the core. >>> >>> The m_can core will use iomapped writes and reads as the default mechanism for >>> writing and reading. The device driver can provide over rides for this. >>> >>> This patch series is not complete as it does not handle the CAN interrupts >>> nor can perform a CAN write. If this patch series is deemed acceptable I will >>> finish debugging the driver and post a non RFC series. >>> >>> Finally I did attempt to reduce the first patch with various git format patch >>> directives but none seemed to reduce the patch. >>> >>> Dan >>> >>> Dan Murphy (3): >>> can: m_can: Create m_can core to leverage common code >>> dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver >>> can: tcan4x5x: Add tcan4x5x driver to the kernel >>> >>> .../devicetree/bindings/net/can/tcan4x5x.txt | 34 + >>> drivers/net/can/m_can/Kconfig | 18 + >>> drivers/net/can/m_can/Makefile | 4 +- >>> drivers/net/can/m_can/m_can.c | 1683 +---------------- >>> .../net/can/m_can/{m_can.c => m_can_core.c} | 479 +++-- >>> drivers/net/can/m_can/m_can_core.h | 100 + >>> drivers/net/can/m_can/tcan4x5x.c | 321 ++++ >>> 7 files changed, 722 insertions(+), 1917 deletions(-) >>> create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt >>> copy drivers/net/can/m_can/{m_can.c => m_can_core.c} (83%) >>> create mode 100644 drivers/net/can/m_can/m_can_core.h >>> create mode 100644 drivers/net/can/m_can/tcan4x5x.c >>> > > Patch 1/3 never arrived for me. Its not there on lkml either. > https://lkml.org/lkml/2018/10/10/611 > LKML seems to have issue with 1/3. Here they were posted. Maybe the patch is to large but I received all 3 + the cover letter. https://lore.kernel.org/patchwork/patch/998019/ https://lore.kernel.org/patchwork/patch/998017/ https://lore.kernel.org/patchwork/patch/998020/ > Can you resend the complete series? > > Thanks, > Faiz > -- ------------------ Dan Murphy