From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CBE3C71136 for ; Fri, 18 Aug 2023 10:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359056AbjHRKdn (ORCPT ); Fri, 18 Aug 2023 06:33:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350918AbjHRKcn (ORCPT ); Fri, 18 Aug 2023 06:32:43 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB6644ED8 for ; Fri, 18 Aug 2023 03:31:12 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fe48d0ab0fso1025355e87.1 for ; Fri, 18 Aug 2023 03:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692354657; x=1692959457; 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=4LtmyRH3uquQa35qZEBrjYfCQfjxVyQMuxjwadVuCUE=; b=qq8HjUXVe1+6MOle1ON6Z8zxId8JviF3JUrcPfSleTCrvzSKdvjDMkBU6TIlonV19S BwQVl9Umc9Q6ci6cV+sLDKyj8qe5p2YcFyHxCxgnld7ac9NdQHCDvU5TQ/oPdpggzL0U NdDFes6sCMmTowWrGl+LzeZuuCq+sNOF/uO3XEuyXbBbZJuzaJK7Do4KF5tuSrK69fnK C/Vgm95LlW89hmRWdKEkmQm/IHDaUbZHJiFU0Ia4SoFq4SuFheTGOnN9CJpkqeIg4cLR /ddfNHU57zNFhzMtIRAo1ZzYC33PxrDJfilk472vCGfM84hrUqX8GopXk9lsxvAtFukw 11Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692354657; x=1692959457; 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=4LtmyRH3uquQa35qZEBrjYfCQfjxVyQMuxjwadVuCUE=; b=We+F4QGkCtxFv/JcrmJM8R4Qbv48FUwZcwOMQYi+ccbBkFziYM9b3veYqXE0JFUwEO RHVhvYOnV26/lizbvwdMUdGI+2KyZWwk1XdQNJAO14QSEJXCJMgCFIu+MF0v42qbc3hC +zm1VLKHnaiWxlXhixjyV8MvsonyT6IWSEkVC2EQOHozgqadDN4ZNWwvVWaz3TdLFgH1 hv2Q+vd6D0NDFrKljqlEqAvuyfWLEeKH4Gxky1y2kcDXDfDpQzI9Hp8xwAJ5lp0x9pKq vxk9T9rAFZinJJSuXfUV/M4ugZWPmxheV0qUMqcVQOrE5mYXjuyER0LKIyop4XjzfX4G 8y+w== X-Gm-Message-State: AOJu0YwehPqOj4qcC1+5ED1tkMG+5VTo3hYC3JfUgXtk6/3HAxnjJbdS AoCXNayuIwGP6z76u3o+GwUYSA== X-Google-Smtp-Source: AGHT+IHzaCo2eTE/te1HsoVUFdeT0UZnxqjK11M2NmGV8gd/927nvst3bj0UfF8wjINrubj+z1+1WQ== X-Received: by 2002:a19:ca1d:0:b0:4f8:586a:8af6 with SMTP id a29-20020a19ca1d000000b004f8586a8af6mr1224933lfg.4.1692354657346; Fri, 18 Aug 2023 03:30:57 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id 16-20020ac24830000000b004ff1b5c8df3sm275637lft.211.2023.08.18.03.30.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Aug 2023 03:30:56 -0700 (PDT) Message-ID: <6097eb1d-6b00-4a0f-a91f-5b19f2b422eb@linaro.org> Date: Fri, 18 Aug 2023 13:30:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] drm/uapi: document the USB subconnector type Content-Language: en-GB To: Simon Ser Cc: Laurent Pinchart , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Andrzej Hajda , Janne Grunau , Robert Foss , Rodrigo Siqueira , Jernej Skrabec , Andy Gross , Thomas Zimmermann , Jonas Karlman , Leo Li , intel-gfx@lists.freedesktop.org, Tvrtko Ursulin , Maxime Ripard , Rodrigo Vivi , Neil Armstrong , Bjorn Andersson , "Pan, Xinhui" , linux-kernel@vger.kernel.org, Konrad Dybcio , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= References: <20230729004913.215872-1-dmitry.baryshkov@linaro.org> <20230802191351.GA1407@pendragon.ideasonboard.com> <20230803204459.GD27752@pendragon.ideasonboard.com> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/08/2023 09:24, Simon Ser wrote: > On Thursday, August 17th, 2023 at 21:33, Dmitry Baryshkov wrote: > >> We have been looking for a way to document that the corresponding DP >> port is represented by the USB connector on the device. >> >> Consequently, I believe the best way to document it, would be to use >> DisplayPort / USB, when there is no dongle connected, switching to >> DisplayPort / HDMI, DisplayPort / VGA, DisplayPort / DisplayPort, etc. >> when the actual dongle / display is connected and then switching back to >> the DisplayPort / USB when it gets disconnected. >> >> If this sounds good to all parties, I'll post v2, adding this >> explanation to the cover letter. > > But how can user-space discover that the port is USB-C when it's > connected? That information is lost at this point. Yes, unfortunately. > (In addition, this clashes with the existing semantics of the > subconnector prop as discussed before: USB-C is not sub-, it's super-.) Ok. How do we proceed then? Is it fine to add another property for DP case? Do you have any particular property name in mind? I will follow with addition of this property then. -- With best wishes Dmitry