From mboxrd@z Thu Jan 1 00:00:00 1970 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 D88E4C43219 for ; Thu, 29 Sep 2022 13:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235699AbiI2N0O (ORCPT ); Thu, 29 Sep 2022 09:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235685AbiI2NZp (ORCPT ); Thu, 29 Sep 2022 09:25:45 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F99C9E2D5 for ; Thu, 29 Sep 2022 06:25:39 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id bk15so2167135wrb.13 for ; Thu, 29 Sep 2022 06:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=wDPVtJUkpxAb4ia1Z2nUs031++Rp/t2w7zinzfg9BkM=; b=hsTFIADiWUA6pZ3wo8brfQ6BkOlPKFR9WHlriPISKQ3EBdLObeBevzxgVhMaXwRyQK Us/3bf8MUDuss4NdO++vsc6B3RSM9oiAj1qYTKJukCg+vCRdeLXXilBSbDK47W55yVaK lITPpTEd5vKmYZRCbzmxv7mTgbPKY2VQLitVquWCYERfqSVWAVkQXBPN6HBRZnN0h4wu cwKUooocl0ESK4iurpcJ36PlYQAOqspBB1kAsxo1dHITaEMReWDwU1Y3efKf5vyhqEHX DhKUcmMw3+iDN0TyPx1k84WQcpYFIQAGbd3duNl4CTSHlvnAXQA1cT8/p8w7NvAIFFRB Va6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=wDPVtJUkpxAb4ia1Z2nUs031++Rp/t2w7zinzfg9BkM=; b=QuUmDFuhf9HA5K0XIJ1gJHAv1lrxAEMi9QMp2DzoQ7RDOTyvj54GIGK0JlThIA1nSA GEmKseRzHSL9V2advBKuptkiSOclYDzLH0ARVCtKE+bkUM0ZqbWfKDOv4352bDAZU3Tc cgYOggwpDDPn20kV1e0v7GfxFVRls4yGY3fqQvCnEJVX61sBdAer5fEV7x4WQqmCRlSs jcm7SLtklVb/7WKHzqKxJ46i/5xGsfDwnXtDFUQOeC4Qrc3q8MvVnQFmayDBkWMjAa+8 fSneFpmJqNE7cBNQhHYTWzv4Hfdl+k23+JX/iZ0b3RfA2Lne5aF9IJ48vsX1XumFVuxh 64EQ== X-Gm-Message-State: ACrzQf1sJThZhhiTzQH3xiD31LPJgy5Y0YWK6RXsymqO+EcFrB0in63c Pue1HKQXdl4J7kB1PctSxEBrTg== X-Google-Smtp-Source: AMsMyM7eNcesW60hlnrnQRh8NSlG5JqGgeAgevFkrVoXrleVZIQ+E7rZQ9K5UElh63H5KeWMVrZTRg== X-Received: by 2002:a5d:64cd:0:b0:22a:ba05:8bcd with SMTP id f13-20020a5d64cd000000b0022aba058bcdmr2440358wri.74.1664457938006; Thu, 29 Sep 2022 06:25:38 -0700 (PDT) Received: from localhost.localdomain (192.201.68.85.rev.sfr.net. [85.68.201.192]) by smtp.gmail.com with ESMTPSA id bu24-20020a056000079800b00226dedf1ab7sm7032222wrb.76.2022.09.29.06.25.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 06:25:37 -0700 (PDT) From: Jerome Neanne To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, khilman@baylibre.com, msp@baylibre.com, Jerome Neanne Subject: [PATCH 2/2] dt-bindings: gpio-regulator: add vin-supply property support Date: Thu, 29 Sep 2022 15:25:26 +0200 Message-Id: <20220929132526.29427-3-jneanne@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220929132526.29427-1-jneanne@baylibre.com> References: <20220929132526.29427-1-jneanne@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is same scheme as fixed-regulator. Without that property used, the parent regulator can be shut down (if not an always on). Thus leading to inappropriate behavior: On am62-SP-SK this fix is required to avoid tps65219 ldo1 (SDMMC rail) to be shut down after boot completion. Signed-off-by: Jerome Neanne --- .../devicetree/bindings/regulator/gpio-regulator.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml index f7e3d8fd3b..6c3371d706 100644 --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.yaml @@ -85,6 +85,9 @@ properties: - current default: voltage + vin-supply: + description: Input supply phandle. + required: - compatible - regulator-name -- 2.17.1