From patchwork Sat Feb 11 01:27:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9567751 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 852DB60572 for ; Sat, 11 Feb 2017 01:50:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 720682853B for ; Sat, 11 Feb 2017 01:50:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6558D285DE; Sat, 11 Feb 2017 01:50:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7E232853B for ; Sat, 11 Feb 2017 01:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932165AbdBKBu4 (ORCPT ); Fri, 10 Feb 2017 20:50:56 -0500 Received: from mail-by2nam01on0061.outbound.protection.outlook.com ([104.47.34.61]:17664 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751961AbdBKBt2 (ORCPT ); Fri, 10 Feb 2017 20:49:28 -0500 Received: from BN6PR03CA0027.namprd03.prod.outlook.com (10.175.124.13) by BL2PR03MB1939.namprd03.prod.outlook.com (10.164.115.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Sat, 11 Feb 2017 01:47:26 +0000 Received: from BL2FFO11OLC001.protection.gbl (2a01:111:f400:7c09::143) by BN6PR03CA0027.outlook.office365.com (2603:10b6:404:10c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Sat, 11 Feb 2017 01:47:26 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; linux.intel.com; dkim=none (message not signed) header.d=none; linux.intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC001.mail.protection.outlook.com (10.173.161.185) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.904.16 via Frontend Transport; Sat, 11 Feb 2017 01:47:25 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v1B1kZwN001095; Fri, 10 Feb 2017 18:47:16 -0700 From: Peter Chen To: , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Sriram Dash , Mathias Nyman Subject: [PATCH v13 04/12] usb: chipidea: use bus->sysdev for DMA configuration Date: Sat, 11 Feb 2017 09:27:15 +0800 Message-ID: <1486776443-2280-5-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> References: <1486776443-2280-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131312512458569390; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39450400003)(39860400002)(39380400002)(39850400002)(39400400002)(39410400002)(39840400002)(2980300002)(1110001)(1109001)(3190300001)(339900001)(189002)(199003)(2171002)(50986999)(356003)(50466002)(76176999)(48376002)(305945005)(189998001)(105606002)(92566002)(53936002)(50226002)(8936002)(104016004)(2906002)(4326007)(33646002)(106466001)(81156014)(8676002)(81166006)(47776003)(97736004)(54906002)(86362001)(8656002)(2950100002)(36756003)(5660300001)(38730400002)(7416002)(7406005)(5003940100001)(39060400001)(68736007)(85426001)(77096006)(626004)(2201001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB1939; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC001; 1:MCKSItgY9vhqIaPk5n6TM0pcJAp/K9iiFHJCGSRIhwB2iNlqgeg6RJFaBVlPedIuHojoHQ6p1e1CjbyCqqNQImO4jzO1ufFZJUGbiLLh+3d5RIiJ+cRyuZU/jLjjZYvy5jLjrP8itPrOLtDJ9n5xUtCXP0JqvfKcXQATidhyxufxHyNafBnMMO9zOwSyYhFHcmE64t2AjwbPFiIDAtBqMFJ4kcirpKBX2LZmil1gx6WOSrKM0SO+E89zweAnQ8gfNlG34TXVY6bfIbrWs12g6oyboGO8s5RIhVhvVabmpEWdyvzIIJXm0HstbebUkaF6xwiXvJgQjHrje/dR8OPEIqgCUTUGyPxx/VxfSIWTRIcG6C7klp176z5EeZz1o9IROATqpploDHVonQhqBXaMCjjmOneVMejqKqTazIdTj9ibPm5pb62J7xEzXod3wKJ79R9XYamDy9BBLs4NdboLSQNyctmtHlGDXQ4PqaR0sot4No9mrfylEhXzY5zEJOqBG/21PhC75pj1MsfttNpSRyVn41y0izoph3FyZ8YmqYw9S306eQMXTpwAepHWpvaiSvC3tRShGTQslKKsmx7j1hVJN2Eemzv0eILFAADjsK80LKprYnchF9rPDif2O064AOmVMWWMpn/wYVPUgfZu4I5VvNR6McLCOxN6pwcpsDQ= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a6e4dd0d-5fc2-4942-ca69-08d4521fee09 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BL2PR03MB1939; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB1939; 3:EADzSi91WxP4pnjrParYnNqoDw0BDEP5fgiImT6dIIKVTYIP7pHXVx5NuW1d7Aftapjkipw3yaahhbdwibU2Fk6tYwzK51cOeluyVy70HZ29r7phyIjbUQJLp14bSXbuye7kk++EYDqnr5dFVRXuI587IrMXSZNnIxIi8En3SmpEQOlRX1pH92LG7uxkB78/+MPjyMveYDWAzmhW54ixC0Cup3Q72IqM+JqzrsDC+IgDrVQhWoTMU787ye+u+9kJpc2/GdJsBkeM7kynG9ePKSQ9AOk1MAXsQVpbNv6oIFuJ+Q70KqqcH83WLtNZH9CfGC3CBmiQmjYVh+2D0+aBxt09iKYTCkqOJjUnrtjT8FlMoU7iwLRTssXt4yftPocI; 25:uniWI0kruEpkUfGagrrxi7XVlBFG5UNxJS02dvP6yXyVGvNwn4zV9WsKQ9iP5wLYSBun/IupsOAufZ84LaD5O3pGQoIqOol4pgYZNN1lzSksVp1miXMIYGa1T3In8tEeOKTVpjXkf3pJ7AuUdNGrKXSz07zGifOjTw+1L+ImMk0lo8Ys1IiNhlFkoP61mLAWEvJ2TLYS+UFvvtqz4vnLNiexG4gs/i68l+Y4+slDvn7WeJpnJzQrFkBkZT3N7tttSLkQHShF4/ocFhitymBHwL83Dhu1RyawbQx30C568y3ttpGxx94+ecVLihmHOHk71FncfxuUFzBCdLWwTo3i51wBnI2Zma3MU37blJjanEuLf5CnH6zD6nv4wM6TeNk9d8+W7bw7zY/3v/LEGNzlBb5QQ/RRrn6/hkVB/At7LdxLFEhmcdcWNRolFoXTJVvSsUSRheguLwI5A3RNfA3g+A== X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB1939; 31:ZcKN3xwvTRPaIEm5C8DOaVatG0zLbEazcl1j+UuA/xYFRu5GUIzFniOBdVAsZ0x/zbgVCL9rBRbaG4Y9kVOZNeY5BsXeHwA1WxjDmgYS7sooF3wdycHK8ZCfLeBIz7kmN4oVEcsGTVbQD5Ak86bhwf8YQtxOd/+/wKEfA9P6CBAZ6xtUduYoWrbXsI3tt+jF31bcviX4j6xFJvV7IZYhYmC/x5J3XVbKJw3Cqc1d3m0bUAQ0Mg5e7b4HgFlYiIeiOjll3GgdwfuPoLeFKtvOipGgd/fZ8Aq3Gy/qRdCjujY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(13023025)(8121501046)(5005006)(13017025)(13024025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123556025)(20161123559025)(20161123563025)(20161123565025)(20161123561025); SRVR:BL2PR03MB1939; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB1939; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB1939; 4:bmfYK9Mbck73s3NUhr/6UoP+KQ+CYryxLskYguqkiKgwujdLg0y9VkxwQbrxSjnkusD09kgvgB1RUhicAEe4cwcohREj6UxXZkGAi3jksxa0obV0eTP6QJAY8IenyGEJSsw6qEOJAz5xy9HtDI2/EjC774xng1Es7RD+MtVscvg5BHkncX0ii8wlglHe6giwsyo/KVCyXQ4/+PdO0Mjiyev9hSY47YRo4JxaWqtY7QjKk01dfCXMsa/BZSTklvHHeSfGTd4zRi6EEs8ntRRYkqNUcc83DkWs4IEhkIIhJ6bOi/0wGxJPmNOFyvxBS77uwIt9NPM+DfInlXmlKKX0WelEIJARbK8zn3AcK7Dww+wlk8IDXM8QYBBTls16NNBhviyQQxXneGNLqPXDgTaV1A67nEETH5mMa5YVCNusZw2GdLWv6xs/L4A4wAghpqMFeChjDXqhUOYmAT1p0/IOIW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JoAeDhEL0NmurrLx5tD5EdNApKo3Han51lK5u1xwFmoPWsD5TPa9pXmV73tdLZqBuGHr/7gWWNJft0KruJObiKgaHU241KcpOiRq0ExvLHZ5Hl7XIhpglPgW4aUFTquKl0dYK41+PPLtZLWYFMbJ9XMfK6sN651Lbp29Ck+MQsm25t/lRAXnLpb0W+eyxzhSywPcpsF51UxBihHc7VvFANxYZ3SvA+jyY4g1RpylUM6vHasfwMAdgwJbiR49c6HsIjDTHydE3Lg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2017 01:47:25.4201 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB1939 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Arnd Bergmann Set the dma for chipidea from sysdev. This is inherited from its parent node. Also, do not set dma mask for child as it is not required now. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Acked-by: Peter Chen Signed-off-by: Mathias Nyman --- drivers/usb/chipidea/core.c | 3 --- drivers/usb/chipidea/host.c | 3 ++- drivers/usb/chipidea/udc.c | 10 ++++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 79ad8e9..b4a78b2 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -783,9 +783,6 @@ struct platform_device *ci_hdrc_add_device(struct device *dev, } pdev->dev.parent = dev; - pdev->dev.dma_mask = dev->dma_mask; - pdev->dev.dma_parms = dev->dma_parms; - dma_set_coherent_mask(&pdev->dev, dev->coherent_dma_mask); ret = platform_device_add_resources(pdev, res, nres); if (ret) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index 915f3e9..18cb8e4 100644 --- a/drivers/usb/chipidea/host.c +++ b/drivers/usb/chipidea/host.c @@ -123,7 +123,8 @@ static int host_start(struct ci_hdrc *ci) if (usb_disabled()) return -ENODEV; - hcd = usb_create_hcd(&ci_ehci_hc_driver, ci->dev, dev_name(ci->dev)); + hcd = __usb_create_hcd(&ci_ehci_hc_driver, ci->dev->parent, + ci->dev, dev_name(ci->dev), NULL); if (!hcd) return -ENOMEM; diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index f88e915..1fb5235 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -423,7 +423,8 @@ static int _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) hwreq->req.status = -EALREADY; - ret = usb_gadget_map_request(&ci->gadget, &hwreq->req, hwep->dir); + ret = usb_gadget_map_request_by_dev(ci->dev->parent, + &hwreq->req, hwep->dir); if (ret) return ret; @@ -603,7 +604,8 @@ static int _hardware_dequeue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) list_del_init(&node->td); } - usb_gadget_unmap_request(&hwep->ci->gadget, &hwreq->req, hwep->dir); + usb_gadget_unmap_request_by_dev(hwep->ci->dev->parent, + &hwreq->req, hwep->dir); hwreq->req.actual += actual; @@ -1899,13 +1901,13 @@ static int udc_start(struct ci_hdrc *ci) INIT_LIST_HEAD(&ci->gadget.ep_list); /* alloc resources */ - ci->qh_pool = dma_pool_create("ci_hw_qh", dev, + ci->qh_pool = dma_pool_create("ci_hw_qh", dev->parent, sizeof(struct ci_hw_qh), 64, CI_HDRC_PAGE_SIZE); if (ci->qh_pool == NULL) return -ENOMEM; - ci->td_pool = dma_pool_create("ci_hw_td", dev, + ci->td_pool = dma_pool_create("ci_hw_td", dev->parent, sizeof(struct ci_hw_td), 64, CI_HDRC_PAGE_SIZE); if (ci->td_pool == NULL) {