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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 317C3C4360C for ; Thu, 10 Oct 2019 19:36:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECB9D218AC for ; Thu, 10 Oct 2019 19:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570736216; bh=2y6aP9qnKGGKK5FwpdbTU/ZjanGWJuiVTS1YL7a+j40=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=NtDfuJmcwl3qciprIvTAN+VT1iEeyiKUiZq53GcBTh/ueTRBupAHdc7EYk55tHmVj 1sOres2lKrn/YJzqCDltK+f31l7fw5GKp7HcSrUAJI/5E9yooKEyZxu+nqgGfXLTlH zXcDGiAinjYEC1lvgT/VRzpPrDF9Y4iPLw3bsO0E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726053AbfJJTgz (ORCPT ); Thu, 10 Oct 2019 15:36:55 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:40929 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfJJTgz (ORCPT ); Thu, 10 Oct 2019 15:36:55 -0400 Received: by mail-ot1-f68.google.com with SMTP id y39so5928878ota.7; Thu, 10 Oct 2019 12:36:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=GrIfYxv7zzQIzL0PIvdg+DwKKuRhoX4+xlthC9D4qis=; b=o/rLZwxkvrpt9Ur6fPzawGJnj9LPC6abGA1qaWF7Kh5YNfwjIrNssfdbZO6YmM7w2U NHt3XMOqEvtIvAwJOQT6SjS7j3LTBEKnU62pDo15CJUhCtEQHlrADCywyaPXGQp3Ebwy IuDS6u5m+Guv98YIsFlqPKyPNAwXOOSQiYKqEYFtnu+acNyfWLJlZqAdqLOCDAMcU5LS z9P/+bM5gE29fv0dO2zlJbvKHqirfgJ2CBndpknr1RKO9eUfWk32kInu/R5anNWosX8O /k1hf3xjXEVUEF0lwl/LRC/osFF1XGIS3VbGnEO/ogW264xXmFwgikWCDyTmnLPCN9Ib QAxw== X-Gm-Message-State: APjAAAVW9kW3DUimqJTAJK6fgAV5Lt3Fh0JComFLOAQQZOh4g6kheKaZ v1dv+cBBdKpsqTliYN3i7g== X-Google-Smtp-Source: APXvYqzI1UBOf7SOrmgneo0vg0V0hSLG6fFDH2ZK0WOo4j8Dy9ksMUNQuzUM9uZXwfTbZMzAFILo1g== X-Received: by 2002:a9d:144:: with SMTP id 62mr9664039otu.187.1570736212705; Thu, 10 Oct 2019 12:36:52 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id c21sm1894957otp.15.2019.10.10.12.36.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 12:36:52 -0700 (PDT) Date: Thu, 10 Oct 2019 14:36:51 -0500 From: Rob Herring To: Michal =?utf-8?B?Vm9rw6HEjQ==?= Cc: Dmitry Torokhov , Shawn Guo , Fabio Estevam , linux-input@vger.kernel.org, devicetree@vger.kernel.org, Michal =?utf-8?B?Vm9rw6HEjQ==?= Subject: Re: [PATCH v3 2/5] dt-bindings: input: Convert mpr121 binding to json-schema Message-ID: <20191010193651.GA16598@bogus> References: <1570083176-8231-1-git-send-email-michal.vokac@ysoft.com> <1570083176-8231-3-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1570083176-8231-3-git-send-email-michal.vokac@ysoft.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Thu, 3 Oct 2019 08:12:53 +0200, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= wrote: > Convert the mpr121 binding to DT schema format using json-schema. > > Signed-off-by: Michal Vokáč > --- > Changes since v2: > - None > > Changes since v1: > - Extract the common input properties into the input.yaml schema. > - Fix the wakeup-source description. > - Fix the example to pass validation. Put the mpr121 device sub-node > into a i2c {} node. > > The linux,keycodes property is not valid as it is. If I put the minItems > and maxItems into the common schema, it is valid and the min/max length > check works fine. Rob, could you advice how to fix this please? > > The error is not very specific.. > > $ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml > SCHEMA Documentation/devicetree/bindings/processed-schema.yaml > /home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml: ignoring, error in schema 'linux,ke > warning: no schema found in file: /home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml > /home/vokac/development/sources/linux-fslc/Documentation/devicetree/bindings/Makefile:33: recipe for target 'Documentation/devicetree/bindings/p > make[3]: *** [Documentation/devicetree/bindings/processed-schema.yaml] Error 255 > /home/vokac/development/sources/linux-fslc/Makefile:1264: recipe for target 'dt_binding_check' failed > > .../bindings/input/fsl,mpr121-touchkey.yaml | 66 ++++++++++++++++++++++ > .../devicetree/bindings/input/mpr121-touchkey.txt | 30 ---------- > 2 files changed, 66 insertions(+), 30 deletions(-) > create mode 100644 Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml > delete mode 100644 Documentation/devicetree/bindings/input/mpr121-touchkey.txt > Reviewed-by: Rob Herring