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: 390737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4001C433E6 for ; Mon, 1 Mar 2021 07:58:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8275A64E04 for ; Mon, 1 Mar 2021 07:58:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232519AbhCAH6i (ORCPT ); Mon, 1 Mar 2021 02:58:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbhCAH6c (ORCPT ); Mon, 1 Mar 2021 02:58:32 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B69C061788 for ; Sun, 28 Feb 2021 23:57:52 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id z11so1644006plg.10 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=VfXSO73hqk+Z5qm3Xp159oUzHrMYnMbJB6OROQqqwBhrs5foeX4MSaQkJrSwIp0HuK oIWNmqgWOeJxMCZ6QWMWx7rSGSRx3RJsR14FgKx5VOf93i+a38woj/xUGxNZ41KKbEIz Ll04Jo+9ctSXKOQDoTtdz2kNI0U4G0TxTF5oxP7wlflWGRc3l/K0tvd6Ve1zsxInhQPT urLFqleTGf+Dxvuwy+VTTYWX/G7MIuzw+41bYJsawaWJ3hchBtPPCovdskbktiI1oy15 MyKY5HWLSbfMPa4dBE20wLnsUqm5PXxgpeDIuqZG87a1xaueSpPS6gh5q2atZ27hNDg/ mXvQ== X-Gm-Message-State: AOAM5325FcpU0Xuy7eStxBzm7Cl6pZeUXTFGhIl1foLFmVHNOJUd1192 jChPPNQX98ZI43ica+8w4NJLzI0KxWAcKg== X-Google-Smtp-Source: ABdhPJxKRw2YLIMoyY47FaoulH/nYW/Ac+00k9HVQGCY37Rk420KcEh+zgFGdf98tRc7dzqdARq5Aw== 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-usb@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(+) 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);