Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4437826rwo; Tue, 25 Jul 2023 06:13:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKdl20N2jJrALMxCj4mIGQPDvLcUUcDkd6oaS+dEDzr7/PBmbFp0t//Q0jmTuctj5yOhpn X-Received: by 2002:a17:90a:8582:b0:263:949:7ab9 with SMTP id m2-20020a17090a858200b0026309497ab9mr7783321pjn.24.1690290800859; Tue, 25 Jul 2023 06:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690290800; cv=none; d=google.com; s=arc-20160816; b=pVKOWgHOqX1HascsuaThs+VfKQio9pGLbJ9l3MfgMQ4JEN+nrkZpPi6M+uuN1H5DiN 8LULujZwkUhmv0OO1/vfke87nQvguc4fyNZ6DhRt94WRkkctDoTv/nhTuYRiKKTCSBmY CBHJ1fswX03QGaWkeAWgdVqf4Qk4d4Q9Am1I03kzVzCQCrZ7h0tznsEk4ZbrDJMfy8ja kBX6dhjwOqhRJkO1HCDNwPhv3cCyjtANrStgAqEYoYSUelRdBr74V9zJcQOCT4NS5mY0 UQiOJONPu6fQ2tBXqoZyiHt45uIBmX2NNKEhGhKSrzHN8IT21PpoSK2FlX0NbvmDUFqK Q5Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0pN5v5BlfbjxvAxmVyTRrm0yTNUVDOCKYwD8QeRlMDc=; fh=qCDlhzT+Kd7dyFPhHsXP3rfILDOHr7ZW0IBtD5+1gRs=; b=rz6UnKqBKb4FNpu4+HLVRSjTG/lXAaVmrJwQ+BI/ZPp9uW3FwcIaqqf3C/bSpeo876 rODDYGNtm0qe14Gubjc7Bqh/WB7jy5Dqt/8zDr6y7sQLAQE/V7RAav8950xsTBHM8t5R NwkpSBJDW3Dqmq2Vq4Ds47VfFoa8UNvs3N/X+pSP9CV0Mkfn8PzJ7HiCVkyluvkPOVnp qqZwbaIhZ3ah6MmEFjjyUd37x7wXAasRmznhz+N4wLSW8z4OKqklzvY3reHS45roJ5/8 MdEbFBzIRisTuxwQOav1leDgRrEw8+sGfsCGpUNbPSGL+4L54LwY7C4k6K/hYckHIC2/ /oCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g9MbkZzt; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a17090a68c900b002683b77e224si1266153pjj.164.2023.07.25.06.13.08; Tue, 25 Jul 2023 06:13:20 -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=@linaro.org header.s=google header.b=g9MbkZzt; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233129AbjGYMhv (ORCPT + 99 others); Tue, 25 Jul 2023 08:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233045AbjGYMhr (ORCPT ); Tue, 25 Jul 2023 08:37:47 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C430A6 for ; Tue, 25 Jul 2023 05:37:46 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-993a37b79e2so872488166b.1 for ; Tue, 25 Jul 2023 05:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690288665; x=1690893465; 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=0pN5v5BlfbjxvAxmVyTRrm0yTNUVDOCKYwD8QeRlMDc=; b=g9MbkZztPFKCArDOKietx7JwTRQGTBLdE0OcCFmgrBWDkIrnV7I93G1srhmrwvBVls +4oy+6hsrK91jshFt9wQmVY5+iDN0pJTyz9L1F2qlh6WWdUPX+N0lyQ0U2235CD39MUc 9wp6QH9XlTZBwT2NhmWdT6MgcsGu+dwfRrKs2YcO0o4rxvQboqTLH9qnDhcY8pUux/xE kPCWKNW83hkDvQgbYiKAqPb8oToWW/ANs4v40TlkCJjogBttj80wSEeHUmSXJo+mjMze mhToau8mIgCqPS5L5eZg3dmWj3JX4M/3WbRRaNPV8BFdmqr8+65He74OBR25EXp3jaoL xMYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690288665; x=1690893465; 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=0pN5v5BlfbjxvAxmVyTRrm0yTNUVDOCKYwD8QeRlMDc=; b=X5iKhhsZ6CKbXx3kJ+E2ZVXxuWdJHX/7Potql+hN0W1hAYr5YDPX7He8CM5+G4HNCh jBFf31cfaNUw5iDYT0gBaOHP2agc4TX6CF+xwO6deCUuaWkd9fDasNzApaOWoIG1N34O Ko4UDPc/EXrP/0wRjnyvC3veaqZmoLKVEZC1zV6YpITlR6YLjrVwrly3O3ET6IEGXqLw umcJvDc/hvceE28aKEXgHeAZiAaMXTWVdcIm7ngxMZVkwuXskE79q1C1tDpA46j8zKmN ttxcnDe8oSFF8unllkJi3/eciKSQRilSxzIazueVHPmt9Vi7a0vzzzET5JPOTbwPvOm6 M5CQ== X-Gm-Message-State: ABy/qLZ1m60j0W0meza/UtoX5nhKfZCSPAOhHYSewfpfaGHw64JI71aV veQRTMZGNahv/zJ2t3P19OsYqQ== X-Received: by 2002:a17:906:5189:b0:969:7739:2eb7 with SMTP id y9-20020a170906518900b0096977392eb7mr11946149ejk.4.1690288664921; Tue, 25 Jul 2023 05:37:44 -0700 (PDT) Received: from krzk-bin.. ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id qx26-20020a170906fcda00b00982cfe1fe5dsm8187480ejb.65.2023.07.25.05.37.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 05:37:44 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , pascal Paillet , Linus Walleij , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] dt-bindings: mfd: stericsson,db8500-prcmu: Add missing unevaluatedProperties for each regulator Date: Tue, 25 Jul 2023 14:37:40 +0200 Message-Id: <20230725123740.149559-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230725123740.149559-1-krzysztof.kozlowski@linaro.org> References: <20230725123740.149559-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Each regulator node, which references common regulator.yaml schema, should disallow additional or unevaluated properties. Otherwise mistakes in properties will go unnoticed. Signed-off-by: Krzysztof Kozlowski --- .../bindings/mfd/stericsson,db8500-prcmu.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/stericsson,db8500-prcmu.yaml b/Documentation/devicetree/bindings/mfd/stericsson,db8500-prcmu.yaml index 1d4d88f7e82d..678a6c0fd7d6 100644 --- a/Documentation/devicetree/bindings/mfd/stericsson,db8500-prcmu.yaml +++ b/Documentation/devicetree/bindings/mfd/stericsson,db8500-prcmu.yaml @@ -72,44 +72,52 @@ properties: main voltage domain for the chip. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_varm: description: The voltage for the ARM Cortex A-9 CPU. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vmodem: description: The voltage for the modem subsystem. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vpll: description: The voltage for the phase locked loop clocks. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vsmps1: description: Also known as VIO12, is a step-down voltage regulator for 1.2V I/O. SMPS means System Management Power Source. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vsmps2: description: Also known as VIO18, is a step-down voltage regulator for 1.8V I/O. SMPS means System Management Power Source. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vsmps3: description: This is a step-down voltage regulator for 0.87 thru 1.875V I/O. SMPS means System Management Power Source. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_vrf1: description: RF transciever voltage regulator. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sva_mmdsp: description: Smart Video Accelerator (SVA) multimedia DSP (MMDSP) @@ -117,18 +125,21 @@ properties: for video encoding and decoding. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sva_mmdsp_ret: description: Smart Video Accelerator (SVA) multimedia DSP (MMDSP) voltage regulator for retention mode. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sva_pipe: description: Smart Video Accelerator (SVA) multimedia DSP (MMDSP) voltage regulator for the data pipe. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sia_mmdsp: description: Smart Image Accelerator (SIA) multimedia DSP (MMDSP) @@ -136,18 +147,21 @@ properties: for image encoding and decoding. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sia_mmdsp_ret: description: Smart Image Accelerator (SIA) multimedia DSP (MMDSP) voltage regulator for retention mode. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sia_pipe: description: Smart Image Accelerator (SIA) multimedia DSP (MMDSP) voltage regulator for the data pipe. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_sga: description: Smart Graphics Accelerator (SGA) voltage regulator. @@ -155,6 +169,7 @@ properties: accelerator block. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_b2r2_mcde: description: Blit Blend Rotate and Rescale (B2R2), and Multi-Channel @@ -162,28 +177,33 @@ properties: blocks. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_esram12: description: Embedded Static RAM (ESRAM) 1 and 2 voltage regulator. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_esram12_ret: description: Embedded Static RAM (ESRAM) 1 and 2 voltage regulator for retention mode. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_esram34: description: Embedded Static RAM (ESRAM) 3 and 4 voltage regulator. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false db8500_esram34_ret: description: Embedded Static RAM (ESRAM) 3 and 4 voltage regulator for retention mode. type: object $ref: ../regulator/regulator.yaml# + unevaluatedProperties: false required: - compatible -- 2.34.1