From patchwork Thu Feb 7 11:17:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 10800849 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C06E1390 for ; Thu, 7 Feb 2019 11:18:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BA4F2C483 for ; Thu, 7 Feb 2019 11:18:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CD512C493; Thu, 7 Feb 2019 11:18:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D166F2C483 for ; Thu, 7 Feb 2019 11:18:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727133AbfBGLSD (ORCPT ); Thu, 7 Feb 2019 06:18:03 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38882 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbfBGLRo (ORCPT ); Thu, 7 Feb 2019 06:17:44 -0500 Received: by mail-wm1-f65.google.com with SMTP id v26so1182316wmh.3 for ; Thu, 07 Feb 2019 03:17:43 -0800 (PST) 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=oBG4BBi2BLLQTeAw9jQ6rQjuF426ty7AkYNuZtLk2uo=; b=uRsmHZv0TbTfk4zGNg8tlluG9ARjmXRJZWvXuG13K9GjIPmz9A9OiH2TflgVzbkTVI 0mMYhUwb46o2JoMSMCop8Qd4xIBcNq5kevqPlpnqFDANRgDY/BL83AVESLYa0RHT+qxx 4jELlqQZMF2PTllBFB34EUMkQarHCbemPmYwnviAc3fv7i3gvxb48klYni1pVBVK2Q9s GjYQZZZvqyWmlKBl54f1E8VyJHzmAYzXmTmsUfKxgJgScuSIrKWsih6WVvkt7GU6zu2e R0IQZxa5qhNMWjTFxChMIalG2ZyXbiQ7b6R+GnkbowYo8JzuVmzG0exl56gaSHga7uXj cqpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oBG4BBi2BLLQTeAw9jQ6rQjuF426ty7AkYNuZtLk2uo=; b=ZhPF1whl0j76jGSD26STGE5tc0pjHmuFtYjJ+h8V4U0fNSYDC5gtZqr1ehEZ8+SuWA w+8vHFirOooZOXgvax3yCrMePxFAS9Qjj5PyoorfAy7snsr6tS7xX4iiqYRkaEItNmTo AT8VQUD0BVoqrz9HwTjuXPUqrJZMUE9D/i1mM8dbUaGN5XGPMlr5487E1fA+LpJBwqu9 B4C9ZZ5MS9lmZUC3ovQX6sKAWwRCaJIvLO3mDEeK/+xXsj5esBfbbUuePRlwC8WKBfvQ 0zvdIQy77q8u4JRAA75c/im+04Bt0V9h6+hBxtyHrIIbOSXz4K6NRY3dXU5KQggHPaq4 4ktw== X-Gm-Message-State: AHQUAuZHX7lZvuIfnFU9cpZeJ3FGVSh8AOUDGLzg6CQs7Sf0raJyeSQd s8hcb90EtfrA3NT0MmkciL8zXA== X-Google-Smtp-Source: AHgI3IYz6fvDsk2uDQ/EKC5vtERIuM9VvaoPjN7OBXn8QhqpzzUNAzIDc2kxjwxx7fZ/RjCVppQLNQ== X-Received: by 2002:a7b:cd85:: with SMTP id y5mr6721438wmj.129.1549538262631; Thu, 07 Feb 2019 03:17:42 -0800 (PST) Received: from localhost.localdomain (42.red-95-121-90.dynamicip.rima-tde.net. [95.121.90.42]) by smtp.gmail.com with ESMTPSA id a62sm24490224wmf.47.2019.02.07.03.17.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Feb 2019 03:17:42 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, robh@kernel.org, bjorn.andersson@linaro.org Cc: swboyd@chromium.org, andy.gross@linaro.org, shawn.guo@linaro.org, gregkh@linuxfoundation.org, mark.rutland@arm.com, kishon@ti.com, jackp@codeaurora.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khasim.mohammed@linaro.org Subject: [PATCH v4 2/4] dt-bindings: connector: Add vbus-supply property Date: Thu, 7 Feb 2019 12:17:32 +0100 Message-Id: <20190207111734.24171-3-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207111734.24171-1-jorge.ramirez-ortiz@linaro.org> References: <20190207111734.24171-1-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Some phys might need to control their VBUS regulators while not being supplied by them. If such support is required, use the vbus-supply property in the connector to retrieve the regulator. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/connector/usb-connector.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt index a9a2f2fc44f2..2ad22dd6dc39 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.txt +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt @@ -16,6 +16,10 @@ Optional properties: non-fullsize connectors: "mini", "micro". - self-powered: Set this property if the usb device that has its own power source. +- vbus-supply: + Value type: + Definition: phandle to the regulator VBUS supply node. Set this property if + the connector is supplied by VBUS. Optional properties for usb-c-connector: - power-role: should be one of "source", "sink" or "dual"(DRP) if typec