Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp494919rdb; Thu, 22 Feb 2024 09:51:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU5WxQlPaXh5L7mpK1WuZ2C2b8b97fgpgCdWqN2j9bBN35PWBbrj8Goi6NXQRfA9xCQhEykpKRBGhba/CoQZ3BWw5mWv5CSkUyBtqsq+w== X-Google-Smtp-Source: AGHT+IGderDXV03np9fjfXjbMH3aVW/7EfABJuZ1A8S29XxluZAbVaI2294EQdqUFyKYCKjCdx1P X-Received: by 2002:a05:620a:4ad0:b0:787:76fa:85d7 with SMTP id sq16-20020a05620a4ad000b0078776fa85d7mr9597370qkn.70.1708624271165; Thu, 22 Feb 2024 09:51:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708624271; cv=pass; d=google.com; s=arc-20160816; b=J3LJzuFX/7tR5VxgbsCISOkUelYTRd5BOnQHNEsyIlW1ZktuRrHLa5NZ65rooJk92c yLkvS54KoLUIGuvEMWQZg90ZsM4Iw4ShuuxDzVoUGwZqWs3al5S8IrSPRqbpD2Ze8Zvv bl8xJMgXyvzahgkFc2nYNnI7mvkac6l61gavNsMPH2qNwhnW8aY04CFJu80gZgZkvRpQ ZrH2Oe5xqjqCCH4vgPkRJCFR4bbuy+l+0gkTZ0msDCoblsDwAfPFsNzoZRJwKwOhnt46 srQVnBtLMnCVjLqJqO5DXK/kx4HNRZ6i/qWVDnLnCdh2puA8rlpQ5J9cAvfkabMTZwHX Wrqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ECxaRkn9yfqjrxSfI8sHbBDrza4hdFLYIVczvySlchw=; fh=jdTwW9e4RzQBsTEL515ROs/cRphVolHaKaeEae7rGzw=; b=qd4xQWdmPIV9PYUuacgyG3na9fmaarRrGjJucykEIpp8ecbX7XbWit9L/mQPV46rOP ffutcNYKW8fhtd2h3Myv7vZJfR1qeODHKKlcSrd+bkZcNVtWxobeb6GZGlaDeK+2KwVv cuHr4wt42PWFieC22Xd2gfdNtmoHESOjNlPZAcKBLKBtp9RRR7G6ZnCUgc8GzNHnjF2K UknsxcTA+yo5hLex52D0jP/K/2pdJSzVCwytx+JOzgBkn8hK39EtROD8SXeIpihYeSEW G3X+zq+Sl6gI4jgiYzqnx6kBODyqBsFiHrZERTiU0DK8S1ksu0mmkpMKD52rIL9BeBoy Wuaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=N4CfgLMK; arc=pass (i=1 spf=pass spfdomain=baikalelectronics.ru dkim=pass dkdomain=baikalelectronics.ru dmarc=pass fromdomain=baikalelectronics.ru); spf=pass (google.com: domain of linux-kernel+bounces-77014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j10-20020a37c24a000000b007879835bc29si2016710qkm.305.2024.02.22.09.51.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 09:51:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=N4CfgLMK; arc=pass (i=1 spf=pass spfdomain=baikalelectronics.ru dkim=pass dkdomain=baikalelectronics.ru dmarc=pass fromdomain=baikalelectronics.ru); spf=pass (google.com: domain of linux-kernel+bounces-77014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5DFA91C252E7 for ; Thu, 22 Feb 2024 17:50:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12CCA157E94; Thu, 22 Feb 2024 17:50:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=baikalelectronics.ru header.i=@baikalelectronics.ru header.b="N4CfgLMK" Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F43F45C18; Thu, 22 Feb 2024 17:50:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.79.110.86 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708624225; cv=none; b=mQZ96CfkbUnvk7+sKgQz6kIG/LXBTWZe/7luJmjmdIVfK9tHBboEDPJLMWWrZ0MmhlEldG9/cqkkFyV7EHU7ZpI7vSfLk5Pw2j/ZOxeho63ofouO0F62mmKHYEomymdhmqHKWVHs9rzevejhn2D2m1fiY9bwxxDBGHloMKUD9wI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708624225; c=relaxed/simple; bh=3qmplO43I9PzDk/n4V+hkSgfw8S4LC83IjeuJyEm4HI=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=cq1vl3GTNW4u+Qe4F6YDKwCIAWuVNTIt5zIC5Odz9h5c4LLcTN36PHNniJE6378WjbhOmiy/o3CGwUw9fjAkmWpkJvgn1jM/2ri+6quj2CYLvJRZBvWsqoyOn4Qa5gNLoedUHyqA19LYyLQ/4Yu1HqhGohvnMYzzPazLWwFFT3k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=baikalelectronics.ru; spf=pass smtp.mailfrom=baikalelectronics.ru; dkim=pass (1024-bit key) header.d=baikalelectronics.ru header.i=@baikalelectronics.ru header.b=N4CfgLMK; arc=none smtp.client-ip=213.79.110.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=baikalelectronics.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baikalelectronics.ru Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 45F81E0EC2; Thu, 22 Feb 2024 20:44:58 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-transfer-encoding :content-type:content-type:date:from:from:message-id :mime-version:reply-to:subject:subject:to:to; s=post; bh=ECxaRkn 9yfqjrxSfI8sHbBDrza4hdFLYIVczvySlchw=; b=N4CfgLMKNqKY1JTx83U2XNW HLxS2lzaYHex5BfzTb83yqoyLz27fK3KU+zjqSveb1yOUgUQbtykgEw8chgV3XBP pOZkKAjU/65EB0Gb+WUD3ebZ8vJ2fqcvyCjN1Psmq0jNEhILTMAE16xR46a8K/QB Rdq3Fno/FUkxZddqDTfA= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 1530EE0DE6; Thu, 22 Feb 2024 20:44:58 +0300 (MSK) Received: from localhost (10.8.30.70) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 22 Feb 2024 20:44:57 +0300 From: Serge Semin To: Michael Ellerman , Nicholas Piggin , Christophe Leroy , Aneesh Kumar K.V , "Naveen N. Rao" , Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman CC: Serge Semin , Serge Semin , Krzysztof Kozlowski , Rob Herring , , , , Subject: [PATCH RESEND v10 0/1] dt-bindings: usb: Harmonize xHCI/EHCI/OHCI/DWC3 nodes name Date: Thu, 22 Feb 2024 20:44:50 +0300 Message-ID: <20240222174456.25903-1-Sergey.Semin@baikalelectronics.ru> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) As the subject states this series is an attempt to harmonize the xHCI, EHCI, OHCI and DWC USB3 DT nodes with the DT schema introduced in the framework of the patchset [1]. Firstly as Krzysztof suggested we've deprecated a support of DWC USB3 controllers with "synopsys,"-vendor prefix compatible string in favor of the ones with valid "snps,"-prefix. It's done in all the DTS files, which have been unfortunate to define such nodes. Secondly we suggest to fix the snps,quirk-frame-length-adjustment property declaration in the Amlogic meson-g12-common.dtsi DTS file, since it has been erroneously declared as boolean while having uint32 type. Neil said it was ok to init that property with 0x20 value. Thirdly the main part of the patchset concern fixing the xHCI, EHCI/OHCI and DWC USB3 DT nodes name as in accordance with their DT schema 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(@.*)?". Such requirement had been applicable even before we introduced the new DT schema in [1], but as we can see it hasn't been strictly implemented for a lot the DTS files. Since DT schema is now available the automated DTS validation shall make sure that the rule isn't violated. Note most of these patches have been a part of the last three patches of [1]. But since there is no way to have them merged in in a combined manner, I had to move them to the dedicated series and split them up so to be accepted by the corresponding subsystem maintainers one-by-one. [1] Link: https://lore.kernel.org/linux-usb/20201014101402.18271-1-Sergey.Semin@baikalelectronics.ru Changelog v1: - As Krzysztof suggested I've created a script which checked whether the node names had been also updated in all the depended dts files. As a result I found two more files which should have been also modified: arch/arc/boot/dts/{axc003.dtsi,axc003_idu.dtsi} - Correct the USB DWC3 nodes name found in arch/arm64/boot/dts/apm/{apm-storm.dtsi,apm-shadowcat.dtsi} too. Link: https://lore.kernel.org/linux-usb/20201020115959.2658-1-Sergey.Semin@baikalelectronics.ru Changelog v2: - Drop the patch: [PATCH 01/29] usb: dwc3: Discard synopsys,dwc3 compatibility string and get back the one which marks the "synopsys,dwc3" compatible string as deprecated into the DT schema related series. - Drop the patches: [PATCH 03/29] arm: dts: am437x: Correct DWC USB3 compatible string [PATCH 04/29] arm: dts: exynos: Correct DWC USB3 compatible string [PATCH 07/29] arm: dts: bcm53x: Harmonize EHCI/OHCI DT nodes name [PATCH 08/29] arm: dts: stm32: Harmonize EHCI/OHCI DT nodes name [PATCH 16/29] arm: dts: bcm5301x: Harmonize xHCI DT nodes name [PATCH 19/29] arm: dts: exynos: Harmonize DWC USB3 DT nodes name [PATCH 21/29] arm: dts: ls1021a: Harmonize DWC USB3 DT nodes name [PATCH 22/29] arm: dts: omap5: Harmonize DWC USB3 DT nodes name [PATCH 24/29] arm64: dts: allwinner: h6: Harmonize DWC USB3 DT nodes name [PATCH 26/29] arm64: dts: exynos: Harmonize DWC USB3 DT nodes name [PATCH 27/29] arm64: dts: layerscape: Harmonize DWC USB3 DT nodes name since they have been applied to the corresponding maintainers repos. - Fix drivers/usb/dwc3/dwc3-qcom.c to be looking for the "usb@"-prefixed sub-node and falling back to the "dwc3@"-prefixed one on failure. Link: https://lore.kernel.org/linux-usb/20201111091552.15593-1-Sergey.Semin@baikalelectronics.ru Changelog v3: - Drop the patches: [PATCH v2 04/18] arm: dts: hisi-x5hd2: Harmonize EHCI/OHCI DT nodes name [PATCH v2 06/18] arm64: dts: hisi: Harmonize EHCI/OHCI DT nodes name [PATCH v2 07/18] mips: dts: jz47x: Harmonize EHCI/OHCI DT nodes name [PATCH v2 08/18] mips: dts: sead3: Harmonize EHCI/OHCI DT nodes name [PATCH v2 09/18] mips: dts: ralink: mt7628a: Harmonize EHCI/OHCI DT nodes name [PATCH v2 11/18] arm64: dts: marvell: cp11x: Harmonize xHCI DT nodes name [PATCH v2 12/18] arm: dts: marvell: armada-375: Harmonize DWC USB3 DT nodes name [PATCH v2 16/18] arm64: dts: hi3660: Harmonize DWC USB3 DT nodes name since they have been applied to the corresponding maintainers repos. Link: https://lore.kernel.org/linux-usb/20201205155621.3045-1-Sergey.Semin@baikalelectronics.ru Changelog v4: - Just resend. Link: https://lore.kernel.org/linux-usb/20201210091756.18057-1-Sergey.Semin@baikalelectronics.ru Changelog v5: - Drop the patch: [PATCH v4 02/10] arm64: dts: amlogic: meson-g12: Set FL-adj property value since it has been applied to the corresponding maintainers repos. - Get back the patch: [PATCH 21/29] arm: dts: ls1021a: Harmonize DWC USB3 DT nodes name as it has been missing in the kernel 5.11-rc7 - Rebase onto the kernel 5.11-rc7. Link: https://lore.kernel.org/lkml/20210208135154.6645-1-Sergey.Semin@baikalelectronics.ru Changelog v6: - Just resend and add linux-usb.vger.kernel.org to the list of Ccecipients. Link: https://lore.kernel.org/linux-usb/20210210172850.20849-1-Sergey.Semin@baikalelectronics.ru Link: https://lore.kernel.org/linux-usb/20210212205521.14280-1-Sergey.Semin@baikalelectronics.ru Changelog v7: - Replace "of_get_child_by_name(np, "usb") ?: of_get_child_by_name(np, "dwc3");" pattern with using of_get_compatible_child() method in the Qcom DWC3 driver. - Drop the patches: [PATCH v6 01/10] arm: dts: ls1021a: Harmonize DWC USB3 DT nodes name [PATCH v6 02/10] arm: dts: keystone: Correct DWC USB3 compatible string [PATCH v6 06/10] arm: dts: keystone: Harmonize DWC USB3 DT nodes name since they have been applied to the corresponding maintainers repos. - Cleanup the list of recipients. - Rebase onto kernel 5.12-rc4. Link: https://lore.kernel.org/lkml/20210324204836.29668-1-Sergey.Semin@baikalelectronics.ru Changelog v8: - Just resend. Link: https://lore.kernel.org/lkml/20210409113029.7144-1-Sergey.Semin@baikalelectronics.ru Changelog v9: - Drop the patches: [PATCH RESEND v8 1/8] arm: dts: ls1021a: Harmonize DWC USB3 DT nodes name [PATCH RESEND v8 7/8] usb: dwc3: qcom: Detect DWC3 DT-nodes using compatible string since they have been applied to the corresponding maintainers repos. - Rebase onto the kernel 5.19-rcX. Link: https://lore.kernel.org/lkml/20220624141622.7149-1-Sergey.Semin@baikalelectronics.ru Changelog v10: - Just resend. - Rebase onto the kernel 6.8-rc3. - Drop the already merged in patches: [PATCH RESEND v9 1/5] arc: dts: Harmonize EHCI/OHCI DT nodes name [PATCH RESEND v9 2/5] arm: dts: lpc18xx: Harmonize EHCI/OHCI DT nodes name [PATCH RESEND v9 4/5] arm: dts: stih407-family: Harmonize DWC USB3 DT nodes name [PATCH RESEND v9 5/5] arm64: dts: apm: Harmonize DWC USB3 DT nodes name Cc: Krzysztof Kozlowski Cc: Rob Herring Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Serge Semin (1): powerpc: dts: akebono: Harmonize EHCI/OHCI DT nodes name arch/powerpc/boot/dts/akebono.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.43.0