From patchwork Sun May 7 17:39:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13233864 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 289C9C77B7D for ; Sun, 7 May 2023 17:39:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231631AbjEGRjd (ORCPT ); Sun, 7 May 2023 13:39:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbjEGRjb (ORCPT ); Sun, 7 May 2023 13:39:31 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D50F11611 for ; Sun, 7 May 2023 10:39:29 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-956ff2399c9so693556666b.3 for ; Sun, 07 May 2023 10:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683481167; x=1686073167; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vyN3my6pVhEGVixKUAIlJ6GSpWGmj0Uky9C8ha5UUIQ=; b=iAI1Q9/gb5IplcO2oJhRf+dZBeQPMNHRW/ee/kVYEqgc+uNQJqQnE5qFmcZ0woWq1M Q8Fs8hXGqHjUVeAYNVjWStF5sMrZL18hGj0iA65e7pcJ05ogZ9XPsadzO+U44ESjuLuI 2X5Msxt5B01/BbY42F4n0dEi0M8r6Gp4GKBCvNYGuCz9cWQ5xBYmZLvji7gUVChEVZie 9dR4jmW1t+cozt2vJPylBUwVyC+RyHypK4jCmO9NLnVRK4M5Rp47XVXy+xQ27SnySaTB f36WUu1Pk8W+Q0bS7SBSiNmqk8MvGUgcQsQ4HWPEFdDsYsi3wzoc2xndNYjlDW9JjF/A BE1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683481167; x=1686073167; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vyN3my6pVhEGVixKUAIlJ6GSpWGmj0Uky9C8ha5UUIQ=; b=ShrTsmzBmrzUAXDJIScqKXyp6dF0aGGNVvp4k4j5IMrFvRO2X6KCjZgYM8JoIGWMn8 1eTnn65eNbMRxrP4AKzv3dQ71i9I/vW2LFdeJQPZys6HKZ1InuN9aR47H+94Uo1TMB1z J2PEemGwpsOXTHvKKjPNOMCyfTLbATRm5D+jnGAMk+mdTx7QeBx7TSXF31K8sCHvm7tY FN5uMY7xY2XNcYgfQfJTCQwt1NJ//JXQNAJdiqwcAS3vYG28fBouuG6HO0BRglkBjHC9 y2dI7+/NX6cnY8ExAUBtr3c3/k6rH/sy4+IAwLbxilDr674Z0oaElhnKi+H9Ln4bRE9j OXhw== X-Gm-Message-State: AC+VfDzVGUzZqk/0jXsuUOrnyRGCVvq5MZ9gf8DHIy2SNIzOPFRyAZ28 VKOH8r49prAvNd1LNv+yCo3rIA== X-Google-Smtp-Source: ACHHUZ7GJLOwJf6cE+kPB40KyYIjQFUpyv2YKiiqX51hfSn8PueOsRoxJjrSaysOtD9V/hoX8T4guQ== X-Received: by 2002:a17:906:db02:b0:94f:128d:63db with SMTP id xj2-20020a170906db0200b0094f128d63dbmr5955890ejb.17.1683481167590; Sun, 07 May 2023 10:39:27 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:1757:b51a:9965:e81]) by smtp.gmail.com with ESMTPSA id gz6-20020a170907a04600b0094a90d3e385sm3912065ejc.30.2023.05.07.10.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 10:39:27 -0700 (PDT) From: Krzysztof Kozlowski To: Lorenzo Bianconi , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Daniel Campello , Gwendal Grignou , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Date: Sun, 7 May 2023 19:39:22 +0200 Message-Id: <20230507173923.263741-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230507173923.263741-1-krzysztof.kozlowski@linaro.org> References: <20230507173923.263741-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Reference iio.yaml schema from dtschema to allow already used label property: sc7180-trogdor-homestar-r4.dtb: proximity@28: 'label' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Patch for dtschema: https://lore.kernel.org/linux-devicetree/20230507171219.232216-1-krzk@kernel.org/T/#u --- .../devicetree/bindings/iio/proximity/semtech,sx9310.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml index 5de0bb2180e6..775555d147bf 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml @@ -15,6 +15,9 @@ description: | Specifications about the devices can be found at: https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310 +allOf: + - $ref: /schemas/iio/iio.yaml# + properties: compatible: enum: @@ -102,7 +105,7 @@ required: - reg - "#io-channel-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |