Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp168892pxu; Thu, 15 Oct 2020 00:19:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySvRzfM7Zhq1Jl3g0Vzb5f19lDk5Fk+6UVoZeUNbaj+y/NQYIUf0k1sGC2UQ+hWaMReIPB X-Received: by 2002:a50:8b62:: with SMTP id l89mr3029388edl.132.1602746387269; Thu, 15 Oct 2020 00:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602746387; cv=none; d=google.com; s=arc-20160816; b=zLndmeJgb7PhLC868haBOK1OhMqS9+n3jrrMAUZmM6FNvICqmmPTvrO0uXP+bbJZGV ZGXl9SFSWEtzbj2rKpy9JgNU4BkLcq0v69a0ettzea7n5EIoRztqrKLETODR6j6CfJQh Tyy2eoW4bwZRQk+tNxLrDwHA60ZHpT7DjZDbF9OIBacl5Vtuj8fFPYSDbOxSEZAVYZIw 7tfXN0ePXUmrhmxrTnvoteQr1ZMVoFThFK0hyTWxWxIgpt9SMwLoqF24ChgRrpi7PNRz zYdt/t4gcAKTNUMFMT0TsWTPBOYKe8gwSr/3WE3y5ZXbDapgWjNdcG4CI2jOFZRoDwtt v6PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=kn28AJPMc+nGLZDmkVcUxPh6kZj+SqHkRmOt8LcaQKc=; b=ZWJ5cc/Jg0TgLCfHH7YmvzXHyiDH8+P48o6FW8DVyydt+f5OuYeLgRRbUAyJxcCCWf ecfDnYG416fXOeFKh0Otoot3uSYhnAPAllStp3raC958pY8vhyUe2NzXeaFwmVuWOTyi 7Ok3z6RmXR5FOD21Zb19UJepPIfxFW1431nrvynOaUH6VAYiOS7JsRmtdfOxS4RNytWj v8Anm4Awfapf+dy6QFOtUfA0NfQuxxK79rx6OIWit/ipbsAxbc6YClakPQk8WnftMbZn 5buYe1goNayTKDMv4dO4PJPyDZxm/FlKguST1qR46uE7FUcQbqMqAT0d+6JKHJpsMJmc WF3g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si1577620ejw.392.2020.10.15.00.19.09; Thu, 15 Oct 2020 00:19:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730737AbgJNVXK (ORCPT + 99 others); Wed, 14 Oct 2020 17:23:10 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:50576 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbgJNVXK (ORCPT ); Wed, 14 Oct 2020 17:23:10 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 12B99803073C; Wed, 14 Oct 2020 21:23:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id inYRWRerfTBc; Thu, 15 Oct 2020 00:23:05 +0300 (MSK) Date: Thu, 15 Oct 2020 00:22:59 +0300 From: Serge Semin To: Rob Herring CC: Serge Semin , Felipe Balbi , Mathias Nyman , Greg Kroah-Hartman , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Kukjin Kim , Krzysztof Kozlowski , Santosh Shilimkar , Shawn Guo , Li Yang , =?utf-8?Q?Beno=C3=AEt?= Cousson , Tony Lindgren , Patrice Chotard , Maxime Ripard , Chen-Yu Tsai , Wei Xu , Andy Gross , Bjorn Andersson , Alexey Malahov , Pavel Parkhomenko , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , Neil Armstrong , Kevin Hilman , linux-arm-kernel , arcml , "open list:MIPS" , linuxppc-dev , Linux USB List , , "linux-kernel@vger.kernel.org" , linux-samsung-soc , linux-omap , linux-arm-msm Subject: Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name Message-ID: <20201014212259.ltckcgz2yrola7za@mobilestation> References: <20201014101402.18271-1-Sergey.Semin@baikalelectronics.ru> <20201014101402.18271-21-Sergey.Semin@baikalelectronics.ru> <878sc8lx0e.fsf@kernel.org> <20201014143720.yny3jco5pkb7dr4b@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 14, 2020 at 01:35:16PM -0500, Rob Herring wrote: > On Wed, Oct 14, 2020 at 9:37 AM Serge Semin > wrote: > > > > On Wed, Oct 14, 2020 at 05:09:37PM +0300, Felipe Balbi wrote: > > > > > > Hi Serge, > > > > > > Serge Semin writes: > > > > In accordance with the DWC USB3 bindings the corresponding node name is > > > > suppose to comply with Generic USB HCD DT schema, which requires the USB > > > > > > > > DWC3 is not a simple HDC, though. > > > > Yeah, strictly speaking it is equipped with a lot of vendor-specific stuff, > > which are tuned by the DWC USB3 driver in the kernel. But after that the > > controller is registered as xhci-hcd device so it's serviced by the xHCI driver, > > which then registers the HCD device so the corresponding DT node is supposed > > to be compatible with the next bindings: usb/usb-hcd.yaml, usb/usb-xhci.yaml > > and usb/snps,dwc3,yaml. I've created the later one so to validate the denoted > > compatibility. > > > > > > > > > nodes to have the name acceptable by the regexp: "^usb(@.*)?" . But a lot > > > > of the DWC USB3-compatible nodes defined in the ARM/ARM64 DTS files have > > > > name as "^dwc3@.*" or "^usb[1-3]@.*" or even "^dwusb@.*", which will cause > > > > the dtbs_check procedure failure. Let's fix the nodes naming to be > > > > compatible with the DWC USB3 DT schema to make dtbs_check happy. > > > > > > > > Note we don't change the DWC USB3-compatible nodes names of > > > > arch/arm64/boot/dts/apm/{apm-storm.dtsi,apm-shadowcat.dtsi} since the > > > > in-source comment says that the nodes name need to be preserved as > > > > "^dwusb@.*" for some backward compatibility. > > > > > > > > interesting, compatibility with what? Some debugfs files, perhaps? :-) > > > > Don't really know.) In my experience the worst type of such compatibility is > > connected with some bootloader magic, which may add/remove/modify properties > > to nodes with pre-defined names. > > I seriously doubt anyone is using the APM machines with DT (even ACPI > is somewhat doubtful). I say change them. Or remove the dts files and > see what happens. Either way it can always be reverted. Ok. I'll change them in v3. -Sergey > > Rob