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: 157699 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp516976jaa; Thu, 7 Feb 2019 03:18:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IZNFoOh9JM3CRcQRDWTTgUIjimSFs/706NG8+1gh822VddFksPuUMXmOw0/qqbVQKlXUVjQ X-Received: by 2002:a17:902:1022:: with SMTP id b31mr15805102pla.141.1549538281964; Thu, 07 Feb 2019 03:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549538281; cv=none; d=google.com; s=arc-20160816; b=lkxeBXlXHqA8f7rXDZPz9bF5T6zzFo3TIqdqJWuJQg9cVNFVZ7b/RO9BYHzhHWQtxT HFCsCGZxclyH5p95sN5uWA4z0Mio80R/t3oZWWwsjoztNooqsF6gn7O07EeDU6x3mjuf 1Q8OU1UxxbNtybntFpWE+96+kyjvce9iwL42BUfHSPKtK47PtSIlRnS2oyD5G6QW3ynk iHuyW5f/sqLIHSUUyeeHI6yTYOw35Tc4d6/+lHzdexvtRVLfbP0JbqQDm6WLAjCw/S1h 46cCMno6Ws+JugfWZCxLT8eQjdpeBeteoesljw7e4vE2oco1XWoKzTPVa1LAHlSA29+H qhLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oBG4BBi2BLLQTeAw9jQ6rQjuF426ty7AkYNuZtLk2uo=; b=B8KFMu2rdYQE0j/agf2kkYeBarnM2vA7Z/pBxil1uFT/hTnPYoqdDYZptoUptDsKDa abJyxSNhDGXPpXRVYtYv1E5yhqaZB8tPpNg7BLlBjcQEEWeyL4mLT96WQewS7yj1rKEs Gcy34LtpjKjmoDb+H63r4GB9wUzHmCf1wQRnR9t8LphZBlPWRRqhMIa7q3bUn7E4mwi3 m2zWEe54PDMAkPp/78CukaU1y7zNmuKUWXOriZfuTqrWS5kgimQnmdQvHiog8kq9PlRj YX7hRv2lwK6jQMpXWzrb1eB2QT2MeaydkWh0RvSSQmO0LXKVsmOtK8yVXZ/jxR5vdxuz 54wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRsmHZv0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z185si8486134pgb.222.2019.02.07.03.18.01; Thu, 07 Feb 2019 03:18:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uRsmHZv0; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727120AbfBGLRp (ORCPT + 7 others); Thu, 7 Feb 2019 06:17:45 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38884 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727089AbfBGLRo (ORCPT ); Thu, 7 Feb 2019 06:17:44 -0500 Received: by mail-wm1-f68.google.com with SMTP id v26so1182317wmh.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=SBc8+tnthTrYxZ3ruJ6FBgn19K1dMHpBDJUa9NzRgY5kO24bfoYsrTICYzcyK1vUa5 QXdUC1RE2s/1QwSkSCFKT2VEh5jeq4MnBcGmjsakT1lISpRnSMMKRJxsvanehPzNRSeS 3tiBYY7O3qMm1PMlkr1CGqg14fJqpq8MDgj5DSWv376cUIz21qhG3zpmQfi3l7NwdYAC gfwxvb4t7RaZoL3vv3x036ZoiqM4kye8aDRno14LxQzqofjTEnhnEXb6WUlxolx22ixv YAlPlDOwNKslxg1tpo+On0ypREd2qoxoVO8Zj4Gb908v0NgLuyHVcnCZ3KadDVeRm5tA UUCQ== X-Gm-Message-State: AHQUAuZe5QZklCVo3x+/bs4ksiWypmlvR1Dpvzr5MKXPP/3eiSJRnry8 yu4yS8f6yOoA78R1HMbtUmtGAQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- Documentation/devicetree/bindings/connector/usb-connector.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 Reviewed-by: Rob Herring 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