Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1496511ybh; Mon, 13 Jul 2020 22:22:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhZVxxqU55wgbwNZ58ju9sHn5ji/HfkDQfG72r04LyulBn6qpO+Ey2sbD+17ry3iajw2HX X-Received: by 2002:a50:ee87:: with SMTP id f7mr2756943edr.355.1594704142408; Mon, 13 Jul 2020 22:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594704142; cv=none; d=google.com; s=arc-20160816; b=cMwhBDSAXt8wFebWRxRKqpA+GpLAk0jdsKWVvDJnJtZUEHs+gChis8LbwVZ6vR2pQm 3zcd7ZYepoHrzKfUhCgURU9Rc5FAcWZYLcuL/COvR2FA1hd+NhYv0C2tPJ5kWIFS7c3N 2zpnrf0ZmlKJbrgYmLDq9fNPWtgVSw6UnC/Mp+6jLbF8VqLDsGEOx25Baowbj7yvD8E7 ClZtqiYwYNfy/tlVRJag/JD8Kc1+eo3Id4KovE9xcMYKlmstjq6pdaoW3ERFj51Prjbr eqQNk2Tto7P1QTmKSK22MwGBhJZ38J3hN/ibYbhf7TGfN2DXCdIK3raWGE0Y+CtK9zOc mNzg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Up3G6PsFpPGYr8nZRL3w9MPTvUeQJXFm+eKweHGs86o=; b=QGL4SsEclS9WZX9QhhZrlHu9QBJ94fdN/kL0JwSGXRKDjxrEh0vjaUnYcq335vSq6O TZyoXB1SxShHbEKrnw1DMx10Uhe+CRztL5pBLRuWP/XK92aQV/AEQJZXYczCBcwZ7pav uT6/ZQjQZ3POa1FThWsAOs1oFLDR68gqwwQ/i4LQi3+8AfVynLCs7NGG7BEH2Bd4N1mP rw6FUwMKEQz8jsN9TH5D8HQ2i74XV3mOYluSv20IBY8IjZNo1GuSExobwrNhaUBT9YUB Z6dSNKzzcF/cXBvTKUfu2exdtJur09N+PySo5ovrHMLq9S/m0DPvLGXr7RtHNNSLqqmt gW8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nr5IsVmB; 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 k7si10746334edq.567.2020.07.13.22.21.58; Mon, 13 Jul 2020 22:22:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nr5IsVmB; 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 S1725962AbgGNFVp (ORCPT + 99 others); Tue, 14 Jul 2020 01:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbgGNFVo (ORCPT ); Tue, 14 Jul 2020 01:21:44 -0400 Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 891F4C061755; Mon, 13 Jul 2020 22:21:44 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id l17so4500729iok.7; Mon, 13 Jul 2020 22:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Up3G6PsFpPGYr8nZRL3w9MPTvUeQJXFm+eKweHGs86o=; b=Nr5IsVmBRvtEBrNLQ9atU796t0OuBHDNFUIUpmSRdDIx5aETNaogxWClkvNgYO0o3i m/1zM+mtwrZC9R6+4fk+lsAbEyLEnmeQouo9siwT54qbYW0jfGHOIClh6Ob1kv5sApu8 99yC9FPAQj523Fx7PVC2/ZMZOe/LyYcaOavuGGIaGWrjQf29vzigq7Awn4v8BRhP97el YSkPHETinL1bN3M8CAa7Q9uLkdpCLOIrFjDuTf0ZKGL/7WPJoYlsWtISOFkQAnSOo+71 +Zf/O3nPQjg+AvXlP55nPgqhsr3RTTJgtrcUo0cqIUlojiKahFHjJsWkq+3sshlhdBb2 Elbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Up3G6PsFpPGYr8nZRL3w9MPTvUeQJXFm+eKweHGs86o=; b=H1FGYNlHw4Dwc4PhteDqUAKtCsjwEFUhZl4xE+nVcuSyFqSFPee5jYMrRa91Y5z9C3 4bZtza9LcTEGw+lktqkKf9kTzW0GQ8x0bvSJUcDeMrfM/OpgynsqX/oHjOFD13HDx8Fk v2MvIvsXxOHBJteSpPGgOkP9ES2wnl8mVLmgAFDmb2E1HL9dcNXHGPO2gL9+BGmYOpJo w4gFq1SVaGL+75MIeipknQDXGDau/068ijn45DZk88SgP3rF8YzX/jXfa+jebKQuIhIq q7ivERwYuBwJIAvdg+uu3yOaWF12xWGh0lingPw27dJCHaP1joNf6syxaUYhXT7UuEWs Pogw== X-Gm-Message-State: AOAM531Ia3Wdnp8C6VhSQOTJ+wfiQ7FB0DCLxvxyDvF8iLZlSibpGlxW i7xwZq7bmg1JMAFQs+dy6jYEssnz5i01v9avtrw= X-Received: by 2002:a05:6602:1610:: with SMTP id x16mr3317570iow.68.1594704103845; Mon, 13 Jul 2020 22:21:43 -0700 (PDT) MIME-Version: 1.0 References: <1594696998-3995-1-git-send-email-dillon.minfei@gmail.com> <1594696998-3995-2-git-send-email-dillon.minfei@gmail.com> <20200714133835.3b03b8af@canb.auug.org.au> <20200714135407.35992389@canb.auug.org.au> In-Reply-To: <20200714135407.35992389@canb.auug.org.au> From: dillon min Date: Tue, 14 Jul 2020 13:21:07 +0800 Message-ID: Subject: Re: [PATCH v2] Since am437x have the same clock structure with am335x [1][2], reuse the code from Tony Lindgren's patch [3] to fix dcan probe failed on am437x platform. To: Stephen Rothwell Cc: Benoit Cousson , tony@atomide.com, Rob Herring , linux-omap@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 14, 2020 at 11:54 AM Stephen Rothwell wr= ote: > > Hi Dillon, > > On Tue, 14 Jul 2020 11:43:31 +0800 dillon min w= rote: > > > > On Tue, Jul 14, 2020 at 11:38 AM Stephen Rothwell wrote: > > > > > > On Tue, 14 Jul 2020 11:23:18 +0800 dillon.minfei@gmail.com wrote: > > > > > > > > From: dillon min > > > > > > > > Fixes: 1a5cd7c23cc5 ("bus: ti-sysc: Enable all clocks directly duri= ng init to read revision") > > > > > > > > [1]: https://www.ti.com/lit/pdf/spruh73 Chapter-23, Figure 23-1. DC= AN > > > > Integration > > > > [2]: https://www.ti.com/lit/pdf/spruhl7 Chapter-25, Figure 25-1. DC= AN > > > > Integration > > > > [3]: commit 516f1117d0fb ("ARM: dts: Configure osc clock for d_can = on am335x") > > > > > > > > Signed-off-by: dillon min > > > > --- > > > > > > > > Hi Stephen, > > > > > > > > This changes correct commit messages based on your reviewing. > > > > make Fixes tags to oneline. > > > > make all commit message tags at the end of commit message > > > > > > But the Fixes: line should be down with the Signed-off-by: line ... > > > > > Ok, should it be like this=EF=BC=8Ci will resubmit it. > > > > Subject: [PATCH v2] Since am437x have the same clock structure with am3= 35x > > [1][2], reuse the code from Tony Lindgren's patch [3] to fix dcan > > probe failed on the am437x platform. > > You should have a shorter subject and maybe the above could be the > first paragraph of the commit message. > > > > > [1]: https://www.ti.com/lit/pdf/spruh73 Chapter-23, Figure 23-1. DCAN > > Integration > > [2]: https://www.ti.com/lit/pdf/spruhl7 Chapter-25, Figure 25-1. DCAN > > Integration > > [3]: commit 516f1117d0fb ("ARM: dts: Configure osc clock for d_can on a= m335x") > > > > Signed-off-by: dillon min > > Fixes: 1a5cd7c23cc5 ("bus: ti-sysc: Enable all clocks directly during > > init to read revision") > > No wrapping the the Fixes line, please and it would usually go before > your Signed=3Doff-by line Hi Stephen, Thanks, how about the below commit message. Subject: [PATCH v4] Fix dcan driver probe failed on am437x platform Got following d_can probe errors with kernel 5.8-rc1 on am437x [ 10.730822] CAN device driver interface Starting Wait for Network to be Configured... [ OK ] Reached target Network. [ 10.787363] c_can_platform 481cc000.can: probe failed [ 10.792484] c_can_platform: probe of 481cc000.can failed with error -2 [ 10.799457] c_can_platform 481d0000.can: probe failed [ 10.804617] c_can_platform: probe of 481d0000.can failed with error -2 actually, Tony has fixed this issue on am335x with the patch [3] Since am437x has the same clock structure with am335x [1][2], so reuse the code from Tony Lindgren's patch [3] to fix it. [1]: https://www.ti.com/lit/pdf/spruh73 Chapter-23, Figure 23-1. DCAN Integration [2]: https://www.ti.com/lit/pdf/spruhl7 Chapter-25, Figure 25-1. DCAN Integration [3]: commit 516f1117d0fb ("ARM: dts: Configure osc clock for d_can on am335= x") Fixes: 1a5cd7c23cc5 ("bus: ti-sysc: Enable all clocks directly during init to read revision") Signed-off-by: dillon min --- Hi Stephen, This changes correct commit messages based on your reviewing. make Fixes tags to oneline. make all commit message tags at the end of commit message make Fixes tags before Signed-off-by line. add probe failed log to commit message. > -- > Cheers, > Stephen Rothwell