From patchwork Wed Jun 1 07:19:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12866447 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 E47E6C4332F for ; Wed, 1 Jun 2022 07:19:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350284AbiFAHTh (ORCPT ); Wed, 1 Jun 2022 03:19:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350272AbiFAHTa (ORCPT ); Wed, 1 Jun 2022 03:19:30 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10B284DF78 for ; Wed, 1 Jun 2022 00:19:27 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id me5so1324909ejb.2 for ; Wed, 01 Jun 2022 00:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q4LiBXwvH4EX3rvx7Dp/YqRrRBsUkNnaPJfoXallj8A=; b=IZyHiDMs/N+5e/vuN6kSchZpVDt8CgBfnXarfJcJJhIzygQU+lU/UAKKx1ZhfhTH7y WlkD4q+a8/Ea532icKPdCeyCg+m7kyIWGIK7EbYCh/L4YX8Etow7m/xSC9CnoENNk/9h 7al2bT9TZeVv8TfpxjAMozPhsMxJWd1UWIa8kzOWfH47bw+klqtavcZoj9AGGicNjE2R KanXllcdbpyvnHXyDpvgx/EqcnTn2Ou7AD5iy81IGO/9aOktgL1wHHH4JTjtz7NZ722h +/dYUoS1p3vzOOo7EjdsG/IvqypR+J1ug63AjNBoAg9cth1EjMmTYO8lO5hhIU4i2tet eUQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q4LiBXwvH4EX3rvx7Dp/YqRrRBsUkNnaPJfoXallj8A=; b=DOi3Jl8ZpQ6D+UWUEeuIHZI+ySrN+9PN+y43LAuWffc58rkF103KG+UZf5IVfvcEvb 3gpw8S+MLUQ13bW29GMDCKPrZeQdGHiARWrNiFO++H+eKJ/qlx+z+P0Rka4VASiEVUTj Jk0ndEJiWKI/8LxehSO7DFIrUbu9tBFjhUiyNm718kYfj7O3IoHBrLdiSUTvYmIEpz7y jXLCOfQ0eOQ6emQXy40IjA2i8ulS87nRFoDhf+L1/hrv1UCScevwDEmhMUjYoEB359en DdxJiJpYcn29K3fBOrUJk5naQUce/Aoxp2VRL8PskUlltuzbpKf5ZkokPnazQdT7fm/M Iypw== X-Gm-Message-State: AOAM530ozpCURaMs+CSFy/NibREZ8sxF9FVtb9gBt+Zph8A8Jl8Ng47b qM++DguBWYzewRDDL7lYhN/EXw== X-Google-Smtp-Source: ABdhPJy99V6A/3kDbpSkpU0K/h7gHo38OoevIC2UrG6ogktLyOYPwq7LaNJ/8pwm2uZWJpjCsa0tbA== X-Received: by 2002:a17:906:99c5:b0:6fe:b069:4ab6 with SMTP id s5-20020a17090699c500b006feb0694ab6mr49112187ejn.436.1654067965500; Wed, 01 Jun 2022 00:19:25 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id f27-20020a17090624db00b006f3ef214dcdsm358486ejb.51.2022.06.01.00.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 00:19:25 -0700 (PDT) From: Krzysztof Kozlowski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , David Heidelberg , Dmitry Osipenko , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/4] dt-bindings: power: supply: qcom,pm8941: use regulator schema for child node Date: Wed, 1 Jun 2022 09:19:09 +0200 Message-Id: <20220601071911.6435-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220601071911.6435-1-krzysztof.kozlowski@linaro.org> References: <20220601071911.6435-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The 'usb-otg-vbus' child node is a regulator so reference the regulator schema for proper evaluation. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../devicetree/bindings/power/supply/qcom,pm8941-charger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-charger.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-charger.yaml index caeff68c66d5..cd6364d65751 100644 --- a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-charger.yaml +++ b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-charger.yaml @@ -121,7 +121,7 @@ properties: description: Reference to the regulator supplying power to the USB_OTG_IN pin. otg-vbus: - type: object + $ref: /schemas/regulator/regulator.yaml# description: | This node defines a regulator used to control the direction of VBUS voltage. Specifically whether to supply voltage to VBUS for host mode operation of the OTG port,