Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp44512ybj; Wed, 6 May 2020 11:10:30 -0700 (PDT) X-Google-Smtp-Source: APiQypLc9HvKMQUcF3cRKJNMC9VnC+IQWtMZskPUTPNvBeVKb5DZr69R1/XX55S55mUKAQjZACR4 X-Received: by 2002:a17:906:534b:: with SMTP id j11mr8357021ejo.142.1588788629901; Wed, 06 May 2020 11:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588788629; cv=none; d=google.com; s=arc-20160816; b=zqi7OWRqf/yemAROWOcGcEr60GHK3G6aaH+20Uo29cfPFuBXDggFmtS4NEZl8pNdUg Dr9O3fwgDg3l65OYlnTnF41ZAR6OdX2YZHafWVODkFXXBU2zFBWdHeY4bvfIdalLgCM4 V0F7511wSF9s9qj7I0tx2S/XeeVKIm9W5k4VjwcjAtQvU/drAjLRuVFFynRr67IXaLYy i/0U0R91NqpvFDV1p7DJ179WJr8wwPRsNCu1TI35pOqgZRJ9nDmwPBHvg/CROpgCTro9 GcsqAqgW/WlxNkDuoihp28umos7mA06ip46frEEKhwdoBUPATnZrs5TvhJBxKhYPIm0L uGew== 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=FE2Opx3hl+uW9jxp1ZVpnasVASKfoo+q149+dKG+qhY=; b=E7IkEkTEHpbMxN//GNPff7+PLRzCR6Dztz9CCiT6kiuwwGOATupQeQXSgMH+//kRDR 5lx0omhRMYdIUGyuMtPVfzQewhfA2qDFh5PWnofVYiMJyxYaMbAMZ1ike/Mb34oZNXDc cgSphEISMybKpkKdTYrha0e7KosVfFamCq8K6Ra5Qg4cPSOMspvKr/uNIhFm1ykdhUac KcfCchd2IDaVzppk43UtUH3cpFFUl66ii23as8f2PuVZI00yOPWVDsNblxzlT3HKOIFm ocrISPg3frVJqkIguN5c+U/nWW/JX8uBlCiwFmcE2/AICCUVgHQ4GDBreyRa1XQ80jvH 3VXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hTnD7UKu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si1683521ejh.165.2020.05.06.11.10.05; Wed, 06 May 2020 11:10:29 -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=@google.com header.s=20161025 header.b=hTnD7UKu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728834AbgEFSGl (ORCPT + 99 others); Wed, 6 May 2020 14:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728082AbgEFSGk (ORCPT ); Wed, 6 May 2020 14:06:40 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A92C061A0F for ; Wed, 6 May 2020 11:06:40 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id t11so1470133pgg.2 for ; Wed, 06 May 2020 11:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FE2Opx3hl+uW9jxp1ZVpnasVASKfoo+q149+dKG+qhY=; b=hTnD7UKuMzIgfb5irQV+tZgWTnCYthgLCG21//72Z4Wio0uJW/dBsPCdj3wbKSnlE1 vXYCSuIrPhejTchJur0h3EB072yeY2noMGfG7bevc++IXG64YfO8eCkJGZj1QlSAdzJL 9l4CwFe9uWCtFWouHMu6CYCvLqj4skiIXD3wi8ea4U58AvmWMdSJOIg+jMrE1OTj66Pa Hc4cC+Kj4OP2CC2uWDlNQ/4xVSrMXjd4jbXX8uyvozgmWRL7oJScP+DJtmij6M/ymSaO /F0AsmB07ttNqKmiT39sdTnD2hKA8HSD8k7V/5B1DojDvm/vxAjIC3cHVnFR/Y8hKx2y pMCg== 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=FE2Opx3hl+uW9jxp1ZVpnasVASKfoo+q149+dKG+qhY=; b=c5qQ6szH+FvWWOBr6M/99ElTqYzajHdvAMp/uNG6UcynXOGMRBpzkl5RDC7ZPsBtPF 0z269kPPFSijKCRPXeFwwbZBrgqrwuwbEqn86687VbXL/alICYmXoCp4r++Q9s2WfVHE XdS07m+oBQCk0GJCqvFdCLh2kFN4KjVj0jhbRZmsugqJOKb/9fVgpNBaJTVHAYxRXaaW DfthA5YiVCIELZ8bDKbyftJchSo4XK7AIXjlW0wXo0GIFfsgKeK7fUoETFgxoiWmzmNb ToC1bq2SMNcfPz9r6UOO3iI7xo1McLJZAXNI5SEB81Ffo/UToJIF3tb2nUzBnDHgZe5+ DDxQ== X-Gm-Message-State: AGi0Pub8MxdXNmAGoT2dZx6Ge8fskcOW+ID0l2YmwNvq5Fkc4dYedPB6 BjBN57gtFp7lmA7eAuSm2MHieg== X-Received: by 2002:a62:8741:: with SMTP id i62mr9894246pfe.7.1588788399619; Wed, 06 May 2020 11:06:39 -0700 (PDT) Received: from google.com ([2620:15c:202:201:bc61:d85d:eb16:9036]) by smtp.gmail.com with ESMTPSA id w12sm2432267pfq.133.2020.05.06.11.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 11:06:38 -0700 (PDT) Date: Wed, 6 May 2020 11:06:32 -0700 From: Benson Leung To: Prashant Malani Cc: linux-kernel@vger.kernel.org, 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: <20200506180632.GA112329@google.com> References: <20200422222242.241699-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" 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 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi 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. >=20 > Signed-off-by: Prashant Malani Acked-By: Benson Leung Thanks, Benson > --- > .../bindings/chrome/google,cros-ec-typec.yaml | 27 ++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-type= c.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 > =20 > 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 Multi= plexer > + controlling the data lines routing for this connector. > + > + orientation-switch: > + description: Reference to a DT node for the USB Type C orien= tation > + switch for this connector. > + > + usb-role-switch: > + description: Reference to a DT node for the USB Data role sw= itch > + for this connector. > =20 > required: > - compatible > @@ -49,6 +63,17 @@ examples: > data-role =3D "dual"; > try-power-role =3D "source"; > }; > + > + connector@1 { > + compatible =3D "usb-c-connector"; > + reg =3D <1>; > + power-role =3D "dual"; > + data-role =3D "host"; > + try-power-role =3D "source"; > + mode-switch =3D <&typec_mux>; > + orientation-switch =3D <&typec_orientation_switch>; > + usb-role-switch =3D <&typec_mux>; > + }; > }; > }; > }; > --=20 > 2.26.1.301.g55bc3eb7cb9-goog >=20 --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCXrL8qAAKCRBzbaomhzOw wjVLAQDAT6R1kgL+06r1tSeEIB9nl4MxBCCxuzFDH+IkrY00OQEA3cKAH7Ac/jOR UAz3ne6IqKpqgoS8M5v5+AaZ2pBXJgQ= =aGiA -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--