Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4094146imw; Tue, 12 Jul 2022 01:25:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1si1OqKGlz7HbNEusoY3zn26oVS9y1Euy5y5dAOb9hPDfn68gCA6QwhX0eSxKL9/vZQ9cUr X-Received: by 2002:a17:906:974e:b0:726:b83a:b5ea with SMTP id o14-20020a170906974e00b00726b83ab5eamr22439340ejy.430.1657614357376; Tue, 12 Jul 2022 01:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657614357; cv=none; d=google.com; s=arc-20160816; b=ETZrjrQAF2gRvbr9qxp00MuL8dHoks7t6vwhZiUnoWRWtAOu6HaZ4v+tamPysE8JHw 8U3+fqCe8nVjxOJYDc7Ch+U6YddtXvTNKMIDm0ZcF8ilArqQbxl+D5OLwCUlWdTOD/g1 YFkXv4IsjuYb7BsS9AIT68VXVhAs47l4zAHOSFRvKkl0Ajz96f0FtjMEPjVdRphLKfUJ PyNb8PbN8eT1PA21B6SF4miJpbMZxnsI/gVK16ZV3hW4t76iuV3rCkbt4Nah0BIJdLq6 HTr2C5pNS9VfG15BlvbNgs1pjFjy8a3Jp3pnH2Z5meD5NyLYHyuve05N72GIZICoWbZb aw7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fsZS54G0TF7yfO7aK95cWjaqDjAEFLG+zKLdqz5qOj8=; b=tURn2HUXkIKVh802FQGGCmBPmSp4nAmWIq3RbozXOCHVIFt3/3ZRDp1ebfCO80fSQ6 yKNK6Q/OwbUzyATGYkapm9w/tBDERDcy5fCXUIDTOXlRBQJBPB/fgGMGjT5MB02FMBJS yypp0exlZvhbobQjl1HSARvc47JFycreJWPMyB8TYNSJGc1KG6XFtXsX20XYkBPuMGH3 TSVfQa3mpf9EKt+FjTcl9u2vzjcG7eWVg2XpyEXVpXFvjpG4rd48SXStH+BZVssObi+N qMyxZpkM5B6GjJ4slxmL4xg8HBFjDylBC3usn5HPeiR4q5g3+TA+wcx67YAWfHVNvDwa pKgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CPUwdWfR; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb44-20020a170907162c00b007262b710c5fsi14268987ejc.634.2022.07.12.01.25.31; Tue, 12 Jul 2022 01:25:57 -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=@gmail.com header.s=20210112 header.b=CPUwdWfR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232660AbiGLITs (ORCPT + 99 others); Tue, 12 Jul 2022 04:19:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232317AbiGLITm (ORCPT ); Tue, 12 Jul 2022 04:19:42 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F244AA1247; Tue, 12 Jul 2022 01:19:40 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id d12so12655126lfq.12; Tue, 12 Jul 2022 01:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fsZS54G0TF7yfO7aK95cWjaqDjAEFLG+zKLdqz5qOj8=; b=CPUwdWfRzwbAZFcSL/+Xjt3FqB3hWjH8AYkd4hQjSi3iRLxbnAuxssCAMlVoJeLxXF R2rqxjUOMH8oK5mvIgpsFFIckigyPFYdhRmKN7ikguePeF+GqelHrrPuUbGmPlFb0eXK Jbxm0I0xcjyCVr9O+cnxT+f9RUKy26jP2K/hnfCFAGh7YLrXQM7JHXwIFVmm0rdpX41B OlrLqKNm4H+2V3Mp10n1LO7FN0iVDPDaiXWaQ4FT9F1yjW1K7QvX47SxNMQsihnUY54i JeFp01ka7yVdBkFXLbj2Hnfs08y62O63V5PKVJMcdl804+g3nbRXAhwiNxXMmrXiaC1n c3Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fsZS54G0TF7yfO7aK95cWjaqDjAEFLG+zKLdqz5qOj8=; b=6BweLTMqSrl2alCcnesB+4MAplom2QL9FvO8PNzdAbnAd9JH+T9Uy1LXG2kP9GvMoO 0mqD8efQNZBGZq9ruzJtEPP3U0fMz2zU/rZHBF1ntfVHjPQYY5FzJxjY6Xxltw8gMeyz MRatt5Si83Hsr/AbcJJADZ4ReWnmvqbwjtspmd70o+hixsI6WwaT5Rj5MApABL1oJiRY jTtSmdjo17223tTsihGgTxz0RkhPPQ4N9c+x8CKY2soAMYPaoMZw9sjmgRYeLYhY8dsQ aaojQDtNYXc7jrZ3XyHX8taq1Lv5Ps1lrGvdVnJp9bvzBEkhYZdNozdXjRjuby+M5/db Nw0w== X-Gm-Message-State: AJIora9QKBRVzSXVAoUSMJDe/FMVt97VCFh0HNS44gvXHhxXpV3gB4Vp Tg5a7klnvACKz8e5PcjgecYL42E+BNU/hjydj+M= X-Received: by 2002:a05:6512:3103:b0:489:cdd7:b360 with SMTP id n3-20020a056512310300b00489cdd7b360mr10578125lfb.111.1657613979260; Tue, 12 Jul 2022 01:19:39 -0700 (PDT) MIME-Version: 1.0 References: <20220711134312.234268-1-tmaimon77@gmail.com> <20220711134312.234268-2-tmaimon77@gmail.com> <154dd9ef-cb8c-d8d7-ae62-a73bac160089@linaro.org> In-Reply-To: <154dd9ef-cb8c-d8d7-ae62-a73bac160089@linaro.org> From: Tomer Maimon Date: Tue, 12 Jul 2022 11:19:27 +0300 Message-ID: Subject: Re: [PATCH v1 1/2] dt-bindings: iio: adc: npcm: Add npcm845 compatible string To: Krzysztof Kozlowski Cc: Avi Fishman , Tali Perry , Joel Stanley , Patrick Venture , Nancy Yuen , Benjamin Fair , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , zhengbin13@huawei.com, OpenBMC Maillist , "open list:IIO SUBSYSTEM AND DRIVERS" , Linux Kernel Mailing List , devicetree Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Hi Krzysztof, On Tue, 12 Jul 2022 at 11:15, Krzysztof Kozlowski wrote: > > On 11/07/2022 15:43, Tomer Maimon wrote: > > Add a compatible string for Nuvoton BMC NPCM845 ADC. > > > > Signed-off-by: Tomer Maimon > > --- > > .../devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml > > index 001cf263b7d5..c9e9c5bf5e5b 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/nuvoton,npcm750-adc.yaml > > @@ -14,7 +14,10 @@ description: > > > > properties: > > compatible: > > - const: nuvoton,npcm750-adc > > + oneOf: > > + - items: > > This does not make sense. oneOf with one item. You also create now list > breaking all existing users/ABI. > > You probably wanted an enum here. indeed, thanks for your comment. > > > + - const: nuvoton,npcm750-adc > > + - const: nuvoton,npcm845-adc > > > > reg: > > maxItems: 1 > > > Best regards, > Krzysztof Best regards, Tomer