lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 05/10] ARM: tegra: Export function to read USB calibration data
    On 05/14/2014 06:33 PM, Andrew Bresticker wrote:
    > Board-specific USB configuration data is stored in FUSE_SKU_CALIB_0.
    > Export a function to read it so the PHY can be properly configured.

    This patch seems conceptually fine to me. Presumably once Peter's fuse
    driver is fleshed out, it can expose the exact same semantic interface
    to drivers.

    I suppose one could argue that we should create/use an explicit fuse
    subsystem with a standard API that drivers can call into, rather than a
    custom API. We can get the appropriate handle to use for that API from a
    phandle (plus fuse IDs?) in a DT property (in the XHCI device node,
    pointing at the fuse device node) much like any other cross-device
    resource reference. I'm not too bothered whether the code actually does
    that in the first instance, although we should make sure we add that DT
    property (containing all required fuse ID information) so that the code
    /can/ work that way if we want it to in the future.


    \
     
     \ /
      Last update: 2014-05-16 03:41    [W:4.043 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site