Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2196070ybl; Thu, 15 Aug 2019 08:02:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAIJ5pdzGC/95rmBUvA8zMLqAFr5eGeIHMDUXA4A9hc2FPwro142yNd0THW8u3sh5TCygA X-Received: by 2002:a65:504c:: with SMTP id k12mr3903461pgo.252.1565881355276; Thu, 15 Aug 2019 08:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565881355; cv=none; d=google.com; s=arc-20160816; b=JhwCdLm6Hi7nesl8VhUsT/PJjvMTUArJyi60RO4n5rqNDoe0435+3pcltIwXnhU5j9 krMgKGNnvZwTSGa0199rE/gcUCrzFMh6shZ6cEV50J2zzLjFKdAGniWAh5jXt4HK3+7t utw7YYQTuuJtwTJpYs8MLdqJG8M33TnBo8cg4AFxqTUfhqHolmALeFQimI0UU96TOMCe pAE/oVphoAkoeZ8QTkxgh0+IfqG5uZDBHKup6r9aMMpBvagHZalqhR+aw/Nj5FkFuoHI QYhYByu7SNgBsU2Kbylttddd5JjRZY+mPgP8KaIQ0IlIvceVXSLsLYN5DAvV3yZv1aCW eGrQ== 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=/xeWSpp+dHr8p7GFskdynbcc/CsNi2YTVWEJlMzPKMI=; b=EDx3fXmyb7D2iLZde4rezPwdh7I+If8FAz+OSIevFfNiAmKBy0GIlZQDTz/0oBpHU8 tIyHToAgg8DVsCWXzbaAbAUM3gXlxskA9rvOLtd05so3hl/tg0ilcrrn4+uqyQdmFoN/ QOrrzN9TTour9H51AK5HWAjungB7QqsAPFjjfXplf5OlcwH4s0AxWtS0zLsGDy77sI6r sY3FegamWnAWt+qI7zr2s36evTftIDpOzET8gvpRNIYeKwKSVCcGTFfO7ROp6FvCN/Gz 3u+HVnnmMlq5WLnC1t/djYGQrgtCzdbjpqeqKuIjH0FJe3/qFmGASzKni0T5lvcm95Jz 6Yag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pSaQFREK; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si1962412pgv.476.2019.08.15.08.02.05; Thu, 15 Aug 2019 08:02:35 -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=@kernel.org header.s=default header.b=pSaQFREK; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732442AbfHONoK (ORCPT + 99 others); Thu, 15 Aug 2019 09:44:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:37894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732183AbfHONoK (ORCPT ); Thu, 15 Aug 2019 09:44:10 -0400 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 96B812171F; Thu, 15 Aug 2019 13:44:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565876648; bh=BdDVze++kobDRbQfo5kqbHuTszHekzFi8W8/Yee/97U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pSaQFREKkeHL2Eq2UHzL1H+omLTGRR59RyTv7RVzaQqKh/Vsl+yXDjNqt4c6SILoD T5nICWxrzV4iiuHn+hCN5ct9b39FYXXpkRMQ8MmLCkDHFtBEF0nyy30KLeODbmjtto 3qHIZICqRAJtFkIpmOqkx2YSRtcgtwaEYwrAhfkg= Received: by mail-qk1-f173.google.com with SMTP id 201so1816130qkm.9; Thu, 15 Aug 2019 06:44:08 -0700 (PDT) X-Gm-Message-State: APjAAAWnlKl7u06j46uUWkeejVJgNkn1hyJqGr+CZYxUzMFCJdqQxKJa BXfN6HLIKdIEDH33xXcbQfgaYykvAcq4LBLItA== X-Received: by 2002:a37:a010:: with SMTP id j16mr4193785qke.152.1565876647784; Thu, 15 Aug 2019 06:44:07 -0700 (PDT) MIME-Version: 1.0 References: <1563954573-370205-1-git-send-email-s.riedmueller@phytec.de> <20190813160448.GA27548@bogus> <073f9466-9dd3-a22c-e000-e9f4c60f90a0@phytec.de> In-Reply-To: <073f9466-9dd3-a22c-e000-e9f4c60f90a0@phytec.de> From: Rob Herring Date: Thu, 15 Aug 2019 07:43:56 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: arm: fsl: Add PHYTEC i.MX6 UL/ULL devicetree bindings To: =?UTF-8?Q?Stefan_Riedm=C3=BCller?= Cc: "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Mark Rutland , Shawn Guo , Sascha Hauer , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Fabio Estevam , Andrew Smirnov , Manivannan Sadhasivam , NXP Linux Team 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 Thu, Aug 15, 2019 at 4:55 AM Stefan Riedm=C3=BCller wrote: > > Hi Rob, > > On 13.08.19 18:04, Rob Herring wrote: > > On Wed, Jul 24, 2019 at 09:49:32AM +0200, Stefan Riedmueller wrote: > >> Add devicetree bindings for i.MX6 UL/ULL based phyCORE-i.MX6 UL/ULL an= d > >> phyBOARD-Segin. > >> > >> Signed-off-by: Stefan Riedmueller > >> --- > >> Documentation/devicetree/bindings/arm/fsl.yaml | 8 ++++++++ > >> 1 file changed, 8 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Document= ation/devicetree/bindings/arm/fsl.yaml > >> index 7294ac36f4c0..40f007859092 100644 > >> --- a/Documentation/devicetree/bindings/arm/fsl.yaml > >> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > >> @@ -161,12 +161,20 @@ properties: > >> items: > >> - enum: > >> - fsl,imx6ul-14x14-evk # i.MX6 UltraLite 14x14 EV= K Board > >> + - phytec,imx6ul-pbacd10 # PHYTEC phyBOARD-Segin wit= h i.MX6 UL > >> + - phytec,imx6ul-pbacd10-emmc # PHYTEC phyBOARD-Segin e= MMC Kit > >> + - phytec,imx6ul-pbacd10-nand # PHYTEC phyBOARD-Segin N= AND Kit > >> + - phytec,imx6ul-pcl063 # PHYTEC phyCORE-i.MX 6UL > > > > This doesn't match what is in the dts files: > > > > arch/arm/boot/dts/imx6ul-phytec-pcl063.dtsi: compatible =3D "phytec,= imx6ul-pcl063", "fsl,imx6ul"; > > arch/arm/boot/dts/imx6ul-phytec-phyboard-segin-full.dts: compatibl= e =3D "phytec,imx6ul-pbacd10", "phytec,imx6ul-pcl063", > > "fsl,imx6ul"; > > arch/arm/boot/dts/imx6ul-phytec-phyboard-segin.dtsi: compatible =3D = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", > > "fsl,imx6ul"; > > Shawn already applied my patches which rename the compatibles, see > https://lkml.org/lkml/2019/7/23/42 In any case, it still doesn't match. For example, from those patches: + model =3D "PHYTEC phyBOARD-Segin i.MX6 ULL Full Featured with eMMC"; + compatible =3D "phytec,imx6ull-pbacd10-emmc", "phytec,imx6ull-pbacd10", + "phytec,imx6ull-pcl063","fsl,imx6ull"; The correct schema for this would be: items: - const: phytec,imx6ull-pbacd10-emmc - const: phytec,imx6ull-pbacd10 - const: phytec,imx6ull-pcl063 - const: fsl,imx6ull This defines how many entries (4), what they are, and the order of them. Maybe the first entry can be an enum with the -nand compatible if those are 2 options. Run 'make dtbs_check' and make sure there aren't warnings for the root node= . Rob