Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp1062515pxr; Mon, 11 Apr 2022 14:12:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfDWEs5utafuI6VOARDpRbc/sxMNd8DCymTlPeC7wL+LSPr4T4HfW7I6fjnwrtdn3GAjPB X-Received: by 2002:a17:90b:3907:b0:1cb:a1c3:8f31 with SMTP id ob7-20020a17090b390700b001cba1c38f31mr1188914pjb.27.1649711521859; Mon, 11 Apr 2022 14:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649711521; cv=none; d=google.com; s=arc-20160816; b=at9LgeHIqjWNXdbBHha5yKyEEGc/gP3lI45lyaV5/TuO/mrRQiHf8DpFE2R5m7NFs6 /Ow4SihtLykPaWHW66PdbB7CIi6OHKo+4gkMfEggSDMdV2SM5z44IIBjmQG9AjPd3I4h HrQ3nBcw2aqECLDDVjZFjouF501HVFTIwcWZrw3dUZXvNiRdbV99kktSaAb488sxbdCH NfJqFXsCFeB5Mg2xM/JatwdUut2GEhmir/rNAMV0lVZvJHsNFCsycBxZ2/+28IoiyJ11 s3ei4BsdUjp9N9Jkf+3zHr1SuJktt6FWLjQA2KonDEUEgPXXoUgcoj8AffSvmwA7j+ka ZUIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=oIi38tuRzajE2EeqxoMQylb3cnvM9FT8zTYrRnMOJGU=; b=waDRBXwP0j8b2fBr4oPHoQ5M6RwbZWmHAOTOBiHQKkryybtKXloHK24QxQrWtXssp5 o1uLLuhqVMMe/8oBUDI3jPAd9KTNCmdBwB2viq4k2TjsljpQKLCa5C6jslnB0bH/w262 +RxhgvwEmt0VXAXHAH3blhYLIqBMoa7VLztr2D4gqL27//v8fejnGlN390plRLoTQPHA cLdIGD2SzVJzT5luxqo7/VTW5m6nXRSpHpOPeGrSysZLswYK/wweOijO+yFYZ3A987ny OT5YVx/hU1amNIgfZ65pDLjb6p1v5x84E+V0n4Fwm/EYmicLhLkg6lhcjZQFdyjO7osu LAUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b="Ak5s/j9i"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a170903230800b00153b2d164bbsi2400441plh.195.2022.04.11.14.11.47; Mon, 11 Apr 2022 14:12:01 -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=@goldelico.com header.s=strato-dkim-0002 header.b="Ak5s/j9i"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241879AbiDINLd (ORCPT + 99 others); Sat, 9 Apr 2022 09:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233234AbiDINLa (ORCPT ); Sat, 9 Apr 2022 09:11:30 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CDE289A8; Sat, 9 Apr 2022 06:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1649509759; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=oIi38tuRzajE2EeqxoMQylb3cnvM9FT8zTYrRnMOJGU=; b=Ak5s/j9iUnwOh71OHAJOKeWJY7GYF6kCXkdFBW2cjeY84a4VVcAHSbxC/Wcac5TUa4 m4Ga0Mi5+vuzJGfFKwgmtPAR5m2I0bQJGtXuaUM9vUIHrD55HL+sq6uJtO6Ly9VXdcH4 dP0xmywLmZMOfvGeDx8sskUazOBsvibIgQ7xWLThDHO88VKSw6TxLOIT63fJndplCQau Vn+/VLtBb6vlzO96/cLwPwa64DvWBI+STP/+Zfcdimmvda10zRgSXniAU30oO605R/QC 36gz0Asy4piaVxvAUvR78J6GgQeW4RdjsE84JJWDDkmqjYiawAIUfoN3Osd7C3Q6dzwe t5TQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NIGH/jrwDepmg==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 47.42.2 DYNA|AUTH) with ESMTPSA id k708cfy39D9JuUd (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sat, 9 Apr 2022 15:09:19 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 13/18] dt-bindings: fix jz4780-nemc issue as reported by dtbscheck From: "H. Nikolaus Schaller" In-Reply-To: <036b66b2-c221-6e9e-6a56-510e7a0d20d3@linaro.org> Date: Sat, 9 Apr 2022 15:09:19 +0200 Cc: Rob Herring , Paul Cercueil , Thomas Bogendoerfer , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, letux-kernel@openphoenux.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <84adfe6237cd4cfd52cb9723416f69926e556e55.1649443080.git.hns@goldelico.com> <036b66b2-c221-6e9e-6a56-510e7a0d20d3@linaro.org> To: Krzysztof Kozlowski X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, 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 > Am 09.04.2022 um 13:26 schrieb Krzysztof Kozlowski = : >=20 > On 08/04/2022 20:37, H. Nikolaus Schaller wrote: >> jz4780-nemc needs to be compatible to simple-mfd as well or we get >>=20 >> 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 >> =46rom schema: = Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.yaml >>=20 >> Signed-off-by: H. Nikolaus Schaller >> --- >> .../devicetree/bindings/memory-controllers/ingenic,nemc.yaml | 2 = +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >>=20 >> 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: >> -=20 >> - - ingenic,jz4780-nemc >> + - [ , simple-mfd ] >=20 > This is not correct representation. If you really need simple-mfd, = then > this should be a separate item below oneOf. Well, it is valid YAML syntax and seems to be accepted by dtbscheck. > The true question is whether you need simple-mfd. Isn't the binding = (and > the driver) expected to instantiate its children? I had expected that but current ingenic,jz4780-nemc code doesn't. Everything is explained in 190607f2d59e174bcf8415efb1bb390737f8d428 But if someone writes a fix for the ingenic,jz4740-nemc driever we can of course live without this patch. And partially revert 190607f2d59e174bcf8415efb1bb390737f8d428