[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae5131e3-b282-437d-9a80-ae8b697eea3c@redhat.com>
Date: Mon, 13 Nov 2023 17:07:44 +0100
From: Hans de Goede <hdegoede@...hat.com>
To: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Mark Gross <markgross@...nel.org>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, platform-driver-x86@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [PATCH 0/3] dt-bindings: connector: usb: provide bindings for
altmodes
Hi Dmitry,
On 11/13/23 15:33, Dmitry Baryshkov wrote:
> In some cases we need a way to specify USB-C AltModes that can be
> supportd on the particular USB-C connector. For example, x86 INT33FE
> driver does this by populating fwnode properties internally. For the
> Qualcomm Robotics RB5 platform (and several similar devices which use
> Qualcomm PMIC TCPM) we have to put this information to the DT.
>
> Provide the DT bindings for this kind of information and while we are at
> it, change svid property to be 16-bit unsigned integer instead of a
> simple u32.
Thank you for your patches. I'm fine with this, one remark though:
Since at least the existing arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
is already using this I'm not sure of changing the svid property to
an u16 is really a good idea from devicetree compatibility pov ?
Also the whole 16 bit property notation in the dts files seems
less readable to me. So to me this seems more of something
which one would use when having a significantly sized array
of u16-s since then it will result in space-saving in the dtb.
In this case I personally think it is fine to leave this
as an u32.
With all that said, I'm fine either way.
Here is my ack for routing the drivers/platform/x86/intel/chtwc_int33fe.c
bits through whatever tree is best to get this upstream:
Acked-by: Hans de Goede <hdegoede@...hat.com>
Regards,
Hans
> Dmitry Baryshkov (3):
> dt-bindings: connector: usb: add altmodes description
> usb: typec: change altmode SVID to u16 entry
> arm64: dts: qcom: qrb5165-rb5: use u16 for DP altmode svid
>
> .../bindings/connector/usb-connector.yaml | 35 +++++++++++++++++++
> arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 2 +-
> drivers/platform/x86/intel/chtwc_int33fe.c | 2 +-
> drivers/usb/typec/class.c | 5 +--
> 4 files changed, 40 insertions(+), 4 deletions(-)
>
Powered by blists - more mailing lists