Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp459986imm; Mon, 1 Oct 2018 12:45:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV62VE+DgOUgMEYi51dAa1eL5C3S85msxNiy8mtad1nZPqAJgy6F+O1Ofp9HERLMVTn7t1kr0 X-Received: by 2002:a62:e057:: with SMTP id f84-v6mr12964726pfh.208.1538423136576; Mon, 01 Oct 2018 12:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538423136; cv=none; d=google.com; s=arc-20160816; b=PaZieC8X2q+4u3YRd6nyl8ylLOM3mvcedj4EBNhx1TMrRdnRVxLafZ7zwqaelWkFCC abluOGop/g69xvTlwRijJHVx3qsOSUcgOeYQP9Af88AMHI3Pq7TJ2NKyO/QIrUbFqolJ g98zRBY9sqQcgndlZu7aqjMoWlQrviPQOnlZrm0j0MHzHZZweh8a5Ch3wnFVC28P2ePz KvJqLqhlfFZgEgxqyTtVt9NNazfRZvPV1sATYdJi2n+ldz8MsRWBGR+k1umzSzi28Y7l 1Tvuebd5ST1wPv89uSfBWovpvmcoNXxZ7eLjieYFP/+JacTPg3xTxeotw3pTklkLUjvi QJ/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=udaP/p7JA9sNL+94no8kNxyGH61VvMpNqCPfAcizEOQ=; b=kQCq33msgUJU6mn4xW8lTJXX/8ncvZe0IFFRdXHm405CbwF8EMpm1sERkseeTi4nqN P3Lpvfj6nfgTPE+67nUS5SwwzZvzDiaei2WAuKYiPz0wIHYS62SQpzNZgQX9FOpe4/kD droPUUdlSfjT9YwBlMrrVf+kc5RqPQ9WHvklScQP7+iVU/lQ4T3Ra4qqSF/BIVGGYfJT kJAFPQLxNpJWXVzXceSSusYdXZJRdFrkOWMaLnouJH/Jfuez1fHqCx4taFiYPZRUCJwL RVXGFT8TMkaGxfjuCTpoLPe3g/dtHfu4zGGKfow30/f9iPi/1dvy3bra549f6TlIXxar XQQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=S0Ix9PzT; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v17-v6si5355240pgh.35.2018.10.01.12.45.19; Mon, 01 Oct 2018 12:45:36 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=S0Ix9PzT; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726304AbeJBCY1 (ORCPT + 99 others); Mon, 1 Oct 2018 22:24:27 -0400 Received: from mail-pg1-f201.google.com ([209.85.215.201]:37834 "EHLO mail-pg1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbeJBCY1 (ORCPT ); Mon, 1 Oct 2018 22:24:27 -0400 Received: by mail-pg1-f201.google.com with SMTP id h37-v6so16818767pgh.4 for ; Mon, 01 Oct 2018 12:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=udaP/p7JA9sNL+94no8kNxyGH61VvMpNqCPfAcizEOQ=; b=S0Ix9PzTeTETWVziFDdenMCFKp59d3063s6Q3p66CGtdDDrgLFYv//FBKxq9nreyDs 1DeDB/pGJDG6yFo2WurfoseLp8O5PDdzwDU4GconXQd/IsGVt65+XbELa6+rctijCUQX JVDn91lhYwdBZ9Jy3QJ+FyVlrVGg0gQ2ZWzcouzxsIjO5SGQk0F3BmLaXln8dHrdU+yV F9SVkgm2JpVBD7uQChCMli3fY54JlnZ/7dDj5Tc0380gtFHE84S1LCo0xF0eGqnxbu2f GD+JOPT0lr5LpgOXPmOaChPDL3CpKaFby1NF26+lUhml0hivoW3avhM2xZ9NKCfYDACT yptw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=udaP/p7JA9sNL+94no8kNxyGH61VvMpNqCPfAcizEOQ=; b=AofWm7R20ji31QvRfnESGrrw+K7sbynWsclAOOuIEAZ0T3ooaihvL0Lyd8lNgng6Tp ElAx0N8iytTvsoqHf3zvMXBwnwVg/wQPfdqe1mMkCZ/BRo/4JtOF1QBJMlre0oU6ZILu HZ+Of6YTn5oReJQf7jT6xkZSGVyzw3CBB/gTpISx5YpInV0VCLAJLoS/H0GS3ZYojase 1+VpcKxiyByiyGtwzjdzlphERtWbtsDlxN5I3E3v5AISBSUdFUfTsaotaVBHy1R8HuQA 6AwjlIuP0kZgOpOnigaAoS/2c1DSheSroKU9h/1JfJ2uIwtEb22lIdw2XeVHtljd227x 7GCA== X-Gm-Message-State: ABuFfoj3oSre+B9GU3ATjI7vdb08o4mQ8lZO0LOS3nJksdQHAof3XjIj P3tPmirrv7hnKQSPFwwEVktL9R7h+zU= X-Received: by 2002:a62:ca1a:: with SMTP id n26-v6mr5695133pfg.15.1538423105823; Mon, 01 Oct 2018 12:45:05 -0700 (PDT) Date: Mon, 1 Oct 2018 12:44:59 -0700 Message-Id: <20181001194501.58338-1-badhri@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.19.0.605.g01d371f741-goog Subject: [PATCH v3 1/3] dt-bindings: connector: Add self-powered property From: Badhri Jagan Sridharan To: Rob Herring , Mark Rutland , Heikki Krogerus , Greg Kroah-Hartman , Chanwoo Choi , Andrzej Hajda , Li Jun , linux@roeck-us.net, jackp@codeaurora.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Badhri Jagan Sridharan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From USB_PD_R3_0 7.1.5 Response to Hard Resets Device operation during and after a Hard Reset is defined as follows: Self-powered devices Should Not disconnect from USB during a Hard Reset (see Section 9.1.2). Bus powered devices will disconnect from USB during a Hard Reset due to the loss of their power source. Therefore it is necessary to know whether the port belongs to a device which is self powered or bus powered. This change adds "self-powered" flag to the connector class which present indicates that the port belongs to a device that is self powered. Else it is bus powered usb device. Signed-off-by: Badhri Jagan Sridharan ------- Changes is v3: - Rebase on top of usb-next - no change w.r.t to this patch. Same as previous versions. No v2 version as the patch was introduced there. --- Documentation/devicetree/bindings/connector/usb-connector.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt index d90e17e2428b..a9a2f2fc44f2 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.txt +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt @@ -14,6 +14,8 @@ Optional properties: - label: symbolic name for the connector, - type: size of the connector, should be specified in case of USB-A, USB-B non-fullsize connectors: "mini", "micro". +- self-powered: Set this property if the usb device that has its own power + source. Optional properties for usb-c-connector: - power-role: should be one of "source", "sink" or "dual"(DRP) if typec -- 2.19.0.605.g01d371f741-goog