From patchwork Fri May 25 12:21:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Sahu X-Patchwork-Id: 920467 X-Patchwork-Delegate: miquel.raynal@bootlin.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lXqNQqNQ"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b="b3jePDYE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="GbE+rNxM"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40slmZ0l9Yz9s15 for ; Fri, 25 May 2018 22:24:14 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=8Hb91Ty1KSRL5j6M0u+O8PvR5GvQveiXJESUIkauJiA=; b=lXqNQqNQHd/+6VaiHJnpMt9f/T QbtLB1lg5sQlU+gU5hwNgnzeHtE23Q7D6S15iX5pd8F0qGtKD9Hg35Tb30Hy6tvrq3PY1gs7QWLgj s90dwEP+kl1eBLO/M4wEpgy9YH18p2FHOvzUdaSNhtbR0cBvcUP8eNSdjshfxb3pKLYOiSTjpj86e Feda1s74ZJ/oIP6oV9uP/p57PV82PZYzrBXQA549UJ8aGepd+3y8+lWN86eigf10y3r5Lhoe8psDP y4RZ1k6fAgKF1iKbYY6Cf9kzFvNuCztK/xQVw5TF+2Kr7l05oy1CjMw/ruZVGI9cWiYbCTWs7+kdF FWNQ6eQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMBlN-0006qj-Ko; Fri, 25 May 2018 12:24:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMBjo-0005rH-4U for linux-mtd@lists.infradead.org; Fri, 25 May 2018 12:22:37 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6FF7B60881; Fri, 25 May 2018 12:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527250937; bh=OkGxnTgtFoOpkCieKlu+O4owjFY+SQsK8kTKCu5u6vs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b3jePDYEjmnMHMEDjudd9eSEQiqJ73Mdqe7Pk8Mi8xdg0hZIMUdUAVwIyo8NCi7+K fhHj3GoMJJ6EukvhFwijV17/I02GsVQ2cNIHjQvdPuIwDoD29BZnU3uz1PSYv4KTRk 9o/mpEAh4xgAVcOd3itNc62Yhk/AzfN22zBYsv/4= 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 B462860618; Fri, 25 May 2018 12:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527250936; bh=OkGxnTgtFoOpkCieKlu+O4owjFY+SQsK8kTKCu5u6vs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GbE+rNxM6FypeJVG2ZywoTJnBh/cIBBpgcMt7IR4egpQnsK/UgoaZqJsfoMoRbuu9 nXJ8mzXi50hmv7atg7UHBTovN+QnjY90eO8gTGAtAtWNUO9107Keaa1ICLNTx6LgPD Qfkb1kHRtoLbkgz380jUa8XnTSYxHtZezcjrw9aE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B462860618 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 Subject: [PATCH v3 04/16] dt-bindings: qcom_nandc: remove nand-ecc-step-size Date: Fri, 25 May 2018 17:51:32 +0530 Message-Id: <1527250904-21988-5-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_052228_254841_ABE5108C X-CRM114-Status: GOOD ( 15.56 ) X-Spam-Score: -2.4 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [198.145.29.96 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 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, Archit Taneja , Richard Weinberger , linux-arm-msm@vger.kernel.org, Miquel Raynal , linux-kernel@vger.kernel.org, Marek Vasut , Abhishek Sahu , Rob Herring , linux-mtd@lists.infradead.org, Cyrille Pitchen , Andy Gross , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org QCOM NAND controller supports only one step size (512) but nand-ecc-step-size is required property in DT. This DT property can be removed and ecc step size can be assigned in driver with 512 value. Signed-off-by: Abhishek Sahu --- Currently there is no user in mainline linux kernel for QPIC. Following patches for this node is in review https://patchwork.kernel.org/patch/10426405/ https://patchwork.kernel.org/patch/10426385/ If these changes got merged then I will submit another change to remove the nand-ecc-step-size from actual DTS. * Changes from v2: NEW CHANGE Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt index f246aa0..1123cc6 100644 --- a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt +++ b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt @@ -45,7 +45,6 @@ Required properties: number (e.g., 0, 1, 2, etc.) - #address-cells: see partition.txt - #size-cells: see partition.txt -- nand-ecc-step-size: must be 512. see nand.txt for more details. Optional properties: - nand-bus-width: see nand.txt @@ -79,7 +78,6 @@ nand-controller@1ac00000 { reg = <0>; nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; nand-bus-width = <8>; partitions { @@ -119,7 +117,6 @@ nand-controller@79b0000 { nand@0 { reg = <0>; nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; nand-bus-width = <8>; partitions {