From patchwork Wed Mar 22 20:07:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 95848 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp415574qgd; Wed, 22 Mar 2017 13:18:13 -0700 (PDT) X-Received: by 10.99.110.138 with SMTP id j132mr44726428pgc.217.1490213893617; Wed, 22 Mar 2017 13:18:13 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id s2si2138426pfe.85.2017.03.22.13.18.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 13:18:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.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: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=hI8ZoLDG2Qet5eqxBpKtyV2G12/DZ4kVMsmOD7Mx3nM=; b=T3pHjRgOQnJiD4+uwZt40ibOWi CnnFMMaTnniNFUpStNrLasoroFd39HDl0ANJxfZfhXtMO5FZrQ8P0jF9Ngum0E+6pFCcYG1kKkBTk aR7gind6w+kSbiYkHkaAoYJo02ADC4BsgQN4so0Fxx8wbhOWKqRNX8gWmEvBwouJ+LkRDE4m8LKMv vAxgjilMjmEXL420JNZQIqe0jdXu40+7bJGGred0p3eW4fJ+gJJZ75Qz0/pLMZuJEp9XxDQR6bJTc dN67A1J4D4MBsuSmH1zmU4MBAq9f5C6mVI4+ORhLvbMlYRZvbHfgtZjqBJQXcpDkbLbuGY5j7g5OO bVQqwlsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqmhr-0006mQ-LB; Wed, 22 Mar 2017 20:18:07 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqmZV-0001SN-3i for linux-mtd@lists.infradead.org; Wed, 22 Mar 2017 20:09:30 +0000 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id v2MK8969029452; Thu, 23 Mar 2017 05:08:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v2MK8969029452 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1490213323; bh=rMa0lku6DEo0FOdbBMD5myFgjMBe4kX+PT3nhB+ETsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EaVjpMFffzmeQ9FUAu09pR8XPqJVIyTPvdp4DETaAUlPpNGkNa9YFaVdnwRsYG0e0 Zk72yCfT98F1jLlbkU3YeprC1gsFSaN2N7WzePWp+lF22/D7aCHnM4CkKGuat57qzV /88NrjwtrN7w8NFN+SoBiSQcdmME6c1qX6yVrVO5MNkVbe4V3e0IWCHWdM0a90WsVl T/8roj9DN/2mGCX5mNKF+1QZU8ZNnCxpMPZGjmBQIzndUmsSh0Vl4ibE99xG3Tsk/n kWZXfHP0qkFPgLkY8Vbd+1KC8T8Mm5tB4neXkLfhfrPMLd4WHcjhMJFKazwniBEugM QuYlW3pMT6VJA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [RESEND PATCH v2 19/53] mtd: nand: denali: call nand_set_flash_node() to set DT node Date: Thu, 23 Mar 2017 05:07:18 +0900 Message-Id: <1490213273-8571-20-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490213273-8571-1-git-send-email-yamada.masahiro@socionext.com> References: <1490213273-8571-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_130929_482969_FFF9210F X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: laurent.monat@idquantique.com, Boris Brezillon , thorsten.christiansson@idquantique.com, Richard Weinberger , Marek Vasut , Masahiro Yamada , Artem Bityutskiy , Cyrille Pitchen , linux-kernel@vger.kernel.org, Dinh Nguyen , Masami Hiramatsu , Chuanxiao Dong , Jassi Brar , Brian Norris , Enrico Jorns , David Woodhouse , Graham Moore MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This will allow nand_dt_init() to parse DT properties in the NAND controller device node. Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/mtd/nand/denali.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 24c35a6..3badb1d 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -1496,6 +1496,7 @@ int denali_init(struct denali_nand_info *denali) /* now that our ISR is registered, we can enable interrupts */ denali_set_intr_modes(denali, true); mtd->name = "denali-nand"; + nand_set_flash_node(chip, denali->dev->of_node); /* register the driver with the NAND core subsystem */ chip->select_chip = denali_select_chip;