From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752528AbbBRO7q (ORCPT ); Wed, 18 Feb 2015 09:59:46 -0500 Received: from mail-we0-f175.google.com ([74.125.82.175]:36234 "EHLO mail-we0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbbBRO7o (ORCPT ); Wed, 18 Feb 2015 09:59:44 -0500 From: Pantelis Antoniou To: Grant Likely Cc: Matt Porter , Koen Kooi , Guenter Roeck , Ludovic Desroches , Rob Herring , Tony Lindgren , Nicolas Ferre , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Pantelis Antoniou , Pantelis Antoniou Subject: [PATCH 0/4] Device Tree Quirks & the Beaglebone Date: Wed, 18 Feb 2015 16:59:32 +0200 Message-Id: <1424271576-1952-1-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.7.12 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following patchset introduces Device Tree quirks which apply right after unflattening. Quirks allow using a single device tree blob to support revisions of a single board. This makes deployment easier, since there is no need to modify the bootloader environment, and allow booting using a very small bootloader shim with a resulting decrease in boot time which is extremely important in various use-cases. For details please look at Documentation/devicetree/quirks.txt This patch has an implicit dependency on a previous patch "of: Custom printk format specifier for device node" for debugging prints of device nodes. Pantelis Antoniou (4): arm: of: Add a DT quirk method after unflattening of: DT quirks infrastructure arm: am33xx: DT quirks for am33xx based beaglebone variants arm: dts: Common Black/White Beaglebone DTS using quirks .../bindings/quirks/am33xx-bone-quirk.txt | 82 ++++ Documentation/devicetree/quirks.txt | 101 +++++ arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/am335x-bone-all.dts | 157 +++++++ arch/arm/include/asm/mach/arch.h | 1 + arch/arm/kernel/setup.c | 3 + arch/arm/mach-omap2/Makefile | 5 + arch/arm/mach-omap2/am33xx-dt-quirks.c | 498 +++++++++++++++++++++ arch/arm/mach-omap2/am33xx-dt-quirks.h | 10 + arch/arm/mach-omap2/board-generic.c | 1 + arch/arm/mach-omap2/common.h | 8 + drivers/of/dynamic.c | 358 +++++++++++++++ include/linux/of.h | 16 + 13 files changed, 1242 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/quirks/am33xx-bone-quirk.txt create mode 100644 Documentation/devicetree/quirks.txt create mode 100644 arch/arm/boot/dts/am335x-bone-all.dts create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.c create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.h -- 1.7.12 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pantelis Antoniou Subject: [PATCH 0/4] Device Tree Quirks & the Beaglebone Date: Wed, 18 Feb 2015 16:59:32 +0200 Message-ID: <1424271576-1952-1-git-send-email-pantelis.antoniou@konsulko.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Grant Likely Cc: Matt Porter , Koen Kooi , Guenter Roeck , Ludovic Desroches , Rob Herring , Tony Lindgren , Nicolas Ferre , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Pantelis Antoniou , Pantelis Antoniou List-Id: devicetree@vger.kernel.org The following patchset introduces Device Tree quirks which apply right after unflattening. Quirks allow using a single device tree blob to support revisions of a single board. This makes deployment easier, since there is no need to modify the bootloader environment, and allow booting using a very small bootloader shim with a resulting decrease in boot time which is extremely important in various use-cases. For details please look at Documentation/devicetree/quirks.txt This patch has an implicit dependency on a previous patch "of: Custom printk format specifier for device node" for debugging prints of device nodes. Pantelis Antoniou (4): arm: of: Add a DT quirk method after unflattening of: DT quirks infrastructure arm: am33xx: DT quirks for am33xx based beaglebone variants arm: dts: Common Black/White Beaglebone DTS using quirks .../bindings/quirks/am33xx-bone-quirk.txt | 82 ++++ Documentation/devicetree/quirks.txt | 101 +++++ arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/am335x-bone-all.dts | 157 +++++++ arch/arm/include/asm/mach/arch.h | 1 + arch/arm/kernel/setup.c | 3 + arch/arm/mach-omap2/Makefile | 5 + arch/arm/mach-omap2/am33xx-dt-quirks.c | 498 +++++++++++++++++++++ arch/arm/mach-omap2/am33xx-dt-quirks.h | 10 + arch/arm/mach-omap2/board-generic.c | 1 + arch/arm/mach-omap2/common.h | 8 + drivers/of/dynamic.c | 358 +++++++++++++++ include/linux/of.h | 16 + 13 files changed, 1242 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/quirks/am33xx-bone-quirk.txt create mode 100644 Documentation/devicetree/quirks.txt create mode 100644 arch/arm/boot/dts/am335x-bone-all.dts create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.c create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.h -- 1.7.12 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: pantelis.antoniou@konsulko.com (Pantelis Antoniou) Date: Wed, 18 Feb 2015 16:59:32 +0200 Subject: [PATCH 0/4] Device Tree Quirks & the Beaglebone Message-ID: <1424271576-1952-1-git-send-email-pantelis.antoniou@konsulko.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The following patchset introduces Device Tree quirks which apply right after unflattening. Quirks allow using a single device tree blob to support revisions of a single board. This makes deployment easier, since there is no need to modify the bootloader environment, and allow booting using a very small bootloader shim with a resulting decrease in boot time which is extremely important in various use-cases. For details please look at Documentation/devicetree/quirks.txt This patch has an implicit dependency on a previous patch "of: Custom printk format specifier for device node" for debugging prints of device nodes. Pantelis Antoniou (4): arm: of: Add a DT quirk method after unflattening of: DT quirks infrastructure arm: am33xx: DT quirks for am33xx based beaglebone variants arm: dts: Common Black/White Beaglebone DTS using quirks .../bindings/quirks/am33xx-bone-quirk.txt | 82 ++++ Documentation/devicetree/quirks.txt | 101 +++++ arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/am335x-bone-all.dts | 157 +++++++ arch/arm/include/asm/mach/arch.h | 1 + arch/arm/kernel/setup.c | 3 + arch/arm/mach-omap2/Makefile | 5 + arch/arm/mach-omap2/am33xx-dt-quirks.c | 498 +++++++++++++++++++++ arch/arm/mach-omap2/am33xx-dt-quirks.h | 10 + arch/arm/mach-omap2/board-generic.c | 1 + arch/arm/mach-omap2/common.h | 8 + drivers/of/dynamic.c | 358 +++++++++++++++ include/linux/of.h | 16 + 13 files changed, 1242 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/quirks/am33xx-bone-quirk.txt create mode 100644 Documentation/devicetree/quirks.txt create mode 100644 arch/arm/boot/dts/am335x-bone-all.dts create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.c create mode 100644 arch/arm/mach-omap2/am33xx-dt-quirks.h -- 1.7.12