Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1727561ybt; Thu, 18 Jun 2020 16:02:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYgST2rZw+U1Laj5mgUoQBex1EQXhqcwr4SyvM9q6bCNuo4LNM5AYRwS6SVzwwBzQDit9M X-Received: by 2002:a17:906:4b50:: with SMTP id j16mr976299ejv.415.1592521360243; Thu, 18 Jun 2020 16:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592521360; cv=none; d=google.com; s=arc-20160816; b=z1Sb2M3LCfrIwT5LhS72zx4sYMZo3X/JSRWJn6zLx5EuJMYLAH+XXoJXiS6OZrMMsb Pf7/Dy0ZU7xKbxTNd9MRkQO7Nh8ZbLpEdNiWNqFhHh43tLEnbt6WSIbhND67dLpgv0lR FFwXDF7j377Vu3vjYqFS1F5Gr/j67ONqMjtr0uMqLZh9B9nz6ZKy3vB5esXoYuxsfS0Y j7KLc6S9nrS4uJUVu+1zgD8ClYtMMNd9leWnQPFhfugcKDG04Q9UJuCzJE75SHtGFniL 9SxeC99yY002py4MltFG6Ym7k6B9lufbgNEHmdGjtXzklk+a1+4VNqAzuDN/FtLdSvZd 46dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=J8iP11s29cv86k9GLxs7BuAYKAfCMlWhLNfwaVQqkGg=; b=yaVxYgHooYQu2fBaAiVMFkpxLSz5FACG0vphQlXy7ql5OkqEZOni+9ODrI2wJfrsjS PgnERNLv6JF8YYTrPL3DdtJU0mW/Y72owF4hLRV3N4rCjv0CUwAWs7oiUVZcMyPnD1k6 OtkPC9Q3jIyGl7SDuJnen2Hr9KtTjVh8CC03OuSrNU8l7cl6506V/MleNLi4mLHDd2w9 mdHxss/tQRf10q4i01PqqT+hLeYvBLrF0iNU493r5z9AqrCEgb15W2OREMJ9N1g9drgR i2MM/6VVqhkvkM8qYFcrwbLefnSDKSpELtozEkBHbKjUGgZTG3BO9mSnjbW1PqjYlvSe 3I9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YoqsdiIM; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y33si3263732edy.206.2020.06.18.16.02.17; Thu, 18 Jun 2020 16:02:40 -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=@kernel.org header.s=default header.b=YoqsdiIM; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732081AbgFRWYB (ORCPT + 99 others); Thu, 18 Jun 2020 18:24:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:52648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbgFRWX7 (ORCPT ); Thu, 18 Jun 2020 18:23:59 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02A9E20732; Thu, 18 Jun 2020 22:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592519039; bh=suc9pm53OLkf5+tDTVTkktvXVOKJj7lJ6p6vf0fAzPU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YoqsdiIMkAkW5I7KL3asxk7dZW8YFot/9qO7uTYjFzZYlNMbb11jjIgzofi+vfWSN QCx0PuMoe8ViFXtMUz04+1oUI/FDzn8h+pd4DmLqh3inuLt+lAscX5c2Uzz64ieJPr iELIJNlCKYeczmr4JEPtg6Hoq04HkahOuC/b010Q= Received: by mail-oi1-f181.google.com with SMTP id 25so6580396oiy.13; Thu, 18 Jun 2020 15:23:58 -0700 (PDT) X-Gm-Message-State: AOAM531skErlZ5b0asHZpQCIcxg4oztRK8kWvoMIkcLu2Px+DrS7OeZD 236rAXW37F9Q09CGsM4gTTc6+GjLszNJ5E0RTA== X-Received: by 2002:aca:d454:: with SMTP id l81mr939987oig.152.1592519038311; Thu, 18 Jun 2020 15:23:58 -0700 (PDT) MIME-Version: 1.0 References: <20200617180209.5636-1-wcheng@codeaurora.org> <20200617180209.5636-3-wcheng@codeaurora.org> In-Reply-To: From: Rob Herring Date: Thu, 18 Jun 2020 16:23:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/6] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding To: Wesley Cheng Cc: Heikki Krogerus , Mark Rutland , Mark Brown , Bjorn Andersson , Greg Kroah-Hartman , Liam Girdwood , Andy Gross , linux-arm-msm , devicetree@vger.kernel.org, Linux USB List , "linux-kernel@vger.kernel.org" , Jack Pham , Randy Dunlap , "Bryan O'Donoghue" , Jun Li 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 On Thu, Jun 18, 2020 at 2:09 PM Wesley Cheng wrote: > > > On 6/18/2020 11:33 AM, Rob Herring wrote: > > On Wed, Jun 17, 2020 at 12:02 PM Wesley Cheng wrote: > > > > You are duplicating everything in usb-connector.yaml. You should have > > a $ref to it. > > > > Hi Rob, > > Sure, I will add a reference to that doc. > > > > > This is wrong. The connector binding says port 0 is the connection the > > USB HS controller. > > > > What's a type C mux node? Is there a binding for that? There's an > > ongoing discussion with the CrOS folks on how to describe Alt mode > > mux/switches. > > I reviewed the connector binding previously, and couldn't seem to come > up with a model which fit a design where the type C controller (ie the > entity which does the CC orientation and role detection) does not have > the SS lane mux included. The SS lane mux is the HW which handles the > selection of the SS lanes to utilize based on cable orientation. The intent was the controller would be the parent node of the connector. How the SS lane mux is represented is what needs to be figured out. I don't know what that looks like, but it needs to be something that works for multiple designs. Ideally, that's an extension of the existing 'usb-c-connector' binding, but if there's good reasons to redesign it that can happen. Rob