From patchwork Mon Mar 1 07:57:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 388625 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp3153178jap; Sun, 28 Feb 2021 23:58:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFKFyLV1S8gvr3kjXakdP3ptx+CuXrh08z50WD8osznasLIsz4p0YilEWkSPBkKH500D1F X-Received: by 2002:a17:906:ca1:: with SMTP id k1mr14990519ejh.223.1614585519887; Sun, 28 Feb 2021 23:58:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614585519; cv=none; d=google.com; s=arc-20160816; b=GaIJU/cRv9cpIbgoZbrxrODaqREvakKra1LsP/6fkMnFXARJhUQbrvIGvvEGsW3564 kqkIH/ebIkupBZlQ5fLEn3iiUosW9UniUyARt+c5bsZ8eZQjjIM9BIS7BDLqVkRLzMv2 Cxq5gekVs1clTIwGlFgT3P9fn3lPmd1oEDIkqIFKildMrzgMo096HXQDG6Og6JQbaNuM iexQcApcOVgXfCNyXjWH8u00xJMlCt2LFWW3YbKxJh6vyR3jbxNmRPN5nY2VsRrYyM1Q vNU62RdQ43Nnbt6u0tmUGpBsLaAD+yaienNyASqm2tsUPqFnizW4NV0NxwY3o/NeHEf0 12Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=XoFpdh3Wn/xNSK+FjXiIjWLWmWk32HzAA/54xtXXwfE=; b=dzK6UmfwJH71yMSL7LV9ZuhWWfK8zxJePXxLXhvDDZ/X6MmcA6p0k46A99V5a5qigc YdyV0Y9dZFC1+7huAHC5rftBYxaMsIkBzgNteYrJK9y1R7ZOLxCq5ocnrdUFItspRG8N y+8Tb3IGYIt/GiuElxjo8TBpP5m+3tuHr8ylPjAdPQ5D+M5mvQh1S7P63fRVjvY6WlbZ pmqtMeqb4e7SZYR5Qda9OrlJQmr1wFs0tWwntHpWkzaEfkdALTQNw/vrjdxOEHUxysVp +ti6ew3AoWBAEfCaZa1suCWoQIsotYEWrNbK/xbTVo+F58Uom7/Wf0vqN1PYJxGRkNry EM1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="W/u4Tn4+"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si10637523edp.368.2021.02.28.23.58.39; Sun, 28 Feb 2021 23:58:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b="W/u4Tn4+"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232711AbhCAH6g (ORCPT + 16 others); Mon, 1 Mar 2021 02:58:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232712AbhCAH6d (ORCPT ); Mon, 1 Mar 2021 02:58:33 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5D4BC06178A for ; Sun, 28 Feb 2021 23:57:52 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id s16so9332017plr.9 for ; Sun, 28 Feb 2021 23:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=XoFpdh3Wn/xNSK+FjXiIjWLWmWk32HzAA/54xtXXwfE=; b=W/u4Tn4+Pdx23olu3YpUBlmVOQntURJcwwE5F/+AN7HbRuHcjorfiVZeEIk+QNetok jFY9c5VNOGdEzgczo4e9//TSrQ/gzWX6CzkiUDgLCskAr0nLxgh2/0m6qn6z+zsdvd0w jOXkSFhaPwDITpsqzXZu35vBEbUs+NGk99pEzI9nwGMklnb94/eSgviAXJOya3JCs22j enFovKK1lNajyqyiTMc6oZvHSLyHFH9bXk8lJ73rZ8eZLi7HOXFTTTEUk++FR2EfdQKJ aOpLgzemTOYhFLFPadBK24izio8dPmFK+/cg/29sfClpDnDf/wC9yWabd8YKXq+wF5TQ Hoaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XoFpdh3Wn/xNSK+FjXiIjWLWmWk32HzAA/54xtXXwfE=; b=VyLDBqf+7IZR16xIZbECcBSvCLVdkKySfxZPy5JaVa8FDU55tdcq4EVmEUg9UW6czq tTSNFaCrIaKD12nz7qZn6MjJCg9td3EKw7TZ03nJbpJdhDFrOU9Rw0+RvrUwKmGQugDI M8MmoBvzyoZCp/l609z0C6mR2H0+1mcddvQ/GRTECdpJwNFFqVKWLrKhWv3ZFI1jRqMj 8SuNXAJKLLmm3qe5JaC1KNSwObf5iUrRSVVraDfl/C8Ld9Ahj3pXwJpwYZBmJs1sLkM+ WYpUz492Lm9IDgk29ckSsMCFh48odW1blzs8eciA1dtvy7hppRWYoxX49QxcQrDbGVDZ Unlw== X-Gm-Message-State: AOAM530j4FodzgfS59unZg7iS2UtMacgCMrb6hGO3RWhpnMFzz4sgrO/ 22BOsio/MUbSuHX4aGuEToLsGA== X-Received: by 2002:a17:90b:1105:: with SMTP id gi5mr16131290pjb.26.1614585472383; Sun, 28 Feb 2021 23:57:52 -0800 (PST) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id k8sm12350388pjj.31.2021.02.28.23.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Feb 2021 23:57:52 -0800 (PST) From: Shawn Guo To: Felipe Balbi Cc: Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Shawn Guo Subject: [PATCH] usb: dwc3: qcom: add ACPI device id for sc8180x Date: Mon, 1 Mar 2021 15:57:45 +0800 Message-Id: <20210301075745.20544-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org It enables USB Host support for sc8180x ACPI boot, both the standalone one and the one behind URS (USB Role Switch). And they share the the same dwc3_acpi_pdata with sdm845. Signed-off-by: Shawn Guo --- drivers/usb/dwc3/dwc3-qcom.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 846a47be6df7..d8850f9ccb62 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -938,6 +938,8 @@ static const struct dwc3_acpi_pdata sdm845_acpi_urs_pdata = { static const struct acpi_device_id dwc3_qcom_acpi_match[] = { { "QCOM2430", (unsigned long)&sdm845_acpi_pdata }, { "QCOM0304", (unsigned long)&sdm845_acpi_urs_pdata }, + { "QCOM0497", (unsigned long)&sdm845_acpi_urs_pdata }, + { "QCOM04A6", (unsigned long)&sdm845_acpi_pdata }, { }, }; MODULE_DEVICE_TABLE(acpi, dwc3_qcom_acpi_match);