Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1511893
| From | Vivek Gautam <vivek.gautam@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 01/10] phy: qcom-ufs: remove failure when rx/tx_iface_clk are absent |
| Date | 2016-10-29 22:30 +0200 |
| Message-ID | <sxIql-2SN-1@gated-at.bofh.it> (permalink) |
| References | <stDyW-2Sj-5@gated-at.bofh.it> <stDyW-2Sj-27@gated-at.bofh.it> <stJXH-7yE-5@gated-at.bofh.it> <su2QF-4lW-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On Wed, Oct 19, 2016 at 10:50 PM, Vivek Gautam <vivek.gautam@codeaurora.org> wrote: > Hi, > > > On Wed, Oct 19, 2016 at 2:48 AM, Stephen Boyd <sboyd@codeaurora.org> wrote: >> On 10/18/2016 07:28 AM, Vivek Gautam wrote: >>> From: Yaniv Gardi <ygardi@codeaurora.org> >>> >>> Since in future UFS Phy's the tx_iface_clk and rx_iface_clk >>> are no longer exist, we should not fail when their initialization >>> fail, but rather just report with debug message. >>> >>> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> >>> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org> >>> --- >> >> Shouldn't we have a different compatible string on future UFS phys so >> that we know which number of clks and what clks are required? That's how >> we typically handle clk configurations changing. Making them optional >> should really only be needed when they're really optional, i.e. things >> will work fine if they're there or not. > > Correct. It makes sense to have different compatible strings for different > versions. > I will gather more information about previous versions that required > this clock, and update as suggested. The tx/rx_face clocks are not available on some of the recent chips, such as msm8996. Older chips with this 14nm ufs phy had handles for tx/rx_iface clocks. So, i will add new compatible string for msm8996 - "qcom,msm8996-ufs-phy-qmp-14nm" This can be used with chips further on that are going to use the same ufs phy. Regards Vivek -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 01/10] phy: qcom-ufs: remove failure when rx/tx_iface_clk are absent Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-10-29 22:30 +0200
csiph-web