Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp115482pxb; Tue, 26 Oct 2021 22:51:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXgMVHjm/BSqPzkG6X7W1XmPuvMu4rEA4sEe9shu3uGx6fp0YLm1eznmktOb/85ndhsAcp X-Received: by 2002:a63:6f48:: with SMTP id k69mr22220311pgc.41.1635313886035; Tue, 26 Oct 2021 22:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635313886; cv=none; d=google.com; s=arc-20160816; b=VrC7H2miRaMj2tAdAGfaduSm+7hBjpXTBzT6Ll1GE9qOep0l8cDLNicsEcljxMdWZ+ wlnIOSZeUqD6YAaKEqs7UB3V73/Zig8r4UmXpvyauOmpnYpyrjObwtPoqm+EuRJx6oL5 /YbREF7rxxErlUpLYSpKVMbMIwC6EEmlqMvJi3w1NLAZ6PXoVU8OfHkfayUODpfRKYOM wL0Mg6Jx0g7KNX3bHRsnvhk+xQ7ZwoWchUs4I6bUYf9M7HAubnOQCK1k9tuYQfYaoXzT 95gJJiFyqy3OZzBbVHghMf6A3irrFhpPpXN4Q3GxAmRP/zWJV/zXZy7+U6xHwkh+Xu03 on0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=9F6ndHarAVUhGg1jtbfIy+tm1Iuqe+qhI3p206Exjg8=; b=FHP9UXOT8VIwkQ8oRGHyheo4pLYLKVYCCNapkKDcEkTnXX4JFVKocN6i3BmBxMxjCf l3c9GnXqr7HXK3MpohTwZw8xrD09EnEEoWmM5IR94OWuIDiRvXjLvCp3v/fPX7AaU6Be WGpmNc5lavbBzPUzDLLihtm3We2APRtkhKpNz28XTK1SyyiQOut6tiS6SW3xNGRdQarm UUAFq03hLqWGDCdrVmrDpp6ICQvlpB9OugWh2OjNUQLjEzHzw7XEjiB+fb/MaxDTMqNF UzMQuzcUxc6SFVX2p1WLMoiMsleEuLke53FHIFS1qSNHeNJzO4qs4/rRCFmetKEhINfp wrzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=rhGdRAYv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si4304331pgl.462.2021.10.26.22.51.10; Tue, 26 Oct 2021 22:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=rhGdRAYv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236641AbhJZSWi (ORCPT + 99 others); Tue, 26 Oct 2021 14:22:38 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:19746 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236622AbhJZSW0 (ORCPT ); Tue, 26 Oct 2021 14:22:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1635272402; x=1666808402; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=9F6ndHarAVUhGg1jtbfIy+tm1Iuqe+qhI3p206Exjg8=; b=rhGdRAYvwHC2e7A9NkTTETFazpbopVU95PbWBa4v/2mXVsE+1xKDkY7n adOWJjKHcrgTUNqV1sj1KUzIXEXGkZqwrTQfYPplyD5wvVyxiUomF2Cjs J2qzQY8fGJD8F4qanozw/ove4ElHZsZlyWUbWrGzq3q+gI0fF0dp2WhY/ A=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 26 Oct 2021 11:20:02 -0700 X-QCInternal: smtphost Received: from nalasex01a.na.qualcomm.com ([10.47.209.196]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 11:20:02 -0700 Received: from c-sanm-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Tue, 26 Oct 2021 11:19:56 -0700 From: Sandeep Maheswaram To: Rob Herring , Andy Gross , "Bjorn Andersson" , Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , "Matthias Kaehlcke" , Mathias Nyman CC: , , , , , , Sandeep Maheswaram Subject: [PATCH 2/3] usb: host: xhci-plat: Add device property to set XHCI_SKIP_PHY_INIT quirk Date: Tue, 26 Oct 2021 23:49:31 +0530 Message-ID: <1635272372-9982-3-git-send-email-quic_c_sanm@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1635272372-9982-1-git-send-email-quic_c_sanm@quicinc.com> References: <1635272372-9982-1-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device property usb-skip-phy-init to check and set XHCI_SKIP_PHY_INIT quirk. Signed-off-by: Sandeep Maheswaram --- 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 c1edcc9..2a45f89 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -323,6 +323,9 @@ static int xhci_plat_probe(struct platform_device *pdev) if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) xhci->quirks |= XHCI_BROKEN_PORT_PED; + if (device_property_read_bool(tmpdev, "usb-skip-phy-init")) + xhci->quirks |= XHCI_SKIP_PHY_INIT; + device_property_read_u32(tmpdev, "imod-interval-ns", &xhci->imod_interval); } -- 2.7.4