Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765745AbcLVGdu (ORCPT ); Thu, 22 Dec 2016 01:33:50 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49612 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765581AbcLVGds (ORCPT ); Thu, 22 Dec 2016 01:33:48 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 34B076126B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=vivek.gautam@codeaurora.org MIME-Version: 1.0 In-Reply-To: <1479383028-27701-1-git-send-email-sriram.dash@nxp.com> References: <1479383028-27701-1-git-send-email-sriram.dash@nxp.com> From: Vivek Gautam Date: Thu, 22 Dec 2016 11:53:54 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 0/6] inherit dma configuration from parent dev To: Sriram Dash Cc: "linux-kernel@vger.kernel.org" , Linux USB Mailing List , Mathias Nyman , Greg KH , suresh.gupta@nxp.com, felipe.balbi@linux.intel.com, Alan Stern , pku.leo@gmail.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1101 Lines: 29 On Thu, Nov 17, 2016 at 5:13 PM, Sriram Dash wrote: > For xhci-hcd platform device, all the DMA parameters are not > configured properly, notably dma ops for dwc3 devices. > > The idea here is that you pass in the parent of_node along > with the child device pointer, so it would behave exactly > like the parent already does. The difference is that it also > handles all the other attributes besides the mask. > > Arnd Bergmann (6): > usb: separate out sysdev pointer from usb_bus > usb: chipidea: use bus->sysdev for DMA configuration > usb: ehci: fsl: use bus->sysdev for DMA configuration > usb: xhci: use bus->sysdev for DMA configuration > usb: dwc3: use bus->sysdev for DMA configuration > usb: dwc3: Do not set dma coherent mask Tested patches 1, 4 & 5 on db820c platform with required set of patches [1] for phy. Tested-by: Vivek Gautam for the above mentioned patches. [1] https://lkml.org/lkml/2016/12/20/392 -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project