Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp512431lqb; Thu, 29 Feb 2024 07:22:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWRhUebMeB2dXJCedODhlVPlbpem+fXb9G/nGPnjTcEJ1f6PjOCyPDGrcFcCKS9+lD9ByOPV3okjXRDnI7at2ShdAqMOnrRTYk2vyDTbA== X-Google-Smtp-Source: AGHT+IG5gUC8jariKXer1ZYjgNqpHeiuVxQ8Bf4PJIfB5PSj1Ro8zDprd1DIWCYK0GBraIlaagLo X-Received: by 2002:a05:6a21:3514:b0:1a0:b414:a53f with SMTP id zc20-20020a056a21351400b001a0b414a53fmr3033900pzb.23.1709220167922; Thu, 29 Feb 2024 07:22:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709220167; cv=pass; d=google.com; s=arc-20160816; b=CASZHlsAfIl9Kl6mQwhbOaAF9/4DjYJbBTeP/5V6VB4bzReEv9K+og4KVWeaCdB3HA YeU/MUdJLfLC85ZsnvrfeyxnrKmh9OZEvPNxLAQHiEi5ZkFTxHNsC1v0aWyZd2j2GjQL 5Wfr9fHEetp6ORXUuBN37LFsTrhliZIhzlAxATH5r+dhXxhE+SulXYg4IHFFV6cYBpZt 6/ynMem+m2uAmm/KiTz2M7VaH9D0+r3ow8ZBCR1y8fO2vfrNJoj66ZbNdT7rCcyqSxul zHdHEcirAbdGwugi7SJj4c00H3OhVUSp8m3Bz5TLer5+tT6Q7EVoCqwCc1T0qOToY0gG 8TKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=eo9zvdjqkFPJ83giW+vsMkDo3CeUO+iEpgJ3P4LShz4=; fh=DkMCNNgX68o8fBKBznobzC1sfkgAmWyjdIoWLnrzvxY=; b=HuWn3rKUdEFtqKdBzbd47XOF8O2X9pL2TxTYTpbGRPAVazmC2NXHiqmldmV7/E4cHQ IUl7IzcKq6bv1Fq9MLxeF0w+j9B9xINjNZbwUvWpGqGktaS8QqZA+I1GufA/Njkkme+/ SZJNKw+utL5ant2JAAcM3mKIclBHKkGU7Y5MhUhIECjadXFZZd6ugylkSywW66eppFmh 5zvdrmhbqiMsz7lgjl1484UwhtcR5Go+mdpog3CC+ECyMtNIr8CYFJBIzAg04CT4C2MU 2C7136VlVcG41K6m1jqrM/Y54S25Mmj5Nr76OabwJIsSAJk5PgpUkH8GrXad3/e2u9n7 LNgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H0N4ncoG; 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-86905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86905-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t12-20020a63224c000000b005ced65a49e8si1538702pgm.734.2024.02.29.07.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 07:22:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H0N4ncoG; 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-86905-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86905-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 74AEFB203D7 for ; Thu, 29 Feb 2024 15:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E6CF1468F6; Thu, 29 Feb 2024 15:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H0N4ncoG" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 684C313B7A1 for ; Thu, 29 Feb 2024 15:14:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709219658; cv=none; b=BHvSH+lSAbAL1LahNm5qs74RtU3B6NYRMiZzwe71OBKEIndzYdld0sX9l6sHeRxlyzb6eEG5lTPgztd+FP55jCd1rN/mbrEMmjajFoJBCp+nggo3wA1QMGXpbSIlWcEgccBsWa037zH9xQ7/7vKAd2G79ifnOkxlAZQf/kgaSCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709219658; c=relaxed/simple; bh=J2+EJKa/LhsnFhhJ5fpe9V2hdGoZmNZtBd3gXOCIJf4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Cb9mi85NwJ64EnsPICPFSNrvz1+GcQ7ECdI3bJN4lDU6oonrx5pU/LGSBqjMOn5WwEPzIKNFM3Ht/wubuo6U1ozNlP5S19gL+JqQ0ss/LBsVvG3fXjE4dInsZkAkSNOy4k/71DKlppw6rnrU4z9NXFKQPl7mHsPc8GQ2/hTPmw4= 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=H0N4ncoG; arc=none smtp.client-ip=209.85.208.54 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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-564372fb762so1615600a12.0 for ; Thu, 29 Feb 2024 07:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709219655; x=1709824455; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=eo9zvdjqkFPJ83giW+vsMkDo3CeUO+iEpgJ3P4LShz4=; b=H0N4ncoG1z8yCSyYQ0qvRpFmfa7ji06oJA4DJLsrnLORpDOwS4LqXBRSRWIGUXIPmG eRO3eIHjqfupHnsn08A8dU+JLSJPDYxrgzsUWjawXETGcftlQF3j5lBnKnUctVYUEGqx 9cSrhcP2iTkkXHFQG88/CdSwXmGr2+tT2fBVLQX5HcL0ciaE5YN7Bh3So2ZvN47ZAtoA OzINYbf1O1HSExZBkhGSV31UD+MVL04yUqfGR9yRkMvBzZHtIeeGW0oII9jZXFCfI+ZR mTnRU8rZwC0roNlhpZ40saw10f+xAd8GL6em70yeDa2v15BCpXEFZAKF8EBK5CUSlFfd PEvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709219655; x=1709824455; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eo9zvdjqkFPJ83giW+vsMkDo3CeUO+iEpgJ3P4LShz4=; b=vTTjIy1N2zf+xlUdDjxfUplsimrutKtikJmM+rgoKaBgFvSb2/CgW0kp8IKZu1c10p af8rzB8WZvtJRq/oO44rZu2FvrxYb4spa7GuZZPX68iuwXXdv4y1fyLMi2hGuaPGi+DF vZAZNx4Oi7enDMhhVmeSkUbd7PsoVvp5yHQGQ0CLVLLM7Zz8nViVIzayo/MWrN5Hsj/Z eNCI+DvuM0SfbTR5v77pnTD0RS6gJ7PqCO3rqZXDcrlOqxVTe1rrXyka2u27w4V2jvZe Soz4rZbCVCC/lE+ogkNogqPMgHNNsDXqNlhuOFLZUSMUBcqhwkRR2iDRFdWRjK1tjylx f95w== X-Forwarded-Encrypted: i=1; AJvYcCUclGZQneKqb5OlqI55Jq9nyRIIcp5sLOZTjESzxn1np86XglqRqfr7Z/hSiVbOySBVIDai/H+mWryE+uLU90nCoQP9hvwfOgrfxWHb X-Gm-Message-State: AOJu0Yzwb466753TWn1/XHoCLIpd4pw6FhsqTTOXWAKV49wqLOBS3hmt 6NLJxGlv4n+sJru4dwhqTHD/CChaosRu2EhWp7xr+CNOTuKN90QoiBbrErxH/3U= X-Received: by 2002:a17:906:f1cc:b0:a3f:7d84:4d2e with SMTP id gx12-20020a170906f1cc00b00a3f7d844d2emr1664542ejb.30.1709219654865; Thu, 29 Feb 2024 07:14:14 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id wb4-20020a170907d50400b00a3ee5c19ee5sm769010ejc.109.2024.02.29.07.14.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 07:14:14 -0800 (PST) Message-ID: <4a34f281-156f-4631-ad1b-40140180f76b@linaro.org> Date: Thu, 29 Feb 2024 16:14:13 +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 Subject: Re: [PATCH v7 06/11] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Content-Language: en-US To: Xu Yang , gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240228113004.918205-1-xu.yang_2@nxp.com> <20240228113004.918205-6-xu.yang_2@nxp.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb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e4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240228113004.918205-6-xu.yang_2@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 28/02/2024 12:29, Xu Yang wrote: > The i.MX93 needs a wakup clock to work properly. This will add compatible > and restriction for i.MX93 platform. > > Signed-off-by: Xu Yang > > --- > Changes in v2: > - no changes > Changes in v3: > - add clocks restriction > Changes in v4: > - use 'contains' rather 'items' > Changes in v5: > - rename clock name > Changes in v6: > - new patch based on ci-hdrc-usb2-imx.yaml > Changes in v7: > - no changes > --- > .../bindings/usb/ci-hdrc-usb2-imx.yaml | 34 ++++++++++++++----- > 1 file changed, 26 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml > index a4730a2393e6..a2932af2c09b 100644 > --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml > +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml > @@ -40,6 +40,7 @@ properties: > - enum: > - fsl,imx8mm-usb > - fsl,imx8mn-usb > + - fsl,imx93-usb > - const: fsl,imx7d-usb > - const: fsl,imx27-usb > - items: > @@ -186,14 +187,31 @@ allOf: > - const: ahb > - const: per > else: > - # other imx Socs only need one clock > - properties: > - clocks: > - minItems: 1 > - maxItems: 1 > - clock-names: > - minItems: 1 > - maxItems: 1 Just make the list explicit in the first place. Don't add lines in one patch which is immediately fixed/dropped/replaced. > + # imx93 Soc needs two clocks > + if: No, no. No if:else:if:else:if:else. Unreadable and unmaintainable. Best regards, Krzysztof