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.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 8B5DDC47404 for ; Fri, 4 Oct 2019 13:58:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58403222C2 for ; Fri, 4 Oct 2019 13:58:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b="fti2dKfY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388727AbfJDN6b (ORCPT ); Fri, 4 Oct 2019 09:58:31 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:59932 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387917AbfJDN6b (ORCPT ); Fri, 4 Oct 2019 09:58:31 -0400 Received: from [10.1.8.111] (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 63D45A0686; Fri, 4 Oct 2019 15:58:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1570197509; bh=NSu3S7p7MTW9O2H76RCxpJdcvr7LUAIJMkQnS5/xml4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fti2dKfYTbuOBXHfAzKAgnKunm/Wuw3HU4I2SukF9H0pYYUxCAl/EjO5hi9eNu566 XNyiYoO5ZO4eL4MG2wXnilnD0TVRSk2S1YIvhXDsQXUJC9rZZorof+rDEc2oT5K8jz FU0M9ayJMIlMzwG52g5PdTnGok8BCQ4jfyRbNVnk= Subject: Re: [PATCH v3 2/5] dt-bindings: input: Convert mpr121 binding to json-schema To: Dmitry Torokhov , Rob Herring Cc: Shawn Guo , Fabio Estevam , linux-input@vger.kernel.org, devicetree@vger.kernel.org References: <1570083176-8231-1-git-send-email-michal.vokac@ysoft.com> <1570083176-8231-3-git-send-email-michal.vokac@ysoft.com> From: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Message-ID: <290d4ca9-5e56-5a2b-56d2-15b8ee7f4831@ysoft.com> Date: Fri, 4 Oct 2019 15:58:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1570083176-8231-3-git-send-email-michal.vokac@ysoft.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On 03. 10. 19 8:12, Michal Vokáč 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? This error is no longer present - it is fixed in the latest version of meta-schema. Thank you, Rob! > 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