[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130913072803.GT11227@lee--X1>
Date: Fri, 13 Sep 2013 08:28:03 +0100
From: Lee Jones <lee.jones@...aro.org>
To: wwang <wei_wang@...lsil.com.cn>
Cc: sameo@...ux.intel.com, devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
rogerable@...ltek.com, micky_ching@...lsil.com.cn
Subject: Re: [PATCH v3] mfd: rtsx: Modify rts5249_optimize_phy
> >I'm not asking for in-depth analysis, just an overview.
> >
> >What's wrong with the default config?
> >Why is the signal quality bad and what makes it bad?
> >What did the old magic numbers do?
> >How will the configuration differ if I applied your patch?
I'm not sure I'm getting the answers I crave here.
> 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.
What parameters? I can see they've changed, but what were they before?
> Those old magic numbers are proper in simulation environment, but
> not good in real ASIC chip.
I'm sure they suited at some point or they wouldn't have been used,
but what's the difference between the old magic numbers and the new
defines? 0xFE46 tells me nothing. I can't make a comparison without
you telling me, in words, in the commit log what you're actually
doing.
> If the new patch won't be applied, we may failed to access SD card
> in those platforms equipped with rts5249 module.
Fine. I get that. I have no problem applying the patch, but I'd really
like to know what it is that you're changing before blindly doing so.
Other changes which deserve a little explaining:
Why don't you set the PHY_BPCR anymore? 0x05C0 looks like quite a bit
of configuration. What was it and why isn't it required anymore?
And why is there a need to set the; PHY_PCR, PHY_RCR2, PHY_FLD4,
PHY_RDR, PHY_RCR1, PHY_FLD3 and PHY_TUNE registers where there
wasn't this requirement before?
You don't need to reply to this message. Write a proper, informative
commit log into the patch and resubmit. If I'm satisfied I know what
you're actually adapting in the configuration I'll have no issue and
apply the patch - the code looks good.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists