From patchwork Fri May 31 06:07:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jung Daehwan X-Patchwork-Id: 800878 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DAF77E101 for ; Fri, 31 May 2024 06:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717135657; cv=none; b=RJFt4kAB8RnaGbgrb5d1g9QskqAoSuljX56fgHc+sSd3bMy5UUTryKCxPu5QGc1NeRr1G2CtQGMjMv0kn5jmj30ORyRbmvhskEeY2HFqS9wJWAT/Rdl79robrBA+7fKkf0KoxKBvZacVxL9p+kU+DaQam4MM7L5V7uWoTb69GSI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717135657; c=relaxed/simple; bh=+3BZx419ZAMcAUTTU97c9t/HNAedUfsPXdqO69drvVo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:Content-Type: References; b=or7qMLkZwTew2gU5Ja17EGAf/8CzIbyIpOci3D6fkWtsplwafyVHuXae3sqeCpF4ur8nsM952OKgi9WJIVO8+LL6cQHocNPcb+Pfle+9x5h9dhj3EB77wZwbd+hRXNqFpwjHETS2NyFus/Ks/NxiJCyFpNFFjGb9EygZgUxtuCM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=oisY3DK8; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="oisY3DK8" Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20240531060733epoutp01956ef5c44d9fff1e1e44387d6d19a753~UfcdW-bkA2201922019epoutp01L for ; Fri, 31 May 2024 06:07:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20240531060733epoutp01956ef5c44d9fff1e1e44387d6d19a753~UfcdW-bkA2201922019epoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1717135653; bh=PRvIg4Zw3iG8OrJ9EiBqGy+QtBxM3pliyzg3yqVWZb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oisY3DK8MZQnFDBaRa0VYOlt6PTRwybsl0A2KNSL36KyWhNjBxC8Fa4Z4YDIa8O9I lM5+mnvYBi/RvW0Eyt57BS04BGUeoKMq5IZEhsXNXWaBqeguwMCLS9VEsX3PW8CTL/ pv+0G7xOr5AyylcKsxG/HOxyfIrbzk36CiKQzp8Q= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20240531060732epcas2p302e1af9507bd5af4044a1f27fb2a2d58~Ufcc9On681346913469epcas2p3t; Fri, 31 May 2024 06:07:32 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.99]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4VrCMS1fw8z4x9QJ; Fri, 31 May 2024 06:07:32 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id D2.C2.09479.42969566; Fri, 31 May 2024 15:07:32 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20240531060731epcas2p4f14afae9f00a7e71e6bd3863f0a51441~UfccICfaO0345403454epcas2p4V; Fri, 31 May 2024 06:07:31 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240531060731epsmtrp2715f377978b120b5f5025b1fa85798e0~UfccHQ3GS3247032470epsmtrp2G; Fri, 31 May 2024 06:07:31 +0000 (GMT) X-AuditID: b6c32a48-ea7ff70000002507-e4-665969248bf9 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 54.6F.07412.32969566; Fri, 31 May 2024 15:07:31 +0900 (KST) Received: from ubuntu.dsn.sec.samsung.com (unknown [10.229.95.128]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240531060731epsmtip15254132b4de1938a865da1396dad6bdd~Ufcb7193e0186201862epsmtip1L; Fri, 31 May 2024 06:07:31 +0000 (GMT) From: Daehwan Jung To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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), Daehwan Jung Subject: [PATCH v2 5/5] usb: host: xhci-plat: Add support for XHCI_WRITE_64_HI_LO_QUIRK Date: Fri, 31 May 2024 15:07:37 +0900 Message-Id: <1717135657-120818-6-git-send-email-dh10.jung@samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1717135657-120818-1-git-send-email-dh10.jung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKKsWRmVeSWpSXmKPExsWy7bCmua5KZmSawcrtnBbH2p6wW6zZe47J Yv6Rc6wWdxZMY7JoXryezeLlrHtsFpd3zWGzWLSsldmiedMUV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a7e71e6bd3863f0a51441 X-Msg-Generator: CA X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20240531060731epcas2p4f14afae9f00a7e71e6bd3863f0a51441 References: <1717135657-120818-1-git-send-email-dh10.jung@samsung.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: This is set by dwc3 parent node to support writing high-low order. Signed-off-by: Daehwan Jung --- drivers/usb/host/xhci-plat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 3d071b8..31bdfa5 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -256,6 +256,9 @@ int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const s if (device_property_read_bool(tmpdev, "xhci-sg-trb-cache-size-quirk")) xhci->quirks |= XHCI_SG_TRB_CACHE_SIZE_QUIRK; + if (device_property_read_bool(tmpdev, "write-64-hi-lo-quirk")) + xhci->quirks |= XHCI_WRITE_64_HI_LO; + device_property_read_u32(tmpdev, "imod-interval-ns", &xhci->imod_interval); }