Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp586113ybi; Fri, 26 Jul 2019 15:22:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1xUcQgTiQctdSNf2m59iWfCfIH1vJ9eg0Kx2VP0BwYPQ//I8tCaoa1ohv6qddtaaulOvK X-Received: by 2002:a62:2aca:: with SMTP id q193mr25092229pfq.209.1564179757658; Fri, 26 Jul 2019 15:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564179757; cv=none; d=google.com; s=arc-20160816; b=sarcAfo91z0IHvQptpdb1wAchai7mt81yp9LcgP36VXZ2hXLTvibYijXC9JJc19orB 5UiEn20lDMEopo/KlYMwHcUGy0RUKzwXJm+5xQ9dPjVA8PG8w5cd6IY5e0v60WURxkAp 6vlxLn0y6uXUbmqKbD1LfZIhtOIzI23Mm7D1Gr7TiLqxJbBXGHsVU3TtfvP19bVT4hqq q+C2Ru90GT++fh4AlBTId8fBgoFp7xzqwhqildMg0RTsIk2JEapK12gYsOm6qNPvJOQF m3/QWKNUf3PIhQQDumh5nQQyJo4JI/jw5InCn/Sh6oTnJLnn9gBWq9/+sEcQtwffULqe Kiqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=H4OkvprGWkQxdepZxoo091W8o8XKsTc4NaiAP0lwajo=; b=PN4YmW8e0IP2WABcKIj4f+bDhGzL4stsu4tzJh8pgQHkKaIHHHc/MOuHA0XmZ0lfaX iZUYCNsF/N0mTtlHiNMQ2EvKutHjLMM5HNvdQ+k8Kzmrone74MJRBSHudp+cr2Hl+qFb QGal/oOmOLZpzUXeC0LZB20ARzRnCamRzaH3PjfyVHXj7i5/BIOpLvSB8NTPc2/1DIha 7Q4lYsij/MHmgFKOVjSSyJHJxjCmqZfH0OHi/mh7KwIdQsej7x0k9QtD6RPUcntJ7lFF 0rRWlVxns5H+Kzq2fZvTF2JJkqjHeuXRnmdaHzMdwniSYo4GeT8zSWWAmvItoMeewrrP GEgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P+qVIFcu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si18009648pjp.80.2019.07.26.15.22.22; Fri, 26 Jul 2019 15:22:37 -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=@gmail.com header.s=20161025 header.b=P+qVIFcu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729148AbfGZSLN (ORCPT + 99 others); Fri, 26 Jul 2019 14:11:13 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35921 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfGZSLN (ORCPT ); Fri, 26 Jul 2019 14:11:13 -0400 Received: by mail-wr1-f67.google.com with SMTP id n4so55406582wrs.3; Fri, 26 Jul 2019 11:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=H4OkvprGWkQxdepZxoo091W8o8XKsTc4NaiAP0lwajo=; b=P+qVIFcunWopdw0py0JC+0ltz77IaW3kQ7vZCM5O1HtBUI4eHOLn/h0g0Acig7mVJg hG/ELhLwgnxJOgMW0iJRTt3WLfT7JPAeMPur3xSGbIjvtRRC5sJdhx9v+nXsYNXXfCF7 r6FrGauxyBtbsTQduYEt1YWhJPX+8JR001YJZKvueW7gsjk+NtzBSvUSyKm8ppIVG00d y50VncWrZX4//8zU2lVjFygIf8MSxy4qnaK8iR/4S5DlOrsYhBdzonBrBbDHRFHpfu/u 3ftQsxIWQo5vtweHOqU4yKQcDo41gJFEkRipUkl9dNjO/Gcbn1NwQQC3rSQATXOBSHTR AeDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=H4OkvprGWkQxdepZxoo091W8o8XKsTc4NaiAP0lwajo=; b=oaLgw8cCdh83KA794tLTJCPMEzePmUHLqU28BXZ/x6435wSr3rI/pyR7akAueRVSGf OCbr9r54XFYAsj7qYw6GAie2cMSpwsVPo0gwNdjpNe/FJvj7ojIq/zf62ZTILQwN9K+u 5TRAS1gKbI8dsq5HTCETH6wU8RVZjfeHAAyNXw6nRyRO3KfCBs3oIAOxC4A9IKALIPD2 MvzBo8/Wpmx3X8rRrGNT4Onu1x1wWhaqsaezur76XDL9uLRwWJ7kzlaavwLJvC+qw/Yp /w/Pna+K7ZzVyWU9om7N4UdPDNds1gnOYfb+vFtrFw0k8b+TVtcUFSJVsjmkjvk9S1YF yK9g== X-Gm-Message-State: APjAAAWOOmmuWQ5p+o2YCtmINLpnI6MXpImNV4m4CeRdSxy5DXUGAxxB YfE8BZfAR1xR4oVfbf2vuj8= X-Received: by 2002:a5d:564e:: with SMTP id j14mr100454046wrw.1.1564164671398; Fri, 26 Jul 2019 11:11:11 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id u2sm46006939wmc.3.2019.07.26.11.11.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 11:11:10 -0700 (PDT) Date: Fri, 26 Jul 2019 20:11:08 +0200 From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: How to add multiple example with conflicting includes Message-ID: <20190726181108.GA17767@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello When I try to check the following examples of a devicetree schema: examples: - | #include #include #include crypto: crypto@1c15000 { compatible = "allwinner,sun8i-h3-crypto"; reg = <0x01c15000 0x1000>; interrupts = ; clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; clock-names = "ahb", "mod"; resets = <&ccu RST_BUS_CE>; reset-names = "ahb"; }; - | #include #include #include crypto: crypto@1904000 { compatible = "allwinner,sun50i-h6-crypto"; reg = <0x01904000 0x1000>; interrupts = ; clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>, <&ccu CLK_MBUS_CE>; clock-names = "ahb", "mod", "mbus"; resets = <&ccu RST_BUS_CE>; reset-names = "ahb"; }; I get: In file included from Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.example.dts:42: /linux-next/scripts/dtc/include-prefixes/dt-bindings/clock/sun50i-h6-ccu.h:9: warning: "CLK_PLL_PERIPH0" redefined #define CLK_PLL_PERIPH0 3 [...] So how can I add multiple examples which need somes conflicting #include to be validated. Thanks Regards