From patchwork Tue Oct 16 05:01:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 10643089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A6401057 for ; Tue, 16 Oct 2018 05:01:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFFBA29B8C for ; Tue, 16 Oct 2018 05:01:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E376F29BF9; Tue, 16 Oct 2018 05:01:23 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 79EBE29B8C for ; Tue, 16 Oct 2018 05:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727495AbeJPMt4 (ORCPT ); Tue, 16 Oct 2018 08:49:56 -0400 Received: from mail-eopbgr40074.outbound.protection.outlook.com ([40.107.4.74]:16160 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726990AbeJPMt4 (ORCPT ); Tue, 16 Oct 2018 08:49:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2K2zisNE872fEyJPzH1Err7B2Uf+xsiNGr17is8I0UI=; b=B12hsuE4j8Y/v4NY4VCpgHipxVfyc7wyV6cCI28HdQMH2K0K51P2rVpyvt7B2Rp4vyKg/P0FFqJnlxS4OawMSirkSEvIVfdN3+Kg8KsMCc3aS4oQb9+X4PUa4BDnktW46cWVIvXfCX8rHw442JeDEMe+W3E4s6g+1nz4j2MAc80= Received: from VI1PR04MB5327.eurprd04.prod.outlook.com (20.177.52.16) by VI1PR04MB3182.eurprd04.prod.outlook.com (10.170.229.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.31; Tue, 16 Oct 2018 05:01:16 +0000 Received: from VI1PR04MB5327.eurprd04.prod.outlook.com ([fe80::5c50:30f3:3805:71f9]) by VI1PR04MB5327.eurprd04.prod.outlook.com ([fe80::5c50:30f3:3805:71f9%4]) with mapi id 15.20.1228.027; Tue, 16 Oct 2018 05:01:16 +0000 From: Peter Chen To: "linux-usb@vger.kernel.org" , "frieder.schrempf@exceet.de" CC: dl-linux-imx , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , Peter Chen Subject: [PATCH 0/4] usb: chipidea: imx: add HSIC support Thread-Topic: [PATCH 0/4] usb: chipidea: imx: add HSIC support Thread-Index: AQHUZQ1ExzPyZqTsmU+Na40PdkqNsg== Date: Tue, 16 Oct 2018 05:01:16 +0000 Message-ID: <20181016045846.2345-1-peter.chen@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.14.1 x-clientproxiedby: HK0PR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:2f::15) To VI1PR04MB5327.eurprd04.prod.outlook.com (2603:10a6:803:60::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peter.chen@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB3182;6:gnPo7610Dy+XsDkq3ehnpfsIhGMO2QKDz8RGBuTOXVVQhHUU2O1DT/dtdT7GUbnpLyWvT0iUj8GKKTO1y4OYuoT3KYC96Z6EOmu3wHJBNRhahH9uTHVHDhbLckNc10aKlyo5S846sqGdhTBqJrvglbocrYAJaa6HjIjrzkIoRzqmZlNBDufnBl0XSYJIot1vEPyM0nQdeGz++BXP+UfzaNgfNT0Vno5w5c+84dSY5UXlpXFOZ08ukKU8U2pTJSS07kpBKHQUo4O1q6BMpE6Rrbn7Uuo4VHy9yB1SMW63nD8mBXPOZcz+V3WKZz/6E3h717NJEdhIyCFlszAvkIuHJAL6g189jc1Ghhz/CYsXLGF2qfapiW2iNyguxdVPuoUEtUbwLHlzw/zTZiiAwZPJL4k6+e/ZzgkCnIyYnI6g889Xvh1Kh7w3FUES+eDya+/qkL55zP8hwFeWdChBpRekTA==;5:gphIeWNFS/lQ5KVWqca12BTWKwd8+D4BFoRHtcyi3ZGlZ9QfTgy149VwZecPW107fO3T5BTnNag9xuXajAFozoI2OvIbHqjTCZ3vN9YHZTRo9BzAvHHlRMjyubfLUAIo38/C4WXpkMTP3Seqr2EwarYl1t/jXLzgx/oKmI5DqSc=;7:coiq44jQrjpFMziofHQ+OQpwDtEFfCP4naVNcHHCnNW1+chrk1Ho4mCDlpc8hYNdvRahYE9jH+tGkJsV98CZrYG+Dh2UL0X5wZQ4WcCHwCDO62f8I0XPzJcb6b1bu6gt1+HQZAJ1lfRaiO9yBftCiGInnoq8rGYHZieRfkuzNbbEUQFFaAgkCbEHw2F8m68TcArwSP2zo39EktcqaPPaU+XfmBz9Ns126r6iLSDo4/suz5HJyTno8P5OaKOgxiP6 x-ms-office365-filtering-correlation-id: 43707c4d-92b4-46d0-2975-08d6332466ae x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR04MB3182; x-ms-traffictypediagnostic: VI1PR04MB3182: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051);SRVR:VI1PR04MB3182;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB3182; x-forefront-prvs: 0827D7ACB9 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(346002)(376002)(396003)(39860400002)(189003)(199004)(53474002)(53936002)(6436002)(2906002)(476003)(44832011)(305945005)(97736004)(5660300001)(4743002)(7736002)(4326008)(6486002)(1076002)(25786009)(478600001)(68736007)(14454004)(2501003)(316002)(105586002)(5250100002)(71200400001)(71190400001)(3846002)(6116002)(106356001)(102836004)(50226002)(6506007)(386003)(26005)(186003)(2900100001)(2616005)(8676002)(66066001)(8936002)(110136005)(54906003)(81156014)(256004)(81166006)(86362001)(52116002)(36756003)(99286004)(486006)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3182;H:VI1PR04MB5327.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: NJyOUkAaVaLuPSZ5MhyLxp2Pi639l+OlViD7Zjsx5XkcYhm1Qxn25yNhXLMRXJDVAISahmKAy39gqehtx18ZZwA2I/8DVI5r9Ke1gmnz3KwcbK/Sf3BtAN/5K8XBAhluTBg81U8+70ncq/iCpiycLNC1ShCVPuR+44/JSYaSVvKFCrDZLXVVpSrGY9X0gWdwYT7Rsv3mpEoiWy1zBVKFLW9eSJvjFjT4VyEJ9LHJ1n4V3RDksujLAy3RknM10STnJLj3M7B6D8eTVGi/2oqFzSou1m7f63zi5J8eaQQ3Es73V3zxHDU0THKRHVCYvsRpsjY1ssLdGnLCgZZDv6d5fYcKySI1ra7lpqne0vmsYug= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43707c4d-92b4-46d0-2975-08d6332466ae X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2018 05:01:16.2919 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3182 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Most of NXP (Freescale) i.mx USB part has HSIC support, in this series, we add support for them, it should cover all imx6 and imx7d. I have no HSIC interface board which is supported by upstream kernel, so this patches are only compiled ok, Frieder Schrempf, would you please help me test it on your board? Thanks. Peter Chen (4): usb: chipidea: add flag for imx hsic implementation usb: chipidea: imx: add HSIC support usb: chipidea: host: override ehci->hub_control doc: usb: ci-hdrc-usb2: Add pinctrl properties for HSIC pin groups .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 1 + drivers/usb/chipidea/ci_hdrc_imx.c | 153 ++++++++++++++++++--- drivers/usb/chipidea/ci_hdrc_imx.h | 9 +- drivers/usb/chipidea/host.c | 98 +++++++++++++ drivers/usb/chipidea/usbmisc_imx.c | 131 ++++++++++++++++++ include/linux/usb/chipidea.h | 3 + 6 files changed, 376 insertions(+), 19 deletions(-)