Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp1103132lko; Tue, 13 Jul 2021 17:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyh82NNeovEqrU5Iy9sm4ApGSykpZtBMJyUYiopR6NAqDSkA4BW8lSQ7Dkp5q1emfL/CeNn X-Received: by 2002:a05:6602:188:: with SMTP id m8mr5150745ioo.201.1626221300645; Tue, 13 Jul 2021 17:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626221300; cv=none; d=google.com; s=arc-20160816; b=m+8f8WfgHiVDIFkPy0wnHjhqW1RjzLPcQmL5SshYH+VpZu4MvngXT97ouIXKW9lrDv YS5h2sXHbA8yPUTslSLyK8jsGUAwIxlI9X0/Ank9ZCntYgTmzBJBK+s4Lwlz7PUMpHpc 8EM7vyx/UKY3ESVJuLRFrj+1JLlJ2Zq9tH+3piDr56X5gNT0I2FSTvWrqcxof9+yb295 82mcLwwAyBXRKqz7WyNiFWebfeBzZG8VejTSbDPcEbrK76eAe9l3aH+XoMGx7O65BP3Y QKN9XAXO7YyEsd5DQf7zDv90NxbLMafjQ2AM7RdIKT4hWz4KNH7hxBT5/A5+sWmQZ9uE kjug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IEtc6WN0JMkgA1X93JOHMXDth957tk+vFhRSm4MpLAM=; b=qj9oYyWLlSxUasYG/PX2DHtbOq9229omGxx1X43Q27rU8QjgtLeouZOvVTi9EHxCov KZAPzibV/j+aArxNaNsLqEuR3je5702WvJAUTGtXo9JgQGb/il8yZKP0dLzcAr+R5N4W dSF8qwdc9vHG5ykA+VrAa5N6WbOglU9EGhtjGddYCxWUJaVbCROidYDcbXMfKuKXsAq4 R1xEIg9nGTlgH3sUXzyfAFEJZIxnZYCR4teViQachitC3tBcvBvJFdankog1MvWEXFal N34lcitHKit6OlUFO9ssuZHpj+jTpDt6gQA5XkBdATPYDcLaTwNqunxP9DpG5EELolGb lLEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kjXNNfOn; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si559406jaf.47.2021.07.13.17.08.00; Tue, 13 Jul 2021 17:08:20 -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=@linaro.org header.s=google header.b=kjXNNfOn; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237098AbhGNAKG (ORCPT + 99 others); Tue, 13 Jul 2021 20:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236966AbhGNAKF (ORCPT ); Tue, 13 Jul 2021 20:10:05 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF83C0613EE for ; Tue, 13 Jul 2021 17:07:14 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id a12so355285lfb.7 for ; Tue, 13 Jul 2021 17:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IEtc6WN0JMkgA1X93JOHMXDth957tk+vFhRSm4MpLAM=; b=kjXNNfOnOZfSXBl9SvNCTU7DVpgzZWIJVg9FqMS+1JX+6OMWWH9CLz877AqiHOprT/ /lsKfkuIYEXI5WFMO1UydRgKvGakHia0Zef/k9HPAsht+GzeUkroxtZWMCQ2STLroRkq FbqTR01kbBnrLWRZIyDwPLNuRZw8bHlvVIeiols+N3IWOXnQTDwnr76itERqCDK3hsXZ ftqKLC+BlDomCfes9K25/WuyzNNNMkx43ZllqSA63P/fqo0Y8nrvLk14aMTDmLSU3tmX DEurRNdYe9gDg4EtE+LjmrSjSrKtx9TtcvisAvYwwvXgU6rLgKJAohSbtf0H2B/+yt/o Sq6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IEtc6WN0JMkgA1X93JOHMXDth957tk+vFhRSm4MpLAM=; b=QX5Lw6yX/utWoHDEVxJGF0hIup7R/V3hNjcNROgfDfqknDkrNZW76imQFgD2H8NfQb l4UVbYPWBLXzezCqfvRcLNtNKBzcG0wm9i9EZGxPX/9MteC9SwjHqVH/HNrqnP+MpMF8 sTHKb59EU+DATUwqIgqk4W8j1DARNeLdvx/UB5bEqa+jbE3tSmrwJ70WAh07DlsbIZsU /nUstdOyeZXXM3GI/iDBp/WiShumTioEKp+KdBhpkiz/2UDCN2lHMpDA5QtSEsAIhAQn 6+/V8AoGMTG386t+DBMQ41afpflKgUrTgNP5hha4wczL/vWEmcvkXSAX345XntR8gL5u uNkQ== X-Gm-Message-State: AOAM532kJh1z6kXI/lE7eItaXPOsTzh2Aq6aYseGq8SMMvsPRZyyps03 FN+RTQ2fAdV0MX39UBqG1l2Duz0ugbEq27iqViWqqQ== X-Received: by 2002:a05:6512:22cc:: with SMTP id g12mr5427042lfu.535.1626221232412; Tue, 13 Jul 2021 17:07:12 -0700 (PDT) MIME-Version: 1.0 References: <20201020115959.2658-1-Sergey.Semin@baikalelectronics.ru> <20201020115959.2658-30-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20201020115959.2658-30-Sergey.Semin@baikalelectronics.ru> From: John Stultz Date: Tue, 13 Jul 2021 17:07:00 -0700 Message-ID: Subject: Re: [PATCH 29/29] arm64: dts: qcom: Harmonize DWC USB3 DT nodes name To: Serge Semin Cc: Felipe Balbi , Krzysztof Kozlowski , Florian Fainelli , Rob Herring , Greg Kroah-Hartman , Andy Gross , Bjorn Andersson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , Linux USB List , lkml , Serge Semin , linux-arm-kernel , Amit Pundir Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 20, 2020 at 5:10 AM Serge Semin wrote: > > In accordance with the DWC USB3 bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly > named. > > Signed-off-by: Serge Semin I know folks like to ignore this, but this patch breaks AOSP on db845c. :( In the exact same way an earlier patch broke HiKey960: https://lore.kernel.org/lkml/CALAqxLWGujgR7p8Vb5S_RimRVYxwm5XF-c4NkKgMH-43wEBaWg@mail.gmail.com/ (which I still have to carry a revert for). I get that this change is useful so more dynamic userland can find devices using consistent naming with future kernels (but doesn't the dynamic userland have to handle the case for older kernels as well?) But for userland that uses static configs, its painful as updating userland to use the new node ids then causes older kernels to fail. I'm looking into how we might be able to probe and set the property dynamically, but AOSP's init system is far more aligned to static configs. This will probably be ignored again, but it would be nice if we could have a release where DTS changes don't break userland for one of my boards. As it feels like its been awhile. thanks -john