From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1A52C433DF for ; Fri, 29 May 2020 22:21:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76E34207BC for ; Fri, 29 May 2020 22:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590790866; bh=gGk54LUkMhIG1LU9aBHp6m8aX20xQJQxe1c1FDYGPRM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=A3tcbAnnu1qtAUrojSdFp/C6ktRwMAqIyF4PELDd1By54iwnmg8xo+dEHvowTUNhO JBRWtb5sqpL0Z8mubYKClPV9aEz7eqKR5fVSciS5L5rDhbB5GGuJBcM5j3AJIRKzzg +Hq2gKxHRniaAtduxNcCTv9rIvu427oFZEyLGeeE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725913AbgE2WVG (ORCPT ); Fri, 29 May 2020 18:21:06 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:41174 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbgE2WVF (ORCPT ); Fri, 29 May 2020 18:21:05 -0400 Received: by mail-io1-f67.google.com with SMTP id o5so994512iow.8 for ; Fri, 29 May 2020 15:21:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EmDTON6AQ2i8MRYfDTHNbj+AcDtbUpQQQwspW9k3zWI=; b=srL7n5/eM/u3A5uU4x9Yz0/1ZIusM3Sd4hrp/InFxi9jl8tBvktlCwH/8+I4S8DOM0 GTc4piqGOdNt66IL8vf/DYBGnksVUWK884aOFOqoO53T+c8gj5WqkU2zqZm7B3DiVagh K9uLjIhggTbbuYjloN7QYj3wjbEIdveKtTPhyTdc357IuTDRzaKrqQ1dvZu+M+EptSKd ap0v6LN8NvUB5vIS2Ld6DP6GKHcE0zQdJZV16TN5uOfeNFCNFo9qnpDcWUxYTRzEDGkB sAEuZF6AXOd2VD66xqKVVQEUqO4iJIoR9RNnr+HIltD1Wly+MUzNy3WvViYFBBu4gDO3 /ykg== X-Gm-Message-State: AOAM530FGc7ExowOs5yclab0nHlHFcbmRiMHnlGOq942hDRj/BSHCXo+ Lg0ukq/nixpRhoGdm5LsmA== X-Google-Smtp-Source: ABdhPJzbrH0WZ6IiAmNJ+kmxBIzSREc7hfngjeQSiTKhre/7z6U9I4bpx931rvICTL8zJgcvYPD1cQ== X-Received: by 2002:a02:6543:: with SMTP id u64mr9653378jab.26.1590790864601; Fri, 29 May 2020 15:21:04 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id v13sm5593815ili.15.2020.05.29.15.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 15:21:03 -0700 (PDT) Received: (nullmailer pid 3092973 invoked by uid 1000); Fri, 29 May 2020 22:21:02 -0000 Date: Fri, 29 May 2020 16:21:02 -0600 From: Rob Herring To: Miquel Raynal Cc: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , linux-mtd@lists.infradead.org, Mark Rutland , devicetree@vger.kernel.org, Boris Brezillon , Thomas Petazzoni , Paul Cercueil , Chuanhong Guo , Weijie Gao , linux-arm-kernel@lists.infradead.org, Mason Yang , Julien Su Subject: Re: [PATCH v7 01/20] dt-bindings: mtd: Document nand-ecc-placement Message-ID: <20200529222102.GA3089633@bogus> References: <20200529002517.3546-1-miquel.raynal@bootlin.com> <20200529002517.3546-2-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529002517.3546-2-miquel.raynal@bootlin.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, May 29, 2020 at 02:24:58AM +0200, Miquel Raynal wrote: > This optional property defines where the ECC bytes are expected to be > stored. No value defaults to an unknown location, while these > locations can be explicitly set to OOB or interleaved depending if > the ECC bytes are entirely stored in the OOB area or mixed with > regular data in the main area (also sometimes referred as > "syndrome"). > > Signed-off-by: Miquel Raynal > Reviewed-by: Boris Brezillon > --- > .../devicetree/bindings/mtd/nand-controller.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > index d261b7096c69..4a0798247d2d 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml > +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > @@ -56,6 +56,16 @@ patternProperties: > (Linux will handle the calculations). soft_bch is deprecated > and should be replaced by soft and nand-ecc-algo. > > + nand-ecc-placement: > + allOf: You can drop using allOf now, but it still works as is. Acked-by: Rob Herring > + - $ref: /schemas/types.yaml#/definitions/string > + - enum: [ oob, interleaved ] > + description: > + Location of the ECC bytes. This location is unknown by default > + but can be explicitly set to "oob", if all ECC bytes are > + known to be stored in the OOB area, or "interleaved" if ECC > + bytes will be interleaved with regular data in the main area. > + > nand-ecc-algo: > allOf: > - $ref: /schemas/types.yaml#/definitions/string > -- > 2.20.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13CC0C433DF for ; Fri, 29 May 2020 22:21:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D551E207BC for ; Fri, 29 May 2020 22:21:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mPLVuPE9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D551E207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7E8mk9WIvf7/rH1vb8dLMpH0i4+iD2KxHSwlSaYfqVA=; b=mPLVuPE9XGU3nV D/Fxi5/GSNZSyiBz/bP66kbLpSo1QbAP0AKs1Tko1s4/tdT1pAQUksRD1VkLLApIwNhF6IxcYuYIb Yq3+TMExtTr1KSNXR7l2c1AeHOaKhrUg2EaeaIEY30jXBZmJ9WVOm/Wovp/0R14WwtkKqGBCpY5t1 LOOxIAwhqvdoE8KlzGuUXb+cPxC7SZaJpEpscH2JRGLDGUJRhOSLBxUe0Faju7luUH8zhdu3RxeQf 3yLsvQ/dwvfXreYlvincfT4vl3Oq8eSP8sGbUbV9Dsufongh6NIdPdrLOxBU0Ic/Y/5ACjbOkOM34 ZCYY1AsDf66gZwqQ0fYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jenNJ-0005qX-O9; Fri, 29 May 2020 22:21:13 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jenNC-0005pj-HD; Fri, 29 May 2020 22:21:07 +0000 Received: by mail-io1-f65.google.com with SMTP id y18so1040519iow.3; Fri, 29 May 2020 15:21:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EmDTON6AQ2i8MRYfDTHNbj+AcDtbUpQQQwspW9k3zWI=; b=WCIapBiVwaNySTLCh7r7XFcc/6VMQ3rI4626Iud8HGlJme+hcSfmXq66o4asFUo66g Jyi4U8XUGpYPkckcWGGpkInaJsQF780vp34sNuNMcQHTwPj55ul8nih74057LBArmfNC DceGr3reMEz3Rw+FNdmOXAIaR/GO0qAoB3aRdqpy7IgBDvdUsZcrDsTtTE59DM+/IPZk vKHJYiARLO1W5zPxE2riY6I2s2RG7YTQWVt6ezkbFsGi49IIgDniY034hoFEXj/helvj RnaIgQlLuQyJYXaLvitzyypAEkw57hqupdrLoYiEZRDbug3Ts1eO4QYgPvGvAE7lKe+A KdGA== X-Gm-Message-State: AOAM5328U9W4bGzWGNRtox2qMyttQWpS/6qdVkWYekk9+yvZ3OIyB3cy QKky1S/Y7kzTDECuxj6k1A== X-Google-Smtp-Source: ABdhPJzbrH0WZ6IiAmNJ+kmxBIzSREc7hfngjeQSiTKhre/7z6U9I4bpx931rvICTL8zJgcvYPD1cQ== X-Received: by 2002:a02:6543:: with SMTP id u64mr9653378jab.26.1590790864601; Fri, 29 May 2020 15:21:04 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id v13sm5593815ili.15.2020.05.29.15.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 15:21:03 -0700 (PDT) Received: (nullmailer pid 3092973 invoked by uid 1000); Fri, 29 May 2020 22:21:02 -0000 Date: Fri, 29 May 2020 16:21:02 -0600 From: Rob Herring To: Miquel Raynal Subject: Re: [PATCH v7 01/20] dt-bindings: mtd: Document nand-ecc-placement Message-ID: <20200529222102.GA3089633@bogus> References: <20200529002517.3546-1-miquel.raynal@bootlin.com> <20200529002517.3546-2-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200529002517.3546-2-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200529_152106_569818_36350603 X-CRM114-Status: GOOD ( 17.29 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Vignesh Raghavendra , Tudor Ambarus , Julien Su , Richard Weinberger , Weijie Gao , Paul Cercueil , Boris Brezillon , linux-mtd@lists.infradead.org, Thomas Petazzoni , Mason Yang , Chuanhong Guo , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Fri, May 29, 2020 at 02:24:58AM +0200, Miquel Raynal wrote: > This optional property defines where the ECC bytes are expected to be > stored. No value defaults to an unknown location, while these > locations can be explicitly set to OOB or interleaved depending if > the ECC bytes are entirely stored in the OOB area or mixed with > regular data in the main area (also sometimes referred as > "syndrome"). > > Signed-off-by: Miquel Raynal > Reviewed-by: Boris Brezillon > --- > .../devicetree/bindings/mtd/nand-controller.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > index d261b7096c69..4a0798247d2d 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml > +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > @@ -56,6 +56,16 @@ patternProperties: > (Linux will handle the calculations). soft_bch is deprecated > and should be replaced by soft and nand-ecc-algo. > > + nand-ecc-placement: > + allOf: You can drop using allOf now, but it still works as is. Acked-by: Rob Herring > + - $ref: /schemas/types.yaml#/definitions/string > + - enum: [ oob, interleaved ] > + description: > + Location of the ECC bytes. This location is unknown by default > + but can be explicitly set to "oob", if all ECC bytes are > + known to be stored in the OOB area, or "interleaved" if ECC > + bytes will be interleaved with regular data in the main area. > + > nand-ecc-algo: > allOf: > - $ref: /schemas/types.yaml#/definitions/string > -- > 2.20.1 > ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA95C433E0 for ; Fri, 29 May 2020 22:21:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35974207BC for ; Fri, 29 May 2020 22:21:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aHex7/T2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35974207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k0Mld2pEq/ofAqPJOmmOo3CGwY87n27kwSWKMguH9og=; b=aHex7/T2gLClaH RUNzdDIUtlbx20sMFaWRodVY6k9KoGaJ8gFjFtqwKRfsStWeRO38VOikO94WoHJ698pkH3XBvTtJu 6Hvkj3lUgLgVqfQznLUTiydDso2e72qx9YSfilcRkrbdv9bPsRqQyIQLK6rq7HXJkMS9aStn34vkw 6IianunwnHJUdsghMA1UWbLlv1zzEAk5ykBKSBbu1RlT/aLh0piTZ3cMiStirpVebJp7n0zqBJRfX vDqcO3zcQrEzNIjIngnLZ6EMfJXucyDvXB/H4BflbGZdtRrU2VWovbAFJ9U/tcSGsyiu/I5rJnZYM Q5d4OdC1K/vzGHcnxmZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jenNR-0005wK-Mv; Fri, 29 May 2020 22:21:21 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jenNC-0005pj-HD; Fri, 29 May 2020 22:21:07 +0000 Received: by mail-io1-f65.google.com with SMTP id y18so1040519iow.3; Fri, 29 May 2020 15:21:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EmDTON6AQ2i8MRYfDTHNbj+AcDtbUpQQQwspW9k3zWI=; b=WCIapBiVwaNySTLCh7r7XFcc/6VMQ3rI4626Iud8HGlJme+hcSfmXq66o4asFUo66g Jyi4U8XUGpYPkckcWGGpkInaJsQF780vp34sNuNMcQHTwPj55ul8nih74057LBArmfNC DceGr3reMEz3Rw+FNdmOXAIaR/GO0qAoB3aRdqpy7IgBDvdUsZcrDsTtTE59DM+/IPZk vKHJYiARLO1W5zPxE2riY6I2s2RG7YTQWVt6ezkbFsGi49IIgDniY034hoFEXj/helvj RnaIgQlLuQyJYXaLvitzyypAEkw57hqupdrLoYiEZRDbug3Ts1eO4QYgPvGvAE7lKe+A KdGA== X-Gm-Message-State: AOAM5328U9W4bGzWGNRtox2qMyttQWpS/6qdVkWYekk9+yvZ3OIyB3cy QKky1S/Y7kzTDECuxj6k1A== X-Google-Smtp-Source: ABdhPJzbrH0WZ6IiAmNJ+kmxBIzSREc7hfngjeQSiTKhre/7z6U9I4bpx931rvICTL8zJgcvYPD1cQ== X-Received: by 2002:a02:6543:: with SMTP id u64mr9653378jab.26.1590790864601; Fri, 29 May 2020 15:21:04 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id v13sm5593815ili.15.2020.05.29.15.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 15:21:03 -0700 (PDT) Received: (nullmailer pid 3092973 invoked by uid 1000); Fri, 29 May 2020 22:21:02 -0000 Date: Fri, 29 May 2020 16:21:02 -0600 From: Rob Herring To: Miquel Raynal Subject: Re: [PATCH v7 01/20] dt-bindings: mtd: Document nand-ecc-placement Message-ID: <20200529222102.GA3089633@bogus> References: <20200529002517.3546-1-miquel.raynal@bootlin.com> <20200529002517.3546-2-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200529002517.3546-2-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200529_152106_569818_36350603 X-CRM114-Status: GOOD ( 17.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Vignesh Raghavendra , Tudor Ambarus , Julien Su , Richard Weinberger , Weijie Gao , Paul Cercueil , Boris Brezillon , linux-mtd@lists.infradead.org, Thomas Petazzoni , Mason Yang , Chuanhong Guo , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, May 29, 2020 at 02:24:58AM +0200, Miquel Raynal wrote: > This optional property defines where the ECC bytes are expected to be > stored. No value defaults to an unknown location, while these > locations can be explicitly set to OOB or interleaved depending if > the ECC bytes are entirely stored in the OOB area or mixed with > regular data in the main area (also sometimes referred as > "syndrome"). > > Signed-off-by: Miquel Raynal > Reviewed-by: Boris Brezillon > --- > .../devicetree/bindings/mtd/nand-controller.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > index d261b7096c69..4a0798247d2d 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml > +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > @@ -56,6 +56,16 @@ patternProperties: > (Linux will handle the calculations). soft_bch is deprecated > and should be replaced by soft and nand-ecc-algo. > > + nand-ecc-placement: > + allOf: You can drop using allOf now, but it still works as is. Acked-by: Rob Herring > + - $ref: /schemas/types.yaml#/definitions/string > + - enum: [ oob, interleaved ] > + description: > + Location of the ECC bytes. This location is unknown by default > + but can be explicitly set to "oob", if all ECC bytes are > + known to be stored in the OOB area, or "interleaved" if ECC > + bytes will be interleaved with regular data in the main area. > + > nand-ecc-algo: > allOf: > - $ref: /schemas/types.yaml#/definitions/string > -- > 2.20.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel