From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3499119C553; Wed, 11 Mar 2026 13:00:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773234024; cv=none; b=myxsMSz/ABB1/XSqp3kt5qiN6f2aQn7lM97e7HvE0mYPF55jQViKdayr5Q9gbF4kbz8sP5GqI/kguNb77P1ydUXPeGGKDVpR/d5Z0Lz1XVSGjA44k/dm3pgHmtlc+OaecPKvwh3eX1futZjJWxH/Kuvghne/bCLb0DgMOqsjkwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773234024; c=relaxed/simple; bh=qzYLhXLgRjSjugWhsh8t1thCU79w5nXSfLEvHb6aj40=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FKH09jW7LrUIBw6bHD6JYrXdL9l9guGMOoD2/pAPbz/sKkS6K8VlsK7r+fYtBavS2u9dMRlJtgFurmtVnzvjQrkcoDFaHUI2YtC3YOjTmigwvULifqtzpoHgWbJQgGJqnaKPBraDP413qAU54V+oguLds4Zm7JlXMfh6aJIgE0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nzZZuffu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nzZZuffu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 437B8C4CEF7; Wed, 11 Mar 2026 13:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773234023; bh=qzYLhXLgRjSjugWhsh8t1thCU79w5nXSfLEvHb6aj40=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nzZZuffukP8dY5Jo9slB7oc8Txyoz/97VNolTPeuFG82MkSOcXSCMYwPrF95KKyLt iDEmpaLQ7rhWVkwNbv384NbFn/b3sT5vPUDjU4xFlBgGf7VNFiQ06ASndK39sH33pU ZPRgIpUPfyJuX3cyAxhJX3c88XxlaMrp9CV+gONKaldqEed0fU1l15H9dIhoka5sTD cr1eZQ3eSFWmuPVFmpzQv/fZzq/BuCdSpw11ADaaPs6UdLJblDJjvfL2XMT5M9AIpf oyoD9V0wPh2PhidmfQi/IzrKqu58gHsJKTdzaK4xg1T5PNBGwxc7LchR+DpyL8X9PF 63V9bmq+rOD8w== Date: Wed, 11 Mar 2026 14:00:21 +0100 From: Krzysztof Kozlowski To: Xu Yang Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Li Jun , Badhri Jagan Sridharan , Heikki Krogerus , linux-usb@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: usb: nxp,ptn5110: add optional orientation-gpio property Message-ID: <20260311-spry-honored-sheep-de9d7a@quoll> References: <20260310-support-setting-orientation-use-gpio-v1-0-da31dc6cd641@nxp.com> <20260310-support-setting-orientation-use-gpio-v1-1-da31dc6cd641@nxp.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260310-support-setting-orientation-use-gpio-v1-1-da31dc6cd641@nxp.com> On Tue, Mar 10, 2026 at 04:13:56PM +0800, Xu Yang wrote: > The Type-C chip know the cable orientation and then normally will set the > switch channel to correctly configure the data path. Some chips itself > support to output the control signal by indicating the capability in > bit[0] of STANDARD_OUTPUT_CAPABILITIES register and do it in > CONFIG_STANDARD_OUTPUT register. For other chips which don't present this > capability currently there are no way to achieve the orientation setting. > Add an optional "orientation-gpio" property to achieve the same purpose. > > Signed-off-by: Xu Yang > --- > Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml > index 65a8632b4d9e..866b5d033f4e 100644 > --- a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml > +++ b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml > @@ -26,6 +26,11 @@ properties: > $ref: /schemas/connector/usb-connector.yaml# > unevaluatedProperties: false > > + orientation-gpio: Ah, and you cannot have "gpio" property. It's also typeless and constrain-less, so looks like you create some random code here. :/ >From where did you take such syntax? Best regards, Krzysztof