Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-10-02 Thread Pin-yen Lin
Hi all, Are there any thoughts or comments about this proposal? On Sat, Sep 17, 2022 at 2:22 AM Prashant Malani wrote: > > Hi folks, > > On Fri, Sep 2, 2022 at 12:41 AM Prashant Malani wrote: > > > > Hi Rob, > > > > On Jul 12 11:45, Rob Herring wrote: > > > > > > That's not the right interpreta

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-09-16 Thread Prashant Malani
Hi folks, On Fri, Sep 2, 2022 at 12:41 AM Prashant Malani wrote: > > Hi Rob, > > On Jul 12 11:45, Rob Herring wrote: > > > > That's not the right interpretation. There should not be some Type-C > > specific child mux/switch node because the device has no such h/w within > > it. Assuming all the p

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-09-02 Thread Prashant Malani
Hi Rob, On Jul 12 11:45, Rob Herring wrote: > > That's not the right interpretation. There should not be some Type-C > specific child mux/switch node because the device has no such h/w within > it. Assuming all the possibilities Stephen outlined are valid, it's > clear this lane selection has

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-07-13 Thread Prashant Malani
On Tue, Jul 12, 2022 at 10:45 AM Rob Herring wrote: > > > I agree with you; I'm saying my interpretation of the comments of this > > thread are that it's not the intended usage of the it6505 part, so the > > driver > > shouldn't be updated to support that. > > That's not the right interpretation.

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-07-12 Thread Rob Herring
On Thu, Jun 30, 2022 at 10:10:32AM -0700, Prashant Malani wrote: > (CC+ Bjorn) > > On Wed, Jun 29, 2022 at 4:55 PM Stephen Boyd wrote: > > > > Quoting Prashant Malani (2022-06-29 15:55:10) > > > On Wed, Jun 29, 2022 at 2:58 PM Stephen Boyd wrote: > > > > > > > > My understanding is there are 4 D

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-30 Thread Prashant Malani
(CC+ Bjorn) On Wed, Jun 29, 2022 at 4:55 PM Stephen Boyd wrote: > > Quoting Prashant Malani (2022-06-29 15:55:10) > > On Wed, Jun 29, 2022 at 2:58 PM Stephen Boyd wrote: > > > > > > My understanding is there are 4 DP lanes on it6505 and two lanes are > > > connected to one usb-c-connector and th

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-29 15:55:10) > On Wed, Jun 29, 2022 at 2:58 PM Stephen Boyd wrote: > > > > My understanding is there are 4 DP lanes on it6505 and two lanes are > > connected to one usb-c-connector and the other two lanes are connected > > to a different usb-c-connector. The IT6505

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Prashant Malani
On Wed, Jun 29, 2022 at 2:58 PM Stephen Boyd wrote: > > > What device controls the switching in this case? Again, block diagrams > > please if you want advice on what the binding should look like. > > My understanding is there are 4 DP lanes on it6505 and two lanes are > connected to one usb-c-con

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Stephen Boyd
Quoting Rob Herring (2022-06-29 10:58:52) > On Wed, Jun 29, 2022 at 9:01 AM Pin-yen Lin wrote: > > > > > > Yes it6505 is just a protocol converter. But in our use case, the output > > > DP > > > lines are connected to the Type-C ports and the chip has to know which > > > port has DP Alt mode enab

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Rob Herring
On Wed, Jun 29, 2022 at 9:01 AM Pin-yen Lin wrote: > > On Wed, Jun 29, 2022 at 10:33 PM Pin-yen Lin wrote: > > > > On Wed, Jun 29, 2022 at 2:23 AM Rob Herring wrote: > > > > > > On Mon, Jun 27, 2022 at 02:43:39PM -0700, Prashant Malani wrote: > > > > Hello Rob, > > > > > > > > On Mon, Jun 27, 20

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Pin-yen Lin
On Wed, Jun 29, 2022 at 10:33 PM Pin-yen Lin wrote: > > On Wed, Jun 29, 2022 at 2:23 AM Rob Herring wrote: > > > > On Mon, Jun 27, 2022 at 02:43:39PM -0700, Prashant Malani wrote: > > > Hello Rob, > > > > > > On Mon, Jun 27, 2022 at 2:04 PM Rob Herring wrote: > > > > > > > > On Wed, Jun 22, 2022

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-29 Thread Pin-yen Lin
On Wed, Jun 29, 2022 at 2:23 AM Rob Herring wrote: > > On Mon, Jun 27, 2022 at 02:43:39PM -0700, Prashant Malani wrote: > > Hello Rob, > > > > On Mon, Jun 27, 2022 at 2:04 PM Rob Herring wrote: > > > > > > On Wed, Jun 22, 2022 at 05:34:30PM +, Prashant Malani wrote: > > > > Introduce a bindin

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-28 Thread Rob Herring
On Mon, Jun 27, 2022 at 02:43:39PM -0700, Prashant Malani wrote: > Hello Rob, > > On Mon, Jun 27, 2022 at 2:04 PM Rob Herring wrote: > > > > On Wed, Jun 22, 2022 at 05:34:30PM +, Prashant Malani wrote: > > > Introduce a binding which represents a component that can control the > > > routing o

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-27 Thread Prashant Malani
Hello Rob, On Mon, Jun 27, 2022 at 2:04 PM Rob Herring wrote: > > On Wed, Jun 22, 2022 at 05:34:30PM +, Prashant Malani wrote: > > Introduce a binding which represents a component that can control the > > routing of USB Type-C data lines as well as address data line > > orientation (based on

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-27 Thread Rob Herring
On Wed, Jun 22, 2022 at 05:34:30PM +, Prashant Malani wrote: > Introduce a binding which represents a component that can control the > routing of USB Type-C data lines as well as address data line > orientation (based on CC lines' orientation). > > Reviewed-by: Krzysztof Kozlowski > Reviewed-

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-25 Thread Krzysztof Kozlowski
On 24/06/2022 23:41, Prashant Malani wrote: > On Fri, Jun 24, 2022 at 12:50 PM Stephen Boyd wrote: >> >> Quoting Prashant Malani (2022-06-23 19:48:04) >>> On Thu, Jun 23, 2022 at 7:13 PM Stephen Boyd wrote: Quoting Prashant Malani (2022-06-23 17:35:38) > On Thu, Jun 23, 2022 at 4:14

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-24 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-24 14:41:36) > On Fri, Jun 24, 2022 at 12:50 PM Stephen Boyd wrote: > > > > Quoting Prashant Malani (2022-06-23 19:48:04) > > > On Thu, Jun 23, 2022 at 7:13 PM Stephen Boyd wrote: > > > > > > > > Quoting Prashant Malani (2022-06-23 17:35:38) > > > > > On Thu, Jun

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-24 Thread Prashant Malani
On Fri, Jun 24, 2022 at 12:50 PM Stephen Boyd wrote: > > Quoting Prashant Malani (2022-06-23 19:48:04) > > On Thu, Jun 23, 2022 at 7:13 PM Stephen Boyd wrote: > > > > > > Quoting Prashant Malani (2022-06-23 17:35:38) > > > > On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd > > > > wrote: > > > > >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-24 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-23 19:48:04) > On Thu, Jun 23, 2022 at 7:13 PM Stephen Boyd wrote: > > > > Quoting Prashant Malani (2022-06-23 17:35:38) > > > On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd wrote: > > > > > > > > I'm not aware of any documentation for the dos and don'ts here. Are >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Prashant Malani
On Thu, Jun 23, 2022 at 7:13 PM Stephen Boyd wrote: > > Quoting Prashant Malani (2022-06-23 17:35:38) > > On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd wrote: > > > > > > I'm not aware of any documentation for the dos and don'ts here. Are > > > there any examples in the bindings directory that spl

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-23 17:35:38) > On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd wrote: > > > > I'm not aware of any documentation for the dos and don'ts here. Are > > there any examples in the bindings directory that split up a device into > > subnodes that isn't in bindings/mfd? > >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Prashant Malani
On Thu, Jun 23, 2022 at 5:35 PM Prashant Malani wrote: > > On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd wrote: > > > > Quoting Prashant Malani (2022-06-23 12:08:21) > > > On Thu, Jun 23, 2022 at 11:30 AM Stephen Boyd wrote: > > > > > > > > Quoting Prashant Malani (2022-06-22 10:34:30) > > > > >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Prashant Malani
On Thu, Jun 23, 2022 at 4:14 PM Stephen Boyd wrote: > > Quoting Prashant Malani (2022-06-23 12:08:21) > > On Thu, Jun 23, 2022 at 11:30 AM Stephen Boyd wrote: > > > > > > Quoting Prashant Malani (2022-06-22 10:34:30) > > > > diff --git a/Documentation/devicetree/bindings/usb/typec-switch.yaml >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-23 12:08:21) > On Thu, Jun 23, 2022 at 11:30 AM Stephen Boyd wrote: > > > > Quoting Prashant Malani (2022-06-22 10:34:30) > > > diff --git a/Documentation/devicetree/bindings/usb/typec-switch.yaml > > > b/Documentation/devicetree/bindings/usb/typec-switch.yaml > >

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Prashant Malani
On Thu, Jun 23, 2022 at 11:30 AM Stephen Boyd wrote: > > Quoting Prashant Malani (2022-06-22 10:34:30) > > diff --git a/Documentation/devicetree/bindings/usb/typec-switch.yaml > > b/Documentation/devicetree/bindings/usb/typec-switch.yaml > > new file mode 100644 > > index ..78b0190c85

Re: [PATCH v5 1/9] dt-bindings: usb: Add Type-C switch binding

2022-06-23 Thread Stephen Boyd
Quoting Prashant Malani (2022-06-22 10:34:30) > diff --git a/Documentation/devicetree/bindings/usb/typec-switch.yaml > b/Documentation/devicetree/bindings/usb/typec-switch.yaml > new file mode 100644 > index ..78b0190c8543 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/t