From patchwork Thu Nov 16 18:05:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 119077 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp5020745edl; Thu, 16 Nov 2017 10:06:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMYpMJRyjJ2sPBJluLxusSU4f42fO2jHNrPHp3IgsZsP+gA2uHonXmh+POw2IGKp+4rR4GS5 X-Received: by 10.98.82.3 with SMTP id g3mr2728952pfb.189.1510855571554; Thu, 16 Nov 2017 10:06:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510855571; cv=none; d=google.com; s=arc-20160816; b=H+wA2k41xRnwMj3emR0YTDow6GUE3m0iaY7qKm5VigFfZl6LRF8P5y1VUBYfIAph36 k7iHtlOxUzemopBlIJ3rRyNKIJ/lyC/5qyeHFbVLRqrZm0ZJeni2DzPMzus8IrB/hhIS gW1VNQh06jWdloAsjf6yUOPrG8xuww6Kpl1MblmkKUsNIOGBJsTy5kBZiZ6HpZn4mkBd 6QzurfrZL0J6QbPPmcyuzQVfx9lDNm5gceFnc/QcmdMDYfk3TWyGlzyCwOioLSGsobBN IemzdZ+jsH5Mpyexs3dCRWbddStuk+rpkOcw6dPS3856dmd8VeAg6NLBllYb5eeGVTBp 2ESg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=uzpOrLLjVBWeb52CPvNcVgya4E8KWMjiqb+Hv9qYmMA=; b=mrU/OElKvzfQNiGfeGeE4R1hSm+40Z+BaQjboZwgv8LRa1Xl58ItX8L0dF7cuVs9iY f4RbwO4MNRGn8C184vrSZZEtS+uKCBAWvXg/XkECl42VZjjjiEyz+TbbmuPhwOx2YWGs FfG/YK6O/b/WAVO2XJzSogZhlAKdeT1SEk+c4eYwNgIdFkWwXV6AVhixTstpp4w7rtnA d4iaMYqgtEvA9lb61aezkqfg0wRF/G61zJVc2iMDQKJvmNn0i4LVJ1FFLT9QbHiKkUNF ntxq02+4cXJOcW1rn9KQgVH9ljcgnIYuMMwJd5VDkkQK1xfReRwrp4O+eyvGMVOe4hhT Qp1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h185si1353666pfb.334.2017.11.16.10.06.11; Thu, 16 Nov 2017 10:06:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966080AbdKPSF4 (ORCPT + 6 others); Thu, 16 Nov 2017 13:05:56 -0500 Received: from mail-ot0-f195.google.com ([74.125.82.195]:54782 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966389AbdKPSFs (ORCPT ); Thu, 16 Nov 2017 13:05:48 -0500 Received: by mail-ot0-f195.google.com with SMTP id d27so1684664ote.11; Thu, 16 Nov 2017 10:05:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZahOPoBxx9AlzCKCFmhZRgHFiOHoizS5+sJMiYetfi4=; b=ZD2FvcctL1dpBRP+dTK8QWlEJVrsEbFGF7hCYZYgvmD2bK7Z/WqHIKYT50aoZYAZBm aFN9GsZQgb43TzDhrwfZspFHrkGNcovSEWHBYd+j9X+NiDGBY+pj/iiq6J62rNDmNHA8 14v+7h/60VhbmhsBc4qy2CfXJPNXM+vFRlK3xOBMDEySwMHD65kfjzE4H/+AucurbKss ih58UUsaJ35jAUE+8gMFlr5IVF+p88AuTub+H1k1ckO7x8ctTLGoLp9PCCP7DG4j7sNk Cj6S9vaHUmRLyO3N+e4+c1gYYVgVxuDWTZ28/sP8NKqEoYRvUH59Ua6l1kdD5t4g8Ray A5lA== X-Gm-Message-State: AJaThX6tSI2dqJwmBOM0g9eH5RIrbfVaW0+3kjgMwhMD1aHa8ko6cygp Uv9hdu+qsIw+oMkzG62E1LQ4luI= X-Received: by 10.157.0.105 with SMTP id 96mr2011681ota.160.1510855546890; Thu, 16 Nov 2017 10:05:46 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id z72sm683615oig.18.2017.11.16.10.05.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 10:05:46 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Frank Rowand Subject: [PATCH 1/2] of: unittest: let dtc generate __local_fixups__ Date: Thu, 16 Nov 2017 12:05:44 -0600 Message-Id: <20171116180545.12322-1-robh@kernel.org> X-Mailer: git-send-email 2.14.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Remove the manually added __local_fixups__ because dtc can now generate them. This also fixes a new warning in the process: drivers/of/unittest-data/testcases.dtb: Warning (interrupts_extended_property): Could not get phandle node for /__local_fixups__/testcase-data/interrupts/interrupts-extended0:interrupts-extended(cell 3) Signed-off-by: Rob Herring --- drivers/of/unittest-data/testcases.dts | 56 ++-------------------------------- 1 file changed, 2 insertions(+), 54 deletions(-) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts index 12f7c3d649c8..ac616ad18ea6 100644 --- a/drivers/of/unittest-data/testcases.dts +++ b/drivers/of/unittest-data/testcases.dts @@ -1,4 +1,6 @@ /dts-v1/; +/plugin/; + / { testcase-data { changeset { @@ -23,57 +25,3 @@ * The format of this data may be subject to change. For the time being consider * this a kernel-internal data format. */ -/ { __local_fixups__ { - testcase-data { - phandle-tests { - consumer-a { - phandle-list = <0x00000000 0x00000008 - 0x00000018 0x00000028 - 0x00000034 0x00000038>; - phandle-list-bad-args = <0x00000000 0x0000000c>; - }; - }; - interrupts { - intmap0 { - interrupt-map = <0x00000004 0x00000010 - 0x00000024 0x00000034>; - }; - intmap1 { - interrupt-map = <0x0000000c>; - }; - interrupts0 { - interrupt-parent = <0x00000000>; - }; - interrupts1 { - interrupt-parent = <0x00000000>; - }; - interrupts-extended0 { - interrupts-extended = <0x00000000 0x00000008 - 0x00000018 0x00000024 - 0x0000002c 0x00000034 - 0x0000003c>; - }; - }; - testcase-device1 { - interrupt-parent = <0x00000000>; - }; - testcase-device2 { - interrupt-parent = <0x00000000>; - }; - overlay2 { - fragment@0 { - target = <0x00000000>; - }; - }; - overlay3 { - fragment@0 { - target = <0x00000000>; - }; - }; - overlay4 { - fragment@0 { - target = <0x00000000>; - }; - }; - }; -}; };