From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DAF9C433EF for ; Sun, 17 Oct 2021 12:29:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3F5B96125F for ; Sun, 17 Oct 2021 12:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245664AbhJQMcD (ORCPT ); Sun, 17 Oct 2021 08:32:03 -0400 Received: from mail-ua1-f44.google.com ([209.85.222.44]:40776 "EHLO mail-ua1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245651AbhJQMbz (ORCPT ); Sun, 17 Oct 2021 08:31:55 -0400 Received: by mail-ua1-f44.google.com with SMTP id e2so2241330uax.7; Sun, 17 Oct 2021 05:29:46 -0700 (PDT) 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=ZNQrmeLcRYkhU7gSap9RiYo7RaZ8Ovh5R/DJnqwEvKY=; b=AJ1DOCof6SmlDUlOwDeP6loJP/W58A1GoYVytgix/yVypJAFFZBnrnKxO0tJ4yErWW LkCwnfvdZhgvSJap8TPDbQnfMA/DIM8dBx9jUO1YccatLsl5Lj30bzgU2hrqMpse7Qes znmfbEGejqg/zicXnyVUoo5pivOsfzW6sypEdS81YDYlZKaibBnSeDHvoYjM3DjfNLJc cnGj1x2oeeN+ojAPRN81DCZPm5zb+61MQclOonS7Z3VM2NcP3M/d7bOYIIrBucsPZwqd dnQUNZ1IiJYE9varwHu+A5PvRFj0UEwi788slSA0vrZpVfSKUO3hehiyoYi4FYIIFsPo K2Pw== X-Gm-Message-State: AOAM530GEITODQC5CmIBu484NCaOwQ7zEIcKXugDhlD86rSoaj0/IPUt AgEq0hab6NyoHYPRQY7Aso/VrOh7gtjijw== X-Google-Smtp-Source: ABdhPJxLg0q3sxr2Bpd51F2wvK+Dxosx3ycnWqy03AsVO7lzQ6X4K141M2ibwJQ/1Ri7ezP4QLb6zA== X-Received: by 2002:ab0:45c4:: with SMTP id u62mr21063253uau.69.1634473785574; Sun, 17 Oct 2021 05:29:45 -0700 (PDT) Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com. [209.85.222.48]) by smtp.gmail.com with ESMTPSA id s6sm7593694vkh.45.2021.10.17.05.29.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Oct 2021 05:29:45 -0700 (PDT) Received: by mail-ua1-f48.google.com with SMTP id h19so1702834uax.5; Sun, 17 Oct 2021 05:29:45 -0700 (PDT) X-Received: by 2002:a67:cb0a:: with SMTP id b10mr23567811vsl.9.1634473784867; Sun, 17 Oct 2021 05:29:44 -0700 (PDT) MIME-Version: 1.0 References: <20210923064137.60722-1-zhang.lyra@gmail.com> <20210923064137.60722-2-zhang.lyra@gmail.com> In-Reply-To: From: Geert Uytterhoeven Date: Sun, 17 Oct 2021 14:29:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 1/4] dt-bindings: clk: sprd: Add bindings for ums512 clock controller To: Chunyan Zhang Cc: Stephen Boyd , Rob Herring , linux-clk , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Baolin Wang , Orson Zhai , Chunyan Zhang , LKML , Lee Jones Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chunyan, On Sat, Oct 16, 2021 at 10:42 AM Chunyan Zhang wrote: > On Wed, 13 Oct 2021 at 22:23, Geert Uytterhoeven wrote: > > On Thu, Sep 23, 2021 at 8:42 AM Chunyan Zhang wrote: > > > From: Chunyan Zhang > > > Add a new bindings to describe ums512 clock compatible strings. > > > > > > Signed-off-by: Chunyan Zhang > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml > > > > > + clock-names: > > > + minItems: 1 > > > + maxItems: 4 > > > > After applying this to my local tree, as it is a dependency for 2/4 in > > for-mfd-next: > > > > Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml: > > properties:clock-names: {'required': ['maxItems']} is not allowed for > > {'minItems': 1, 'maxItems': 4, 'items': [{'const': 'ext-26m'}, > > {'const': 'ext-32k'}, {'const': 'ext-4m'}, {'const': 'rco-100m'}]} > > hint: "maxItems" is not needed with an "items" list > > from schema $id: http://devicetree.org/meta-schemas/items.yaml# > > > > so please drop the maxItems 4. > > Ok, I will, but I don't have this compile error on my side, how do you > get this error report? > > I use the command below: > make -k dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/clock/sprd,ums512-clk.yaml > and, > make -k dt_binding_check Do you have the latest dt-schema? 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