Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3414874imm; Fri, 25 May 2018 05:26:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqrYI3U6DjRNPBlRCGGUoAoVfibH5apGoEat2taWhlZfB4vOWYbKTnIg6Jk6yMNjJxlu8s5 X-Received: by 2002:a65:5002:: with SMTP id f2-v6mr1822853pgo.38.1527251196608; Fri, 25 May 2018 05:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527251196; cv=none; d=google.com; s=arc-20160816; b=svgR1NSZnnd4nTQy3BsC9bpmFKqdKb8iv5wj/7Nw83nfWK5ZrddoX7xTajubRmAt6z IIv8bXLl2V88mPtWjE4vxXfwqEKxuwDhnYk0ilrWGcLGiShbS4PmFM8JULa/ZBqVPL17 nj3y6c0XrAl/+DLeOs5Bz8qAq4anGnocXxavHgVJmYPYiN8R8uPpmiwfPGLnaADEr5RJ +QjSdKrilPTFScejL8LjbyDwtmrevrWvjD9/y++E/DxDkAY264Hqs+3FxjMXr7YCuP0N tFw2bzdAyAxwZI3USfk4BnR+8YXntB1KqrU+jJLA9rQIyUW4r1aqXlBy4T3mlt0nJkNx W4eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=VhoL02C9jtfyEVizXOsARJEoJOtW8pGj0ISmrFMFC8Y=; b=Ii22Cq0j8q3v3vx5RqH+eHKH7/mzyLGcwxc+bT+D5D9TG7eSCtF2Ck3SYMCFMmhFfa C+O8DcW1VQrCfgRsRROe/XvKcxf4Lb31c+TszSyNPpHfSySHKc/TnMteAQ/RZMimmJjx HrXWf5i7Om3h2Bo66eORzDoZMH69Ic4wgGH6A25YGyXIsRDYtXLhrYcHoZcRQRZ2BD4E 2nXYEp9UxVsR61SCjMGNn3rON5DxgW+c2MKnrhSz8wglVKb4ChUKhL8haQur3F0aAlnK BWKjprW8fltbXBIhgLHwxfa0UEWgkXgFB8JCYqegwVrIioOFdG3zMN9D99Q5M2W15gAx 5t0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GE9eBLSU; dkim=pass header.i=@codeaurora.org header.s=default header.b=bEmwOk7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12-v6si23628331pfk.83.2018.05.25.05.26.21; Fri, 25 May 2018 05:26:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@codeaurora.org header.s=default header.b=GE9eBLSU; dkim=pass header.i=@codeaurora.org header.s=default header.b=bEmwOk7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966850AbeEYMWQ (ORCPT + 99 others); Fri, 25 May 2018 08:22:16 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47448 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966601AbeEYMWM (ORCPT ); Fri, 25 May 2018 08:22:12 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 240A860F5F; Fri, 25 May 2018 12:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527250932; bh=YqGlsMV5aq6Py7mPltsGg55eDGkOlThAuL2EJGT80Tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GE9eBLSU57dLrQExYpMD6uDSCFcP9k6GnfeXwf8hpANz3lZFkgxX8caxGq9hXwPHW EfLJ5cJnBHa0aBHgjxQjIslHfLI6jjvfg31DvyOXUpV/tgZZoO6BHAVeOxCTj+3aJz lgaZSh5PjZsT//4BKIVbHmgYtt5HO4M15/VyMSwM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from absahu-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: absahu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5949A6090E; Fri, 25 May 2018 12:22:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527250931; bh=YqGlsMV5aq6Py7mPltsGg55eDGkOlThAuL2EJGT80Tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bEmwOk7QjIzJT1JOakRGR+oPIyFR+88FBjJ9LEOTNLSyW6iUY8snxPkRLDevW9+oj X0tpdDYRzE5GCLMV2GxhPAIIgavUrdVkuRoGBIJ1XLF/UhgQuhh8UuBSsKCJWsRhCP OcwDSxpwqLezVoIRCYR8iKfk+UeYbU4W4WUmHOhM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5949A6090E Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=absahu@codeaurora.org From: Abhishek Sahu To: Boris Brezillon Cc: David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Miquel Raynal , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Andy Gross , Archit Taneja , Abhishek Sahu , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [PATCH v3 03/16] dt-bindings: qcom_nandc: make nand-ecc-strength optional Date: Fri, 25 May 2018 17:51:31 +0530 Message-Id: <1527250904-21988-4-git-send-email-absahu@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1527250904-21988-1-git-send-email-absahu@codeaurora.org> References: <1527250904-21988-1-git-send-email-absahu@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If nand-ecc-strength specified in DT, then controller will use this ECC strength otherwise ECC strength will be calculated according to chip requirement and available OOB size. Signed-off-by: Abhishek Sahu --- * Changes from v2: NONE * Changes from v1: NEW PATCH Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt index 73d336be..f246aa0 100644 --- a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt +++ b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt @@ -45,11 +45,13 @@ Required properties: number (e.g., 0, 1, 2, etc.) - #address-cells: see partition.txt - #size-cells: see partition.txt -- nand-ecc-strength: see nand.txt - nand-ecc-step-size: must be 512. see nand.txt for more details. Optional properties: - nand-bus-width: see nand.txt +- nand-ecc-strength: see nand.txt. If not specified, then ECC strength will + be used according to chip requirement and available + OOB size. Each nandcs device node may optionally contain a 'partitions' sub-node, which further contains sub-nodes describing the flash partition mapping. See -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation