Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp910732lqe; Sun, 7 Apr 2024 09:16:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1NROUWBnQYIcYQ//v3B5WqPPNQdKSNNAsPvF7ldA1cv/bpL8Etik2Uc3CVyTxcI7YAPftt/4yz8HmNjm8e0M/fL7RJGU5IOPKZcLXvw== X-Google-Smtp-Source: AGHT+IEl7DZjCDycqczonYtICV34hMz+7B8eZtpBBdboAxS8pSxagwNYIEAMIfpNrvTNWxPA67ML X-Received: by 2002:a17:90b:1943:b0:2a2:c127:5aed with SMTP id nk3-20020a17090b194300b002a2c1275aedmr7171499pjb.0.1712506561333; Sun, 07 Apr 2024 09:16:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712506561; cv=pass; d=google.com; s=arc-20160816; b=O5t700bj8ELrNV0cifrhLxgj8sp2RBYFbGyfFrq6DsLNeS3Q1emcepL9624u31p+Ye IJVmGL018nZNbRpdrdtGHs3H1l6p/7qHw4oD7hpfxMIhGy0DvxjqAdsMAGoFvbhrO3wW ztTraKRQR6wjf1V4fJ/j39TVCeQH+aMdG0JIs4d7GfkJxo1bLJedYA0C8S2xKzfDuqtu sFj10ppPhHaCInPNEguUKH4aJKb6RpXZkbUhlO2qYAgmmOW7wgxOCTkbIT9uzDkGendz D2iOn854TfqnOe+CCgO5/umyG8xOwx2ivOMQeANCZCM1CwoUATpMsdt5Q8KStj6J66ca CMvA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=67GlpVjii0MAKK2HcFDbGCZLBGoqFUUqT7H6GX6uckk=; fh=RygXJoentsAC0XD/haJNRDdb53yUXmyejbiUO+hcoo0=; b=HzCJszvajCuTgcg97oT7QdoRKaJKBwbCLwKMPuPnfs5i5Fg//0Y5Qd64JQ3bV5PBJz Kv7ZDbFBicJrk4RwDFasTu8v92UW1SdTuAgTl2LMqXyQ6btXOA0721obQs/UeGdvkBJF Ri0a//QXBRoD43+0uKbuoSNNeT/92W8J05XypQtO+UEUQX7gCdPi8GoBWkO8I68anNtT jaIQaNNFAd0r3Pqyup20MKFOpgScUNjl2Txwa8MHmFykq9MjhsrmsM52cdXyQnH/a+3F 7KxcNwNdSCOFFU5w7cnpuMjHHD8n86qvnp3QN8kSwZljGAFGNeR8ijrV6fkqg4j3XZPl dB5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qBwCdcRR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 w14-20020a17090a780e00b002a47006b83bsi4423396pjk.141.2024.04.07.09.16.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 09:16:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134542-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=@kernel.org header.s=k20201202 header.b=qBwCdcRR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134542-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 2D635B214EB for ; Sun, 7 Apr 2024 16:15:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60D3D39FFF; Sun, 7 Apr 2024 16:15:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qBwCdcRR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BAC33A1C7; Sun, 7 Apr 2024 16:15:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712506550; cv=none; b=MxF4u5KvJ3MtAmU7iDgmOJ8UOsReqbLmHS8iUjoZ5KOoXh8D4BxKFhAPVWA5AsnmXmCFgPZAeWgfiBik0mYQzYdnGNOFIYWt4MrYZY2shbNw4YuQt2QL93bsfh+sWONGTfW99a3eGCOqGQtoC5vEYAanqVK5FdqC+M/Wz2wxhQ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712506550; c=relaxed/simple; bh=Wx29/u2HmesnOY5HNS11s3zqFGiGxLSe5oJTWtN3DA8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OYdgUix4v1ZMEXJjyejqsbbTBSiv6Wjx3eivs05ZyUUJTN13bXOp3d0kJozlcms1eCcIkL8eYIn2Lk1CNdJkI2FMbGO4FuuVE05PH5UznBD03QDE2Ajmi8IOWIuN/de8VCSb4dZUF67GLR72zRl+Z++VJB5LTLbsyR2Lhs3lhw0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qBwCdcRR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA570C433F1; Sun, 7 Apr 2024 16:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712506549; bh=Wx29/u2HmesnOY5HNS11s3zqFGiGxLSe5oJTWtN3DA8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=qBwCdcRR0gpom7F6u9JKMVjSi02D/nwR5BKVWr4PATUuJjKwYNM0W4TI6B8F5cn5m l/jBOv5gQGmGME8mwyn9piKDle03zot1UFM3rToorJMOwga+e7kdwURDoWaGP/8u7+ QrFzHBWy26f2muW0BIIB5pTV4TJERd6da82sHH5vpkUcYkMJ9dDx7TgRD5OkoJyIjg W9zr59UBl1h6Z1wGONuKxxwKBfR5aXtS+C0PaaN6urUD4dNnmbBKa3msFlOOGXFz7R thgjyn5LoB14uAVVnDW81KbmeXKEi6UnJ1arGoo/Aaswe7R1/h7DnEjMxTbt41UaMf WW1+7OtsAJTsg== Message-ID: <5b9e0e44-0b9c-44fc-9d18-21c47b46dc63@kernel.org> Date: Sun, 7 Apr 2024 18:15:41 +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 Subject: Re: [PATCH v2 1/6] dt-bindings: firmware: arm,scmi: set additionalProperties to true To: Peng Fan , "Peng Fan (OSS)" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Sudeep Holla , Cristian Marussi Cc: "devicetree@vger.kernel.org" , "imx@lists.linux.dev" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <20240405-imx95-bbm-misc-v2-v2-0-9fc9186856c2@nxp.com> <20240405-imx95-bbm-misc-v2-v2-1-9fc9186856c2@nxp.com> <614b5107-656d-4d41-99c1-77941c48342c@kernel.org> <09f6b752-6b72-49d7-b248-6faba2fd13a7@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/A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7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/04/2024 12:04, Peng Fan wrote: >> Subject: Re: [PATCH v2 1/6] dt-bindings: firmware: arm,scmi: set >> additionalProperties to true >> >> On 07/04/2024 02:37, Peng Fan wrote: >>>> Subject: Re: [PATCH v2 1/6] dt-bindings: firmware: arm,scmi: set >>>> additionalProperties to true >>>> >>>> On 05/04/2024 14:39, Peng Fan (OSS) wrote: >>>>> From: Peng Fan >>>>> >>>>> When adding vendor extension protocols, there is dt-schema warning: >>>>> " >>>>> imx,scmi.example.dtb: scmi: 'protocol@81', 'protocol@84' do not >>>>> match any of the regexes: 'pinctrl-[0-9]+' >>>>> " >>>>> >>>>> Set additionalProperties to true to address the issue. >>>> >>>> I do not see anything addressed here, except making the binding >>>> accepting anything anywhere... >>> >>> I not wanna add vendor protocols in arm,scmi.yaml, so will introduce a >>> new yaml imx.scmi.yaml which add i.MX SCMI protocol extension. >>> >>> With additionalProperties set to false, I not know how, please suggest. >> >> First of all, you cannot affect negatively existing devices (their >> bindings) and your patch does exactly that. This should make you thing what >> is the correct approach... >> >> Rob gave you the comment about missing compatible - you still did not >> address that. > > I added the compatible in patch 2/6 in the examples "compatible = "arm,scmi";" So you claim that your vendor extensions are the same or fully compatible with arm,scmi and you add nothing... Are your extensions/protocol valid for arm,scmi? If yes, why is this in separate binding. If no, why you use someone else's compatible? Maybe your binding is correct, feel free to convince me (and read first writing bindings). Best regards, Krzysztof