From patchwork Sun May 7 17:39:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13233863 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 E9325C77B7D for ; Sun, 7 May 2023 17:39:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbjEGRja (ORCPT ); Sun, 7 May 2023 13:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbjEGRj3 (ORCPT ); Sun, 7 May 2023 13:39:29 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 014DE11571 for ; Sun, 7 May 2023 10:39:27 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-96652cb7673so68458166b.0 for ; Sun, 07 May 2023 10:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683481166; x=1686073166; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=LoF4WV0BiOdiUqctxI48P3XQpok9OwnG41NCGB7Ci+g=; b=J3SPgi/Hrrqt8P6pJd4ce+Pt7mndE9ulT+4WzUHjNug7lbuWW7AD5FifVORN9qt3dR r0Zs3IjbCi4qLeVeyeyE9EiT05MrVUGVFVL8L5+18Dda6kjPEwcwbvpL8COicw2XEZFR oTbFh1aDyIK68r0O42HfjvcWgc3K5oXkMX8d6kZ5DNz3QxC70CacohJo5N9yIEIP3z5I aYqTW+4ful4MsN5E0x0ompIgfiFD/on40w/S3/uLWhZB7Cs4FAg9kKcwKd2ehNOqxAXo j62LSm1mfPVdjTgaiLF2HI7gKcW1yrxm+LvPWAuatsZYeFBw8gMGVdCyY+nYfgQRE2zD 02AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683481166; x=1686073166; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LoF4WV0BiOdiUqctxI48P3XQpok9OwnG41NCGB7Ci+g=; b=YzE5w/ZpCH90toNYKjTXGFfZ5XZbEw7hh7yeDFfPjcTL6HNMEnGEiDGrWUQhz9uUVm /5pvZsIkG/BKyPu6gVDllsSoFS2omujuRqbJS0r4oN1wbN710/zEEg9Au0wUhXaXfFiv DLtVRfRMFWv+FTcL+joo2/3dUySTlnM7Qm9Kt3PxJzPCX9oNW1ELjfT6gsgz/tI7GazN 3Xqa9fmLFo3HhewbD57zfkS6/V1CCqkiMj2g1+tsORAaR15mBQ9cngDDcJOy5ywI1NiH ZoF4OJyGVdLlxn+vIZxr5rv5S4Tw5iD003JFLuYEuEfj2PSiofzxmREbyFLdAHZKwr7v jDkw== X-Gm-Message-State: AC+VfDwrGcxPzFK7+6JdRHY55g2McnmShvPHLn5ea6buCFOce5CGkZeW RnDtAU9Aab1NQLYR/AVXBNI/qA== X-Google-Smtp-Source: ACHHUZ4VMoFxk4J4c//8OQoq0a1oBtfgyeuIbzK9TidhI5YfwotB5XPtaiGMwBB95pRrIWEn8HWuOQ== X-Received: by 2002:a17:907:d06:b0:966:37b2:734a with SMTP id gn6-20020a1709070d0600b0096637b2734amr3130231ejc.22.1683481166403; Sun, 07 May 2023 10:39:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 10:39:25 -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 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Date: Sun, 7 May 2023 19:39:21 +0200 Message-Id: <20230507173923.263741-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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 mount-matrix property: msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley --- Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml index b39f5217d8ff..ee8724ad33ab 100644 --- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml +++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml @@ -98,6 +98,7 @@ required: - reg allOf: + - $ref: /schemas/iio/iio.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml# unevaluatedProperties: false 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: - | From patchwork Sun May 7 17:39:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13233865 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 03236C77B7C for ; Sun, 7 May 2023 17:39:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbjEGRje (ORCPT ); Sun, 7 May 2023 13:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231415AbjEGRjb (ORCPT ); Sun, 7 May 2023 13:39:31 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F92411571 for ; Sun, 7 May 2023 10:39:30 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-965e4be7541so489039366b.1 for ; Sun, 07 May 2023 10:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683481168; x=1686073168; 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=Fmm5K3twSnfjvRXl95GP6fEhhk0gKbIZpn9atiJ/Snw=; b=CwPBinCLIofyk3epCVgKgKfO53ghgPMzBdbJwR5ZB+86/yKvQlEZmGPlX3CzqzWmLL b0mlvCvIt/uOHrL+evHUh8IsPPj07dkjwcspXHnBhLYKeU4bualuyXfUXYqD7UA5xDQy T2VIdujQOOYfWfR7HlCnDd/qauTJhz9Tkh9rITIrPYQlwk24qpltWjCENKr8Jjl1p/ZI k6Uv9WlRi0V9r8Lo3kuE9rpfhjg2aef2MsCLKbOR7c5FKvOnZKbg6MYVI3WObJ/2stGA SxacU8OYAM+TXyg5XV/0qKzjXwN0sG7lZQldJD+x6i+YE7ktd0XXxzEGnL5TnAVP4+4G 2GXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683481168; x=1686073168; 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=Fmm5K3twSnfjvRXl95GP6fEhhk0gKbIZpn9atiJ/Snw=; b=XaBvRO0Gzm8yFprnRFnkQVCfSiUZkQj1TNxUzhNBmeMNoNkUbl3H9HhR7pOrYaL+Qa SeN+GubFRyxzN+wqk/DQN2ZLKoAoUOmNUw2x41vPRRfBEmynu17/WQ/oapvHAUrktYxk RlSdhzfy1w5DRN6fhkJayS8fJT13Wb9dzBb2A0Sg7gL9jvGbsF2+ZAUlpJAYsCOeXGz+ Urpf0SEUmXxwAOR9zMwwEP3iaGwPiHJpnbcjr3nuna5M0QOTdbFT57s5rBFdZxa1beHL kv0G4ioGp/qDxyCswniJpLe4X8e/1Pb0F/3FmbhftUwy4zmLKHdMFYkH7nJtkQ0eIsXs 9BTA== X-Gm-Message-State: AC+VfDxZqzMJEgos617ZM7mfLAyL2P/BXuzWOgp6lMtJfrFsQe7K8aTG 5u/Y3KETnREyIvqed4u8c9jf4Q== X-Google-Smtp-Source: ACHHUZ7PR0FDVgBhOkmOCM+AZxWT8KIlI8Y/m9OAoqRSqctbKxwBEQrJfGg2XDvdwoBGMa6ANXB4hA== X-Received: by 2002:a17:907:9454:b0:953:291a:6705 with SMTP id dl20-20020a170907945400b00953291a6705mr6561472ejc.17.1683481168684; Sun, 07 May 2023 10:39:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 10:39:28 -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 3/3] dt-bindings: iio: semtech,sx9324: reference common schema for label Date: Sun, 7 May 2023 19:39:23 +0200 Message-Id: <20230507173923.263741-3-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-pazquel360-lte.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,sx9324.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml index b3aa2ebf9661..48f221463166 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml @@ -13,6 +13,9 @@ maintainers: description: | Semtech's SX9324 proximity sensor. +allOf: + - $ref: /schemas/iio/iio.yaml# + properties: compatible: const: semtech,sx9324 @@ -167,7 +170,7 @@ required: - reg - "#io-channel-cells" -additionalProperties: false +unevaluatedProperties: false examples: - |