24 Jul, 2018

1 commit


10 Jul, 2018

1 commit


18 May, 2018

1 commit


16 Mar, 2018

1 commit

  • Make the value written into the USB_PHY_RX_CTRL configuration register
    match 0xAA79 value written by manufacturer-supplied kernels for Sony
    NSZ-GS7 (Berlin2 SoC), Google Chromecast and Valve Steam Link (BG2CD).

    This fixes timeouts communicating to the internal hub on Steam Link.

    Cc: Kishon Vijay Abraham I
    Cc: Antoine Tenart
    Signed-off-by: Alexander Monakov
    Reviewed-by: Matthias Brugger
    Signed-off-by: Kishon Vijay Abraham I

    Alexander Monakov
     

14 Nov, 2017

1 commit

  • Pull USB/PHY updates from Greg KH:
    "Here is the big set of USB and PHY driver updates for 4.15-rc1.

    There is the usual amount of gadget and xhci driver updates, along
    with phy and chipidea enhancements. There's also a lot of SPDX tags
    and license boilerplate cleanups as well, which provide some churn in
    the diffstat.

    Other major thing is the typec code that moved out of staging and into
    the "real" part of the drivers/usb/ tree, which was nice to see
    happen.

    All of these have been in linux-next with no reported issues for a
    while"

    * tag 'usb-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (263 commits)
    usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
    USB: usbfs: compute urb->actual_length for isochronous
    usb: core: message: remember to reset 'ret' to 0 when necessary
    USB: typec: Remove remaining redundant license text
    USB: typec: add SPDX identifiers to some files
    USB: renesas_usbhs: rcar?.h: add SPDX tags
    USB: chipidea: ci_hdrc_tegra.c: add SPDX line
    USB: host: xhci-debugfs: add SPDX lines
    USB: add SPDX identifiers to all remaining Makefiles
    usb: host: isp1362-hcd: remove a couple of redundant assignments
    USB: adutux: remove redundant variable minor
    usb: core: add a new usb_get_ptm_status() helper
    usb: core: add a 'type' parameter to usb_get_status()
    usb: core: introduce a new usb_get_std_status() helper
    usb: core: rename usb_get_status() 'type' argument to 'recip'
    usb: core: add Status Type definitions
    USB: gadget: Remove redundant license text
    USB: gadget: function: Remove redundant license text
    USB: gadget: udc: Remove redundant license text
    USB: gadget: legacy: Remove redundant license text
    ...

    Linus Torvalds
     

02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

23 Oct, 2017

1 commit


26 Sep, 2017

3 commits

  • devm_ioremap_resource() never returns NULL, it only returns error
    pointers so this test needs to be changed.

    Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver")
    Signed-off-by: Dan Carpenter
    Signed-off-by: Kishon Vijay Abraham I

    Dan Carpenter
     
  • The pipe selector is used to select some modes (such as USB or PCIe).
    Otherwise it must be set to 0 (or "unconnected"). This patch does this
    to ensure it is not set to an incompatible value when using the
    supported modes (SGMII, 10GKR).

    Signed-off-by: Antoine Tenart
    Signed-off-by: Kishon Vijay Abraham I

    Antoine Tenart
     
  • The mux value is retrieved from the mvebu_comphy_get_mux() function
    which returns an int. In mvebu_comphy_power_on() this int is stored to a
    u32 and a check is made to ensure it's not negative. Which is wrong.
    This fixes it.

    Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver")
    Signed-off-by: Antoine Tenart
    Signed-off-by: Kishon Vijay Abraham I

    Antoine Tenart
     

31 Aug, 2017

1 commit

  • On the CP110 unit, which can be found on various Marvell platforms such
    as the 7k and 8k (currently), a comphy (common PHYs) hardware block can
    be found. This block provides a number of PHYs which can be used in
    various modes by other controllers (network, SATA ...). These common
    PHYs must be configured for the controllers using them to work correctly
    either at boot time, or when the system runs to switch the mode used.
    This patch adds a driver for this comphy hardware block, providing
    callbacks for the its PHYs so that consumers can configure the modes
    used.

    As of this commit, two modes are supported by the comphy driver: sgmii
    and 10gkr.

    Signed-off-by: Antoine Tenart
    Acked-by: Kishon Vijay Abraham I
    Signed-off-by: David S. Miller

    Antoine Tenart
     

01 Jun, 2017

1 commit

  • Adding vendor specific directories in phy to group
    phy drivers under their respective vendor umbrella.

    Also updated the MAINTAINERS file to reflect the correct
    directory structure for phy drivers.

    Signed-off-by: Vivek Gautam
    Acked-by: Heiko Stuebner
    Acked-by: Viresh Kumar
    Acked-by: Krzysztof Kozlowski
    Acked-by: Yoshihiro Shimoda
    Reviewed-by: Jaehoon Chung
    Cc: Kishon Vijay Abraham I
    Cc: David S. Miller
    Cc: Geert Uytterhoeven
    Cc: Yoshihiro Shimoda
    Cc: Guenter Roeck
    Cc: Heiko Stuebner
    Cc: Viresh Kumar
    Cc: Maxime Ripard
    Cc: Chen-Yu Tsai
    Cc: Sylwester Nawrocki
    Cc: Krzysztof Kozlowski
    Cc: Jaehoon Chung
    Cc: Stephen Boyd
    Cc: Martin Blumenstingl
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-arm-msm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-omap@vger.kernel.org
    Cc: linux-renesas-soc@vger.kernel.org
    Cc: linux-rockchip@lists.infradead.org
    Cc: linux-samsung-soc@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Signed-off-by: Kishon Vijay Abraham I

    Vivek Gautam