Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp900882rwe; Wed, 31 Aug 2022 13:09:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6p5m2mBkKcMna9v3OBYxCTqTwXlSY/YYCrhxNgrABSmO/zCEfVHsJy76OMIhuKkVp/ndy+ X-Received: by 2002:a17:906:8a47:b0:741:5d6a:13e5 with SMTP id gx7-20020a1709068a4700b007415d6a13e5mr13835358ejc.60.1661976558353; Wed, 31 Aug 2022 13:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661976558; cv=none; d=google.com; s=arc-20160816; b=WgYGnqphcpev0BdJpmlcGY+j3SHS/9GFNazD+ydjFdh+kXtpBl+e+5jn/5YZnsrnR3 vJ3zJDVcr2uiSkfzo1hB/u5oVYvcf3qcSlUt6i7MyUDTXlBtM1AK2gejvfhkARscl9jG bSB6jUCCCZCJN8qGrvRV7o10M8SyqsodeEElFlxmxo8uTxyavJM/CoOd35Z77SmnwaDK GfxgjKcTHvwPPti0Lvrj59fMs4ndfyTvFLxQvJE6z8rctK2nrUig2nfJVubrV3sUJRl7 iQ/yaU34YAH5lg2bax58b2ITFL6umm9jcNtMs5ynyad0Kekp566uqM0a1x6K0h5If7nC 7rsg== 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:user-agent:mime-version:date :message-id:subject:dkim-signature; bh=o4Q3yaPOi4KlTaXD7fEK3bIr7nuLBW2iHpygHPrCyzE=; b=Xmz8kuIkJi5RkrpOZofdW+k/O6QKc56yYotLdlql/q7eN+HiRFt11lDXlwBT9k7pF8 bhIFMpR4DEdH6fjHoeZDL83d8N9n/VKtcFdRzPx8IeTcMWbENZKoOfzYQHR6SqqDbOVE 1dZSxia1EFtfDFIx72yzlZa3cRk+ORJuDtPG1CjiRU7yOaCisodMW2JnLt+fSKwpxPzf 8Zh0mDM67n3EWgBom3rzfLlmQxB++2Qyr2mjSZAJ04UXLc+ycg5wnBVIUW7z3h/Ibcbs q53KNIwOqU9SetKZ5c81hgRnGzcpZtcxB3hZERpyjELEKh/LOP3F7ICil9X+7XNIj/jS 0zaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=tBlbLw8x; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a056402278c00b00447f0236543si137438ede.514.2022.08.31.13.08.52; Wed, 31 Aug 2022 13:09:18 -0700 (PDT) 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=@amazon.com header.s=amazon201209 header.b=tBlbLw8x; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbiHaT4e (ORCPT + 99 others); Wed, 31 Aug 2022 15:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232072AbiHaT41 (ORCPT ); Wed, 31 Aug 2022 15:56:27 -0400 Received: from smtp-fw-9103.amazon.com (smtp-fw-9103.amazon.com [207.171.188.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C0998A6E; Wed, 31 Aug 2022 12:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1661975779; x=1693511779; h=message-id:date:mime-version:to:cc:references:from: in-reply-to:content-transfer-encoding:subject; bh=o4Q3yaPOi4KlTaXD7fEK3bIr7nuLBW2iHpygHPrCyzE=; b=tBlbLw8xsJ1Jqiv+fD6X9cSzOYg88XX1wlnbhckLZei0eX1rCrl04XBn Idc6iy/StBRpbX+5DSgL9VquCrAG3cV7ZWUrRTMhsemLgl4tkUVo9uc0b 6zcpDNuYfdmowAhLqklRuenQ1MP0aBEDisUkpD4uZSPmxNvKwL6+pwINw I=; X-IronPort-AV: E=Sophos;i="5.93,278,1654560000"; d="scan'208";a="1050061081" Subject: Re: [PATCH v3 08/19] dt-bindings: hwmon: (mr75203) add "moortec, vm-active-channels" property Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-7d84505d.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-9103.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2022 19:56:00 +0000 Received: from EX13D27EUB002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-7d84505d.us-west-2.amazon.com (Postfix) with ESMTPS id 5A26E81310; Wed, 31 Aug 2022 19:55:58 +0000 (UTC) Received: from EX19D019EUB002.ant.amazon.com (10.252.51.33) by EX13D27EUB002.ant.amazon.com (10.43.166.103) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Wed, 31 Aug 2022 19:55:57 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX19D019EUB002.ant.amazon.com (10.252.51.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.12; Wed, 31 Aug 2022 19:55:57 +0000 Received: from [192.168.153.206] (10.85.143.179) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.38 via Frontend Transport; Wed, 31 Aug 2022 19:55:52 +0000 Message-ID: Date: Wed, 31 Aug 2022 22:55:52 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Content-Language: en-US To: Rob Herring CC: , Rahul Tanwar , Talel Shenhar , Linux HWMON List , , , Guenter Roeck , Jonathan Chocron , Philipp Zabel , , Jean Delvare , , "linux-kernel@vger.kernel.org" , , , "Hanoch, Uri" , Andy Shevchenko , "Hawa, Hanna" , "Krupnik, Ronen" , "Farber, Eliav" References: <20220830192212.28570-1-farbere@amazon.com> <20220830192212.28570-9-farbere@amazon.com> <1661945961.480039.3614528.nullmailer@robh.at.kernel.org> <2508ecda-cfd2-96ba-a802-47d25f225dd0@amazon.com> From: "Farber, Eliav" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_SPF_WL 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 8/31/2022 10:19 PM, Rob Herring wrote: > On Wed, Aug 31, 2022 at 12:48 PM Farber, Eliav > wrote: >> >> On 8/31/2022 3:17 PM, Rob Herring wrote: >> > On Wed, Aug 31, 2022 at 6:53 AM Farber, Eliav >> wrote: >> >> >> >> On 8/31/2022 2:39 PM, Rob Herring wrote: >> >> >> >> On Tue, 30 Aug 2022 19:22:01 +0000, Eliav Farber wrote: >> >> >> >> Add optional "moortec,vm-active-channels" property to define the >> number >> >> of active channels per VM. >> >> >> >> This shall be useful to avoid exposing sysfs for reading inputs >> that are >> >> not connected to any voltage source. >> >> >> >> Signed-off-by: Eliav Farber >> >> --- >> >> V3 -> V2: >> >> - Add "moortec" prefix to property name. >> >> - Add explanation why this change is needed. >> >> >> >>  .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 11 +++++++++++ >> >>  1 file changed, 11 insertions(+) >> >> >> >> >> >> My bot found errors running 'make DT_CHECKER_FLAGS=-m >> dt_binding_check' >> >> on your patch (DT_CHECKER_FLAGS is new in v5.13): >> >> >> >> I used dt_binding_check on my changes (I ported it to my kernel). >> >> The error is related to "intel-vm-map" which I did not add. >> > >> > The error is the vendor prefix is not defined in vendor-prefixes.yaml. >> >> I fixed the vendor prefix error (will be part of v4). >> >> >> I don't mind fixing it if you wish. >> >> It requires changing: >> >>   intel,vm-map = [03 01 04 ff ff]; >> >> to: >> >>   intel,vm-map = /bits/8 <0x03 0x01 0x04 0xff 0xff>; >> > >> > That is not the issue. The issue is the type is unknown because your >> > schema fails and we can't get the type from it. Once your schema >> > passes, this should go away. >> Even after fixing the vendor prefix error I still see this: >> moortec,mr75203.yaml: ignoring, error in schema: properties: >> intel,vm-map > > You still have an error in the schema. You should see a more specific > reason before this message. Thanks, I found the problem. I'm using an old version, and I'm missing this commit you did: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/Documentation/devicetree/bindings/hwmon/moortec,mr75203.yaml?h=v6.0-rc3&id=d69c6ddd019f31081cc0232fa8ad8ea1cabdf22c