From mboxrd@z Thu Jan 1 00:00:00 1970 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=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 58E7CC433E6 for ; Fri, 15 Jan 2021 03:54:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A8BD23A55 for ; Fri, 15 Jan 2021 03:54:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730909AbhAODyA (ORCPT ); Thu, 14 Jan 2021 22:54:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730612AbhAODx7 (ORCPT ); Thu, 14 Jan 2021 22:53:59 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E67E4C0613C1 for ; Thu, 14 Jan 2021 19:53:18 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id x12so4009622plr.10 for ; Thu, 14 Jan 2021 19:53:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tT3zw+wutKrNa8Co413hr/hHyBjSjgdHrOf4X5xNFhs=; b=DsrMMqg9F+1Px2sPDqZdUgGwP93ERhpL5bEOLzqwQy8U3POErAeeHWZu7CikvBwhJR Cx0ri7/pI94PjfOebvmx/C7JPMJRAYsxBuuD8wvb/IdSngwI98K0xFMYPl9jlFda9PnI hjCff6dzQ+/UXb7IygUuNKgFxMOpH+t0apt+2CQTMLHUvnD58BY9HA/YhOvvPj1+gBFg R5mOxC7kY8214qatQTNdiIKmAgTuzi8MpYY+csf0QcyzvdVreAFg3iii7CMH94I6cJ94 yb12OmUSGHSiMpWZd80jM0Tvx+61Vw62cme8XldYkIgyJrltQix+cUhAbSyKbc3mdRlF p+jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tT3zw+wutKrNa8Co413hr/hHyBjSjgdHrOf4X5xNFhs=; b=F8tlCcZ6XrgNbAJhNrFGI7PmASRDdAClDj+TFDmoZ4Xl/Zq+FYG1R/ancHJk+H36r9 tHwixoALl3S0KdxiBQFCJ0hDtLjUtgnLM4K8JrW+g8R1EwUn9gUtOAbms7Ib1chAEpZx gi3Mw2LhSNKtuHQ9fNq1eYNOkMs5CdxF++xrbBUXs67sOclAuEOIPGAh7B6+axX709HF kQZ98ngkKwtSB2SVyuyt3kJvDrqHQ2mDN7/DrPBKpjBYvTdUVgY+Bmtfn5BguTwzwA+g svfUN23274UNW04aUphqMa7/3Vq21ZyhKP1VkghIvtUrvfHlAczriCOGr21RVNpAerhT 7sWQ== X-Gm-Message-State: AOAM5311owl2Es0yOHhsl/aZSmlHFI7VkcJlK6XwqtNvATcGGTxRKqBf kBOdWY8ikErW7JH4Xs3dhIMqVY/EaJbhFQ== X-Google-Smtp-Source: ABdhPJwG6noOUoe5F82IBgJp7PmJa7W32QezFHGNcdbgJ2XwxXWHk5wtLC2AMsmPWmqZcOqtg0MzvA== X-Received: by 2002:a17:90a:ab8e:: with SMTP id n14mr8128600pjq.96.1610682798483; Thu, 14 Jan 2021 19:53:18 -0800 (PST) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id c11sm5382736pfl.185.2021.01.14.19.53.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jan 2021 19:53:17 -0800 (PST) Date: Fri, 15 Jan 2021 11:53:13 +0800 From: Shawn Guo To: Bjorn Andersson , Felipe Balbi Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot Message-ID: <20210115035312.GC2479@dragon> References: <20201230124925.19260-1-shawn.guo@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201230124925.19260-1-shawn.guo@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Wed, Dec 30, 2020 at 08:49:25PM +0800, Shawn Guo wrote: > For sdm845 ACPI boot, the URS (USB Role Switch) node in ACPI DSDT table > holds the memory resource, while interrupt resources reside in the child > nodes USB0 and UFN0. It adds USB0 host support by probing URS node, > creating platform device for USB0 node, and then retrieve interrupt > resources from USB0 platform device. > > Signed-off-by: Shawn Guo Just sent out v2 to search child using node name rather than assuming it's always the first one. Shawn