Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp964008pxk; Fri, 25 Sep 2020 02:35:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylgMxyJxUHyR66XorW8tCwAclW3jSNyPKppF+Hnxdfdo+IH1vte25yMMGAMqK39ZFZWmd8 X-Received: by 2002:aa7:c256:: with SMTP id y22mr331326edo.16.1601026516122; Fri, 25 Sep 2020 02:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601026516; cv=none; d=google.com; s=arc-20160816; b=K9w8aCaq9fAoyzO8U4LSeiI/eDOpcxuf2Xb1XdYkRVnhcGiBsyUm2/1U0A7z1R+T9b 9po5iB7Vs7Usgy5jgbIV75qu2M95j2Da6EAq+CcMairwOtjpnoFb1lsz+H+zJlRF921r 9md/YjgiPPo9bbun6566K8VuNbqQqZE5+TCpyrCtL6fUNxFIJ7kAjgN6J114XzeaEiTj UkvqEEKd82k+OD0nM7LkC39kaXWzHfKM4GkHLQzmhAu09rzdguFomG/dcuvjtJq7TNjO scSKLraaqYsKdvQ4bCcH5kCgBqYXqvAZ97654UZDkQfl4pYOCKR126nYNa+Ruz5qlCA8 Y0fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=uLL/4PRlCphLUVIwMp3bEigo2LIKHqcXNDfV6nTtgZo=; b=pysky/jaun/sX1H9R5Hy2KSitYj3ahGXPnMIMxbHP6stKZJSMlAZ+/4+Y28JDjcSDP /eQ3JaxT9NRUYuEgfA6Dbq44Fkm+NkWAmV4Lh+3h1TkEVPcxleQkZM2LmGLxkojv655c UJVLzhHIaXyFjimaZTFISIvAypJ67sgzp0b3xpTjIGpkxCnTIBs9hkowiGULpsKRJgQb YuuCqQ8HqpJNwqGisgKResp2dbSEDpnp0AUrVSEo5k5u6UPnvzLFm2WmtzIgi1wsGJmM h1IVIaS9MckvJWri9LPspKsxDFdl+UyTQJ/j/EX/YCBKTNiT/BLqngyayWbFVtfxMjEG I/mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=LSXChYe0; 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 x1si1435787edq.177.2020.09.25.02.34.52; Fri, 25 Sep 2020 02:35:16 -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=@walle.cc header.s=mail2016061301 header.b=LSXChYe0; 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 S1727922AbgIYJbw (ORCPT + 99 others); Fri, 25 Sep 2020 05:31:52 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:34285 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbgIYJbw (ORCPT ); Fri, 25 Sep 2020 05:31:52 -0400 X-Greylist: delayed 171256 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Sep 2020 05:31:51 EDT Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 12DA622ED5; Fri, 25 Sep 2020 11:31:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1601026310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uLL/4PRlCphLUVIwMp3bEigo2LIKHqcXNDfV6nTtgZo=; b=LSXChYe0kWNHjGg7/AndycHtLLqVD7I0by/kWa6LC0RzaKZKCMBA76kPbpHy8Oppl2RVBc gUc+A+UtkJcSNamnHztPd6VrmQ2077GYyI1G5rKyKkBUr5alVlcS3L4Ij1EvVrtibBhwKY 9DcVdsGlqU5zhG2wvva0aFof3MNY+98= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 25 Sep 2020 11:31:50 +0200 From: Michael Walle To: Leo Li Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, Shawn Guo , Rob Herring , Marc Kleine-Budde , Joakim Zhang Subject: Re: [PATCH 1/2] arm64: dts: ls1028a: add missing CAN nodes In-Reply-To: References: <20200923095711.11355-1-michael@walle.cc> <20200923095711.11355-2-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.8 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2020-09-24 17:53, schrieb Leo Li: >> -----Original Message----- >> From: Michael Walle >> Sent: Thursday, September 24, 2020 6:31 AM >> To: Leo Li >> Cc: linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org; >> linux- >> kernel@vger.kernel.org; linux-can@vger.kernel.org; Shawn Guo >> ; Rob Herring ; Marc Kleine- >> Budde ; Joakim Zhang >> Subject: Re: [PATCH 1/2] arm64: dts: ls1028a: add missing CAN nodes >> >> Am 2020-09-24 02:35, schrieb Leo Li: >> >> -----Original Message----- >> >> From: Michael Walle >> >> Sent: Wednesday, September 23, 2020 4:57 AM >> >> To: linux-arm-kernel@lists.infradead.org; devicetree@vger.kernel.org; >> >> linux- >> >> kernel@vger.kernel.org; linux-can@vger.kernel.org >> >> Cc: Shawn Guo ; Leo Li ; >> Rob >> >> Herring ; Marc Kleine-Budde >> ; >> >> Joakim Zhang ; Michael Walle >> >> >> >> Subject: [PATCH 1/2] arm64: dts: ls1028a: add missing CAN nodes >> >> >> >> The LS1028A has two FlexCAN controller. These are compatible with the >> >> ones >> >> from the LX2160A. Add the nodes. >> >> >> >> The first controller was tested on the Kontron sl28 board. >> >> >> >> Signed-off-by: Michael Walle >> >> --- >> >> arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 18 >> >> ++++++++++++++++++ >> >> 1 file changed, 18 insertions(+) >> >> >> >> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> >> b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> >> index 0efeb8fa773e..807ee921ec12 100644 >> >> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> >> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi >> >> @@ -386,6 +386,24 @@ >> >> status = "disabled"; >> >> }; >> >> >> >> + can0: can@2180000 { >> >> + compatible = "fsl,ls1028ar1-flexcan", "fsl,lx2160ar1- >> >> flexcan"; >> > >> > The explicit compatible strings cannot be found in the binding, but >> > matched by the "fsl,-flexcan" pattern in the binding. Is >> > this considered to be acceptable now? >> >> What is the consequence if it is not acceptable? replacing the pattern >> with individual compatible strings? > > There is a recommendation in the kernel documentation quoted below: > > 7) The wildcard "" may be used in compatible strings, as in > the following example: > > - compatible: Must contain '"nvidia,-pcie", > "nvidia,tegra20-pcie"' where is tegra30, tegra132, > ... > > As in the above example, the known values of "" should be > documented if it is used. > > But I am not sure if this is still a hard requirement. If so, we > should list the processors in the binding. Marc, I'd convert this to yaml format, may I put your name as the maintainer in the binding? -michael