From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 845A71AD; Thu, 16 Nov 2023 10:36:11 -0800 (PST) Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-6d67d32adc2so612144a34.2; Thu, 16 Nov 2023 10:36:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700159771; x=1700764571; 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=l664GmxrgPjuwcC4+iWO5BImv8+Ysd5uofTp+SZ3EtQ=; b=MyqnP+WFd8bC4oq0i7/MLYSHXjQnxhYN2cT5GG1slmtmHvcgDTwfo8WKZ0n26fbGRI kJAfBKlAx1/Qf6KCjQeVXfUvqkD4sOrV1ddvxoNcKbczxAAcaxivEk/Br+okOsQWwYAR oYidDwMev/fRIOR7docR67QNquwwjt3GPhtMGR9RKUw+rgv5YndPlnwsz4RvZNoZvqZ0 JQG7YMGRsow8hpbQOI5FJgo9E+fkoF98SAuRdrcxiwQqwx9lEJ5DMhF532kAmS6oa4xq COfccpBd+O7awkTgWSChmQxHJGnp8Abl69juPSt9pBer+uHuhxh7fhkxc+EuPboznWid JAog== X-Gm-Message-State: AOJu0YwpUhsGoTQ4ffXxIxrLh6yQwq8V9ptQr4eTfOoOKM9zPxPT4xKM sB/QzktWiMjEi3keXV7sfg== X-Google-Smtp-Source: AGHT+IECY03TsLRs0oGlkUq/iwK4eJMeWbz6d/rZUHpXcAxKlWApqjsSErN0XjgUFVsSkueEAMlNaA== X-Received: by 2002:a05:6830:1bdc:b0:6d6:3926:9a2b with SMTP id v28-20020a0568301bdc00b006d639269a2bmr9644653ota.26.1700159770825; Thu, 16 Nov 2023 10:36:10 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q16-20020a05683033d000b006ce2e6eb5bfsm1005504ott.0.2023.11.16.10.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 10:36:10 -0800 (PST) Received: (nullmailer pid 2814974 invoked by uid 1000); Thu, 16 Nov 2023 18:36:09 -0000 Date: Thu, 16 Nov 2023 12:36:09 -0600 From: Rob Herring To: Dmitry Baryshkov Cc: Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Mark Gross , Heikki Krogerus , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v2 0/3] dt-bindings: connector: usb: provide bindings for altmodes Message-ID: <20231116183609.GA2742530-robh@kernel.org> References: <20231113221528.749481-1-dmitry.baryshkov@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231113221528.749481-1-dmitry.baryshkov@linaro.org> On Tue, Nov 14, 2023 at 12:13:26AM +0200, 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. > > NOTE: usage of u16 is not compatible with the recenty extended > qcom/qrb5165-rb5.dts DT file. I'm looking for the guidance from DT and > USB maintainers whether to retain u32 usage or it's better to switch to > u16. Depends if you are fine with the ABI break on this platform... Rob