Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp372590pxr; Sun, 10 Apr 2022 17:56:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyORRFTGgD23kT9rElgPJXrfCwXwLJI0l7ra25+nxXpmnVm9+lH/giKyn2h2xWqcl8BCF+L X-Received: by 2002:a17:902:f547:b0:156:c07d:821e with SMTP id h7-20020a170902f54700b00156c07d821emr29385275plf.36.1649638560723; Sun, 10 Apr 2022 17:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649638560; cv=none; d=google.com; s=arc-20160816; b=rCkGEi/TU0Jcnu9n/geLAJXU4ghxP+0tF9gGwuoFIlzv+hLt+N0e6hdPHnYtlNtVgf o4mHznWOR3JscLViLmGuPYP11ROU89hWJE82xGe1R7pqo+LogQCWXWkWkBX9uloy2SSy jVMlyvvnGx3IM8RUhkcN99C+PehsayN7Ol1NkyCyznCl0D2SsamXi1nBqrpMLOkldoCF lg/KTOD9Qx86YF49VNaecW9ax3xw2jrg6Xwh7o3bKpYGNxXcX+Mhy0IUDcFpmViDzHJ3 FU9GFheqE9OekUjAVOTWvCS6Ju6ItVDdINFXntTasrAYXUHHyccN3mK18sUWCWzO8f5X f/TA== 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=uIniKHNq8JZpBtiVtTYbsG4CSucAQy7J49l7XkGedJQ=; b=0alGRmjJZikCWS8GvbzTB4sslphSOyD42hTiM6xlJ3d/wjD+BPIbOpJEKMKMfBSKrm 3hgF7UYvHkWd9lQfanb4oOUsd7+AsGaFYG4YFdP+6TxwQ/n0WF4GPL1PPkfhjFFSz1aV NNPJtDGZogEd+vqul3Pcamg/CN41mESD/Gqhuf/783Inp/4Wtx4U5T+BvnYD0KcSjBkQ KT0H21q6/v653BvHyJ+uL2XN7jZ6XeD+AY7gnNhFpY469kuWg3v4xZ1gOR9QpT8w5IDi FEpZwbT5DtoVmmPDzcvuKM0HQQYps2Z6z6oYPKDI8IUJmHlRpelPJdf11IFRlY6mBhDX FxsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=syeAl4mF; 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 21-20020a17090a005500b001caa86392easi12758572pjb.70.2022.04.10.17.55.28; Sun, 10 Apr 2022 17:56:00 -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=@linaro.org header.s=google header.b=syeAl4mF; 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 S236918AbiDIL2i (ORCPT + 99 others); Sat, 9 Apr 2022 07:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbiDIL2g (ORCPT ); Sat, 9 Apr 2022 07:28:36 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A209A2CCB37 for ; Sat, 9 Apr 2022 04:26:28 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id g20so12725799edw.6 for ; Sat, 09 Apr 2022 04:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=uIniKHNq8JZpBtiVtTYbsG4CSucAQy7J49l7XkGedJQ=; b=syeAl4mFwn7Jlf6Z67Bj7MRA0g1s6XL6W+iUCPVh9bRj0JKzwA/frdhS50xI6s3hgY IKRj2nALPfJwi9YtRVwicdOlBhC4b3H2KmL5NN6yLZr3YAY4UlZymVZpRN9ghJUEcBi4 Hr71QPr/0f1I5/yyCu8YSGM5fs9WdIrZQ9me7tT8IEPVVZ5dFj04D/OBb2XuO33EWkhF uW+ELDc2H2YWVP9FguWuSvqThhqmziX75ZjeHIdoAtrVgRED2PdTQCVtpU1ju3w4c3CW PKRzPaLLkQbd/IFnjkyP2xQrI1945TDC1tI3izSL2pmybvsQv9i1DoayS9PgtYhVgGLW 6i+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uIniKHNq8JZpBtiVtTYbsG4CSucAQy7J49l7XkGedJQ=; b=dxEhe8UDEYSm49BVW0F5eExxr+IZFCYDcu8cSJcUPD5gQjf5oeeAI0ufq6hqNoMjlh MqIYyvdsDI/Z47ytVlYzwcInU3SX28lq3J16xwwcwZbsnsI+cqrzgGCv2/0UDCGG9VY8 nsWkWqTa+f3YHE11okVwOqDyjLJ2+92grt3H+TZ0fCyyR1Lcees2K4uH4nqMELNTvZEN AsGe71uVZHTVAuxtqlVebQg62kMhEpf6eQ0UDln4LjmEIRvSN5jLK6JHRSu3ADj6nv3w TK3Dvfz4r3/SPooFMxpcgKfRwPymXlgDL2U6ZJb3mESrCqa5xkj7KeMwCPRLePEheawH Vjqg== X-Gm-Message-State: AOAM5331Tle/myiYYtknuCmrpCPkcG9xLnP1momjDWXznIu+FlqI5/Mk ZLsQbTn7SlnK5nMg9xVMbzQFXg== X-Received: by 2002:a05:6402:150d:b0:41d:5ef9:e241 with SMTP id f13-20020a056402150d00b0041d5ef9e241mr4500392edw.353.1649503587221; Sat, 09 Apr 2022 04:26:27 -0700 (PDT) Received: from [192.168.0.188] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id p9-20020a50c949000000b0041d180b8beesm2314883edh.48.2022.04.09.04.26.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Apr 2022 04:26:26 -0700 (PDT) Message-ID: <036b66b2-c221-6e9e-6a56-510e7a0d20d3@linaro.org> Date: Sat, 9 Apr 2022 13:26:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 13/18] dt-bindings: fix jz4780-nemc issue as reported by dtbscheck Content-Language: en-US To: "H. Nikolaus Schaller" , Rob Herring , Paul Cercueil , Thomas Bogendoerfer Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, letux-kernel@openphoenux.org References: <84adfe6237cd4cfd52cb9723416f69926e556e55.1649443080.git.hns@goldelico.com> From: Krzysztof Kozlowski In-Reply-To: <84adfe6237cd4cfd52cb9723416f69926e556e55.1649443080.git.hns@goldelico.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 08/04/2022 20:37, H. Nikolaus Schaller wrote: > jz4780-nemc needs to be compatible to simple-mfd as well or we get > > arch/mips/boot/dts/ingenic/ci20.dtb: memory-controller@13410000: compatible: 'oneOf' conditional failed, one must be fixed: > ['ingenic,jz4780-nemc', 'simple-mfd'] is too long > 'ingenic,jz4725b-nemc' was expected > 'ingenic,jz4740-nemc' was expected > From schema: Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml > > Signed-off-by: H. Nikolaus Schaller > --- > .../devicetree/bindings/memory-controllers/ingenic,nemc.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml > index 24f9e19820282..3b1116588de3d 100644 > --- a/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml > +++ b/Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml > @@ -17,7 +17,7 @@ properties: > oneOf: > - enum: > - ingenic,jz4740-nemc > - - ingenic,jz4780-nemc > + - [ ingenic,jz4780-nemc, simple-mfd ] This is not correct representation. If you really need simple-mfd, then this should be a separate item below oneOf. The true question is whether you need simple-mfd. Isn't the binding (and the driver) expected to instantiate its children? > - items: > - const: ingenic,jz4725b-nemc > - const: ingenic,jz4740-nemc Best regards, Krzysztof