Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2534777rdg; Mon, 16 Oct 2023 07:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnMmDI5KRUUc8nqQVfQp3DKPRvnYHPHU2vidF2Xp6SgJ+ppLQFqWMp6Ba2qc8OuQTf2T0H X-Received: by 2002:a05:6870:5307:b0:1e9:9376:2b36 with SMTP id j7-20020a056870530700b001e993762b36mr15394245oan.36.1697466197054; Mon, 16 Oct 2023 07:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697466197; cv=none; d=google.com; s=arc-20160816; b=nDsr1sk/cfOZ09v0N7naY3tqdzeD+eFFSzmxnaZr4glEJAE7buNyevdXEMUdYeNHKZ UZMJVscKudoFGywAQzbKoHt7lMXjS3qKAalV99V9t3bJuC177tidF9jYGjN5YwPlTFjR H15tne/P73N8VmmdNivbo8QBfnSGwbcPHXRmYAccOTwbYMUvjJr4MyB8NlhHNseqVKqR +j7TBTY/aOX1reI27lGWw4Ba9uCQjekE088E5YVWNh7ke81UAhSSYG2VnuLX4ovIunBh n+A57EwptncNZDiB+o6MwblRlKy+rLwDWDM7aX2S+1h4+jlPpPJ1WGeK803KcLDA3zNO Ryow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=q24oMIepkEQYDflYYzSU9nnBh24OKjrQkkccReE3wAU=; fh=l7DZTOiDTHEkFx+4rioQPx76siSMpbbdCdi3PZo+Ffw=; b=i0QR6TxMzWNbndQWOL2bfqU4MyekENhsR2CMSBWdk4GdU31oDoQKWWVX2V2hD4bmz+ o7cDcst4xV2VoI7Lu54c+Uuwa+exsFQ10c29a6QI1bdSrbpMbFtW2sQ9UxFb+VGGvH9E lDPfzwWJKuqOXFWkg05RlIUpOyGHzAHT0UF04i728hlSh0n4lYswgJolhGeYMz6NXfgZ klN5jtNDH83rs/KDTlqDnpvkAhIVP6uO8w0RNU6kLimK17VITF4RhI2cBBwYkZaIb5ew qEZJdwDBznGKmpz5pVqkS3HiCvwFWScOKXkuGpeLyZEiInWv4N2cU5wAX2xc0/5XF1ic lKdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id f18-20020a633812000000b005ac08e723f0si7540447pga.10.2023.10.16.07.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 07:23:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 4632380ACFD3; Mon, 16 Oct 2023 07:23:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233736AbjJPOXC (ORCPT + 99 others); Mon, 16 Oct 2023 10:23:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233445AbjJPOXA (ORCPT ); Mon, 16 Oct 2023 10:23:00 -0400 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 930209B; Mon, 16 Oct 2023 07:22:58 -0700 (PDT) Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-6c63117a659so2758371a34.0; Mon, 16 Oct 2023 07:22:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697466178; x=1698070978; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q24oMIepkEQYDflYYzSU9nnBh24OKjrQkkccReE3wAU=; b=DXjajUMHoZWwF0C+qWF5oA/N8elWgHF37Ct4haK7L/qfFWFMdZE90XPFHcGEWJadjb Zk18oFv8XGeEQ6Kp/ObTxSBIOCPbZqYLX+MI0RJYVqRv2/cQXKTRjl7G/X1q2DFc1Xk1 nU1lWNqm4XwecOJmnLLrpExHxULHLtFOE15BbPoZxOSv09pBUDORxH9bDkhyix1Uh1BQ QA3AA3uwefEbF8UMUXls914FGOZXf5GMRIV+7cZI2g+R4UkJEf1NyGjGZtS/cAug8pVb PvUxI039a/4hDCa6Pr2B61rNh1DJ7xuHWtjO490i8psg0sk1yd7fwSkgIBBsqsQSEc4S aGEg== X-Gm-Message-State: AOJu0YwCpigipwrHPPrxNeUwyaNGQFom53yaJT0wsZgp/ye/QbXBGOk0 yyVeZ9jyuPMLTb9XhqPOgNCIHR9XJA== X-Received: by 2002:a05:6830:3:b0:6b8:7d12:423d with SMTP id c3-20020a056830000300b006b87d12423dmr32663851otp.18.1697466177828; Mon, 16 Oct 2023 07:22:57 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id a8-20020a9d74c8000000b006b753685cc5sm1704647otl.79.2023.10.16.07.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 07:22:57 -0700 (PDT) Received: (nullmailer pid 2766873 invoked by uid 1000); Mon, 16 Oct 2023 14:22:56 -0000 Date: Mon, 16 Oct 2023 09:22:56 -0500 From: Rob Herring To: Luca Weiss Cc: Heikki Krogerus , Greg Kroah-Hartman , Neil Armstrong , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: usb: fsa4480: Add data-lanes property to endpoint Message-ID: <20231016142256.GA2754674-robh@kernel.org> References: <20231013-fsa4480-swap-v1-0-b877f62046cc@fairphone.com> <20231013-fsa4480-swap-v1-1-b877f62046cc@fairphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231013-fsa4480-swap-v1-1-b877f62046cc@fairphone.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 07:23:09 -0700 (PDT) On Fri, Oct 13, 2023 at 01:38:05PM +0200, Luca Weiss wrote: > Allow specifying data-lanes to reverse the SBU muxing orientation where > necessary by the hardware design. What situation in the hardware design makes this necessary. Please describe the problem. > > Signed-off-by: Luca Weiss > --- > .../devicetree/bindings/usb/fcs,fsa4480.yaml | 29 +++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml b/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml > index f6e7a5c1ff0b..86f6d633c2fb 100644 > --- a/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml > +++ b/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml > @@ -32,10 +32,37 @@ properties: > type: boolean > > port: > - $ref: /schemas/graph.yaml#/properties/port > + $ref: /schemas/graph.yaml#/$defs/port-base > description: > A port node to link the FSA4480 to a TypeC controller for the purpose of > handling altmode muxing and orientation switching. > + unevaluatedProperties: false > + > + properties: > + endpoint: > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > + unevaluatedProperties: false > + > + properties: > + data-lanes: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + Specifies how the AUX+/- lines are connected to SBU1/2. Doesn't this depend on the connector orientation? Or it is both that and the lines can be swapped on the PCB? Seems like an abuse of data-lanes which already has a definition which is not about swapping + and - differential lanes. Rob