06 Apr, 2014

1 commit

  • Pull ARM SoC driver changes from Arnd Bergmann:
    "These changes are mostly for ARM specific device drivers that either
    don't have an upstream maintainer, or that had the maintainer ask us
    to pick up the changes to avoid conflicts.

    A large chunk of this are clock drivers (bcm281xx, exynos, versatile,
    shmobile), aside from that, reset controllers for STi as well as a
    large rework of the Marvell Orion/EBU watchdog driver are notable"

    * tag 'drivers-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (99 commits)
    Revert "dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac."
    Revert "net: stmmac: Add SOCFPGA glue driver"
    ARM: shmobile: r8a7791: Fix SCIFA3-5 clocks
    ARM: STi: Add reset controller support to mach-sti Kconfig
    drivers: reset: stih416: add softreset controller
    drivers: reset: stih415: add softreset controller
    drivers: reset: Reset controller driver for STiH416
    drivers: reset: Reset controller driver for STiH415
    drivers: reset: STi SoC system configuration reset controller support
    dts: socfpga: Add sysmgr node so the gmac can use to reference
    dts: socfpga: Add support for SD/MMC on the SOCFPGA platform
    reset: Add optional resets and stubs
    ARM: shmobile: r7s72100: fix bus clock calculation
    Power: Reset: Generalize qnap-poweroff to work on Synology devices.
    dts: socfpga: Update clock entry to support multiple parents
    ARM: socfpga: Update socfpga_defconfig
    dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac.
    net: stmmac: Add SOCFPGA glue driver
    watchdog: orion_wdt: Use %pa to print 'phys_addr_t'
    drivers: cci: Export CCI PMU revision
    ...

    Linus Torvalds
     

17 Mar, 2014

1 commit

  • Merge "mvebu drivers for v3.15" from Jason Cooper:

    pull request #1:

    - mvebu mbus
    - use of_find_matching_node_and_match

    - rtc
    - use PTR_ERR_OR_ZERO in isl12057
    - work around issue in mv where date returned is 2038

    - kirkwood -> mach-mvebu
    - various Kconfig oneliners to allow building kirkwood in -mvebu/

    pull request #2:

    - reset
    - re-use qnap-poweroff driver for Synology NASs

    * tag 'mvebu-drivers-3.15-2' of git://git.infradead.org/linux-mvebu:
    Power: Reset: Generalize qnap-poweroff to work on Synology devices.
    drivers: Enable building of Kirkwood drivers for mach-mvebu
    rtc: mv: reset date if after year 2038
    rtc: isl12057: use PTR_ERR_OR_ZERO to fix coccinelle warnings
    bus: mvebu-mbus: make use of of_find_matching_node_and_match

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

09 Mar, 2014

12 commits


08 Mar, 2014

5 commits


06 Mar, 2014

2 commits


04 Mar, 2014

1 commit


03 Mar, 2014

2 commits

  • The Allwinner A1x / A2x SoCs have 2 or 3 usb phys which are all accessed
    through a single set of registers. Besides this there are also some other
    phy related bits which need poking, which are per phy, but shared between the
    ohci and ehci controllers, so these are also controlled from this new phy
    driver.

    Signed-off-by: Hans de Goede
    Acked-by: Maxime Ripard
    Signed-off-by: Kishon Vijay Abraham I

    Hans de Goede
     
  • This patch adds the SATA PHY driver for Exynos5250.This driver uses the
    generic PHY framework to deal with SATA PHY.Exynos5250 SATA PHY comprises
    of CMU and TRSV blocks which are of I2C register Map.So this driver
    configures the CMU and TRSV block of exynos5250 SATA PHY using i2c.

    Signed-off-by: Yuvaraj Kumar C D
    Signed-off-by: Girish K S
    Signed-off-by: Vasanth Ananthan
    Signed-off-by: Kishon Vijay Abraham I

    Yuvaraj Kumar C D
     

02 Mar, 2014

5 commits


25 Feb, 2014

1 commit

  • With the move of kirkwood into mach-mvebu, drivers Kconfig need
    tweeking to allow the kirkwood specific drivers to be built.

    Signed-off-by: Andrew Lunn
    Acked-by: Arnd Bergmann
    Acked-by: Mark Brown
    Acked-by: Kishon Vijay Abraham I
    Acked-by: Daniel Lezcano
    Acked-by: Viresh Kumar
    Tested-by: Jason Gunthorpe
    Cc: Viresh Kumar
    Cc: Rafael J. Wysocki
    Cc: Richard Purdie
    Cc: Bryan Wu
    Cc: Zhang Rui
    Cc: Eduardo Valentin
    Signed-off-by: Jason Cooper

    Andrew Lunn
     

19 Feb, 2014

5 commits

  • Registering phy_provider before creating the PHY can result in PHY
    callbacks being invoked which will lead to aborts. In order to avoid this
    invoke phy_provider_register after phy_create and phy_set_drvdata.

    Reported-by: Felipe Balbi
    Signed-off-by: Kishon Vijay Abraham I
    Acked-by: Sylwester Nawrocki
    Signed-off-by: Greg Kroah-Hartman

    Kishon Vijay Abraham I
     
  • include/phy/phy.h has stub code in there for when building without the
    phy-core enabled. This is useful for generic drivers such as ahci-platform,
    ehci-platoform and ohci-platform which have support for driving an optional
    phy passed to them through the devicetree.

    Since on some boards this phy functionality is not needed, being able to
    disable the phy subsystem without needing a lot of #ifdef magic in the
    driver using it is quite useful.

    However this breaks when the module using the phy subsystem is build-in and
    the phy-core is not, which leads to the build failing with missing symbol
    errors in the linking stage of the zImage.

    Which leads to gems such as this being added to the Kconfig for achi_platform:

    depends on GENERIC_PHY || !GENERIC_PHY

    Rather then duplicating this code in a lot of places using the phy-core,
    I believe it is better to simply not allow the phy-core to be built as a
    module. The phy core is quite small and has no external dependencies, so
    always building it in when enabling it should not be an issue.

    Signed-off-by: Hans de Goede
    Acked-by: Roger Quadros
    Acked-by: Andrew Lunn
    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • The phy-core allows phy_init and phy_power_on to be called multiple times,
    but before this patch -ENOSUPP from phy_pm_runtime_get_sync would be
    propagated to the caller for the 2nd and later calls.

    Signed-off-by: Hans de Goede
    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • In various cases errors may be expected, ie probe-deferral or a call to
    phy_get from a driver where the use of a phy is optional.

    Rather then adding all sort of complicated checks for this, and/or adding
    special functions like devm_phy_get_optional, simply don't log an error,
    and let deciding if get_phy returning an error really should result in a
    dev_err up to the caller.

    Signed-off-by: Hans de Goede
    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • On archs like S390 or um this driver cannot build nor work.
    Make it depend on HAS_IOMEM to bypass build failures.

    drivers/phy/phy-bcm-kona-usb2.c:114: undefined reference to `devm_ioremap_resource'

    Signed-off-by: Richard Weinberger
    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Greg Kroah-Hartman

    Richard Weinberger
     

05 Feb, 2014

2 commits

  • Add devm_phy_optional_get and phy_optional_get, which should be used
    when the phy is optional. They does not return an error when the phy
    does not exist, rather they returns NULL, which is considered as a valid
    phy, but results in NOPs when used with the consumer API.

    Signed-off-by: Andrew Lunn
    Tested-by: Gregory CLEMENT
    Acked-by: Kishon Vijay Abraham I
    Signed-off-by: Jason Cooper

    Andrew Lunn
     
  • The common clock framework considers NULL a valid clock
    reference. This makes handling optional clocks simple, in that if the
    optional clock is not available, a NULL reference can be used in the
    place of a real clock, simplifying the clock consumer.

    Extend this concept to the phy consumer API. A NULL can be passed to
    the release calls, the phy_init() and phy_exit() calls, and
    phy_power_on() and phy_power_off() and a NOP is performed.

    Signed-off-by: Andrew Lunn
    Tested-by: Gregory CLEMENT
    Acked-by: Kishon Vijay Abraham I
    Signed-off-by: Jason Cooper

    Andrew Lunn
     

26 Jan, 2014

1 commit

  • Pull networking updates from David Miller:

    1) BPF debugger and asm tool by Daniel Borkmann.

    2) Speed up create/bind in AF_PACKET, also from Daniel Borkmann.

    3) Correct reciprocal_divide and update users, from Hannes Frederic
    Sowa and Daniel Borkmann.

    4) Currently we only have a "set" operation for the hw timestamp socket
    ioctl, add a "get" operation to match. From Ben Hutchings.

    5) Add better trace events for debugging driver datapath problems, also
    from Ben Hutchings.

    6) Implement auto corking in TCP, from Eric Dumazet. Basically, if we
    have a small send and a previous packet is already in the qdisc or
    device queue, defer until TX completion or we get more data.

    7) Allow userspace to manage ipv6 temporary addresses, from Jiri Pirko.

    8) Add a qdisc bypass option for AF_PACKET sockets, from Daniel
    Borkmann.

    9) Share IP header compression code between Bluetooth and IEEE802154
    layers, from Jukka Rissanen.

    10) Fix ipv6 router reachability probing, from Jiri Benc.

    11) Allow packets to be captured on macvtap devices, from Vlad Yasevich.

    12) Support tunneling in GRO layer, from Jerry Chu.

    13) Allow bonding to be configured fully using netlink, from Scott
    Feldman.

    14) Allow AF_PACKET users to obtain the VLAN TPID, just like they can
    already get the TCI. From Atzm Watanabe.

    15) New "Heavy Hitter" qdisc, from Terry Lam.

    16) Significantly improve the IPSEC support in pktgen, from Fan Du.

    17) Allow ipv4 tunnels to cache routes, just like sockets. From Tom
    Herbert.

    18) Add Proportional Integral Enhanced packet scheduler, from Vijay
    Subramanian.

    19) Allow openvswitch to mmap'd netlink, from Thomas Graf.

    20) Key TCP metrics blobs also by source address, not just destination
    address. From Christoph Paasch.

    21) Support 10G in generic phylib. From Andy Fleming.

    22) Try to short-circuit GRO flow compares using device provided RX
    hash, if provided. From Tom Herbert.

    The wireless and netfilter folks have been busy little bees too.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2064 commits)
    net/cxgb4: Fix referencing freed adapter
    ipv6: reallocate addrconf router for ipv6 address when lo device up
    fib_frontend: fix possible NULL pointer dereference
    rtnetlink: remove IFLA_BOND_SLAVE definition
    rtnetlink: remove check for fill_slave_info in rtnl_have_link_slave_info
    qlcnic: update version to 5.3.55
    qlcnic: Enhance logic to calculate msix vectors.
    qlcnic: Refactor interrupt coalescing code for all adapters.
    qlcnic: Update poll controller code path
    qlcnic: Interrupt code cleanup
    qlcnic: Enhance Tx timeout debugging.
    qlcnic: Use bool for rx_mac_learn.
    bonding: fix u64 division
    rtnetlink: add missing IFLA_BOND_AD_INFO_UNSPEC
    sfc: Use the correct maximum TX DMA ring size for SFC9100
    Add Shradha Shah as the sfc driver maintainer.
    net/vxlan: Share RX skb de-marking and checksum checks with ovs
    tulip: cleanup by using ARRAY_SIZE()
    ip_tunnel: clear IPCB in ip_tunnel_xmit() in case dst_link_failure() is called
    net/cxgb4: Don't retrieve stats during recovery
    ...

    Linus Torvalds
     

21 Jan, 2014

1 commit

  • Pull USB updates from Greg KH:
    "Here's the big USB pull request for 3.14-rc1

    Lots of little things all over the place, and the usual USB gadget
    updates, and XHCI fixes (some for an issue reported by a lot of
    people). USB PHY updates as well as chipidea updates and fixes.

    All of these have been in the linux-next tree with no reported issues"

    * tag 'usb-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (318 commits)
    usb: chipidea: udc: using MultO at TD as real mult value for ISO-TX
    usb: chipidea: need to mask INT_STATUS when write otgsc
    usb: chipidea: put hw_phymode_configure before ci_usb_phy_init
    usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag
    usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28
    usb: chipidea: add freescale imx28 special write register method
    usb: ehci: add freescale imx28 special write register method
    usb: core: check for valid id_table when using the RefId feature
    usb: cdc-wdm: resp_count can be 0 even if WDM_READ is set
    usb: core: bail out if user gives an unknown RefId when using new_id
    usb: core: allow a reference device for new_id
    usb: core: add sanity checks when using bInterfaceClass with new_id
    USB: image: correct spelling mistake in comment
    USB: c67x00: correct spelling mistakes in comments
    usb: delete non-required instances of include
    usb:hub set hub->change_bits when over-current happens
    Revert "usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28"
    xhci: Set scatter-gather limit to avoid failed block writes.
    xhci: Avoid infinite loop when sg urb requires too many trbs
    usb: gadget: remove unused variable in gr_queue_int()
    ...

    Linus Torvalds
     

16 Jan, 2014

1 commit

  • On archs like S390 or um this driver cannot build nor work.
    Make it depend on HAS_IOMEM to bypass build failures.

    drivers/built-in.o: In function `exynos_mipi_video_phy_probe':
    drivers/phy/phy-exynos-mipi-video.c:130: undefined reference to `devm_ioremap_resource'

    Signed-off-by: Richard Weinberger
    Signed-off-by: David S. Miller

    Richard Weinberger