Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

From: Richard Weinberger
Date: Thu Jun 14 2018 - 03:25:29 EST


Masahiro,

Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada:
>
> 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

This still means that we need to feed at least 2/3 and 3/3 into -stable to
unbreak the driver.
I'd really prefer a single self-hosting fix that can go into -stable and then
patches on top of the fix can prettify the driver.

Thanks,
//richard

--
sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y