From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 4C7A4222580 for ; Thu, 20 Mar 2025 14:21:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742480495; cv=none; b=icMzb2QI+G7SpQxP4jl5fcTyCNB2Mzkzt9k3F/Y+VQp86THewQ5NQC5uu5Z1ufx4FcZ4X4BLXkiuMlWLAQI2jVR14zDnPbk9BRup4MbGWRmNVQ0G4Pvkh7W1o7Uc92HiSLxp40fIctm4bA1kMTpBXWLbzk2WJj2zNxWn1iRNyI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742480495; c=relaxed/simple; bh=KM4ZCMaCLFfkTKaneHhDJ+FlPOOBtprvWKZvUFRSOko=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=besQvpxUMexKimeVhhdUFMCIcm/0UefIrUBe5TC9RhVY8rq0ratnX8KRvKB8MCYqKze4ebOQoj1WDL/flhJVjo42DIncMLmfoK1sypWH9x03n2LK9X4IIA17f2Ug/sA1JtZ1zWFFd7nDtTgVz3uUVvReW+14mox7CCbK7IFWY/o= 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=fb2xLXAr; arc=none smtp.client-ip=209.85.128.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fb2xLXAr" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43cfebc343dso6433465e9.2 for ; Thu, 20 Mar 2025 07:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742480491; x=1743085291; 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=NZbg94QK7tAjZ4eqQ8xaJAIEHJ1PEfH8AojbdclcFGM=; b=fb2xLXArsFgmWyCE/nONlc1OHxH2mimygwuFvOqkfuAW6gq7uLAN1Lqi0Tc3vfF4Pm uYak3CDFRnZCLS+eXxZJIqZ2pn8TcX8kIfdbaXheLA+TE5POblR6NkdUYpdD4jX0xvdu g+O7qM3OWN3TqM+c7lWBp9mZ17HhI3QFsjVlXqd3V5P20S2wIH7X3L5GODYEU5Ovf7CY JjDrIHsP6o1I7uBnvbKBE1Ii84xgzodvbwHNybjeAgIPtQVtPBM73uyETVDLfL4Tdh8u AbyBd+s8dMvS+LlM98MXBVXYWmkLE1lUGOfCrVSh4XXkze2k+6L6sQUonSiSLGjLCyXt c36Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742480491; x=1743085291; 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=NZbg94QK7tAjZ4eqQ8xaJAIEHJ1PEfH8AojbdclcFGM=; b=R4h9V+AgPcesB8VB0F7Bn6HhwvbHoHbcPoY9CTL9onJGeuqBi0sAiYtFDeO5VY2kN+ DUcfPmNBlGzRFYcq4csLzJVsbOB7tcOpVEiGMJMiYhXuIGMbcO3EQK5GuUoElzBNYsWr pyWEU7TN7TsaBDZouCejyMyAY9Bnm4iM20jIp55YeevoAwBnGb319uJZ8bGhO+u3pt54 T1+QenvNzSk8l4SDOFt4T5losPNOo0oDygs5ML2d9YsUJiIhhq66IPZE9nCoG+TI1CH5 DF1rxjcXwSPrDYuhnYkU8k4DtxsM1QECyu2dDVQ+3GtedeyC3F0KnL8GFd66m3b2KYeB 6YKg== X-Forwarded-Encrypted: i=1; AJvYcCUqlwj4EXJkzz4ebpCPp+/IAMd4ff1hfihxA7ygGxiGYFNEybv3u5umYMtnniqdUUHWzCeR6VsWyPs/@vger.kernel.org X-Gm-Message-State: AOJu0YyJlJlIp2p2NGMQAqEU3/1trVnzBwvhLGdWMYqmiInqAPS7T6hL HVcdQonxH2lZ8TtDLccv3dRt48uHlNHInvXoDZklUx1usSKJLLvG3jiJIBGNPPU= X-Gm-Gg: ASbGncswZAZjRkXjkT0KIDUgHtkK+oj8uBIxFiRrWZeNTq1gWaXdeVkDRJEO8mQB18K qtPmm3L77SwlxxLpaQzjBX17UsJenrh/JvAu6mktifYiXEbKj5e96vkBGlleRY9leyEJIDmqo+7 QQreHluqR0ObuUDw1WRGXE0m133J9gqPtdOAfMntX7oawIOWE/C17N/LoxZRU3IXM9rsUp9Zj2o BVzJytpZqDqBJUesb6J8uEgj5++JUeeysVk+xH0MAZ5Gvq6aCcSO2/eirx7/LrG1OtWx8Fd/mFH sKlRL1XQRwE4h54xGIwdyZ+kuvax4+J+4ZsasDTeMFMtoBFYh4B4xEKTNuNDVmxoqJR7wdrQ9q0 o4MX9QmFJJVau66RU X-Google-Smtp-Source: AGHT+IHwKg3G7PLtrFm8wWRV8MxbX7wu9hl+TgEb8GtAYHTVjykg6cpeFV88/xcw1UY02BI2wxLzKw== X-Received: by 2002:a7b:c314:0:b0:43b:cc3c:60bc with SMTP id 5b1f17b1804b1-43d43793107mr56231295e9.15.1742480491447; Thu, 20 Mar 2025 07:21:31 -0700 (PDT) Received: from ?IPV6:2a01:e0a:3d9:2080:3bd:568:f697:d1a2? ([2a01:e0a:3d9:2080:3bd:568:f697:d1a2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb40fab8sm24634233f8f.63.2025.03.20.07.21.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Mar 2025 07:21:31 -0700 (PDT) Message-ID: <9cdd8ed8-082f-4b17-94a0-e8ee61b9da9c@linaro.org> Date: Thu, 20 Mar 2025 15:21:30 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v5 2/7] dt-bindings: usb: Introduce qcom,snps-dwc3 To: Bjorn Andersson , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Felipe Balbi , Wesley Cheng , Saravana Kannan , Thinh Nguyen , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , Frank Li Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250318-dwc3-refactor-v5-0-90ea6e5b3ba4@oss.qualcomm.com> <20250318-dwc3-refactor-v5-2-90ea6e5b3ba4@oss.qualcomm.com> 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 80TZcE6f8M76Xa6yU8VcNko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9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20250318-dwc3-refactor-v5-2-90ea6e5b3ba4@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 18/03/2025 20:05, Bjorn Andersson wrote: > The Qualcomm USB glue is not separate of the Synopsys DWC3 core and > several of the snps,dwc3 properties (such as clocks and reset) conflicts > in expectation with the Qualcomm integration. > > Using the newly split out Synopsys DWC3 core properties, describe the > Qualcomm USB block in a single block. The new binding is a copy of > qcom,dwc3 with the needed modifications. > > It would have been convenient to retain the two structures with the same > compatibles, but as there exist no way to select a binding based on the > absence of a subnode/patternProperty, a new generic compatible is > introduced to describe this binding. > > To avoid redefining all the platform-specific compatibles, "select" is > used to tell the DeviceTree validator which binding to use solely on the > generic compatible. (Otherwise if the specific compatible matches during > validation, the generic one must match as well) > > Mark qcom,dwc3 deprecated, to favor expressing future platforms using > the new combined binding. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindings/usb/qcom,dwc3.yaml | 13 +- > .../devicetree/bindings/usb/qcom,snps-dwc3.yaml | 620 +++++++++++++++++++++ > 2 files changed, 632 insertions(+), 1 deletion(-) > When converting sm8550 and sm8650, I get: usb@a600000: Unevaluated properties are not allowed ('dma-coherent' was unexpected) from schema $id: http://devicetree.org/schemas/usb/qcom,snps-dwc3.yaml# So I guess it should be added. Neil