From patchwork Tue Aug 28 12:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145311 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133077ljw; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYbUxz+b4w5/cMZg2EBNPcR+M/r7r8BJ7EQU/zmOfd9mZPun9vkS0U2xCgya9J0B/9PwZr1 X-Received: by 2002:a63:6988:: with SMTP id e130-v6mr1379708pgc.249.1535459597666; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459597; cv=none; d=google.com; s=arc-20160816; b=lCpjKBKrmQgUwVgCAX5fHXyrVbM0jsrosiM5fzvzdXplT/49pGyzvExoUG3TF9OXVW UMLpewVXfw5F9gtHLXPPiTe4aW4/nQFuZDeabC7f6VKo8fkkqNWaQ5luAeORkpfoEVEN W0ui18C5vTp/qqKfBxr03aZtEmnMAj+oaGrAmy9dkriY+7Nv86tUDuMS2r77fe5yF84r UqNRlN8xYuK+k2glDthq25EGsMsIL1DVaTT5SzXw52v2B3lPIvSbT5qhR4l/vb312qW1 zYBrrRjdfy4hv3VRFJFkPdCaTDjmk9+2Zz1ciPnaQ08Jjxak5jUo18ALtkZDjIm5G76K 4+9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=DHXzzMUVwIPIkaDTtAxemzyEli+wOEziBKRYq8V/+bQ=; b=WknsqlQDRJ/03Zq9TM3I9irlvSgCVh8mKaAy2sDL92tjUUPa1pVB8NtmtQaTMQQP8J fPTi9kfVqVDt5Nkw4e2P5L6j2mdQb06UnQaTOvSBdcIw4F2NEhC29H41ADVeX9QAMDV5 ex9+JzpUaxhNJKQ/lQEW9E+wDnEm08q3arbsUJGHyfSc95G4AxP+YHkUO2jUuZxvpvTE 5eejlOr7d5DqirexwvWQwxMYOFXNi9OqTXgl2tc31vGY+z34HuaRXM6Gqy547ZzmUTqv ByYW0NK2WRmdNpUBgdG7rdo/nhb9ErHjjmDB7a/OJwc7PIXQvJVZvRy42vsnAyMapYHI 3ugA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pgCqc3WZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.17; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pgCqc3WZ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726961AbeH1QYn (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:43 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:42878 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbeH1QYm (ORCPT ); Tue, 28 Aug 2018 12:24:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWjWV066676; Tue, 28 Aug 2018 07:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459565; bh=DHXzzMUVwIPIkaDTtAxemzyEli+wOEziBKRYq8V/+bQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pgCqc3WZlV2Y0ASwzIi22HcNSyR8mpD8Yc7UbO5WfYU3mGTQIJqWKiRsfz82CjkEH 8SujfMgB8vWPMMMwiHwxLsgwDwNtdM7OLIVv1FN6TbZjiaM4krZeBLXqcNRVkugTgZ qCQH8bdNCgIkgO9pjIwiA+EkHwGKK7JA7gBzo9yk= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWjsN011571; Tue, 28 Aug 2018 07:32:45 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:41 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:41 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPs018414; Tue, 28 Aug 2018 07:32:39 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 1/7] kbuild: add support for building %.dtbo targets Date: Tue, 28 Aug 2018 15:32:06 +0300 Message-ID: <1535459532-17211-2-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for building DT overlay targets, which can be applied either runtime or statically on top of base devicetree blobs. The only supported runtime application of overlays right now is during bootloader execution; if the bootloader in question supports this. Signed-off-by: Tero Kristo Reviewed-by: Geert Uytterhoeven --- scripts/Makefile.lib | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 61e5966..527aab9 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -292,6 +292,9 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtc) +$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE + $(call if_changed_dep,dtc) + dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) # Bzip2 From patchwork Tue Aug 28 12:32:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145313 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133104ljw; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbOqYOI7FgMMaL/x685HsCPkY1xbuQ9Mafa3yHPqKnbC7P2nhtbJjXHcRRWrZDUby/PlJrt X-Received: by 2002:a63:790b:: with SMTP id u11-v6mr1380579pgc.111.1535459599119; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459599; cv=none; d=google.com; s=arc-20160816; b=dB0+fOZmBTpjk4EkkIFPWPT3nsG5kw3Y3iyjmJwDAr8HhRalnzZgDCDLHSloHMkiLO SFBtgmZsYJfEM2coOoDQiHivDvcz2J+9A4U13509nqOidop2S4Y/p213+J9NRiB52WKe ctzF7tP97JN0ctNnBkvcfQa/f6UfVZ+TDcjXzKHSr9/5mqa2zG54wtMMruRM9uSm/qPG NArm2gwg7T2vIEdFO1m003CIFrW7HeEQjmPVLD41/OhMCc5hAzO0qETundf6/anTFx1A 50EsbDJg7yYzLiyPt9Xii9n5f2OzF6cSuf7iKs5uKTw7tCFBe8nCNqSsgUnm1EWBRz9H 0hAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=b5cIOUYN+kBjWItlErFAy4TPNKjh2hyJ0WeeIipWpuc=; b=Wii6Zt2kMn9pqLxHK8nUlPlVHkeJr9wt5AUdhgmeEebI/YxeCYBxaYXTU1ZHxzyPYw nzSShxc9lciNH6GCbtLKSjgrPUb+96SdZVmdvzgXZL2njyqMLJUEjw4YVEiYrNtfkIMG fCVK0kJGPqJfncV0Ei4tPh8paKNUaVIPhLKtYQAvdc0+iEauNu3yi8Q9S9VT7S4ImHrb Dot3n1tVZp6qtgyT8PT+PXfrXfdN9rsv1OOTBGauQMnqrGXwqzEyd7tEzDnsWYG1BXXF 7SLKK5D90O+vCpr7TZPeBrFLbtXlxfTqNPc7+azleOOu4Mx8qhtT4SxFy0uOISh/hjHg wE/w== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.18; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727352AbeH1QYo (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:44 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:34352 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbeH1QYo (ORCPT ); Tue, 28 Aug 2018 12:24:44 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWjt2028977; Tue, 28 Aug 2018 07:32:45 -0500 Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWiQQ011431; Tue, 28 Aug 2018 07:32:44 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:44 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:44 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPt018414; Tue, 28 Aug 2018 07:32:42 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 2/7] ARM: dts: add support for building DT overlays Date: Tue, 28 Aug 2018 15:32:07 +0300 Message-ID: <1535459532-17211-3-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add simple support for building DT overlays. This just compiles any given .dtso file under the base arch/arm/boot/dts directory into a .dtbo. Signed-off-by: Tero Kristo --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/Makefile b/arch/arm/Makefile index d1516f8..ab555a0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -339,7 +339,7 @@ $(BOOT_TARGETS): vmlinux $(INSTALL_TARGETS): $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ -%.dtb: | scripts +%.dtb %.dtbo: | scripts $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ PHONY += dtbs dtbs_install From patchwork Tue Aug 28 12:32:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145312 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133073ljw; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbDQ9KNdrOzrcToVrrc2msrQVDZaJXrFkWqz3L155jzIVYGHfEMzwweVqeNTgtxDrOCPhDZ X-Received: by 2002:a62:3ac8:: with SMTP id v69-v6mr1391376pfj.164.1535459597381; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459597; cv=none; d=google.com; s=arc-20160816; b=Jm1RVz6pagf1j3jhDP2+A2vhXqPrpanRYRFlw35OW/W1T3qIKGWePWJ9QvcPfHvdS9 +H2Czell+NswDqRMIMaUFdlK0j962Z39djXkScn8C9qeyfE29uaVDEFqXJrhIJmjCbra DUCCtWnzw1DjVagzGTE0Svxvm33twIYUFUxek9PLhcmTVMN61QmdhyG9SOerCt7WXB7A 0IViFoTdd+VoarzapM0cQsg23q+DGq2j1W3h+4N1Uw3wsUp1SEOoLYkC7UQLCNRiRIk/ k0Z26gZmllvUVzaBVANsolh/1/L8OhT01CDUJyDHjmVO1JgHI9SrN1CSGoTjz5WjPQdp pqTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=vLXnr8l/BDKBJnxItklTJCoQ7PJGWAoA21dhsacLKVU=; b=MxAmjxEEUc+Ra/nArc5MB1jw2C4Q09jWKYpB+gvGQOGzz9Ue3sB0X2UnunDtvCKFIe w7jz22GwDoexI6+Bj36wjrArQfj9mC7CATKsI7hWoVyJF74WdEGkSVYdgBsGZ1Neb86w b/wFkmLhBwNS0ITJBpOuWLhjaFbckHv+B67of27euz10/WFuFo27QR0FESAXi4XWKM34 uDo6sjA7GjYuwTxb5NV2xSjk3Am12aMNzn5tDKIYw+gdgo+IQHmCOY50Seb9kV5tOeMp jraEJGcseTPOyDQBcfIUCDUbocOHjFX5EJJOdWfsWhhEm3kjaW3IAZ5EGMEto/U/YHQc TM+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nojPuiJu; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.17; Tue, 28 Aug 2018 05:33:17 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nojPuiJu; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727312AbeH1QYn (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:43 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:42876 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbeH1QYm (ORCPT ); Tue, 28 Aug 2018 12:24:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWlwN066683; Tue, 28 Aug 2018 07:32:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459567; bh=vLXnr8l/BDKBJnxItklTJCoQ7PJGWAoA21dhsacLKVU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=nojPuiJu23VvHpzQI20fjLlY5P6xdU0cRcrmvEYjH3GCLKb8TrV57eTLgfzqgZebx kmFbCDp96ZSz7O1kTIrabYqgURUzIflAyG4PFIVKeFQ1rVnYiC+70teQT4IC1PZDOu 1Om1wer5KmMRHYSvdajNspiapNufRPKmNZcldCOY= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWluC011784; Tue, 28 Aug 2018 07:32:47 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:46 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:46 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPu018414; Tue, 28 Aug 2018 07:32:44 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 3/7] ARM: dts: add support for individual build flags for DT subdirs Date: Tue, 28 Aug 2018 15:32:08 +0300 Message-ID: <1535459532-17211-4-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Currently the makefile is setup in such manner that even if we build a DT file in a subdirectory under arch/arm/boot/dts, it gets built based on the base boot/dts/Makefile rules. This patch modifies the base makefile in such manner, that it detects which makefile to use based on build target path. This allows setting for example per-directory DTC_FLAGS and using those for the subdir build. The dtbdir local variable is setup to target to the build path. Signed-off-by: Tero Kristo --- arch/arm/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ab555a0..b7c21e8 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -339,8 +339,10 @@ $(BOOT_TARGETS): vmlinux $(INSTALL_TARGETS): $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ +%.dtb %.dtbo: dtbdir = $(patsubst %/,%,$(patsubst %./,%,$(boot)/dts/$(dir $@))) + %.dtb %.dtbo: | scripts - $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@ + $(Q)$(MAKE) $(build)=$(dtbdir) MACHINE=$(MACHINE) $(boot)/dts/$@ PHONY += dtbs dtbs_install From patchwork Tue Aug 28 12:32:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145314 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133117ljw; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYETBsuddVRa02VFKCPlpl0h4AlOzWZ1K5N3VLukXFgkwnXWZ0rL8zNai6f3cObdI55zsWj X-Received: by 2002:a63:5a65:: with SMTP id k37-v6mr1362581pgm.143.1535459599597; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459599; cv=none; d=google.com; s=arc-20160816; b=qs4VwXC+9XTU7XruHNzY15l7CFoTR3CQGPh5RWS6Oqc+iJKvTggW6yJV7XvB3bztkl sIZeAlf0GMH8WsFgg6JjFb3hAbu8qRUt1+0qpmOUAAAN6zE981bSHIuaMPvrZ5ENAiwl hwZS1Er0p+iVPd40xSOlhp5sy2IC22M0GxTxld0rvoHmKMlSv1R0sE6ZJ3m0ckuUVCqR 8e7oj08rXagfJpLcu+nh2vA4iqayvEn1b0xMCVBFxLm0SxiVHZlWqt/mLscyiq6t65u1 jv9MuPpLX2wHvhYjrUFUOHKQjHCSc3oBbxmXNYEh83xYbuK8z5Ozqg8Rd/6th8wtuVON tjAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=/o489amQhfMPAZorotsIOjJTKzHH9qqbJWzIRwlFfGk=; b=Zfke3kh5aCFv+mi0uRepUNAR11nupp7XkD7TB65ZOuSTdHvfbhum9UutXRia6nGwmz mVUZvYEYHpGbdbAlw18bITmsHft0ijTxyMaNCg/1kerGkpjwuiftsR/1ZnOp0709YXtn b0KS52i52MlR4qp5T+MUq7oXvsPYmjI0P1052HISqowi1VG0ROPbudjU1Zqz8n3d7Rn0 GeiUxD7YXeCso1XV0awgj21r17S/K25ksFKW6dLtMmtWhL+wYigChIHHRrtU1t0DGDO8 2iknJyRVtG6QZttCBLcT9C2G6PYPXCHlPyM5S6MHdhvtDYy6Ho1RKRhhV9xdzHRF78CO a1Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eNkqcniw; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.19; Tue, 28 Aug 2018 05:33:19 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eNkqcniw; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727162AbeH1QYp (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:45 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:42884 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727215AbeH1QYp (ORCPT ); Tue, 28 Aug 2018 12:24:45 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWnNu066693; Tue, 28 Aug 2018 07:32:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459569; bh=/o489amQhfMPAZorotsIOjJTKzHH9qqbJWzIRwlFfGk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eNkqcniwNKTX63h7hq7lsXLkmKbiPbUszHsYZXXuxeTK/l4qF+f/pvpzFeXI77lYJ aSTOoRD3Bsc0a6jAXY0PWlx4AQwMAy1m22Kotp/1FVC4qx6ayL/+u5BII96ii5GFdp 67hpOSGgZlqZM5lI8NBBVhRveX1rRxNhTAVJB+HI= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWnUj011906; Tue, 28 Aug 2018 07:32:49 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:49 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:49 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPv018414; Tue, 28 Aug 2018 07:32:47 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 4/7] arm64: dts: add support for building DT overlays Date: Tue, 28 Aug 2018 15:32:09 +0300 Message-ID: <1535459532-17211-5-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add simple support for building DT overlays. This just compiles any given .dtso file under the base arch/arm64/boot/dts/*/ directory into a .dtbo. Signed-off-by: Tero Kristo --- arch/arm64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 106039d..f04c814 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -127,7 +127,7 @@ Image.%: Image zinstall install: $(Q)$(MAKE) $(build)=$(boot) $@ -%.dtb: scripts +%.dtb %.dtbo: scripts $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ PHONY += dtbs dtbs_install From patchwork Tue Aug 28 12:32:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145316 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133288ljw; Tue, 28 Aug 2018 05:33:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYfooJlB8SJCNZ9CgYP4LO5DKoE7Hu8WCk/q03NpH9QJSKfhndebl9IMM9+GasVNnsLJBWx X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr1356914pgv.387.1535459608444; Tue, 28 Aug 2018 05:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459608; cv=none; d=google.com; s=arc-20160816; b=TjzipdAXlVHm4Cw+j8zjqj/BepsJgY844Z4aiiOk2DPWREF6BxAC3sQk+Fqfa1YRWH JVvVFkRtnU65uXVyYyDVYDeOQQskP2KR6uzsOy1NlXhzh/5kCGIYD42wd08isorSBarT QxAo55EDWDSbHf2OuD3f1I2SmDk7oWnjLThWbHLMge8XP80C70SuPAa5BVYbcYeG6YHn 1dN7Y+/TeHoAyQ1q200d3RBHHlPX6nTTZLN44P63LuGBhHaf4Mm+oADhLb/R6TVCXM6y 59R79OKFzg5ZvndXGSnB1U3itDdIzfSgtFGtL0KuQ7qAVhs/4aVE5OLy4RtMX4a9FIGP mTNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=L8A5hd3oA1EAPEVovLBy8nxVXejsXKBPxshM1+fTl9M=; b=EXdKmUt56bXUFKVAEIgV4q6jykPSLR1ARiXWch2M00keeMWX7uIwD99J8yY1VgCrcb 8EXocab8TeVG6wEGFOzrihzrLN0AOtwVElPy9oGN7AwVnnIwz3p+TpT8boBGHcvVHXdO HoO8kLjV/P5UM2xaA9twiQZYusHhUH5KWYWTve1N6Rag1Zqxp4HIVSiQAqnysYgkby5p /l0NvDEjBRyKWkmZDhYx/zAzfVo9Dzjo+yVXBr0aZZziXGpS3KhskKSWZl5tGOGaJgSN 2wu7EGpXGZxDtgTukp1wUOtdaGe2P06y5YhdMgVTkrgPx0E+lzKoQjqSS0BbfRqtCFXY bdYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="y/6VbmjQ"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.28; Tue, 28 Aug 2018 05:33:28 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="y/6VbmjQ"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727215AbeH1QYy (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:54 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:42908 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727412AbeH1QYy (ORCPT ); Tue, 28 Aug 2018 12:24:54 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWq2M066703; Tue, 28 Aug 2018 07:32:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459572; bh=L8A5hd3oA1EAPEVovLBy8nxVXejsXKBPxshM1+fTl9M=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=y/6VbmjQEuf+Dbutbp/VRPj4q8zvySWaFLHc6xMarNKpD/r2B0JTBAN/eQuIQfEwX RaIIITSDOfo6k2U91YllvqtzgJ8FGdlvEDNW9MFAntBFoD6coCaIyBilaI/wEP7Rxw lmKEu5aV7+McNbCwzokHqiN6p787qakbCyYnj33M= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWqXe032397; Tue, 28 Aug 2018 07:32:52 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:51 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:51 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPw018414; Tue, 28 Aug 2018 07:32:49 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 5/7] arm64: dts: add support for per sub-dir makefiles for DT building Date: Tue, 28 Aug 2018 15:32:10 +0300 Message-ID: <1535459532-17211-6-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Currently the makefile for arm64 builds all the DT files based on rules in the arch/arm64/boot/dts/Makefile, as this is statically passed via the $(build)= parameter. Change the $(build) parameter to actually point to the subdir itself, so the makefile from that subdir can be used to set-up build flags etc., for example setting up DTC_FLAGS. The patsubst magic is used to strip the trailing "/" from the path, as that confuses the kbuild system. Signed-off-by: Tero Kristo --- arch/arm64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index f04c814..2ac4358 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -128,7 +128,7 @@ zinstall install: $(Q)$(MAKE) $(build)=$(boot) $@ %.dtb %.dtbo: scripts - $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ + $(Q)$(MAKE) $(build)=$(patsubst %/,%,$(boot)/dts/$(dir $@)) $(boot)/dts/$@ PHONY += dtbs dtbs_install From patchwork Tue Aug 28 12:32:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145317 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133410ljw; Tue, 28 Aug 2018 05:33:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdamjBjQwboBibQFFU3grB6KCNbjB5HoH0P5p7S/SY+yJv6eL1kEbotEC87D9ARg51FKYMHE X-Received: by 2002:a62:8c8c:: with SMTP id m134-v6mr1397138pfd.130.1535459617012; Tue, 28 Aug 2018 05:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459617; cv=none; d=google.com; s=arc-20160816; b=ab2rpu6kSjrJyT33nsCQGljzCtOgc/0rWDuhl6WF6K4/Ozj6+Y9xtos84TPYjdyHf/ i8eG1XdI4lYBk++Yl8biRhtcRCJOaaJp2nB2I1cZryqypxddwLnSGv7diJtkbVREhjz6 wLN4GzKW3qJ5nndV62TfnPWSYxMsSxYHd8MYRX3dOUo4P4xXAlOsD0rpGVi4RiN6x97F 31GIhyzzL0jdYnefQHORa8kd465m04RQKpvCKSA2TXGrCUChU2/+pAroGaYIuRLDGGP/ bIbaKEZR7utafho7XtECFuZDsDvyp2nXsjQOPhKXQyqLDd774ti0bKpOJ9jbwtTXc3Xp sncQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=cR7ahx94JA80TxS4YiuW3fpYCe/7rkbHYzzeSlG6GyM=; b=00ZRR9oXxMT8EJ5cPxw5B7mkKvmLFHBwUhLFX5z0d/mQeu4rlYy9C2cy/g835SBWYX wnt4XzyrWXH7fsjezJGs6seybY9pZ7p5gmDZtN2pnqm6K4TEQd4d9Wqd6tzUmkA2J/Rm v7648aprYr7agJDQR2AWwqP+xpfYGebYdAemz+WbD/6CnOqvujbJnIgtLDrqNx1lp3+0 mHqloYRUOcJbq7TZFugdDOnFYzWzbrFey6URDwLKuDn3VWiGS3OVupl0ZnPlU6Oi2m+M pPfMJlq+CcrqHtrc0WQ8GUGJ8d1OiBNQNWM2R8f50ss8tDnzBiduoMtlf6V3u1cbQNJj AgfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="hw/y2gL6"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.36; Tue, 28 Aug 2018 05:33:36 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="hw/y2gL6"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727489AbeH1QZC (ORCPT + 6 others); Tue, 28 Aug 2018 12:25:02 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:59508 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727412AbeH1QZC (ORCPT ); Tue, 28 Aug 2018 12:25:02 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWsod012687; Tue, 28 Aug 2018 07:32:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535459574; bh=cR7ahx94JA80TxS4YiuW3fpYCe/7rkbHYzzeSlG6GyM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hw/y2gL6K3GW39QZvzTV8dJSu0i4d1DG7CTK571oHRWiHPgmhqBmvGmEgYW34ditY cQ2PiwnugE2t2X3ThBsLqK6VpzyvlxbNh1PnjtBssbbl7hxB3Z8VWnJ/VKYCfXD3Qs SmXqowyAMy9RDVTOQr3EYhLXx+Lz7xKTTmOo1E6U= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWstr032425; Tue, 28 Aug 2018 07:32:54 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:54 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:54 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaPx018414; Tue, 28 Aug 2018 07:32:52 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 6/7] ARM: dts: ti: add support for building Texas Instruments specific overlays Date: Tue, 28 Aug 2018 15:32:11 +0300 Message-ID: <1535459532-17211-7-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for TI specific DT subdir, along with support for building DT overlays. Right now, no DT files are specified in this directory, those are to be added later. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/ti/Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 arch/arm/boot/dts/ti/Makefile -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b5bd3de..59a4b63 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -755,6 +755,7 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ dra72-evm-revc.dtb \ dra71-evm.dtb \ dra76-evm.dtb +subdir-$(CONFIG_SOC_DRA7XX) += ti dtb-$(CONFIG_ARCH_ORION5X) += \ orion5x-kuroboxpro.dtb \ orion5x-lacie-d2-network.dtb \ diff --git a/arch/arm/boot/dts/ti/Makefile b/arch/arm/boot/dts/ti/Makefile new file mode 100644 index 0000000..e0203ba --- /dev/null +++ b/arch/arm/boot/dts/ti/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Make file to build device tree binaries for boards based on +# Texas Instruments Inc processors +# +# Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/ +# + +DTC_FLAGS += -@ From patchwork Tue Aug 28 12:32:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 145315 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1133276ljw; Tue, 28 Aug 2018 05:33:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZJHFOO7SL3+11e3Id7kfCILx8Aw+2XlZY4EAPvlgv37Hbmz7tjhIfCXTD/zGShzi4fUOOX X-Received: by 2002:a62:5543:: with SMTP id j64-v6mr1387105pfb.188.1535459608008; Tue, 28 Aug 2018 05:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535459608; cv=none; d=google.com; s=arc-20160816; b=xFIMZgRWx4k+uC8sOAjlDQmvfl/iu/w5muFaJAPkx20XoaRaU/Gtn//yomw2COW64t Ug3+1RpX5VVYeYwAoBrBSZbAiZLlXkl7JS/a8epwDStNe0xSWWY5L/k70wckeWiKvVdY IoNRgPCEu84gOcRRDoQBd46qEdMap5IQhHCiCgbPOHAxXTjE1YhDDHjlDzN4ADWlEkgU AbA/rh0faG/DDO7s0Ge4D+StT9qBC5ed4Yjl6eHtHnB9HlEc/nKp1Dl2yqY3+duC3MAX 7XBVUITx03IqO8+unlxTNm0tcWPw8cxPwTH8KnN3sfkjRsXwkw5IbDlci/y0t/YLdcSS ckgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=lHFokFOYUxpEWwFLzoXCI98r8YBsAcDlmWeIK2xVOX8=; b=YiPZZx1vepZh4PFqxZxshL9PjsO2IUtBLhqz8eqx2QNeOHcU4TWipxnhQT3eIYKV4p swegs0O9H1IgSEJ1+HSNjdiq+qs0KAw1tMsWXC+dw5eRgBe7jHAhJTEZXvqZ4UFiKs02 Ef1HJoBWSKx2FJiOV+ru2Bv9TJdQnzXr/Id5VHjaN53q6KFwXmHPEADdF+bZROlCDBg4 yCyBWx+UXf/w1HbBoh9+Xqth9gHVOZ7dhGUVA8q53JGijyO/RVf9CZmcevneDG9FqCkW iRD+VJFaoQbjT+dPFuSiK3trZXJ1ndfcgerEpD49gVN3G8Ig/41n8jO3WfskNQnV8Hiz I1bw== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71-v6si879370pfi.221.2018.08.28.05.33.27; Tue, 28 Aug 2018 05:33:27 -0700 (PDT) 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727464AbeH1QYx (ORCPT + 6 others); Tue, 28 Aug 2018 12:24:53 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38422 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727215AbeH1QYx (ORCPT ); Tue, 28 Aug 2018 12:24:53 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7SCWveH024891; Tue, 28 Aug 2018 07:32:57 -0500 Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWvIb012061; Tue, 28 Aug 2018 07:32:57 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 28 Aug 2018 07:32:56 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 28 Aug 2018 07:32:56 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7SCWaQ0018414; Tue, 28 Aug 2018 07:32:54 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCH 7/7] arm64: ti: add support for building Texas instruments overlays Date: Tue, 28 Aug 2018 15:32:12 +0300 Message-ID: <1535459532-17211-8-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1535459532-17211-1-git-send-email-t-kristo@ti.com> References: <1535459532-17211-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the symbols to TI build DT files, for supporting overlays. Right now, there are no overlay files introduced, those shall be added later on. Signed-off-by: Tero Kristo --- arch/arm64/boot/dts/ti/Makefile | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index 63e619d..753de8c 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -6,4 +6,6 @@ # Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/ # +DTC_FLAGS += -@ + dtb-$(CONFIG_ARCH_K3_AM6_SOC) += k3-am654-base-board.dtb