Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp211335lqt; Thu, 6 Jun 2024 00:55:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfAOKM7D4s2ThloMjH1gozU1kVC0kTawQA5akV3uGBxTMuyVJ4t3F97gZkkCSW3GiODpQUl2ECQzNNPvncCuV8XpjbYUsHd9RRpTzBeQ== X-Google-Smtp-Source: AGHT+IGyw0i4swTuVdIv/EuUbafkw+ej7RC1W9IYNF2srJUYkkWffCAtTGD6cmci3iwGPchwxaMY X-Received: by 2002:ac8:5f14:0:b0:43f:fc16:6b48 with SMTP id d75a77b69052e-4402b5a91ffmr45508871cf.17.1717660549620; Thu, 06 Jun 2024 00:55:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717660549; cv=pass; d=google.com; s=arc-20160816; b=SunVED7h/tHuRrVbD/yr/0ymVDp/L3pVXBegMnF4UgWh4OOzoh9kUmeux7+6JZMwZw 6+DexdvqicCy6LaWwDWt1Gg591bhpJTS9a4tkBeR719yAfVHr7BtBsmSPVlD1fLwkP/E mq0c9CEA8ftNeSNEiphpUk8sHfy7b7doi27MoJ9Eb+hq1TRCzZiZZ++45gCkWRJM9F6h 7fnOQ+C9pM302e9mG19ae3xHd9sGzYroi7Br+KU57mRRGTcyIGXihc0TH5V6z0Ln1ya0 sHFj/qMBDq+iIK1gvFYAHOzvcX9OAYqdQ/wEnveohi8EeBH220TxXPxYKbIxCoCBfGdw yIIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=o8T95313W3mZDzPZstW7YjrlrInDFmRJwHTZECYIMkU=; fh=IoR5P5YEOh7Vze6bE/upcXOzeW1Vn6q+MGMxV/LHALw=; b=kdmyu9ZOxNShq/lF4LCSi3iEzL1wLCfpetflUb1nKWQKieMIO4OCs+bUZlPF0O8psw Q7ott0r1HTv7whebtt0MfM497E/loUCLFE6LKdMFee/7jsG76edcgq8hbBP6fzSGWPSS 62pDUc80eyndHXHmuY7rnZdQ12YfJuf/7WBlAI390ONDS36nIw0k4t9Mr3gYaRKTder8 AqtBHWgSw/+NLxInq++uwqhNswnablgafqTHyPhTIbU01yK16KYp/qeK7LqzTAa5qO1J TF8L913w+MKXDjYPglSLmiojcINu6G1POGNDFQHpV3dd2IeN5ek+9fx5VRsq7ib9xAp0 uaMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I8gQesET; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203768-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b174e6si9583461cf.260.2024.06.06.00.55.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 00:55:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203768-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=@linaro.org header.s=google header.b=I8gQesET; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203768-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 4BC0E1C24BFA for ; Thu, 6 Jun 2024 07:55:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 342771F5F5; Thu, 6 Jun 2024 07:55:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="I8gQesET" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD95713B2B9 for ; Thu, 6 Jun 2024 07:55:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660538; cv=none; b=Mp0sFCwTqP3+4OwO2NLTMPeirNhf5v9X8vUbck9/qwwuTtSLcuj3DqNICXvTSIDRKy2bIbvwGUpO5Zjz9ahHhtGDndZSFxfIy7SEOvTCEydd3igcyKEFP4P6Wslp/Du8wTtDXclz0p+YkxQZ9diNDMj6xHMjpUVb2UJfjkWqIB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660538; c=relaxed/simple; bh=J7Ei1H0hqKdC8QZE3bB6jegN6szBqUtxZBcpRBHsuK8=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=YvvvxqvEBIhMBT67l/zsz+TjNTNu/2/BwcnY8onhZP66ITU0VbLLKYm+UQ5uGOfw0wEBGRDbdui66Q8gqX6tisRO1V41uh2b0ZP16Hsto/OT2uPW7meesPtTNGSWtvYuQSgMfFMqwY42tU/wmqZxJ83cKnuIp8DRkll4JkH2pG4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=I8gQesET; arc=none smtp.client-ip=209.85.218.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a68f1017170so72605166b.0 for ; Thu, 06 Jun 2024 00:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717660535; x=1718265335; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=o8T95313W3mZDzPZstW7YjrlrInDFmRJwHTZECYIMkU=; b=I8gQesETMR4W/I3HOTfKevCldBYAKacTlPmWTazIT5ddacGpiW6NUtQkvKQUEUCYRx hk2OicWtrWSaBY68W+nvJSIxIQHUKCRafXuQ41h52+DbFVDT8iVCBax0g6+nsfHExVbl JhAD7IcmEeuyzBGaLjZgIjqRytZiCRgVVH7+0/cu5QdD5aEJKulKETKmL0yNCljZ6Y9W zaoXdrHI8zgzo5Zuv9FaUMqvF8rg64Yt4PghvjtB6Sr7KyMAUAEA2NmCwxIMYBwjjrOq cByHl3JXnhnj2pPZEXT9QNi+R0AX+Cij7WchdCT8neTtyCqfo2hS+WQBI72MT0n/2XH6 c5ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717660535; x=1718265335; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=o8T95313W3mZDzPZstW7YjrlrInDFmRJwHTZECYIMkU=; b=LnJwTgM+ugKWl/clGR5OQsB6+XBHjEX0n+QCpnANDI1qmhniaSU3JP8y5srUqQ4y5O dyS+1NzoJAEBuqqqDXpcMzOhsVIrvcIVRY8ZLd0iNk/hg/6obx14qbrM8ZBIITRsoa3U 5MyFjLTwEM2O+jhYGIVzxe6I0eka8e42U/3FShfRNTk2wXX9baxirHkZ1xs6VciofFyC mcDOiUah3yqLK5e5LFu5ahPwc5ePEx6HV3F1lfwqp/2hCUGNA8dutal7fAolQzuMzyFm WpaQ5yGTXkbAciVPnpatoJMRpPn+0bhqdtRbNaPBfTbOGvjtgMwXw/R06Nu2jq4mzo56 fjjQ== X-Forwarded-Encrypted: i=1; AJvYcCUTXycVvYvS+f27cAEhiImNABvJABmzk1Vhy3Cs1PztoUAan8z7sqySRY7GkqfOhXToAbye1ZTZiXU3XK39i3mHzBEY2ybymAw3ecGV X-Gm-Message-State: AOJu0YzSO7CiSYZcysCh6HI0VPwgAvkbfB+Ge6xYSJOScEQuyarL665e J+w9+F48keP2gJ+sA8exHWscN+cY49pQElnHvCFl0MGQiFNdn6g0WNsGFDP1ycg= X-Received: by 2002:a17:906:617:b0:a68:c21f:e24 with SMTP id a640c23a62f3a-a699f66767amr324062866b.32.1717660534734; Thu, 06 Jun 2024 00:55:34 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:22fd:4ae6:287f:17f2? ([2a01:e0a:982:cbb0:22fd:4ae6:287f:17f2]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c805cbca9sm58709366b.65.2024.06.06.00.55.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jun 2024 00:55:34 -0700 (PDT) Message-ID: Date: Thu, 6 Jun 2024 09:55:33 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH] dt-bindings: usb: dwc2: allow device sub-nodes To: Rob Herring Cc: Greg Kroah-Hartman , Krzysztof Kozlowski , Conor Dooley , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-v1-1-915893e0cb20@linaro.org> <20240606004001.GA3525173-robh@kernel.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240606004001.GA3525173-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 06/06/2024 02:40, Rob Herring wrote: > On Wed, Jun 05, 2024 at 12:01:20PM +0200, Neil Armstrong wrote: >> Allow the '#address-cells', '#size-cells' and subnodes as defined in >> usb-hcd.yaml and used in the meson-gxbb-odroidc2 DT. > > Doesn't referencing usb-hcd.yaml instead work? Or you need > unevaluatedProperties? I realized after my dt-schema was too old, and updating it fixes the problem... Please ignore this patch, Thanks, Neil > >> >> The fixes the following: >> meson-gxbb-odroidc2.dtb: usb@c9100000: '#address-cells', '#size-cells', 'hub@1' do not match any of the regexes: 'pinctrl-[0-9]+' >> from schema $id: http://devicetree.org/schemas/usb/dwc2.yaml# >> >> Signed-off-by: Neil Armstrong >> --- >> Documentation/devicetree/bindings/usb/dwc2.yaml | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml >> index 4f36a22aa6d7..9e737f587664 100644 >> --- a/Documentation/devicetree/bindings/usb/dwc2.yaml >> +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml >> @@ -177,6 +177,13 @@ properties: >> minItems: 1 >> maxItems: 2 >> >> + "#address-cells": true >> + >> + "#size-cells": true >> + >> +patternProperties: >> + "^.*@[0-9a-f]{1,2}$": true >> + >> dependencies: >> port: [ usb-role-switch ] >> role-switch-default-mode: [ usb-role-switch ] >> >> --- >> base-commit: c3f38fa61af77b49866b006939479069cd451173 >> change-id: 20240605-topic-amlogic-upstream-bindings-fixes-dwc2-subnodes-4a68ead79624 >> >> Best regards, >> -- >> Neil Armstrong >>