Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1543585lql; Wed, 13 Mar 2024 00:26:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrOJZ2rWwRDN1htIotMPxZclyq1kJh4wxEOK20q/Rk8vdszPLpt9Xo49k/gm7iGdrRWWTZzJatXO3bxD4oNV3yiHQIoAdI4RXLXyiwpg== X-Google-Smtp-Source: AGHT+IHmtRVxS/UkNMM8giSo0G9cX6xwtE09AurN+/RLOlFDWfdqLGKoBs1kyHofULt4sWNN/UIv X-Received: by 2002:a05:6a20:3553:b0:1a1:82fc:94e2 with SMTP id f19-20020a056a20355300b001a182fc94e2mr6815014pze.44.1710314768708; Wed, 13 Mar 2024 00:26:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710314768; cv=pass; d=google.com; s=arc-20160816; b=wLI9vYP7n9cDpeXYzfnS62JiSItKd4WYcU9QdzuLma1s4qsFwgIsgLFeqDED2Rtmj4 X0oMYlHHlOjF091msN7+XgOQQ7BY+OxIhtsAOnK6pwFFPlI3xKRRa035kv6QpULvfHM9 kHCp9YYdsVUPygwD675hkHgrt/B/J12ZYJurcSPzLJNd3xgnOIdjmbzQ37QreR1h8e0T Gip1Z8KFWSo70M9Mxc56/1zD/p41eqAjuVSK6XFg/XMRcaUZ4K+4706mGpI3+z3KyIp7 93I1zXpEIhgt2TwkX+otjO11AhZ4AZ86PcIG1Cscy97cvGXX5UIKi+lkCSDuCldnXQkW e//A== 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=4f/Wzyuh+kfmQLlcLwZAIA3JEBqEBBGm25AKo4O3s/Q=; fh=yF/gpLjjMlNEYOzgRvN8yTC8N3vU2tixZuiEl6Kd22c=; b=nIOI0syCq8xJs4V8A0J/k0L6JlrzxXG9vo71OB4nJ3F0+1sW5ONu6UXqNNgLN5y1IV FCqZPpPsyfz1BSO3hOXbsZMNw5tXmDxu2VX4DJaAnu0BlaIXj5qsQ33UZdXN984lOKpt noAz0AeMsGvc9EeviUCVoYgvp1VhVyiLeguxkkupXCLvTOyEVLAMqAjCSclqb/DsLxfB ujSdUGGf1IMbtXXB/0EFV3fe/HLNJBP7In2CoW9poMCctz+PBfqHXwvPj8mBXGMFUHhh XR9URbFes2gHgKdS9nBYNBYXVY5IIAct9R/fTIc13+nc3BC+F+5ewDbM5OZ7KVadPedd paeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgtJAG9r; 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-101175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w1-20020a170902e88100b001ddcc1543d4si1033997plg.64.2024.03.13.00.26.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 00:26:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgtJAG9r; 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-101175-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101175-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4B7E02833C7 for ; Wed, 13 Mar 2024 07:26:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2636C175BF; Wed, 13 Mar 2024 07:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GgtJAG9r" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 6F79F15EB0 for ; Wed, 13 Mar 2024 07:25:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710314754; cv=none; b=N/7CleNU599sAq3303RJFKG/RNiVwsw22VSnzcQ7MSpsF29GIzsWnwHmJpeLNx1k4qYWepbm4++3D/mjGLjUP1xALssx8gURMOPPQKDr8KrKVFqqMC3RzXpDuvPli3wP2bBcpQU5oBfHTmMZjmKGRiJIts5Hm9tXuHJzL6hRXaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710314754; c=relaxed/simple; bh=VEqmL5Ne9KOn5rq07Wpa8GpmnPzEbf1JTqgmJDSO/ew=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hKZSmTJM0zGamNFDL3AkwP2SwmBVl14JjD7HLRDhHjuJGx25kl0iu2EI2bFAcYeB2PhCW2PB4vgJ6qbDUBBUt34EUfcf6TAqspGT/QNHLL4uzDidAvlQi3FVwgnnbBYVw5MkWWtZogNe2Bz5EKqsLfEWZH0eKOFzYk/sP1OuUvM= 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=GgtJAG9r; arc=none smtp.client-ip=209.85.221.42 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-wr1-f42.google.com with SMTP id ffacd0b85a97d-33e99b62e01so2228985f8f.0 for ; Wed, 13 Mar 2024 00:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710314751; x=1710919551; 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=4f/Wzyuh+kfmQLlcLwZAIA3JEBqEBBGm25AKo4O3s/Q=; b=GgtJAG9rtd8jRZghsUtOqIJnu47+NDOUObpBUTGT2EBRCYJmrrNOshDw5LKV17NgBG PgABSQvkNN7Kc6OjTn4Gd/lh/9N26XyNyvVwZmjs1416N5mxbxVWrxKS0terORDf41tr HBHla9FjhL2oRkhKUlAvBPbHI95FqalMufXq2nPzQFVMqPZ0J/Jb+3vpauQnNJZuCnUE PIeyyZkeCr5V0gqeuvJoSN6Nfqf5qgGeag7My4IMhQJLIRx+v3r70qSs9T5ti2hFhvih /L0GkEzpvkYX1J1rc7KZsZWK9Wc5nIpGkHu0FAJ2oea8+r0PnUTmBvOtJdswGqumKk+S vVrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710314751; x=1710919551; 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=4f/Wzyuh+kfmQLlcLwZAIA3JEBqEBBGm25AKo4O3s/Q=; b=oJVsrkDMsjPt16SnHC4buIw8OK0NdzxVvOknysCi/BYakpouY1y3HmsQfmCmj9lWMD JEBQT4vpbvIq2+oUPZ6AoFHJPmmiV3vpgU3QjfhlG1OpoQGV44UpB+g0jD0UGEMu8Otk INAHCr2Cl02tNptYvWg19ZVo1sGeBcAc3npWNlUCH6I8aq4h5lsd2CUonCkK/EoB6LuP 8/aj32fQ5MSNwhZFluLLVpv+0y2ZsXsQp4Xd7MUK7rjjgs2+ARLa6ef6ERM5Ht82hLir /OlaFaOEfynogw2bRQGRrlpk5ODB5D9sm0EOFiFD91bSAGqdR5YSeDx7DxsMB5Pf83GX qxng== X-Forwarded-Encrypted: i=1; AJvYcCXwIaUoXMgXmvayPRfDkH4cQeCdxzTzoTGq4NYw1wyJ085w7uVDj5XRxRbsVwQV/ZrPP+6vTczD250CUuu26eKW4d7ItOTxpZJdegOx X-Gm-Message-State: AOJu0YzYcYJgNBa5hy/m6T4EZ8AmGupiP5Mo0u9hpT+8XZGrko8YLOLl ooITswx8hnxhW7S53P715kKS5RmVsW9lc41i132AHODsd9rqRZ0w4oA32K7oNY8= X-Received: by 2002:a5d:6da3:0:b0:33d:87e9:5900 with SMTP id u3-20020a5d6da3000000b0033d87e95900mr1142638wrs.62.1710314750828; Wed, 13 Mar 2024 00:25:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id r10-20020adff70a000000b0033dec836ea6sm10902481wrp.99.2024.03.13.00.25.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 00:25:50 -0700 (PDT) Message-ID: Date: Wed, 13 Mar 2024 08:25:47 +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: [EXT] Re: [PATCH v8 05/10] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Content-Language: en-US To: Xu Yang , Rob Herring Cc: "gregkh@linuxfoundation.org" , "krzysztof.kozlowski+dt@linaro.org" , "shawnguo@kernel.org" , "conor+dt@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "peter.chen@kernel.org" , Jun Li , "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "imx@lists.linux.dev" , "linux-kernel@vger.kernel.org" References: <20240312091703.1220649-1-xu.yang_2@nxp.com> <20240312091703.1220649-5-xu.yang_2@nxp.com> <20240312145035.GA2204647-robh@kernel.org> 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/XDVpb1Een2XucPpKvt9ORF+48gy12F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/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/03/2024 03:48, Xu Yang wrote: >>> + >>> + # imx7d Soc need one clock >>> + - if: >>> + properties: >>> + compatible: >>> + items: >>> + - const: fsl,imx7d-usb >>> + - const: fsl,imx27-usb >>> + then: >>> + properties: >>> + clocks: >>> + maxItems: 1 >>> + clock-names: >>> + maxItems: 1 >> >> What's the name? > > Can I not specify the name since the macro definition for USB But you must specify name or disallow names (: false). > controller clock in clock.h is recognizable and the driver doesn't header has nothing to do with it > get this clock by name rather index? Driver does not have to take clocks by names, it does not really matter to such discussion. If you provide clock-names, then the name should be defined/fixed. Best regards, Krzysztof