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 B8BDEC433FE for ; Thu, 29 Sep 2022 13:25:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235538AbiI2NZ4 (ORCPT ); Thu, 29 Sep 2022 09:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235661AbiI2NZg (ORCPT ); Thu, 29 Sep 2022 09:25:36 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C565F213 for ; Thu, 29 Sep 2022 06:25:33 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id v28so2211417wrd.3 for ; Thu, 29 Sep 2022 06:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=RW7ncZAY7OrMBeBOTpHZlZibwg5fo660fDSD0T+gY1o=; b=QWbrn4Nnk3TL9dl2ez4m5K3xiGaoNBKHJiOshTou2bIHZHZmU5Fh9o7u9qQ6VDP459 MuZ6n4rM/QAKstADVfgy/ZZRNBwYqLwVe2RT1Qj1tSEv50DW6Y0FL6VYptNGd/AJX2q4 5lrzilT3DKIFhW9qV73/KaKq6ztiCu6/JvaPilPVzIusThFTl0YTvVaqHqXgIZe2vMQk H6CCd75Do2waWcknXs2fRlF3d4NfMWOqOXzkYHzfsptwrN8AQ8bHKkdlXQaI1JP6oj96 9MzuFnA3DfKWvvaL3mtL6pWaflA4Z89+HIvKmgpHGQh0obozXMtIk6cEVD4M2xzw2FQG IoEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=RW7ncZAY7OrMBeBOTpHZlZibwg5fo660fDSD0T+gY1o=; b=Ww8R9LhdW79lF1/Nox/6vzXRKYlvSNbQnR96h3LCGBh4O7AVLKJc3agmzmhfcD1z6R 9BXQGPdZ/VierJery84/YDMNQSSqZZFntqYbsrhQCeH7OlbRQQhhx2LUo/ryGg5md6Bp se0i+qvTp8bnyV4Nhy9yb9d1GsCnTqX8elAIPzAI5mCvExGfy/Jf5tsmzjvsLzvngCfr mTzFpH3AxPT8sM7nszStP/86LEIjNdrMjEAC0Ge7/bkUz/81es89vAbLXryqr82JnJuE i7YpJ/PCQAljwIRoRU28CS62w/zwpXKsLMifAwpbNTwA1Fky9a+teEA/kIVceSKlE2t+ p2Sg== X-Gm-Message-State: ACrzQf3PV6ZiaMC4OI+fosvVnDJB7SoGudMxctgNAzOfzl/KIFAFvFI7 3jEYkx7n4QH/MM1TzVMDROgwmg== X-Google-Smtp-Source: AMsMyM4bDN7OIpIDodu1rwe7wboEpVTHP/M6Kywp+RsHnMgdARBvpHAcL0lB13B2UNED665e+1feLA== X-Received: by 2002:adf:e60d:0:b0:22c:d483:5ee1 with SMTP id p13-20020adfe60d000000b0022cd4835ee1mr2234279wrm.641.1664457932052; Thu, 29 Sep 2022 06:25:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 06:25:31 -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 0/2] Add input_supply support in gpio_regulator_config Date: Thu, 29 Sep 2022 15:25:24 +0200 Message-Id: <20220929132526.29427-1-jneanne@baylibre.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is simillar needs and implementation as fixed-regulator. Used to extract regulator parent from the device tree. Provide implementation and bindings for vin-supply property. Jerome Neanne (2): regulator: gpio: Add input_supply support in gpio_regulator_config dt-bindings: gpio-regulator: add vin-supply property support .../bindings/regulator/gpio-regulator.yaml | 3 +++ drivers/regulator/gpio-regulator.c | 15 +++++++++++++++ include/linux/regulator/gpio-regulator.h | 2 ++ 3 files changed, 20 insertions(+) -- 2.17.1