From patchwork Thu Dec 29 09:57:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jung Daehwan X-Patchwork-Id: 637809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6945AC4708E for ; Thu, 29 Dec 2022 10:14:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233106AbiL2KO2 (ORCPT ); Thu, 29 Dec 2022 05:14:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230237AbiL2KM0 (ORCPT ); Thu, 29 Dec 2022 05:12:26 -0500 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC9F513F6C for ; Thu, 29 Dec 2022 02:04:13 -0800 (PST) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221229100410epoutp01d482521d091353ef417863c64c3013bb~1O35nEUn11118911189epoutp01Q for ; Thu, 29 Dec 2022 10:04:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221229100410epoutp01d482521d091353ef417863c64c3013bb~1O35nEUn11118911189epoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1672308250; bh=DtPVu8p7sdBj9CQdfQCk6CJxEwkdoavAEbDxm2QfmWk=; h=From:To:Cc:Subject:Date:References:From; b=D5xpVKToAmVcbCosRYMcsCkWTfItKIIKU5k/q1QX1NDWWyimlbVLK4GVaEzqPfrQr 4EiXFE+O3sW9aOwUm3nlmnAN715E8pBmKEip9QUNc+OwLAIYMxLU7qY1H27DD4Qkxf rthEc6b91MdvvoTRJ16BXqEBsGgYRZFRTnuNvDHE= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20221229100410epcas2p4e739cf8aa0ff82af4fb8ff98f0eccf89~1O35HVMo73162931629epcas2p4J; Thu, 29 Dec 2022 10:04:10 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.100]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4NjPB15yYKz4x9Pq; Thu, 29 Dec 2022 10:04:09 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 53.55.61831.9166DA36; Thu, 29 Dec 2022 19:04:09 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p1.samsung.com (KnoxPortal) with ESMTPA id 20221229100409epcas2p123de28f73dfb4d7429d0e15e41bb13a7~1O34MDlHF1798217982epcas2p11; Thu, 29 Dec 2022 10:04:09 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221229100409epsmtrp21e560dddf159e642eb14e6249086df26~1O34LFmDl1682316823epsmtrp24; Thu, 29 Dec 2022 10:04:09 +0000 (GMT) X-AuditID: b6c32a47-619ff7000000f187-8f-63ad6619e131 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 83.1F.02211.9166DA36; Thu, 29 Dec 2022 19:04:09 +0900 (KST) Received: from ubuntu.dsn.sec.samsung.com (unknown [10.229.95.128]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221229100408epsmtip23a7a42850ad83e5c2e471e96b6b7a43f~1O338961l2157121571epsmtip2X; Thu, 29 Dec 2022 10:04:08 +0000 (GMT) From: Daehwan Jung To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Thinh Nguyen , Mathias Nyman , Felipe Balbi Cc: linux-usb@vger.kernel.org (open list:USB SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), sc.suh@samsung.com, taehyun.cho@samsung.com, jh0801.jung@samsung.com, eomji.oh@samsung.com, Daehwan Jung Subject: [RFC PATCH v2 0/3] support Samsung Exynos xHCI Controller Date: Thu, 29 Dec 2022 18:57:43 +0900 Message-Id: <1672307866-25839-1-git-send-email-dh10.jung@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFKsWRmVeSWpSXmKPExsWy7bCmua5k2tpkg2+TdS2OtT1ht5h/5Byr xZ0F05gsTi1fyGTRvHg9m8Xdhz9YLPpePGS2uLxrDpvFomWtzBbNm6awWrTuPcJu0XX3BqPF pIOiFqsWHGB34PNYvOclk8emVZ1sHneu7WHz2D93DbtH35ZVjB5b9n9m9Pi8SS6APSrbJiM1 MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwfoZCWFssScUqBQ QGJxsZK+nU1RfmlJqkJGfnGJrVJqQUpOgXmBXnFibnFpXrpeXmqJlaGBgZEpUGFCdsatno3M Beu4Khq7J7I0ML5i72Lk5JAQMJF4t34XkM3FISSwg1HiVet3RgjnE6PEjtPHWSGcb4wSq3ZO Z4Vped/QwQSR2Mso8WfpFCaQhJDAD0aJrmWmXYwcHGwCWhLfF4JNEhHoYpLYducrC4jDLHCE SWLjjFOMIEXCAk4Sd076gvSyCKhK/Nq+mw3E5hVwlXj/6BkjxDI5iZvnOplBeiUEvrJLLO/b xgSRcJH4eOcBVJGwxKvjW6AekpL4/G4vG4SdLXH9WzcLhF0hsWIvjG0sMetZO9gNzAKaEut3 6YOYEgLKEkdugVUwC/BJdBz+yw4R5pXoaBOCaFSWmH55AjQYJCUOvj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FKcDArifBqnF2dLMSb klhZlVqUH19UmpNafIhRmoNFSZz3QtfJeCGB9MSS1OzU1ILUIpgsEwenVAPT+czt9Zblb0UY foe/uhNh1ny4w+jXpZXT5M0nNVrefbD8UcQWq0UHzLaob/Q6z8B359bb51dWvvq5y41NI068 KU7b/5KgiJUcz8yPH6efnSgk7e/cseLr5MPr8wUvKScdEJwcm7TrWYP2NV6vurK9lyIcndgO Jz4xsJgQ1niieCLXblZeMYlKbufZqk1fGCyeXfATiZ62bYED89vz66672O7LX/ai8H5e27kJ O1f8adM3CevcPmct08vEPxMZJRQCj9x/FPNRK+LLyR8ucd0CXqv4e3YpBtqGxVS732cM3SPS 3vFo/u5bj1dudfnWoLgpe+MXS/G8r9uX+6n+FfiVePv38a1r/qfst7+9dMdVLSWW4oxEQy3m ouJEAMhm1wS+AgAA X-CMS-MailID: 20221229100409epcas2p123de28f73dfb4d7429d0e15e41bb13a7 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221229100409epcas2p123de28f73dfb4d7429d0e15e41bb13a7 References: Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This patchset is to support xHCI Controller on Samsung Exynos SOCs. Thanks for all reviews on v1 and have tried to modify it well. I again added "RFC" because I haven't solved below problem when checking dt bindings. usb@4a000000: #size-cells:0:0: 0 was expected Documentation/devicetree/bindings/usb/snps,dwc3.yaml Changes in v2 : - Rename subject of cover letter ([RFC,v1,0/2] add xhci-exynos to support Samsung Exynos SOC) - Add Exynos compatible in xhci platform driver instead making new platform driver. - Make xhci platform driver as child of dwc3 with DT schema. - Override roothub ops for xhci platform driver. Daehwan Jung (3): usb: support Samsung Exynos xHCI Controller dt-bindings: usb: generic-xhci: add Samsung Exynos compatible dt-bindings: usb: snps,dwc3: add generic-xhci as child .../devicetree/bindings/usb/generic-xhci.yaml | 2 + .../devicetree/bindings/usb/snps,dwc3.yaml | 29 +++++++++ drivers/usb/dwc3/drd.c | 7 +++ drivers/usb/dwc3/host.c | 33 +++++++++- drivers/usb/host/xhci-plat.c | 60 ++++++++++++++++++- drivers/usb/host/xhci.c | 4 ++ drivers/usb/host/xhci.h | 5 ++ 7 files changed, 137 insertions(+), 3 deletions(-)