Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp648122ybt; Wed, 17 Jun 2020 10:14:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG+gnX/OJ7xshgRHDQFVWtAJsw4Gw2USWNFDPFzUdldgGJz3NRNmO3hLeA6Jkw6Hvq9JqQ X-Received: by 2002:a17:906:1ed2:: with SMTP id m18mr122602ejj.529.1592414061814; Wed, 17 Jun 2020 10:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592414061; cv=none; d=google.com; s=arc-20160816; b=WKLP6QKocIpIAPCpbNzkOrky98CRBgIbFAvpL/aTBvHhGnOAvF58Hdas8PVXaBsZrV AD0xCIpqnHtpAXZogQjEFkfD8BJQmVxtxG3eQ1T3Zb+bbT3/dwCbDiLQrGaz8g3SP/sv OAfmOrv5hw1FeXsta4pvryYtdq5RFSCF1maOB/NFrGKZrhwtGKymDTulLOHCgvm0sPk3 IQapPe6K1E0yyYVP8JkII7Vn7xJVcw7dHxEDVE2uvCfv73fn8HTK/frRjOTORIImPRBy deuEUpzkMQaPpEhhMs8fRlBbUPk29dLrXx8JySm0/EFZKP8YTLCB/aVMVzAeAMumE/+A LQQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=URnyPVYSu9qOZlBV4r0fykAP/YlX3X0jnry+rA80n84=; b=WRV+K83GrEHqHG0WfGTG7O5v2JCKHFiA8v4dC+AxQT5jQ/mzzYqlSirjD/d+04gs7E pyJLaC4eYlK/B5rxivf7i2cZVya9pssBBRwoSNFCoVaSoeNihbfxdBJ8fvBhVP3cPKoS eGr2fVR/v2XOi1qjhe8KsAb3osDDKEl/OCcbnOaCwvuUNPS16G9a3OUPckbP/H44QxXz CHXWRhV/7L+wCFod5aFC3B0BnFSheB5lAs+TDoQfi+ZY9pibendEyp4Ov7kRUK/FPbYZ 3+bJCdYrDiiBVWq5muoFpSS8Nsl67JVNrfj0gYZWsO10r/4PbGbYmVm9O6rfywrPCZjz KZkQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn4si288292ejb.124.2020.06.17.10.13.58; Wed, 17 Jun 2020 10:14:21 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726926AbgFQRLx (ORCPT + 99 others); Wed, 17 Jun 2020 13:11:53 -0400 Received: from relay-b02.edpnet.be ([212.71.1.222]:50193 "EHLO relay-b02.edpnet.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726540AbgFQRLw (ORCPT ); Wed, 17 Jun 2020 13:11:52 -0400 X-Greylist: delayed 754 seconds by postgrey-1.27 at vger.kernel.org; Wed, 17 Jun 2020 13:11:51 EDT X-ASG-Debug-ID: 1592413155-0a7b8d5f421573b30001-xx1T2L Received: from zotac.vandijck-laurijssen.be ([213.219.130.186]) by relay-b02.edpnet.be with ESMTP id 6FAs6WMCRd9eJOIK; Wed, 17 Jun 2020 18:59:15 +0200 (CEST) X-Barracuda-Envelope-From: dev.kurt@vandijck-laurijssen.be X-Barracuda-Effective-Source-IP: UNKNOWN[213.219.130.186] X-Barracuda-Apparent-Source-IP: 213.219.130.186 Received: from x1.vandijck-laurijssen.be (x1.vandijck-laurijssen.be [IPv6:fd01::1a1d:eaff:fe02:d339]) by zotac.vandijck-laurijssen.be (Postfix) with ESMTPSA id 9D7CFF5FA5D; Wed, 17 Jun 2020 18:59:08 +0200 (CEST) Date: Wed, 17 Jun 2020 18:59:02 +0200 From: Kurt Van Dijck To: Marc Kleine-Budde Cc: Manivannan Sadhasivam , wg@grandegger.com, kernel@martin.sperl.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver Message-ID: <20200617165902.GB14228@x1.vandijck-laurijssen.be> X-ASG-Orig-Subj: Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver Mail-Followup-To: Marc Kleine-Budde , Manivannan Sadhasivam , wg@grandegger.com, kernel@martin.sperl.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200610074442.10808-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Barracuda-Connect: UNKNOWN[213.219.130.186] X-Barracuda-Start-Time: 1592413155 X-Barracuda-URL: https://212.71.1.222:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-Scan-Msg-Size: 2219 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5260 1.0000 0.7500 X-Barracuda-Spam-Score: 0.75 X-Barracuda-Spam-Status: No, SCORE=0.75 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.82618 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On do, 11 jun 2020 18:26:19 +0200, Marc Kleine-Budde wrote: > On 6/10/20 9:44 AM, Manivannan Sadhasivam wrote: > > Hello, > > > > This series adds CAN network driver support for Microchip MCP25XXFD CAN > > Controller with MCP2517FD as the target controller version. This series is > > mostly inspired (or taken) from the previous iterations posted by Martin Sperl. > > I've trimmed down the parts which are not necessary for the initial version > > to ease review. Still the series is relatively huge but I hope to get some > > reviews (post -rcX ofc!). > > > > Link to the origial series posted by Martin: > > https://www.spinics.net/lists/devicetree/msg284462.html > > > > I've not changed the functionality much but done some considerable amount of > > cleanups and also preserved the authorship of Martin for all the patches he has > > posted earlier. This series has been tested on 96Boards RB3 platform by myself > > and Martin has tested the previous version on Rpi3 with external MCP2517FD > > controller. > > I initially started looking at Martin's driver and it was not using several > modern CAN driver infrastructures. I then posted some cleanup patches but Martin > was not working on the driver any more. Then I decided to rewrite the driver, > that is the one I'm hoping to mainline soon. > > Can you give it a try? > > https://github.com/marckleinebudde/linux/commits/v5.6-rpi/mcp25xxfd-20200607-41 Hi Marc, I'm in the process of getting a Variscite imx8m mini SOM online, with MCP2517FD. The 4.19 kernel that comes with it, has a driver that is clearly inspired by the one of Martin Sperl (not investigated too much yet). I have problems of probing the chip when the bus is under full load (under not full load, the probing only occasionally fails) due to the modeswitch test. Is there a real difference in yours between the rpi and sunxi branches? Is there much evolution since -36 or would you mind to backport your latest -42 to 4.19? I will work on this the upcoming days. I can't do extensive tests, but rather a works-for-me test that includes bitrate probe. I only have 1 such board right now, and no other FD hardware. Kurt > > Marc