Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4773108pxb; Tue, 2 Nov 2021 15:47:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx2wXF+FJ+5vzIRDD9Qvwjh3j44Pasdaih1624/kkNL4GOLy+t/eAjmiTjGSpiUi1vk72A X-Received: by 2002:a17:906:4f95:: with SMTP id o21mr49914407eju.61.1635893225516; Tue, 02 Nov 2021 15:47:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635893225; cv=none; d=google.com; s=arc-20160816; b=xDo/9fmF718srCQl19lHKWsL2Pz1ASHXEZNnQoIhaIA1ie8hYQzFEn4kZ1IhXqojsf y9pFMslsqt97idGbkusqfPt0wbUGiF6OQ2BBVOMBHHqW7KxFMtqMGnIvY6diMI0ucH42 s4/jUTEoENvW6DZlI4t7NfJTnjMTY7i07o9sViuKcQelpjwgwQ8by4hiJNWEh1dtN+Jt 2fJkqusF7oOKAvOF3egEB+8ah67TWbKOD1T2vzfCqW788ZPjBGj66/rCUciN6T3RwC92 TMJZFbO7FLTc2DPDZxRz9ELXKK3+dtWT6nGdcc9RbUt6RvYca7T8LnVNprWkS2dI4vVm Iqgw== 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=gYWfaVkeNwK/qiZnyPelmcTR3dpXv+WkQR4gj4YxhMc=; b=CtjESyvku0CutDtsWUKYjhJYY5eKU7TVbg0xk7GMO2EG3dinfAd85mhOSUQuQKSXnn O0AQxyH14T62TT2tNg9O9zvVMpolusgSM1W0e06T+j8cDlJOQ4/6cAVvrpbU7dB6ea5r rwNipL7NNmju7DHes27SeQ1Ty1EMmTIcXZt4Uq4kyqjCi9Esv60bEprccr+rQyP+qHos Yk32davQSOQIKKFgLGy2vjXgXHM8v1MtYq7SXtMAxTPxsXllDk/n1J/SQDR7fVnczIgT wTu2Cks8G8m0Dqttm6raWPMOp2BygBSrryIa3I8YAqK2C+gHXqdLPJQHopXWtY88SNtN ZzpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J3E8y0mM; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si444383eja.636.2021.11.02.15.46.33; Tue, 02 Nov 2021 15:47:05 -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=@kernel.org header.s=k20201202 header.b=J3E8y0mM; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbhKBWqv (ORCPT + 99 others); Tue, 2 Nov 2021 18:46:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:54012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbhKBWqu (ORCPT ); Tue, 2 Nov 2021 18:46:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 85B5161058; Tue, 2 Nov 2021 22:44:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635893054; bh=xlJTg+g45NA5Jmaqfo0H1zJ7M0aSNbSpGn8R3qo/alA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=J3E8y0mMMimFVMbrPwTI/vuLIbS5uGyGpj0wTtaionlsJrkEZvjuqdEcZYJCbGoqC VnR72U8fFhgoSs3c6iwvcNl7Q6Lk24uo1cQLeJHNL2VqBjUlIbUSTuzokk+3KdooQG 9AdOmz6ri1V1FKeE93/vitgRtGKkBdyI3un1SXq/UYn46bTcCEOg00dUZAkq/6ONZB VcgtqN/485DnHb4EfdiB3y4FMFkK1RZ0Z/XMYcffQv/QzhM6Fh67KOU7rgTHpmf4Fc y41ieGpHxDUZM2ti0JC3T0sCeTeK6TUdOYr5ZbzOI6vGPnnQYi+jJCaMKEFro/AUI/ 1HVR4qyzYonKg== Received: by mail-ed1-f44.google.com with SMTP id o8so2701547edc.3; Tue, 02 Nov 2021 15:44:14 -0700 (PDT) X-Gm-Message-State: AOAM530htOJ4PyPsvP7U6nbz9frq7QZ0HDWigrLJ1gq/cwnx4Gn/mBXR ukjiSjNI5NGU59EW6V0e1poN3CGnHv1krANOJw== X-Received: by 2002:a17:907:16ac:: with SMTP id hc44mr26056561ejc.363.1635893052996; Tue, 02 Nov 2021 15:44:12 -0700 (PDT) MIME-Version: 1.0 References: <097d8602906e9db279728330c6cf2837be184704.1635338663.git.geert+renesas@glider.be> In-Reply-To: From: Rob Herring Date: Tue, 2 Nov 2021 17:44:00 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] bindings: media: venus: Drop bogus maxItems for power-domain-names To: Geert Uytterhoeven Cc: Dikshita Agarwal , Stanimir Varbanov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-arm-msm , Linux Media Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 2, 2021 at 3:42 AM Geert Uytterhoeven wrote: > > Hi Rob, > > On Mon, Nov 1, 2021 at 10:36 PM Rob Herring wrote: > > On Wed, Oct 27, 2021 at 02:45:30PM +0200, Geert Uytterhoeven wrote: > > > make dt_binding_check: > > > > I'd say it's redundant rather than bogus. > > I wrote "bogus", as the "redundant" ones typically give: > > hint: "maxItems" is not needed with an "items" list > > And I didn't get that here? Any schema file with an error shows up twice. First there's all the specific errors with details. Then there's what you reference which is all the schemas that we're skipping. If you set DT_SCHEMA_FILES now, you should only see the second case for other schema files. So it's probably better to reference the actual error: Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml: properties:power-domain-names: {'minItems': 2, 'maxItems': 3, 'items': [{'const': 'venus'}, {'const': 'vcodec0'}, {'const': 'cx'}]} should not be valid under {'required': ['maxItems']} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# > > > Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml: ignoring, error in schema: properties: power-domain-names > > > warning: no schema found in file: Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml > > > > > > Fixes: e48b839b6699c226 ("media: dt-bindings: media: venus: Add sc7280 dt schema") > > > Signed-off-by: Geert Uytterhoeven > > > --- > > > Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml | 1 - > > > 1 file changed, 1 deletion(-) > > > > Acked-by: Rob Herring > > Thanks! > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds