Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2065742ybk; Mon, 11 May 2020 11:05:24 -0700 (PDT) X-Google-Smtp-Source: APiQypJSpqmIFKW0ct6Ba0xPN8nbrmyR+xGJbx30pFkK8IxqKsUsrn4PLVPSCfKweIxq7HU3tMDa X-Received: by 2002:a17:906:6b1b:: with SMTP id q27mr14030703ejr.158.1589220324747; Mon, 11 May 2020 11:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589220324; cv=none; d=google.com; s=arc-20160816; b=Syn0yx4JIcdVyFezcxcrKHvj+oOXB39kaW/Xz1/8FyToW77Tj140doB7szypmdyOFw 90HQHV26YuJstOQgKqVRST+iRSvk0risFeY7tB6gGWw8jtg2xnaC6jpKBPngpVX+uIlN /f4QYqUiiI/UImmGL+Y+/f0Ngrd6LippbwLt75Y9WZm2r0qyj/367DKd34PCkcpxQeYp dGcUMSPqKn/QOpsUb98HDE+6qxN+X/fL8uzW9biHzTZsVPkWy9SbD4dV9va23T9tbtBN zaPhoklqlnaQxFvzyBKY5nFUcC8y52EPMpawPcfLV5qeU/wTlqtrisKoaXQinX9S2L3k w1sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/jPx7d5YFfc5M+Mr+WNJnLgo3PuhOfEnoDi6uZrGsrM=; b=Ja8F5g1cE9U4uGJCH7uPbpkXb1BtPI7CtAI7VupvKM4QmRPAtrcnuIJjSk3oy59FcT D1702XISEsrsmcZi/m5ldckORhW5UJ1ZSCZDB0PYMOCuMtIGSCRHrmK2OOov0YojJhFX j+QBS6YUFAOUx2WxDxY9M7Kpymshl36C8mPqL+Y8Qau6I94jyNV2jaNOt5jVn3S2Zfod VxtWTrsobhxyf3nroAa02Lz4/O+gL+JXM2F53ncSmxgHbl6OaB4B4xbya3iKLa0X13fY 1cUjSrJL5Z4IV2ePTY59EDrkficVJC0CZKxVBZmLMb27UiFENod6sInNAu08I5k05kGZ nYHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OpJuRmcM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id da11si6448318edb.431.2020.05.11.11.05.01; Mon, 11 May 2020 11:05:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OpJuRmcM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731035AbgEKSDS (ORCPT + 99 others); Mon, 11 May 2020 14:03:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726891AbgEKSDR (ORCPT ); Mon, 11 May 2020 14:03:17 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8529C061A0C for ; Mon, 11 May 2020 11:03:16 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id f23so4238144pgj.4 for ; Mon, 11 May 2020 11:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=/jPx7d5YFfc5M+Mr+WNJnLgo3PuhOfEnoDi6uZrGsrM=; b=OpJuRmcMB0DgL3hzu/cuiSn0WW/UQ/LPhbl0q3dFBw0Wuq8LnYg9k/jbgwAFqXT9HK yqgWEVlgJz7R7vvryCgeK4e4Hxz+94F3/S/O3NRbPq1xfNupdGLTEnpan5w7SNZff5Uc dH+ty9Loxy4loUE4WK5QkmQQU9MjOT+e2QTm4= 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=/jPx7d5YFfc5M+Mr+WNJnLgo3PuhOfEnoDi6uZrGsrM=; b=Dl7G5KbjQL5Y+siCZZAuyPm5w5eIeqRDx/hpmYaK2W1ebL7u3Nc8Ot5c8Br/UaUKsr SqQwUgA1ceT+Wo/oEltnRTOCUlqDU/R4j2DUiBo8apZ+qXOfRwU/HGP1MtBc+mIynywm K1VDxq0xbWBcaunx//R+qLGrEOYG8wpIyY4iKyo6HZ3lxZdciU0nD8K7vDdg5qAEphf/ qh3yVpvVrebyYcOrpz8+FPnzuT4ffnEnZQKC31E8MJ/R7niwWYwGgei9pSVF27yd5vw+ nKLtbmLdBVrrGPmBqarQZB6hJFXvbEhUYXsxmJqv1XPZEKy8usU9vXsAZNRewGGOu6OU ENPw== X-Gm-Message-State: AGi0Pub15DN5BEt4mwYrMTKh7wLb/qJs+UrM+W92oyi2f5pezvC2dFaq 0xngt5qUpWp/BBpniS/3noqkpgmt4DQ= X-Received: by 2002:a63:dd51:: with SMTP id g17mr14354179pgj.2.1589220195927; Mon, 11 May 2020 11:03:15 -0700 (PDT) Received: from google.com ([2620:15c:202:201:476b:691:abc3:38db]) by smtp.gmail.com with ESMTPSA id p62sm9685470pfb.93.2020.05.11.11.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 11:03:14 -0700 (PDT) Date: Mon, 11 May 2020 11:03:13 -0700 From: Prashant Malani To: linux-kernel@vger.kernel.org Cc: heikki.krogerus@linux.intel.com, twawrzynczak@chromium.org, Benson Leung , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Enric Balletbo i Serra , Guenter Roeck , Rob Herring Subject: Re: [PATCH 1/2] dt-bindings: chrome: Add cros-ec-typec mux props Message-ID: <20200511180313.GB136540@google.com> References: <20200422222242.241699-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422222242.241699-1-pmalani@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Apologies in case you've already looked at this, but could you kindly review this patch? Thanks, -Prashant On Wed, Apr 22, 2020 at 03:22:39PM -0700, Prashant Malani wrote: > Add properties for mode, orientation and USB data role switches for > Type C connectors. When available, these will allow the Type C connector > class port driver to configure the various switches according to USB PD > information (like orientation, alt mode etc.) provided by the Chrome OS > EC controller. > > Signed-off-by: Prashant Malani > --- > .../bindings/chrome/google,cros-ec-typec.yaml | 27 ++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml > index 6d7396ab8bee..b5814640aa32 100644 > --- a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml > +++ b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml > @@ -21,7 +21,21 @@ properties: > const: google,cros-ec-typec > > connector: > - $ref: /schemas/connector/usb-connector.yaml# > + allOf: > + - $ref: /schemas/connector/usb-connector.yaml# > + - type: object > + properties: > + mode-switch: > + description: Reference to a DT node for the USB Type C Multiplexer > + controlling the data lines routing for this connector. > + > + orientation-switch: > + description: Reference to a DT node for the USB Type C orientation > + switch for this connector. > + > + usb-role-switch: > + description: Reference to a DT node for the USB Data role switch > + for this connector. > > required: > - compatible > @@ -49,6 +63,17 @@ examples: > data-role = "dual"; > try-power-role = "source"; > }; > + > + connector@1 { > + compatible = "usb-c-connector"; > + reg = <1>; > + power-role = "dual"; > + data-role = "host"; > + try-power-role = "source"; > + mode-switch = <&typec_mux>; > + orientation-switch = <&typec_orientation_switch>; > + usb-role-switch = <&typec_mux>; > + }; > }; > }; > }; > -- > 2.26.1.301.g55bc3eb7cb9-goog >