[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1528953067-24324-1-git-send-email-yamada.masahiro@socionext.com>
Date: Thu, 14 Jun 2018 14:11:04 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-mtd@...ts.infradead.org,
Boris Brezillon <boris.brezillon@...tlin.com>
Cc: Richard Weinberger <richard@...ma-star.at>,
Philipp Rosenberger <p.rosenberger@...utronix.de>,
Rob Herring <robh@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
devicetree@...r.kernel.org,
Miquel Raynal <miquel.raynal@...tlin.com>,
linux-kernel@...r.kernel.org, Marek Vasut <marek.vasut@...il.com>,
Brian Norris <computersforpeace@...il.com>,
Richard Weinberger <richard@....at>,
David Woodhouse <dwmw2@...radead.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Subject: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface
The ->setup_data_interface() hook needs to know the clock frequency.
In fact, this IP needs three clocks, bus "which clock?" is really
confusing. (It is not described in the DT-binding at all.)
This series adds more clocks. In the new binding, three clocks
are required: core clock, bus interface clock, ECC engine clock.
This series also takes care of the backward compatibility by
providing hardcoded values in case the new clocks are missing.
So, existing DT should work.
Changes in v2:
- Split patches into sensible chunks
Masahiro Yamada (3):
mtd: rawnand: denali_dt: use dev as a shorthand of &pdev->dev
mtd: rawnand: denali_dt: add more clocks based on IP datasheet
mtd: rawnand: denali: optimize timing parameters for data interface
.../devicetree/bindings/mtd/denali-nand.txt | 5 ++
drivers/mtd/nand/raw/denali.c | 49 ++++++++--------
drivers/mtd/nand/raw/denali.h | 1 +
drivers/mtd/nand/raw/denali_dt.c | 66 ++++++++++++++++++----
drivers/mtd/nand/raw/denali_pci.c | 1 +
5 files changed, 86 insertions(+), 36 deletions(-)
--
2.7.4
Powered by blists - more mailing lists