Received: by 10.223.185.116 with SMTP id b49csp7560000wrg; Thu, 1 Mar 2018 07:26:26 -0800 (PST) X-Google-Smtp-Source: AG47ELtjfUlPwoTWGs3eqAkLACLSNUsE36kh0dJD0QEmxeZhFrmXYfv5Edzn2Vq1kBTjpnWj8ee1 X-Received: by 2002:a17:902:b212:: with SMTP id t18-v6mr1392008plr.17.1519917986879; Thu, 01 Mar 2018 07:26:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519917986; cv=none; d=google.com; s=arc-20160816; b=rQICJTgrU4byQa6Gx6zSqNauOLk5iW8mvNAf7c0MD3tS5ftKTSqdU9v9VTgiHTiEbq aNZ1gFkQMGRdxdeGcGP6WQfWB8lEJapCJkL2zH8pzq4XUt1062V0k5GKraTLKErtOUI9 dd0OYuJ1gjQjF2rySrURKd7+3zga+YzvKppyPqFd3+Fr+xuu2E/zOLj/O3LqlJjjkQ7p At5afoxsv1IHIORivFHCvcGKb0zGvCJHodGXkwcV3bCAx/W0QjsNXIxexnmS33kE+ip4 nV8fehxspVrESaiVlh5bCRvG1LhMHfvMRv9qKRCSdxxOHbQjqRJB+d7Jxj/78hDteOEf IYpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=fOFNrIVwyQjMtuT4AeyM90eChmSel7NDYfEC9vhFk3A=; b=0BHqstfqqIe6Y/S9dM+4N4k7cKvEi7qdzKHUZnW+2EBSw9SalzY2BftzRtqZetpRt8 6rOQSQZXNuIrLeHajXs7D+wntRYBursdJXKbNcZsZVH/qv5kjdAXy8b9wX7lUqdUtFUX n5itF3wEI/7nv2hwTgUjdJk97YOYlUhUvsogWwaFfx1jmLI/M6DaU4yVvVqp10vk3aSZ 6TQ/OXrFpvyAQhaEJjWJOdajdclL5niudHYRf25xXZGa8qK2hIFboD+IBGHfSbO5VbeG 4zIUobDkEZGA8N3Z86Bh2ONw6kCbFkij65fNN2q12bPU7UOlTIoNcnElWPe5Y70e3AEm 3C6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r39-v6si3142997pld.53.2018.03.01.07.26.11; Thu, 01 Mar 2018 07:26:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032028AbeCAPZ3 (ORCPT + 99 others); Thu, 1 Mar 2018 10:25:29 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:41030 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031844AbeCAPZ1 (ORCPT ); Thu, 1 Mar 2018 10:25:27 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id BD03127546C From: Enric Balletbo i Serra To: kishon@ti.com, heiko@sntech.de Cc: groeck@chromium.org, gwendal@chromium.org, kernel@collabora.com, vicencb@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/6] dt-bindings: phy-rockchip-typec: move extcon property to be optional. Date: Thu, 1 Mar 2018 16:25:11 +0100 Message-Id: <20180301152515.20940-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180301152515.20940-1-enric.balletbo@collabora.com> References: <20180301152515.20940-1-enric.balletbo@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The extcon property is used to detect the cable-state but some boards just connect the type-c phy to a regular USB-A connector without any power-delivery and thus no controller reporting the cable-state. So the extcon property is not really a required property, move it to be optional instead. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Heiko Stuebner --- Changes in v2: - [2/6] Rewrite the justification as suggested by Heiko Stuebner. Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt index 6ea867e3176f..a66f23a01129 100644 --- a/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt +++ b/Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt @@ -14,6 +14,8 @@ Required properties: - resets : a list of phandle + reset specifier pairs - reset-names : string reset name, must be: "uphy", "uphy-pipe", "uphy-tcphy" + +Optional properties: - extcon : extcon specifier for the Power Delivery Note, there are 2 type-c phys for RK3399, and they are almost identical, except -- 2.16.1