From patchwork Sat Sep 8 13:13:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Frauendienst X-Patchwork-Id: 967617 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nospam.obeliks.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=obeliks.de header.i=@obeliks.de header.b="Ek1iwRyu"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 426vsZ4PKyz9s1x for ; Sat, 8 Sep 2018 23:14:26 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbeIHR7x (ORCPT ); Sat, 8 Sep 2018 13:59:53 -0400 Received: from scopuli.esotechnik.de ([79.143.188.15]:39048 "EHLO mail.esotechnik.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbeIHR7w (ORCPT ); Sat, 8 Sep 2018 13:59:52 -0400 Received: by mail.esotechnik.net (Postfix) with ESMTPSA id 0A1EDAE0B82; Sat, 8 Sep 2018 15:14:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obeliks.de; s=jul2017; t=1536412445; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=qWG7AqkXahklo3swWdltiDpxSLZ0ILQ8gXrfFQJlO9Q=; b=Ek1iwRyulz07b2/C8pbm93gIdsqxKWeIihqQj5t6D/5w6rihsbYxw94p+GKk0/u+kctupR a93yg0H7gZVVd9jhntgAXAp1/Gli0MkIn85V66B79NdFHTPm9v69Q+vsdyvc+ZNDkbX325 ak/DXMhdRikjeo+Arv7XGW9D409iqcWa3yyZAykO10gz22P7fq9AbfAk5/QU4qZddS6FcZ l8IfaLNtTweHCygiFXtlTRFkC/Nrpw/94z1rxd00gtEkJxAeVcZVkRAwFIZzQt19q5+glb t12ayBSATstp9JR4rbsYVeLJ48JKHAGSEyjT6mUtDt+CGJNBbDtzrlHT0fPKEg== From: Bernhard Frauendienst To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Rob Herring , Mark Rutland Cc: Bernhard Frauendienst , Miquel Raynal , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] dt-bindings: add bindings for mtd-concat devices Date: Sat, 8 Sep 2018 15:13:44 +0200 Message-Id: <20180908131345.8145-3-kernel@nospam.obeliks.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908131345.8145-1-kernel@nospam.obeliks.de> References: <20180908131345.8145-1-kernel@nospam.obeliks.de> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document virtual mtd-concat device bindings. Signed-off-by: Bernhard Frauendienst --- .../devicetree/bindings/mtd/mtd-concat.txt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mtd-concat.txt diff --git a/Documentation/devicetree/bindings/mtd/mtd-concat.txt b/Documentation/devicetree/bindings/mtd/mtd-concat.txt new file mode 100644 index 000000000000..2daf3157b163 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/mtd-concat.txt @@ -0,0 +1,36 @@ +Virtual MTD concat device + +Requires properties: +- devices: list of phandles to mtd nodes that should be concatenated + +Example: + +&spi { + flash0: flash@0 { + ... + }; + flash1: flash@1 { + ... + }; +}; + +flash { + compatible = "mtd-concat"; + + devices = <&flash0 &flash1>; + + partitions { + compatible = "fixed-partitions"; + + partition@0 { + label = "boot"; + reg = <0x0000000 0x0040000>; + read-only; + }; + + partition@40000 { + label = "firmware"; + reg = <0x0040000 0x1fc0000>; + }; + } +}