Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452824 > unrolled thread

Re: [PATCH 2/3] phy: sun4i: add support for A64 usb phy

Started byAmit Tomer <amittomer25@gmail.com>
First post2016-07-31 15:00 +0200
Last post2016-07-31 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/3] phy: sun4i: add support for A64 usb phy Amit Tomer <amittomer25@gmail.com> - 2016-07-31 15:00 +0200

#1452824 — Re: [PATCH 2/3] phy: sun4i: add support for A64 usb phy

FromAmit Tomer <amittomer25@gmail.com>
Date2016-07-31 15:00 +0200
SubjectRe: [PATCH 2/3] phy: sun4i: add support for A64 usb phy
Message-ID<s0Yvv-bq-1@gated-at.bofh.it>
Hello ,

> @@ -264,6 +266,12 @@ static int sun4i_usb_phy_init(struct phy *_phy)
>                 val = readl(phy->pmu + REG_PMU_UNK_H3);
>                 writel(val & ~2, phy->pmu + REG_PMU_UNK_H3);
>         } else {
> +               /* A64 needs also this unknown bit */
> +               if (data->cfg->type == sun50i_a64_phy) {
> +                       val = readl(phy->pmu + REG_PMU_UNK_H3);
> +                       writel(val & ~2, phy->pmu + REG_PMU_UNK_H3);
> +               }
> +

This bit is also set for H3, shall we reuse it or we should enclose it
in else-if part ?

Thanks
Amit.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web