From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AFB8C4363A for ; Thu, 29 Oct 2020 15:41:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CBA420796 for ; Thu, 29 Oct 2020 15:41:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DHlkYXN3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CBA420796 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3l87fbnHdZk+2BdekfoV5yBQL+LS5rWsB9sxKhunfyE=; b=DHlkYXN3+P/iLjzmCxB09ajCE 1fKggCluF79UMkdAAYSpGv6wUHO+AZZOBDz+46mqn2a7XDMhqL2BCU8iQX3WR4DiBV5vf7bWP8biX kqoaH9bbBuiKpMGDhU7Ou/kyNeMZv4rNl3GXP37nI7cfLwci2evJdj/RStxz7ifBw7L8VdfEmAq9g hgDZkT1u1KgRc0vCgGmenpi7AUlXyt+Vxpj3o11FhpqlFoqEauBOybblipb3EyqIeXbdSjBZKeSd8 JNZY6+0Kdx87pGFrNSZMlv4iGosCka5PDpQvWVFoW/C4WnXvWj5m3qE5AWKCvkXNw5531DeptnafT +l0CJ2afg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYA2I-0003iJ-8I; Thu, 29 Oct 2020 15:40:22 +0000 Received: from mail-ot1-f67.google.com ([209.85.210.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYA2F-0003gw-1a for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 15:40:19 +0000 Received: by mail-ot1-f67.google.com with SMTP id o14so2637305otj.6 for ; Thu, 29 Oct 2020 08:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=pFK119oKBHUlA5FZkroLBkkbquLP5uElSERBD9V0akk=; b=JbR/paUth6I7pgfsCpNsXSuOHyvxHXgwDNPVtSs+lHcikpyW0jcvcrudcwKtt8Xi/b fAJLNb4NfvTjqjj1ZIjH/xU8KdaU+7KmFx1SOV38cR9hiF8yBzCmHnCjrfWxe6UCQFXd 962vUbpXT8C8LNDSB244cQ1Hnn4LaMfexQrEtDOBFx01AeP4hOHe5uJ+SFXBNQQokua7 LULJmnjF8LFrRj9aX4uPqZS57yF66H35lLb3J1eO+sSMfYmP+GI8PTI/auqkNoZ0XlGg iscbFTXWfEvR/obvKhBHthhUrYA6Bt5+7eeyAGX3vMFoi9AtSz7eW+yVEUdE3W1Tydtt 6Ffw== X-Gm-Message-State: AOAM532g32R0dLCWPQQZg57y0IQiot+2K1sJpzae/bgZJqyjFz3ZSSwW 2OD/AURCDroyHjxcNmaQiQ== X-Google-Smtp-Source: ABdhPJz/JkJ8C9MRVeRTN9L11T1V3txCS2mQ0fPKSM+XS8DvNISSelFbI4vfJlW1k1+tqtbj0oK9SA== X-Received: by 2002:a05:6830:4033:: with SMTP id i19mr3841436ots.127.1603986017758; Thu, 29 Oct 2020 08:40:17 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 76sm681405oty.15.2020.10.29.08.40.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 08:40:17 -0700 (PDT) Received: (nullmailer pid 1920595 invoked by uid 1000); Thu, 29 Oct 2020 15:40:16 -0000 Date: Thu, 29 Oct 2020 10:40:16 -0500 From: Rob Herring To: Amelie Delaunay Subject: Re: [RESEND PATCH v3 1/4] dt-bindings: connector: add power-opmode optional property to usb-connector Message-ID: <20201029154016.GA1917373@bogus> References: <20201029095806.10648-1-amelie.delaunay@st.com> <20201029095806.10648-2-amelie.delaunay@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201029095806.10648-2-amelie.delaunay@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_114019_114492_1F6CFE10 X-CRM114-Status: GOOD ( 19.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Heikki Krogerus , Alexandre Torgue , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 29, 2020 at 10:58:03AM +0100, Amelie Delaunay wrote: > Power operation mode may depends on hardware design, so, add the optional > property power-opmode for usb-c connector to select the power operation > mode capability. > > Signed-off-by: Amelie Delaunay > --- > .../bindings/connector/usb-connector.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml > index 728f82db073d..200d19c60fd5 100644 > --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml > +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml > @@ -93,6 +93,24 @@ properties: > - device > - dual > > + power-opmode: I've acked this version: https://lore.kernel.org/r/20201020093627.256885-2-badhri@google.com Please ack it if you are okay with it. Rob > + description: Determines the power operation mode that the Type C connector > + will support and will advertise through CC pins when it has no power > + delivery support. > + - "default" corresponds to default USB voltage and current defined by the > + USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and > + 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane > + operation respectively. > + - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB > + Type-C Cable and Connector specification, when Power Delivery is not > + supported. > + allOf: > + - $ref: /schemas/types.yaml#definitions/string > + enum: > + - default > + - 1.5A > + - 3.0A > + > # The following are optional properties for "usb-c-connector" with power > # delivery support. > source-pdos: > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel