Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603475
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration |
| Date | 2017-03-17 18:30 +0100 |
| Message-ID | <tm3Ro-1t5-19@gated-at.bofh.it> (permalink) |
| References | <tlZkK-6pR-5@gated-at.bofh.it> <tlZXr-6X4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Piotr, 2017-03-17 21:41 GMT+09:00 Piotr Sroka <piotrs@cadence.com>: > DTS properties are used instead of fixed data > because PHY settings can be different for different chips/boards. > > Signed-off-by: Piotr Sroka <piotrs@cadence.com> > --- > Changes for v2: > - dts part was removed from this patch > - most delays were moved from dts file > to data associated with an SoC specific compatible > - remove unrelated changes > --- > Changes for v3: > - move all delays back to dts because they are also boards dependent > - prefix all of the Cadence-specific properties with cdns prefix > - put checking delay properties inside the for loop > instead of using a lot of single if expressions I am OK with this approach because I do not have a better idea. Only two minor comments below. > @@ -62,10 +66,33 @@ > */ > #define SDHCI_CDNS_MAX_TUNING_LOOP 40 > > +static const struct of_device_id sdhci_cdns_match[]; > + You forgot to remove this. > @@ -227,6 +267,7 @@ static int sdhci_cdns_probe(struct platform_device *pdev) > struct sdhci_cdns_priv *priv; > struct clk *clk; > int ret; > + struct device *dev = &pdev->dev; > > clk = devm_clk_get(&pdev->dev, NULL); If you add "dev", please use it for devm_clk_get, too. -- Best Regards Masahiro Yamada
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[v3 1/3] mmc: sdhci-cadence: Fix writing PHY delay Piotr Sroka <piotrs@cadence.com> - 2017-03-17 13:40 +0100
[v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Piotr Sroka <piotrs@cadence.com> - 2017-03-17 14:20 +0100
Re: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-17 18:30 +0100
RE: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Piotr Sroka <piotrs@cadence.com> - 2017-03-20 10:00 +0100
Re: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-21 03:00 +0100
RE: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Piotr Sroka <piotrs@cadence.com> - 2017-03-21 09:10 +0100
Re: [v3 3/3] mmc: sdhci-cadence: Update PHY delay configuration Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-17 18:40 +0100
[v3 2/3] Documentation: bindings: add description of PHY delays for sdhci-cadence Piotr Sroka <piotrs@cadence.com> - 2017-03-17 14:20 +0100
Re: [v3 2/3] Documentation: bindings: add description of PHY delays for sdhci-cadence Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-17 18:40 +0100
RE: [v3 2/3] Documentation: bindings: add description of PHY delays for sdhci-cadence Piotr Sroka <piotrs@cadence.com> - 2017-03-20 10:10 +0100
csiph-web