Message ID | 20230120133010.299797-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp201209wrn; Fri, 20 Jan 2023 05:35:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXvytvOKuaMn7MA5k7yenyxoJD8wrloZQz+bg66dp8EZvgHZlJy502Onq/E8RyMo56frJq6Q X-Received: by 2002:a05:6a20:6725:b0:b8:587f:e0ad with SMTP id q37-20020a056a20672500b000b8587fe0admr15520791pzh.29.1674221758924; Fri, 20 Jan 2023 05:35:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674221758; cv=none; d=google.com; s=arc-20160816; b=wRxm2CnUDUxDzpGWhsCQa3flwIyb8gfzcCkcpbLAN6uydtOIp4v0DlgvLLXU96kZkx KPTI6E6D+waKgfuE8QMWIudFO1GGdHobu48pcgZRdGLkHzz938sKc2CGoMyikY9qrzuV zyrww60OQ1qrMGriM6ljwqbCb2nitE045USO+D3RDThVFylIudrnh0rnL5S/+SlotJWi +5n6xD6DCpIF/0aI6nP20Qhwl+tm9xgawJLbbuNZWWpo6sTv5QYEjFv/fGUGSu8h0tyY QW9ZQJC40gXwRfLobnv4vLzAzdHa76EaxpQiRKBiyosUExjXy/v+Gai2g7tmNf8gQg30 0Jrg== 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=UgsO4ptzjusHFO3gycfIfDoeA9QcARHbIlhsJgco61g=; b=bumbuZX7vrWVyHsC88BxRuokvo77D9Seggnv1WCQGyOcE+4WucncDl5VVtJgqxzV2B 6yTxEummGhnoc/iKeOkxE22Kdm5ao6AOIZ/79VxJsBiznadVnI+DCFKIll0gL4FKta/v DnKXEuc+vu+vMMRaOPF7QxaAXMBXQ46hyXN1opDbfMWBH8b6U1HchD9XENezaxrDpkUc u6gNuit20+e/LtjsPMFCZo/3+USpQQSw0UHaiZhQjsGCx1abE0GJW/FwQ1Y+60wK/Ycx UdFeDkoN6BLDymVhk6/GW4lFjletp19blNH8NeV7/VdBDsCQLdFPnF5whfls02krFNCw iUcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BbMMo4XE; 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 g38-20020a635666000000b004c697f2f114si20304515pgm.190.2023.01.20.05.35.46; Fri, 20 Jan 2023 05:35:58 -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=BbMMo4XE; 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 S229831AbjATNaR (ORCPT <rfc822;literming00@gmail.com> + 99 others); Fri, 20 Jan 2023 08:30:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjATNaP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Jan 2023 08:30:15 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B804CE46 for <linux-kernel@vger.kernel.org>; Fri, 20 Jan 2023 05:30:14 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id l41-20020a05600c1d2900b003daf986faaeso3689002wms.3 for <linux-kernel@vger.kernel.org>; Fri, 20 Jan 2023 05:30:14 -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=UgsO4ptzjusHFO3gycfIfDoeA9QcARHbIlhsJgco61g=; b=BbMMo4XEDehJIPhXkY61MVtSq81hj9asMqcRzlt99iCRLNuu80K2RyKzyF34qTe/U/ CGFSOnBU76l1GfpgNJSIECNd1a6P9cdsPE2BdJ2HrXZIrua1lr25BW5yVgNy1N2Ji2h/ cgoOg5SuLj+M9RECe9C7dC2+MVjUcLNNLNF3FbGNmfeSLsELzLvjBRJ9baMMDPbRv1t6 btfdLQJ8/qR+uBkoF7bsdLt0Pizr4+4Lic1nJFDqZ6z8Ikfi0y52ci274HCC/Ic9I1zL lQs4p8JDdkIDlYkCXqf3mwFeCdtrjbKhQcc4SlmkoCmni4mpzLiYPB2/xB0DMD1JmroN uTOg== 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=UgsO4ptzjusHFO3gycfIfDoeA9QcARHbIlhsJgco61g=; b=Q+iDOcZPcgMhd+uXEnRwAgF7agxXWmuAOkpgXTVXvYydjqzvszN+7RwwBaiOwi4BTz UCVvmNl6mf4OTea0O1ACM++kt1r06y3p+xKIKP6OzJWx5BUxnQnpkIqMWLMzDo9SW22h zndFgXOvrQxAIlDBrBlrlpOCRH4IOCu8ZDLikFrodfWyChq/6I+fpFf6xU8niR2LYIrS 3c8XRKYn/aLv/rHekEX1jQeSAuVPNo4RNYn5ywolPLKyKCqmsugTL+WGeVhBVHYEv4gz /SPryejCRHzppdrmUQ0MC9MV6l+spN7mGsllJTGCWievvMHFimQzVOMPKYHNMWq4d5yV K3bQ== X-Gm-Message-State: AFqh2kqO5eX1ZIdFvNGQTiYjxMwUAQXna6aAcoKiAqa09MPJBtpbuitz WkRXgpORl6cL19XcXIs8peXF4Q== X-Received: by 2002:a05:600c:1c01:b0:3da:fc07:5e80 with SMTP id j1-20020a05600c1c0100b003dafc075e80mr17313412wms.12.1674221413175; Fri, 20 Jan 2023 05:30:13 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id b18-20020a05600c4a9200b003db07420d14sm2140424wmp.39.2023.01.20.05.30.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 05:30:12 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH] regulator: dt-bindings: fixed-regulator: allow gpios property Date: Fri, 20 Jan 2023 14:30:10 +0100 Message-Id: <20230120133010.299797-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755548754885834085?= X-GMAIL-MSGID: =?utf-8?q?1755548754885834085?= |
Series |
regulator: dt-bindings: fixed-regulator: allow gpios property
|
|
Commit Message
Krzysztof Kozlowski
Jan. 20, 2023, 1:30 p.m. UTC
'gpios' is in general preferred even for single GPIO specifiers and
there are DTS boards using it (exynos4412-p4note.dtsi), so allow both
versions.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/regulator/fixed-regulator.yaml | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On Fri, 20 Jan 2023 14:30:10 +0100, Krzysztof Kozlowski wrote: > 'gpios' is in general preferred even for single GPIO specifiers and > there are DTS boards using it (exynos4412-p4note.dtsi), so allow both > versions. > > Applied to broonie/regulator.git for-next Thanks! [1/1] regulator: dt-bindings: fixed-regulator: allow gpios property commit: 12df2c182ccb850988d2680a422211a812fb5cb2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index 84eeaef179a5..48af7cba4652 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -35,6 +35,10 @@ allOf: required: - power-domains - required-opps + - not: + required: + - gpio + - gpios properties: compatible: @@ -49,6 +53,9 @@ properties: description: gpio to use for enable control maxItems: 1 + gpios: + maxItems: 1 + clocks: description: clock to use for enable control. This binding is only available if