Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1925106rwi; Tue, 1 Nov 2022 01:21:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5riJqLzaabvypotznb5nv6Ed6YookKjNpm5pieUAunP0gbBwmfDiVO1Md2fGl2yYQZ5cfj X-Received: by 2002:a17:907:7f8b:b0:7ad:b45d:4e9a with SMTP id qk11-20020a1709077f8b00b007adb45d4e9amr15131086ejc.421.1667290910482; Tue, 01 Nov 2022 01:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667290910; cv=none; d=google.com; s=arc-20160816; b=qODL8zX6iES4VgmoAPL4gu1yoaHAN8+mCgNknd4e5AgT26gmYX348J43rRIY7HLEVD qkdDOaWLoDLnRgActzouVc6fUh/INbd/8YAgdNNKGIBsHT/oXcizka62ram/ByCbLPHP DjE3uCrP8WHkbC8Av/ba+NS0nOefGFDytF8pF7fer2trxdEl5iCdFlT1pGo9tQdX9rrD qCHKBQ2ShwNj9DGl5E6gy9bIzjxZSnkK9rB+1bIJuxshNvpFGmuoqrN63VSSfXwZG/64 7NPVsgdwqvwFjzZX2jye/FPzOR5OksMJ4ddwDIDnJuaxiO/EqOFBEwY8k+bhP4I+ylCb O96g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NziJY6/fyP+utH+wONN+4YTM+lMaIKC/fH0mKgAarmA=; b=cQRACQpjA0syDBG/ZMMCASdhAbuldDB3M9XvN4tliNnGGWNUSPfqkvWT613oVB0zhv HPpIvAeTQNP9iDzi7yoVjvMKNSADd1Z5u3bxJH73FVeN5I/wG4MHW+6y5U6GU94uObLp DyPe5pMjyPiRfnxmI42Qgg+F/yF9PAgwUi0tpl/u13YeDNo8XqCTIE0YUGqwlCChx/y8 4FeH18JQgwFID5XnGYhTDrjz9EjJMP1s8c9yUWqNIzgPGcNb2Rg6jv8ceohTMQaIf3AH xSuTmrTHRVkpqI5AnxOXVHzS9B8yd6C1qwjGUz1ZEZtdyN+nzPmcfbhH2UHxDkapVUdh HMww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YXlrNLxq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a1709061f4500b0079d5da30399si8904071ejk.427.2022.11.01.01.21.27; Tue, 01 Nov 2022 01:21:50 -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=@gmail.com header.s=20210112 header.b=YXlrNLxq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbiKAIIC (ORCPT + 97 others); Tue, 1 Nov 2022 04:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiKAIIA (ORCPT ); Tue, 1 Nov 2022 04:08:00 -0400 Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF63A1834E; Tue, 1 Nov 2022 01:07:59 -0700 (PDT) Received: by mail-il1-x129.google.com with SMTP id o2so7409469ilo.8; Tue, 01 Nov 2022 01:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NziJY6/fyP+utH+wONN+4YTM+lMaIKC/fH0mKgAarmA=; b=YXlrNLxqzKzYUVnb3wco5w3HzIK2/t3QuwRIhttCmLZzPf0ZpKreSxnnGh4YJm2gqS OlIjdQp8GB3y0CcAtQ+JP0nq60wD66CmiopFiTg5Hm9TtFdI+mB6nmhVBzMyLU0TfPvt I3l0Q6nfGYhz8ejdib3Mv6OnReRJGcxDfOITODinYLNJ0isX0J2t+QlNvgQkZzbbMoe1 5RYKqCpJJPa8uZpFN5CwKOrujMQ95rhRsf2duJusno8klWUCI2BZDsfI699mVCwf2G8y Ap07BMeCrMktsAJBSUte7W/GgokSBi3W0yG0iv4VoS6UqcpBusKiZSRHzd/yt3LEyyv6 erBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NziJY6/fyP+utH+wONN+4YTM+lMaIKC/fH0mKgAarmA=; b=WVBC1Y/ce1MkEdhvnJB/t6LMcdsY+A5Udr/TsqVZjC5ziDOukttCbk7rrwh3US85PZ H1k5WaCmJcMcRGlRhVXulA5I8RZwJXAZtxCeNX7Jv8tSIPk+zLkcKz1z/EoC2FQR/td/ ge5i4PVi/aBsO8a/nHVjte/YeBlHsJ+va4ZL9eGy9eA5ux86n7NTH5JPvs7EuMFE9BIW TrVZThc1hguqNxzUCfyX4nsPp/k7PfFG7muKnXI/H3OaLgn1XRe2yUZspQCCrMgchllk DOre3UvMU64NwKOn+fItcLaToZIBTOz3yskj7drNpgftc6NHSypN2a+8j8paRb5uXhPG +zug== X-Gm-Message-State: ACrzQf3vzu+1rxgqeUJEOblMoIMOtw1QrarwARLfBVe9DEBDTWuxH80o PgITfXiAmbty6mjnZmqT6/DccBOD0YsVUMjGe7IMwXnLPMS1zCkw X-Received: by 2002:a05:6e02:b22:b0:2f9:b864:f1ad with SMTP id e2-20020a056e020b2200b002f9b864f1admr10472437ilu.298.1667290079191; Tue, 01 Nov 2022 01:07:59 -0700 (PDT) MIME-Version: 1.0 References: <20221031190159.1341027-1-lis8215@gmail.com> <20221031190159.1341027-2-lis8215@gmail.com> <166725358721.3638147.11464755727689545438.robh@kernel.org> <20221101010834.GA4034975-robh@kernel.org> In-Reply-To: <20221101010834.GA4034975-robh@kernel.org> From: Siarhei Volkau Date: Tue, 1 Nov 2022 11:07:48 +0300 Message-ID: Subject: Re: [RFC PATCH 1/2] dt-bindings: adc-joystick: add valid-range To: Rob Herring Cc: linux-input@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Paul Cercueil , Artur Rojek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 =D0=B2=D1=82, 1 =D0=BD=D0=BE=D1=8F=D0=B1. 2022 =D0=B3. =D0=B2 04:08, Rob He= rring : > > On Mon, Oct 31, 2022 at 05:05:54PM -0500, Rob Herring wrote: > > > > On Mon, 31 Oct 2022 22:01:58 +0300, Siarhei Volkau wrote: > > > The valid-range property aims to cover detachable/lock-able > > > joysticks where measured value goes outside valid-range. > > > > > > Signed-off-by: Siarhei Volkau > > > --- > > > .../bindings/input/adc-joystick.yaml | 62 +++++++++++++++++= ++ > > > 1 file changed, 62 insertions(+) > > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=3D-m dt_binding_chec= k' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > Documentation/devicetree/bindings/input/adc-joystick.example.dts:82.28-= 104.11: ERROR (duplicate_label): /example-1/joystick: Duplicate label 'joys= tick' on /example-1/joystick and /example-0/adc-joystick > > ERROR: Input tree has errors, aborting (use -f to force output) > > make[1]: *** [scripts/Makefile.lib:406: Documentation/devicetree/bindin= gs/input/adc-joystick.example.dtb] Error 2 > > make[1]: *** Waiting for unfinished jobs.... > > make: *** [Makefile:1492: dt_binding_check] Error 2 > > The examples aren't completely independent, so you can't use the same > labels. Good explanation, thank you.