From patchwork Mon Aug 31 16:11:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11746601 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3AA3E13A4 for ; Mon, 31 Aug 2020 16:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0FFA820866 for ; Mon, 31 Aug 2020 16:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598890317; bh=X3xRWSr6QaWkcJ/HP05VEo8bTsvsoAiagYc94uHMyDA=; h=From:To:Cc:Subject:Date:List-ID:From; b=TdxjUA7YRI/8LLj8uQhKSo1Dzn+sTi2OUbyzSUoZ5q83odta5BpGzfR/eZgwjtuVs C5mnUB5fEGFYzNPbezGYM/+OwajUoGUfk17GUyHc4nKGH4h085cObyOoe2fJrVOLrQ +9hCrQQm5o1QKiESvg8J6nWmKUeF8k8Ia84tLHFY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728573AbgHaQL4 (ORCPT ); Mon, 31 Aug 2020 12:11:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:43502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726249AbgHaQLz (ORCPT ); Mon, 31 Aug 2020 12:11:55 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E0C8206CD; Mon, 31 Aug 2020 16:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598890315; bh=X3xRWSr6QaWkcJ/HP05VEo8bTsvsoAiagYc94uHMyDA=; h=From:To:Cc:Subject:Date:From; b=kb3W+RdMfxd2RwzibXzpiVaPgiueCYfXdb7pAp0jp4y6SuVk6f0phl9MyLRDDt+1X qzKnwIK7iUgKwURpmUfDzLRr/MgqHGdsyf+lJjqSZI22ZFcbtfcDUvRTTk0Ye5wrpm Sf+ka+hm7WJh1Yc2ZBvvJ8rkCHb4zo5Mjb6ks+aM= From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Ulf Hansson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki , Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: mfd: google,cros-ec: Use unevaluatedProperties Date: Mon, 31 Aug 2020 18:11:46 +0200 Message-Id: <20200831161147.13515-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Additional properties or nodes actually might appear (e.g. wakeup) so use unevaluatedProperties to fix dtbs_check warnings like: arch/arm/boot/dts/exynos5250-snow.dt.yaml: embedded-controller@1e: 'keyboard-controller', 'wakeup-source' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml index 6a7279a85ec1..0586c5791cf6 100644 --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml @@ -79,7 +79,7 @@ then: google,cros-ec-spi-msg-delay: false spi-max-frequency: false -additionalProperties: false +unevaluatedProperties: false examples: # Example for I2C From patchwork Mon Aug 31 16:11:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11746605 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 837D1109B for ; Mon, 31 Aug 2020 16:12:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C1D020866 for ; Mon, 31 Aug 2020 16:12:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598890321; bh=AN/d5dS86d/EbitIqLwCS9w3KgDwC+T8YZziwmEC+vY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=WobMMMcLQ/UfgfX7K3ohyeEc105FMIv0Feyz/ZaR3JrIYH8T3WdaMcBZDHTW20JzK h8XrvNRzE46oY5cjVkKnWEk3OPDTLkwTZcSXinmN/i6IybcjxABgLD7NFOMuceEu1s JnAOg2womU/mH9qEKw3DeVWF7zUx/fGdY4IK/YX8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728597AbgHaQMA (ORCPT ); Mon, 31 Aug 2020 12:12:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:43650 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726249AbgHaQL7 (ORCPT ); Mon, 31 Aug 2020 12:11:59 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB5AB2083E; Mon, 31 Aug 2020 16:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598890319; bh=AN/d5dS86d/EbitIqLwCS9w3KgDwC+T8YZziwmEC+vY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jPIwY0uCbpRLbB+K6SzgotqSpd+G5zrhY4Q4UbrfiJkTXG6tm25NBin5WIFHk12xp JU2SCKxnis9ImL5EcuayeCmo+PpkOU4XAtbvnXBUyRCIiTLlNeK0WpQ1u2WiOaSuwQ IzsT/bDFg38aYdGkmHH0Y4L5QDnWdNg7/tfauD0U= From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Ulf Hansson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki , Krzysztof Kozlowski Subject: [PATCH 2/2] dt-bindings: mmc: mmc-pwreq-simple: Accept more than one reset GPIO Date: Mon, 31 Aug 2020 18:11:47 +0200 Message-Id: <20200831161147.13515-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200831161147.13515-1-krzk@kernel.org> References: <20200831161147.13515-1-krzk@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org There might be multiple reset GPIOs but dtschema has trouble parsing it if there are no maxItems: arch/arm/boot/dts/exynos5250-snow.dt.yaml: mmc3_pwrseq: reset-gpios: [[20, 2, 1], [20, 1, 1]] is too long From schema: Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml index 449215444723..8d625f903856 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-simple.yaml @@ -20,6 +20,8 @@ properties: reset-gpios: minItems: 1 + # Put some limit to avoid false warnings + maxItems: 32 description: contains a list of GPIO specifiers. The reset GPIOs are asserted at initialization and prior we start the power up procedure of the card.