From: Lee Jones <lee.jones@linaro.org>
To: wei_wang@realsil.com.cn
Cc: sameo@linux.intel.com, devel@linuxdriverproject.org,
linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
rogerable@realtek.com, micky_ching@realsil.com.cn
Subject: Re: [PATCH v4] mfd: rtsx: Modify rts5249_optimize_phy
Date: Mon, 16 Sep 2013 12:22:24 +0100 [thread overview]
Message-ID: <20130916112224.GB16984@lee--X1> (raw)
In-Reply-To: <1379065543-30421-1-git-send-email-wei_wang@realsil.com.cn>
On Fri, 13 Sep 2013, wei_wang@realsil.com.cn wrote:
> From: Wei WANG <wei_wang@realsil.com.cn>
>
> In some platforms, specially Thinkpad series, rts5249 won't be
> initialized properly. So we need adjust some phy parameters to
> improve the compatibility issue.
>
> It is a little different between simulation and real chip. We have
> no idea about which configuration is better before tape-out. We set
> default settings according to simulation, but need to tune these
> parameters after getting the real chip.
>
> I can't explain every change in detail here. The below information is
> just a rough description:
>
> PHY_REG_REV: Disable internal clkreq_tx, enable rx_pwst
> PHY_BPCR: No change, just turn the magic number to macro definitions
> PHY_PCR: Change OOBS sensitivity, from 60mV to 90mV
> PHY_RCR2: Control charge-pump current automatically
> PHY_FLD4: Use TX cmu reference clock
> PHY_RDR: Change RXDSEL from 30nF to 1.9nF
> PHY_RCR1: Change the duration between adp_st and asserting cp_en from
> 0.32 us to 0.64us
> PHY_FLD3: Adjust internal timers
> PHY_TUNE: Fine tune the regulator12 output voltage
>
> Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
> ---
> drivers/mfd/rts5249.c | 48 ++++++++++++++++++++++++++++++++++++--
> include/linux/mfd/rtsx_pci.h | 53 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 99 insertions(+), 2 deletions(-)
Much better.
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2013-09-16 11:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-13 9:45 wei_wang
2013-09-16 11:22 ` Lee Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130916112224.GB16984@lee--X1 \
--to=lee.jones@linaro.org \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=micky_ching@realsil.com.cn \
--cc=rogerable@realtek.com \
--cc=sameo@linux.intel.com \
--cc=wei_wang@realsil.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®