Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2707805rdb; Wed, 15 Nov 2023 08:21:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGClXKr7/nLSu00ea8O61rfYf1CRjtV5hhPRPIAcRYq4JQEQ6hpZGicn8nf5trT08VrYjaJ X-Received: by 2002:a05:6a00:2351:b0:6bd:b7c5:f777 with SMTP id j17-20020a056a00235100b006bdb7c5f777mr11726491pfj.16.1700065296438; Wed, 15 Nov 2023 08:21:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700065296; cv=none; d=google.com; s=arc-20160816; b=CWlpAuqwwJnrZsyYSIWv7zKLxvwLtgAtGeQiCr4SRw4tDJ6l9AtNhQXnqaNAt4R1sz yRGSe+7oMb65q77BGTDNswPKRljZYi26XopUOHnT9spabXVoyhJ5RzMm/tXHD+tWDEYe gDz3BwMZsE3Au40xhaVlxODksMv8ydfHRSzoqkWcWPgOZYUJTe0/AbWL7f8Ro1MTS6eT 6N+m9BmbYgaSWatah2+dyJX/KAPPjVq08PWzygf0yrBwqZngagouFlOqaDrSn+LenQ7P aeCSt1ISG5A0xO2Y0Kx4UWmDyOZd4pbXfPOrbBr7ekZC6e41mp++gHBDX0uAdyWntV8i qpxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vVv1D9dMzK2tGtDx8E6+Meyyl7KM9X9Cid8vZyXVWLQ=; fh=zH2uDQSId1Dve5AAh/TSFwHBGMCtGQmiTjEy2gkkPSA=; b=GmFuYaEk3Y/ocJEMvAH8IylIlx85Hx05TPEbfojJMlXd322JQ+lfVYlpxaARqaO1Xt AdHrk8bFBvfoUd8qdYTcRD2pOKgl7hpnH3SxA02Lmzg7JmD7Lqj/pwzZSQg7ht9BQR8U QpavQ2B8Kbt+VXb7t9f0bYuHwf4dgcLQnN4l7m2XYOXl0j/T8JjxPcUE11hvkOei0/j1 Ba3JrOR2Rjhl9I2QDpCtS+13c89J4pjyWT7Xi3Ieg/oGKefLCbh62qQjDFB4RLjvtVfh v9zM5vOGBwntlQn3n/sGJ0wvMLjjM7+qgkWaiSHiRH+1ZHp7ntU0/V1fxslUkuu5SbwP WB9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nkWcuGjH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x29-20020a056a00189d00b0068a65b26fc6si10694339pfh.43.2023.11.15.08.21.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 08:21:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nkWcuGjH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 26C488106F5D; Wed, 15 Nov 2023 08:21:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231721AbjKOQV1 (ORCPT + 99 others); Wed, 15 Nov 2023 11:21:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231734AbjKOQVX (ORCPT ); Wed, 15 Nov 2023 11:21:23 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8AFA1BD for ; Wed, 15 Nov 2023 08:21:19 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2c50305c5c4so100212771fa.1 for ; Wed, 15 Nov 2023 08:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700065278; x=1700670078; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vVv1D9dMzK2tGtDx8E6+Meyyl7KM9X9Cid8vZyXVWLQ=; b=nkWcuGjHWJlB5oS6s7QCKl3FJKD8BYVs9YdjKPKINd9d1LnpFfakwqEXoBS7xW5Nt5 Gtcc37cKfSDpibVFQ2NsQLabGSJ2a4xAJ3BY+g5hEQHo505zfTZGvkKfY90pQ0BrqgOg sqAg1UIbM9In5PqbYpkX0DSsgDCzkAYFGUhfBPqAirROTXdLQBZ2m5iFBWKa775OEjpD y72smCeEQIzruatQXYPlhJEvptIWmrYSb0kq0GKwiYZCgqK1BkAIM624D/gHbsmhKmO7 EGbE7NkgOfSu2eKZ5qlTTLcM1xmHkk9S2GnrhOHnD2j/z1KeqPJHXp2j352wQ/Y8INFf tqRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700065278; x=1700670078; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vVv1D9dMzK2tGtDx8E6+Meyyl7KM9X9Cid8vZyXVWLQ=; b=HJRmrf76CB14N1BK2rWKgFtHJSbjMHCgoyGnWYp9Teqh3B4n3JvcRmI6oVFZ//QjSL 9J/upXzk+GUIc1efg9ULZpb5xlRIw64/TndGEzaXd8musENNwLnVsXqE0CFPRLNwycnP b1ybijYHg7mCiizQOlP1nW7QGUfOP1g0C03uaWHFeMpxsSWFm2PMQ5TkRCQeqqihMKF5 LndlcSx1ZRos+IV/30LDTc2i1WSuoEpGLs0cVa8l5RffjGi+Hwrm95TlHgAXS6ReAWPk KnXqE9lydee8ZDkWb4ndWhKzf7mwhFlWTTQ6uD0hJ8GX0hS9afve37XEcFAqICoUWtoZ P2XQ== X-Gm-Message-State: AOJu0YzKEve0aRilx2ilvHy6RB5GUZViHRh+QC7NsV0Wmjf4ToU6sSjq /clV7h4Av00aE9WL4jhu3EomLg== X-Received: by 2002:a2e:7811:0:b0:2c5:1e70:7d30 with SMTP id t17-20020a2e7811000000b002c51e707d30mr4743696ljc.30.1700065277935; Wed, 15 Nov 2023 08:21:17 -0800 (PST) Received: from [172.30.204.150] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id k8-20020a05651c0a0800b002bce77e4ddfsm1699622ljq.97.2023.11.15.08.21.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Nov 2023 08:21:17 -0800 (PST) Message-ID: Date: Wed, 15 Nov 2023 17:21:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] dt-bindings: connector: usb: provide bindings for altmodes Content-Language: en-US To: Dmitry Baryshkov , Hans de Goede Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , 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 References: <20231113145328.42575-1-dmitry.baryshkov@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Wed, 15 Nov 2023 08:21:33 -0800 (PST) On 11/13/23 23:13, Dmitry Baryshkov wrote: > On Mon, 13 Nov 2023 at 18:07, Hans de Goede wrote: >> >> 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 ? > > Usually we try to keep DT compatible, that's true. And I also do not > fully like the u16 notation. However I'm not sure whether using full > u32 for explicitly u16 value is correct. I'll wait for the guidance > from DT binding and USB maintainers. > > I'll mention the qrb5165-rb5 explicitly in the cover letter. I'd say it's fine since it was incorrect from the start (+ bindings shouldn't describe linux's flaws) Konrad