From patchwork Wed Feb 10 11:13:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 380215 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1057144jah; Wed, 10 Feb 2021 03:15:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfuV7GteXSQnYGCDmthbCTV6fQ27mWrjei+lDbKe2jgKII5I+YN0VQCZMVeLgq+1OXv3JU X-Received: by 2002:a17:906:25db:: with SMTP id n27mr2403299ejb.552.1612955758846; Wed, 10 Feb 2021 03:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612955758; cv=none; d=google.com; s=arc-20160816; b=KjqDu/9gxRwdtgdjLDmPtlNJvJ3oa8ssku2kzxkA+GlOGOmKC2z5QmsqffKDiGtXMr oEeNkm2cRZHUDUvd1565owbBAG/Hd6xyXTO1YW5c7oyGgFGl0iTwFZ0DnQ3XHX9tSdof aGAkYrSgjETh5EdQNzjqVwt8sEZF/S1LnStI9A/I+q+qZn/4mvYNRrcrYNyusIrx2Ewr HEcGla3GKEHk21Hwng2d7OnJAwWh9XuYDe0Egf8wqHzgPOfct5NU58/pMrSLzsh6Nfd7 QjN0pyRnhOYhgwJV+LPhR9ewftxSCUtdSmLHi/H+v/oDixoHiYAcuL9WwhI899dxyjCg DQZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gwtfzan5OujNTY4a0AKY/xvxM1yAX3PRPFXQBcIR6P4=; b=VOoC6xC0D40OlJKyawZfx4huAhhaR+vrcnXIDWIZyCHgfcCFgxrS9S+wJsehxoH8tX wvAsU23Vqbmbh5GoqqgLNXHrH+pGzDLR9WlUVCaNNkgpT50O1u02cMYCXOR53wL3lefX xF9FamgfdTfLKsIGipvRhgPy0of55ZeAo5JI/iVNh5/3l50BPNLfipCCNKh3yj4jaVDF 8BBcgQVq3gP5H9grKJieaR/S30xbx64soM1wLhgVGyHeJdcqqwKMGAYTS++/xnwdyzo2 4jYJcLWXXcm6UvQ0t4n7H0PkcSyrImikVnLHrxmVw2MV/4ZyrL5KIi6ofmR8A/EviU7d 6bLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IU90nRwA; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kw2si1074771ejc.366.2021.02.10.03.15.58; Wed, 10 Feb 2021 03:15:58 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=IU90nRwA; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbhBJLPq (ORCPT + 6 others); Wed, 10 Feb 2021 06:15:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbhBJLOU (ORCPT ); Wed, 10 Feb 2021 06:14:20 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C925EC06174A for ; Wed, 10 Feb 2021 03:13:39 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id g3so1032495plp.2 for ; Wed, 10 Feb 2021 03:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gwtfzan5OujNTY4a0AKY/xvxM1yAX3PRPFXQBcIR6P4=; b=IU90nRwAeBYYGyZkWYotPk+ZSKt5w+cUcF7mh913RpbRX511aCDkFiXaVjvDN2TpG7 fI8G4oMFlLGEGvVZ2SwqIY4pl2x/02c5AKL1iWzCMpwIaCZXs7Q+viXKYB4FY/zaAL6t G2IE3LMFIiKovpjLq2ewgnYDYa85JhRbimvkg4B9FjIDzrkZfO6a3BgSe/cVLRMp+jud Lt+N1EipxpI9sTxVomNj7+dwpAxpDgN5Dyi3xf+tBTfaUlh9yHceB8alOE90qapLBaxf F4ggh89ein2sua2WTDXDxstLfSPduxneqb0aiD4kdhXhMMmDoIsHV4285prTFI0zFToc 71Zw== 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:mime-version :content-transfer-encoding; bh=gwtfzan5OujNTY4a0AKY/xvxM1yAX3PRPFXQBcIR6P4=; b=P3T0eBTwErIVVXomu4VcWlMOERyPxvmVh/hhv+N/W2y25kHd+za56Q8hB2oX6C4NGt aWtCF11nxmQ62RQj96UUz00RTva7+5QMVBMwRV7Lfn0Gl/fT63bGwMh9J6uycvzqOdOn NwyMeeo5a6mm1CBmepdnWdi1Lr00RhTHLW8k1BRvqByP3eMT9vrTeuJOBpUnbj3Wti+s SeIxHXEiPsTNScOyecV5IymcIPajpGtnh5HUTSH3fXGLUzsz1FPv8Q5tfgBaCSFC2pO3 OoTf56CkjGa84hRdCA9Njq2kQqH1jc8jwiAMioqbeA5BuQrcp6Da8drijdkDuqiW11mt 6CHQ== X-Gm-Message-State: AOAM532sHxffskbmcnzy2mbkIoUUjO+GC112fHCPAvPnnGpWAWiCsPQT jX5vUShHxBK/BdB+7EJOtT2DeQ== X-Received: by 2002:a17:902:9009:b029:dc:52a6:575 with SMTP id a9-20020a1709029009b02900dc52a60575mr2375968plp.57.1612955619345; Wed, 10 Feb 2021 03:13:39 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id bo1sm1929911pjb.7.2021.02.10.03.13.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2021 03:13:38 -0800 (PST) From: Viresh Kumar To: Frank Rowand , Rob Herring , Pantelis Antoniou , Masahiro Yamada , Michal Marek Cc: Viresh Kumar , Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, anmar.oueja@linaro.org, Bill Mills , David Gibson , devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, Geert Uytterhoeven , Michal Simek , Rob Herring Subject: [PATCH V7 0/3] dt: Build unittests statically with fdtoverlay Date: Wed, 10 Feb 2021 16:43:27 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, The first four patches from the previous patchset are already picked by Rob for 5.12. This patchset contains the other two that update unittests and an additional patch suggested by Rob. V6->V7: - Dropped the first 4 patches, already merged. - Patch 1/3 is new, suggested by Rob and slightly modified by me. - Adapt Patch 3/3 to the new rule and name the overlay dtbs as .dtbo. -- Viresh Rob Herring (1): kbuild: Add generic rule to apply fdtoverlay Viresh Kumar (2): of: unittest: Create overlay_common.dtsi and testcases_common.dtsi of: unittest: Statically apply overlays using fdtoverlay drivers/of/unittest-data/Makefile | 50 ++++++++++ drivers/of/unittest-data/overlay_base.dts | 90 +----------------- drivers/of/unittest-data/overlay_common.dtsi | 91 +++++++++++++++++++ drivers/of/unittest-data/static_base_1.dts | 4 + drivers/of/unittest-data/static_base_2.dts | 4 + drivers/of/unittest-data/testcases.dts | 18 ++-- .../of/unittest-data/testcases_common.dtsi | 19 ++++ .../of/unittest-data/tests-interrupts.dtsi | 7 -- scripts/Makefile.lib | 39 +++++--- 9 files changed, 203 insertions(+), 119 deletions(-) create mode 100644 drivers/of/unittest-data/overlay_common.dtsi create mode 100644 drivers/of/unittest-data/static_base_1.dts create mode 100644 drivers/of/unittest-data/static_base_2.dts create mode 100644 drivers/of/unittest-data/testcases_common.dtsi -- 2.25.0.rc1.19.g042ed3e048af