Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1497376pxb; Fri, 20 Aug 2021 06:58:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0XXqN0fzWT1rGHQTJZIN9NwqVaXkFZ4dsED2/+O4/SjY8hBJBMEQ1iA8YbAmzWzatJwTG X-Received: by 2002:a17:906:b286:: with SMTP id q6mr21725802ejz.120.1629467892203; Fri, 20 Aug 2021 06:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629467892; cv=none; d=google.com; s=arc-20160816; b=j7ILR0BTl5Q+24NJj/fHZyEFvE8XR6NVFLy82TqFfCV6QQxti/ey8kv0B6dTuDs2Aw 47q2KNb7EU/QXyrCCqSjD8Fi4dqHAjEj2wMU1eSrVbVqLOdCxK7KzqO9lEpvYZj/zl+P GKkIS0E9pDIlQj71I1TDhbT9RQugesVuL38ObaA+DIIojBFyY+enAXNuvs401gFGwFqu h5qLudmwH0BQMMjI0iYLgiJJLIWACI0tsJBFkhitoZD870hAAz6XbI3C2TLYtCaeMLY+ onpI4ZJH9NR4w3n6zurPlk5tacoSEwU0RWIYocnPo561GC0OFv+NsLwdLZ8v7w2rOPEN Rs9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=L6n8EwvoF0TqxFnTQHNETcblmy409V9jfAs/6ldvq4k=; b=R+Mkkko6f6lrc0xd83q4gYMOsSRg5iink6G2j9Ds0CDWUicXwozXK+QYYNIEHKjzZW FCIii6qvuTgviUqRT5DRTKTG5Bkf0oLWAGfVKPE5hfIkfJcrM6ySVSJplRU0M0ffWrgH D+wRIJ5cL/S7cYSPXgHRtoUWvKiWu2iXthR/qdJoxpYsFRN95MNS7MLDXrmtD5Jlk8kB 7jppjjKWRnYj7udSBB5S/T8M7J5VExXwGc47ak/Zs+5FCvVYxc6Ew6tfiqXCv0RppuTt 4e0ZX44S0HvwvDhAAFpA5C7I8XLjNr9CQV8XLnsmyW+REdSGtpKuKHcN4bGr50/aqJua dJyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=FeilRYNz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h20si6405830edv.453.2021.08.20.06.57.44; Fri, 20 Aug 2021 06:58:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=FeilRYNz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235032AbhHTNyU (ORCPT + 99 others); Fri, 20 Aug 2021 09:54:20 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:57536 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231854AbhHTNyT (ORCPT ); Fri, 20 Aug 2021 09:54:19 -0400 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 1A9773F31C for ; Fri, 20 Aug 2021 13:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629467621; bh=L6n8EwvoF0TqxFnTQHNETcblmy409V9jfAs/6ldvq4k=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=FeilRYNz1W5Jqhafz4g+znI3Wce/mZtgWiB5qSiU1qXQjTAPqV/4iZAC+NkC34/Cs s6HCXvkhXMj1qUQi4FWYqCCU+puaYyVjbAO6323gUIjDPodAX7Zt/e6d7Rgs1hjT+y hz/e6bh9m6xsVKrLGhh2secEtD8qZqJ3MsFBuG+/611tYI84PqxC9nwqNas7o+INF1 VYdOVgT4VntJN1uYfWiQZBRG07uCo0frxtg7pDh5Xc1WxAUcRBPdxvJmKbOj+ZpAF7 njLMHRvQRk0G1Tw/MB2iNi9pmxvCiWzjyi530b6+TmL5Tewc6/bVlPF6pgp9+AJ82P hQL1KCArKSDYg== Received: by mail-ed1-f70.google.com with SMTP id b25-20020a05640202d9b02903be7281a80cso4587316edx.3 for ; Fri, 20 Aug 2021 06:53:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L6n8EwvoF0TqxFnTQHNETcblmy409V9jfAs/6ldvq4k=; b=YRQfZmYf/trpprpZWAl1rIPhjrJy3gnJKx0KkSTkmkdglvKcAsl7IzgOatZ26dOqtZ OZsX0jEuwwq4/8AV2Q4HUBXrwfOzavagBofLG+eg5HjUEIf7iSAJOLOY220RdVFZatEd 1vT6FJj3eyLSOZ1Nv42/bEtKjlrsR9UGJadOvzGW2rSI6QohkN4tCfit58dHRh/MGWHR k1A+o53U5WjlrVQ0cpyYY3SCU4HX1xScaO5kQ6chfqQmB6qTm+a30KnCePxmkY29Ik8T MGqGsHnx/w7mDp+/14crq3jYZ/vjSRJJZ2k45lxmurPsIwlI4F47tEyRIzWAjwUjYVws K2Nw== X-Gm-Message-State: AOAM533uMu+mTGeNAK0O+BOtpk0vQOq8pUOOtNKmDzfRlAOjqGpsAuEt Ivem/2FdbmF6lwoiBU3AeNfO8FBEYkTqlA2CVVqbvxI498yum7E4nkYlPXmkExSApf4mGocgZna Ho4bihllFUIqq7xcflvt4C6Kd9ovjmcMqGbEe+S6PRw== X-Received: by 2002:a17:907:2168:: with SMTP id rl8mr1189846ejb.42.1629467620849; Fri, 20 Aug 2021 06:53:40 -0700 (PDT) X-Received: by 2002:a17:907:2168:: with SMTP id rl8mr1189834ejb.42.1629467620713; Fri, 20 Aug 2021 06:53:40 -0700 (PDT) Received: from [192.168.8.102] ([86.32.42.198]) by smtp.gmail.com with ESMTPSA id bm26sm2914357ejb.16.2021.08.20.06.53.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Aug 2021 06:53:40 -0700 (PDT) Subject: Re: [PATCH] dt-bindings: memory: convert Samsung Exynos DMC to dtschema To: Rob Herring Cc: Lukasz Luba , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, linux-arm-kernel , linux-samsung-soc , "open list:THERMAL" References: <20210813125414.104467-1-krzysztof.kozlowski@canonical.com> <73eebe7b-46da-137b-1938-09a5b453320a@arm.com> <0ec05a0b-9499-3bf4-a231-ea53b1cf99ed@canonical.com> From: Krzysztof Kozlowski Message-ID: Date: Fri, 20 Aug 2021 15:53:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/08/2021 15:31, Rob Herring wrote: > On Wed, Aug 18, 2021 at 9:43 AM Krzysztof Kozlowski > wrote: >> >> On 18/08/2021 16:31, Rob Herring wrote: >>> On Mon, Aug 16, 2021 at 3:32 AM Krzysztof Kozlowski >>> wrote: >>>> >>>> On 16/08/2021 09:53, Lukasz Luba wrote: >>>>> Hi Krzysztof, >>>>> >>>>> On 8/13/21 1:54 PM, Krzysztof Kozlowski wrote: >>>>>> Convert Samsung Exynos5422 SoC frequency and voltage scaling for >>>>>> Dynamic Memory Controller to DT schema format using json-schema. >>>>>> >>>>>> Signed-off-by: Krzysztof Kozlowski >>>>>> --- >>>>>> .../memory-controllers/exynos5422-dmc.txt | 84 ----------- >>>>>> .../samsung,exynos5422-dmc.yaml | 137 ++++++++++++++++++ >>>>>> MAINTAINERS | 2 +- >>>>> >>>>> I'm not an expert in this DT scripts and why it complains. Maybe it >>>>> complains because the "samsung,exynos-ppmu" is defined in the .txt >>>>> file... (?) >>>>> Although, in general looks OK. >>>>> >>>>> Acked-by: Lukasz Luba >>>> >>>> I think the warning (triggered by DT_CHECKER_FLAGS=-m) can be ignored >>>> because it complains about compatible in example which is not present in >>>> the bindings. Usually it means someone wrote example not matching the >>>> bindings (e.g. a typo in compatible) but here it is on purpose. >>> >>> Ultimately, it will mean the binding is undocumented (or a typo). But >>> right now, it means the binding is undocumented with a schema. It's >>> off by default because there's still about 80 warnings. It's turned on >>> for the bot so we don't add more. So please don't ignore it. >>> >> >> By "Ignore" I meant here that it is a false positive, so it can be >> ignored. The warning is about compatible "samsung,exynos-ppmu" used in >> the example. However this exynos-ppmu is not part of this bindings and >> is documented elsewhere: >> Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt > > Yes, I understood all that. Let me be clear. I don't want examples > which don't have a schema. So drop the node or convert > exynos-ppmu.txt. > > First, when we do add a schema, then we likely have to go fix the > examples. It happens a lot and is not caught with folks using > DT_SCHEMA_FILES. Second, I don't like reporting errors that users > should have gotten by default. We can't turn this check on by default > until the 80 or so cases we already have in the binding examples are > fixed. Understood, I'll send both of these bindings. Best regards, Krzysztof