From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 46EBF2222D9 for ; Thu, 20 Mar 2025 14:21:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742480495; cv=none; b=pR6JFZeBfu5ijcLFeUu6JrveZmcpfuRbqEvGg8tOEngT5NWkqRGy6BwJzPDG4ya3e/vjoFOQIunryfa5oU+rRnHzpCpBHa8DXvvBLci3JjiYn3HHgd1T9N9PHDwYvZYVpMOTHdsZIA/q7ByLJCB5Iuyu932YexMgZIt8sqJvdYs= 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.49 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-f49.google.com with SMTP id 5b1f17b1804b1-43cfe574976so5360975e9.1 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=Z/qh6V8D81LrFk+vWdN6LbGmkqced+acHL+Tl/XXLk07411ES8/CrP6M/Ck0xmyoHt 0rrYaR+S8kmKrT6991Jp7QYbvvyQLVwwJ0yDywD7XwZd4hLwtlmDPKmyv2jHNXgX8fAv Kt/AvWwsr56wrFxR4huIyN6mb2vxWyVEuN65wZsGvbT6dmUepgR9XJNPOW7VQYQy6fMi mukVDGwEvfY+/stNM9c1cl65NY03XZ3OP8uWfnAvuD6D+ZXXDe0422gAH9g7fd+Yp37J uCy5AyMeJr7tv4pJ9u+mJPjrCnHwGvKiJfbiWUCBWLVpP3zin8lSmjJJGCZMhzcvIBct dYlA== X-Forwarded-Encrypted: i=1; AJvYcCVZfKezcUMTZuK9Jk4CnqvuOgh6Ppkj7tLJA6fvkB+Gx5ot835rxI2VMDAlI4CnDcK9JzgaxQ4ckVNhSlM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5C0JLgeCaX5rcHKSMZTDmwliEWIFsYUU7UVqdrZ1TNiOXusGZ rUag/sA/Q6udpi2RG1+mZfQ51LAPlET99Wk3asR8MT1yMAnarMUD8ztanh+aeYo= X-Gm-Gg: ASbGncvl6eyT2In1qPZpaSQQRyMT+dSm2ECC38hMFE26KIJUmWQu5jnBAVCIm8nr4HA q99hmPSglhi3NHfmLrGp1hYTUvi5ZpVsa9zpNrK72cGYru2i1sTgXUXcHbjDum2rEbHJMPSCaPL xZJbQNOeI4I511z3Qjx4yN4x1BCON5piAGiFeZ8slVz8EYb4H8eXyrW1vPVl/Y2qegv4fHToQrj bJ4M6gM4/b5wAaD487Ba0cf/yS81eMAaVdxLRq5yx0TRx5eacBrN+IsQ78Yu/JB8WGoZQeSqr87 OztFZp8YTZ/uR3enSBBqKVn5uVTpXFjDqbww8BVAcGpEKfT+2jRlIq5ux4dh5YikrookJcjCkkE YIeohqOD8y+bD0oG1 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: linux-kernel@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 80TZcE6f8M76X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Erm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS 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