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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68406C43334 for ; Fri, 24 Jun 2022 17:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aT4RwTwqZHHDC/47188LWcneP5TNQAFJYQOMrZqE2UA=; b=ouA/8PQBCUM2LA E6OtEG0M8fFfk1Msus6wny9JwjytCD+XgbGqkHSz4hoCGgqwK/hpDoPOTXuMCuqPX2LWkMRk/kWuB a64MFX7dpjSQ7ZdG0qXa2XGU1At6LC+35fHDpAaeS/Ec9wzjJyJAjQJPclFxbnKUYSPvW+gO5EKSY I7GUNLjXE8xWcP2JDS18Oe6b/7j5BykSsDXXGQunB5sMb9Xw2XzS3gZtxl0Usw00U+SXCQdl0bPi+ /uO5ghrnEwpsTWgguXIEpb5xXBSbpGdM5sYg9+qoIqPgL8jTH6QEDuKtbzNZMbL8vgJP6gnMpYTea 4bSHXPNtYaeBbJR5Efnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4mwV-003BYN-FS; Fri, 24 Jun 2022 17:18:03 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4mwR-003BVe-FZ for linux-arm-kernel@lists.infradead.org; Fri, 24 Jun 2022 17:18:00 +0000 Received: by mail-ed1-x531.google.com with SMTP id z11so4374540edp.9 for ; Fri, 24 Jun 2022 10:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=QO2xbsZ3DwvoKI/D5PILJK1SdhtLthoBmyVWXf1LehI=; b=riSm0FlJgfp0dBXID4v2NQTo8SOXgPflsvQMGoR86iK28ba4yxmwUwoptM5dWWwqiK l92EzP4jSf90Vr6x5ir0jYK5+FZ4heKpnbMunI96UycBMM/+hJ215k0q1ix6PoOI2thy lF0Wa4WLjnysW1sJOztWQ+P7JfqPzrCtfa7vIQVND31KXECN2mFIKtRLXEmjAht+RmTi YCgR9I+Q1NnYWY0f23VoAhWfs5dezqTksdH8IFWUG4gdSQjTNv8d9dn1JHcvhEhfCxI3 aXbV6F/rzDH7S+weQyW9AQPMaB8I7rhhDZ6oT43UElcY5k5ZXd95jkJ9AVsarenT5E4O bzKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=QO2xbsZ3DwvoKI/D5PILJK1SdhtLthoBmyVWXf1LehI=; b=ALf8wtfmajEA8WB3gtIljgqQ4eQndLB/l+jY186jkh3J6km7npsP+YE7NyUrqx5aKP 16m2foN/fCR923H/hrB2NN5BMHJaBwTd55DQYiZdaPJ68tAD/HfBlwiu+sLN+rt1tP4J FJYNW4As6+VAchJ/aYti7csenscOeasuhjcO1wkzdk97zi+NlSFilcQwh2p2cjlwQrgU mIdnMouES+ik5LdXsajKNlBbDirnRJXCxsvN+TjS+5mbNGBD8O8NmS0NfO2uMVzzM29b hOW9g4GHCGP3DaGBHuDRYvhmSnZeVrLCvflU9w6eghRMkErqukyvhfn+ISJo1cKFIp/I D+4A== X-Gm-Message-State: AJIora9PlWnCylTNluTHxk+zwdLhVH86+nMVALxybdbeBwbOQLVrhqQW FGzxD+QM2a4inzZfeZOzN551rg== X-Google-Smtp-Source: AGRyM1vVErSqX7pCRC/e1QSjDBJkieHwm2TXbOHt/piwTVUPc3SDtWWTG3XRwFKOkHtmw9wUqQ2Gfw== X-Received: by 2002:aa7:c45a:0:b0:435:d7a4:99bc with SMTP id n26-20020aa7c45a000000b00435d7a499bcmr168035edr.158.1656091075738; Fri, 24 Jun 2022 10:17:55 -0700 (PDT) Received: from [192.168.0.237] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id z4-20020a1709060f0400b00722f069fd40sm1411264eji.159.2022.06.24.10.17.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 10:17:55 -0700 (PDT) Message-ID: Date: Fri, 24 Jun 2022 19:17:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH RESEND v9 5/5] arm64: dts: apm: Harmonize DWC USB3 DT nodes name Content-Language: en-US To: Serge Semin , Andy Gross , Bjorn Andersson , Felipe Balbi , Michael Ellerman , Vladimir Zapolskiy , Alexey Brodkin , Vineet Gupta , Rob Herring , Rob Herring , Greg Kroah-Hartman , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Khuong Dinh , Krzysztof Kozlowski Cc: Serge Semin , Patrice Chotard , Benjamin Herrenschmidt , Paul Mackerras , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-snps-arc@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220624141622.7149-1-Sergey.Semin@baikalelectronics.ru> <20220624141622.7149-6-Sergey.Semin@baikalelectronics.ru> From: Krzysztof Kozlowski In-Reply-To: <20220624141622.7149-6-Sergey.Semin@baikalelectronics.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220624_101759_612770_09F9A271 X-CRM114-Status: GOOD ( 18.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24/06/2022 16:16, 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 despite of the warning comment about possible backward > compatibility issues. Sometimes node name is exposed to user-space which depends on it. How did you check there is no issue here? > > Signed-off-by: Serge Semin > Acked-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 4 ++-- > arch/arm64/boot/dts/apm/apm-storm.dtsi | 6 +++--- > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi > index a83c82c50e29..832dd85b00bd 100644 > --- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi > +++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi > @@ -597,8 +597,8 @@ serial0: serial@10600000 { > interrupts = <0x0 0x4c 0x4>; > }; > > - /* Do not change dwusb name, coded for backward compatibility */ > - usb0: dwusb@19000000 { > + /* Node-name might need to be coded as dwusb for backward compatibility */ > + usb0: usb@19000000 { > status = "disabled"; > compatible = "snps,dwc3"; > reg = <0x0 0x19000000 0x0 0x100000>; > diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi > index 0f37e77f5459..1520a945b7f9 100644 > --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi > +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi > @@ -923,8 +923,8 @@ sata3: sata@1a800000 { > phy-names = "sata-phy"; > }; > > - /* Do not change dwusb name, coded for backward compatibility */ > - usb0: dwusb@19000000 { > + /* Node-name might need to be coded as dwusb for backward compatibility */ > + usb0: usb@19000000 { > status = "disabled"; > compatible = "snps,dwc3"; > reg = <0x0 0x19000000 0x0 0x100000>; > @@ -933,7 +933,7 @@ usb0: dwusb@19000000 { > dr_mode = "host"; > }; > > - usb1: dwusb@19800000 { > + usb1: usb@19800000 { > status = "disabled"; > compatible = "snps,dwc3"; > reg = <0x0 0x19800000 0x0 0x100000>; Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel