From patchwork Fri Jan 20 13:14:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 46340 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp194457wrn; Fri, 20 Jan 2023 05:21:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXt3EeNy0uzovQef2fxBRAf3Hbo/xHWW7LsnDJnkjSuqtbkIO4xP8AhF7ZOL9hTdnv2SPxMD X-Received: by 2002:a17:906:f889:b0:86f:c7df:4a63 with SMTP id lg9-20020a170906f88900b0086fc7df4a63mr14806073ejb.56.1674220885676; Fri, 20 Jan 2023 05:21:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674220885; cv=none; d=google.com; s=arc-20160816; b=cJArrZ5bFztWghL8BUFpfVN+Z/j+urhLkjoMbu0CKpLMOUdwInU3Zsa9MJKWd55b5K b/eeMYX0/dQL74Ggyyb1MeaBXe2bj3SrpTqmVOyXBZvUJ13aJRuCD3YvspKpzkUrnde6 c7f64SznYRQqCoR8klBzokkjl74pt/fTAvdIRHFA5y5IlzNgcXU7yaiSg9cEWFqXO+ro tLl9ARDj9j6U40IKce8JpopIGmoux+K98NRpNMcOLFgp8PXtW3vJHW0/Jzcd6edG1oDY Ee4y/rqBbGtFwDnqvABhos1FPFgMZPq7mfs6lg/SoBbNTfZi/HurLLxyxm4szThHFsYK 17kQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=AfFIuRH2b9FfD0CydIJ5oSJmwUczAEd83CzMQhgLMzM=; b=nDQszum78N5Qe4fkZJ0n0U4GgEqiqa2kjC+rZbn0Fkg5T34UDugBxz+4yTjaWJSuS+ qL6MBY63RPlTCcU6hWYWeuQvToe1r7E3nXsIh/I2wjAd5uTdmDON+9mHQObxnZ6BBIvy 07haUWWOGF7GfDsgxby3Z0xwzc+0SX3qctsRH8aZCLuLairQYQ22nTF0VAaLyxPXpOqu vJ/59OZK7e0zPjGRrH42Ng/jgiqlzCQ9vPHc0i4JkKm5qskw9X5NcWd4MF/BiBCMO8Dl G7aiG5phP0XjPJ8C+HbEiFxRCLjd8Rd3FqDLdGvQh5n6L+KMBhmvPnSe3Pesuv/8KEmF hnMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0vHFo7y; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020a056402359400b004917c8c661csi8209162edc.243.2023.01.20.05.21.00; Fri, 20 Jan 2023 05:21:25 -0800 (PST) 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=V0vHFo7y; 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 S230117AbjATNSk (ORCPT + 99 others); Fri, 20 Jan 2023 08:18:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjATNSf (ORCPT ); Fri, 20 Jan 2023 08:18:35 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75EC6C41D1 for ; Fri, 20 Jan 2023 05:14:52 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id e19-20020a05600c439300b003db1cac0c1fso4327043wmn.5 for ; Fri, 20 Jan 2023 05:14:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AfFIuRH2b9FfD0CydIJ5oSJmwUczAEd83CzMQhgLMzM=; b=V0vHFo7ysajexa+NmYC+hGR0na69vwSKGypzgdxWvgYKSvjzxKe352iDiDda+iA3mx yV1M86QhpEfjVSIfxLh7krDmwkDhF1x6zb78M3srZw5LGqDLW3bKJYIhANFA63HuYH2k PtsSQbuSmNOD2lKTl5e8lILbSdv3Sr8Xv/lVYIgFsuYJ0V9nnw6tfT4DGjAtY5B8TwcW vJUB3A04EV0j2x4NJa8OvGtYMo+UKu+CEKXa08aQrgEpwxxi7U9hdaA968AwQ1mykVlM qR/gfFLCDu2i0Pb0UeHyyhPK/KzcJe33g2to4tX1G50G4DtKjFJLXPzIVkKMhWELCs0o TCGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=AfFIuRH2b9FfD0CydIJ5oSJmwUczAEd83CzMQhgLMzM=; b=jaaTpqa2ThhPGCxuR+3cRBEcAoJVxMaLxbqUsoriwqgCYKR5KBFqlhADae9zrTSpOd fBc091QpF5yveOYuhjKNhFkmlmAdTg4m2qT+1OCky5dhKqo1xc5bLvBT1gWCebqRRTp6 9yDNnbIJPWGGD9PbM64T0xPm1YVh6xxM3A06KBEeK0HFUtN+Eb6v9qyUZkIYC9FJxpXf yK2GiSKgooZ2RFd24CANpk16hl670K6fUtayce8v7f7Pf5cRYpkbqg5if3Rxu+ongLwM 3hy4jzQWU/OFHVdszpiyLZInr5oKjSAG/cEjnIfFcgt0bmnsVdkYPriiBFn0fsANHF0E EUNg== X-Gm-Message-State: AFqh2krHKtOif5x2vHuAQzEWe0oy1eJsdrDhoAYZ+fYNrQPBtyRiYUR3 XgGAukXZrt4Fy7TC1elhlQJCEQ== X-Received: by 2002:a05:600c:a29e:b0:3d9:ee01:ae5b with SMTP id hu30-20020a05600ca29e00b003d9ee01ae5bmr14064047wmb.12.1674220491033; Fri, 20 Jan 2023 05:14:51 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id q18-20020adfdfd2000000b002bdc129c8f6sm24518977wrn.43.2023.01.20.05.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 05:14:50 -0800 (PST) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Rob Herring , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: stable@vger.kernel.org Subject: [PATCH] regulator: dt-bindings: samsung,s2mps14: add lost samsung,ext-control-gpios Date: Fri, 20 Jan 2023 14:14:47 +0100 Message-Id: <20230120131447.289702-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755547839612077688?= X-GMAIL-MSGID: =?utf-8?q?1755547839612077688?= The samsung,ext-control-gpios property was lost during conversion to DT schema: exynos3250-artik5-eval.dtb: pmic@66: regulators:LDO11: Unevaluated properties are not allowed ('samsung,ext-control-gpios' was unexpected) Fixes: ea98b9eba05c ("regulator: dt-bindings: samsung,s2m: convert to dtschema") Cc: Signed-off-by: Krzysztof Kozlowski --- .../bindings/regulator/samsung,s2mps14.yaml | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml b/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml index 01f9d4e236e9..a7feb497eb89 100644 --- a/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml +++ b/Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml @@ -19,8 +19,8 @@ description: | additional information and example. patternProperties: - # 25 LDOs - "^LDO([1-9]|[1][0-9]|2[0-5])$": + # 25 LDOs, without LDO10-12 + "^LDO([1-9]|1[3-9]|2[0-5])$": type: object $ref: regulator.yaml# unevaluatedProperties: false @@ -30,6 +30,23 @@ patternProperties: required: - regulator-name + "^LDO(1[0-2])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + description: + Properties for single LDO regulator. + + properties: + samsung,ext-control-gpios: + maxItems: 1 + description: + LDO10, LDO11 and LDO12 can be configured to external control over + GPIO. + + required: + - regulator-name + # 5 bucks "^BUCK[1-5]$": type: object