Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2469479rwb; Fri, 11 Nov 2022 09:41:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xFGYkGK8nW592G44QGY6vO1jLDugzcBoilcob+tp7Djyps/iDN+YuRKNeZEcVBIutuD+5 X-Received: by 2002:a17:906:261b:b0:78d:4061:5e1b with SMTP id h27-20020a170906261b00b0078d40615e1bmr2791600ejc.47.1668188516599; Fri, 11 Nov 2022 09:41:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668188516; cv=none; d=google.com; s=arc-20160816; b=F0t5OARvqFN08tYbBeq7Z5/64m60D+ssX7HGxymRjfgfgqh3T45W7y/+cLM1YXpddG R3HYnqCD/+LGgH0CwGJub+scTSmXjYRqSEryIjqPDkjqELxkvXRLy5AxPvtmSRO7+Wdm s7Qhe6omNzYFTU0BOL1yk/27mtUaBk4VMRYTgDBs9YEdmDilkdsspr5vR9JqTog7bBGr GM4zKdmoS/6KZBVpYsJTdeprIs8G2OpVxl/14PTcJ1Gn+FJ/F7QQDsjQZCPs+9h5PcPU C8IWFQ5E6IgOaxo0wjhJSebFcBRfyIbRA4lr7PvxKWpnqphW16rmcKq+oEc1tR9Eh9Tf M8pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=tzIj0FbLWchm5YW+Ojb+mjYmHVpc0ognIOdlvY0jJmc=; b=QSuKmM0+ABneBMGXmV4vprawmfawNg4mgRqWOKioEwrQx5hVAruYSBA24CZRISUDYV S9YuWE/1U6MBYVFMCkGg7NYvEIvM949O5krJDge01bkXuc2A5YDNmAcQwZ9GkmsCZp8v CIWZf+dcGOq10quY4v25mfHVJzdzUY9ldzxYZRls9EAf46NBu8g2/F3u49Hdo/cdeYOv WwRtIrUcNOtGynRJVYMN7AUF3egwUPbsnoRxjj5wjDxqZiF9Cu2eIAu5gYGCSL6rKFG4 mFh0BJWgLplQ7K4wl5DStSySx88LpQU6j7/xNVX/vg7Y/k7EUGYEogKYqUYQfJ/tbUJ8 JHfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORhWQXVL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7-20020a509307000000b00461237816efsi2699438eda.120.2022.11.11.09.41.34; Fri, 11 Nov 2022 09:41:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORhWQXVL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233984AbiKKQsC (ORCPT + 91 others); Fri, 11 Nov 2022 11:48:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbiKKQsA (ORCPT ); Fri, 11 Nov 2022 11:48:00 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87087BE51 for ; Fri, 11 Nov 2022 08:47:59 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso3469422wms.4 for ; Fri, 11 Nov 2022 08:47:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tzIj0FbLWchm5YW+Ojb+mjYmHVpc0ognIOdlvY0jJmc=; b=ORhWQXVLVCj32JAAdbD6We+SlO95hOo3Z4kePacUi0Y4dFJNCDHuu8Or4jGVP5syl/ tv0XO4ztzdwyoOGsjdOHi2kp9D12+rOGHjXiiCm/ytEKdvPXsJsAXhr7h/kicaYCeKfY Ey8pwYYntRtXa9S7Oyd5k1u6h4KpNdVJeY5TGI6VA1JWDyPNUxU1WUwGr+F+iDr7IuKg FLaWLRPXpqWBk3LRuVQF7Bi5OoZMGySUSndVWQiCAy9W5FuJQDgdK7hxa4vA463AJbOI QPp9YBXHbZMTJVnPpDOGseekGWa9esEzo/3aZew/HbQBRzZIreOMoFHelwsCG8phCF7C oxYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=tzIj0FbLWchm5YW+Ojb+mjYmHVpc0ognIOdlvY0jJmc=; b=UT/kifP3NF+NW8sYwSymR5kJ+bq2kWbTe0Jjs7tEd8rIS8NtDeXpW1gKY4ePd6I67+ NAYlCOPG/K+ckcF7o7SNKC+rN8wVp/hGEmgKxRI9ziznoR+qpuQRXrjSnhZagSvPqjeL fMplO+rnZjVL3FOL939sW1lky5Fs7UcJaWSo6Xa0zDUS0Ka702CbxXsTZQOOKto+spgF 2Ogpg6/9KATxfuDtfZ/xLSlj8bzR9qznkGczJjEvYEp6eaf1oIaxKjrGcUmT0IeY9iAf auORJzpSFhbsFcbpLz55fhYghJzo/1hwFOz8fXsMWPoWInBZDXcdINiMXh0ISon7NX62 YbwA== X-Gm-Message-State: ANoB5pn3XuLnQFEqUmsh4pDTJVpL0JA1Jojc8tFdRAUrgw/0LsK3giyC /K2qlAGOh9Qp8vXuVMAmIdZUIQ== X-Received: by 2002:a7b:cd12:0:b0:3cf:5080:412c with SMTP id f18-20020a7bcd12000000b003cf5080412cmr1821930wmj.99.1668185278322; Fri, 11 Nov 2022 08:47:58 -0800 (PST) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id q12-20020a05600c46cc00b003b4ac05a8a4sm12135959wmo.27.2022.11.11.08.47.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 08:47:57 -0800 (PST) Message-ID: Date: Fri, 11 Nov 2022 16:47:56 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 1/6] dt-bindings: nvmem: Fix example Content-Language: en-US To: Miquel Raynal , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Robert Marko , Luka Perkov , Thomas Petazzoni , Michael Walle , linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski , Christian Eggers , Cory Tusar References: <20221104163833.1289857-1-miquel.raynal@bootlin.com> <20221104163833.1289857-2-miquel.raynal@bootlin.com> From: Srinivas Kandagatla In-Reply-To: <20221104163833.1289857-2-miquel.raynal@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/11/2022 16:38, Miquel Raynal wrote: > Despite not being listed nor required within the top level nvmem yaml > file, the "compatible" property is mandatory and is actually enforced by > all the nvmem provider bindings. > > Unfortunately, the lack of compatible in the nvmem.yaml to level > description file lead to the example not matching anything and thus not > being checked at all. > > Let's pick a compatible almost randomly (one which is already used with > the qfprom label) to make the example at least valid on a semantic > point of view and getting it checked. > > Signed-off-by: Miquel Raynal Applied thanks --srini > --- > Documentation/devicetree/bindings/nvmem/nvmem.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > index 1eb22dba364c..0455506fc30f 100644 > --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml > +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > @@ -67,6 +67,7 @@ examples: > #include > > qfprom: eeprom@700000 { > + compatible = "qcom,msm8974-qfprom", "qcom,qfprom"; > #address-cells = <1>; > #size-cells = <1>; > reg = <0x00700000 0x100000>;