Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1380116rdb; Mon, 4 Sep 2023 11:47:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtZHrY4bc/lREziq8/6GCOyN4M/MA1GM762AaTlY51iCbl0g6y0jARwszF3KCOA0Sg0Gkr X-Received: by 2002:a05:6512:114d:b0:500:7e70:ddf7 with SMTP id m13-20020a056512114d00b005007e70ddf7mr9363104lfg.52.1693853271004; Mon, 04 Sep 2023 11:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693853270; cv=none; d=google.com; s=arc-20160816; b=fhpZdNjDyBfoAMm92svzlCxfThjgnQ4KsZoO0wQXkK6YS1TYJROSUUuwdFR79sQkeu /RMw9Xq5vROvxZfAkp150a263ZesVKQPjul8EIXYdjnjfw+9dtfQjhbGDMrdPPoytKYh Z2oBDHrUPRJQhCasbXMCr1ZlJBXBhFCOcPne4qrn6j7G4NsMfesQc8M5MzQfqDP4WCmr IYxTHBW5T1mY5P6OYCL3UxjCvRcoiKzb+124W3q0LweY/qYcTI2SAiJuylO9Mkn8CHkl 5cxxEEemS7GQUIFbMFyrtUlrog+bscXX2487UpqpP5qi8s7snBNHQZQeFSegwrcnXLPe 49LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=biK94lBbgt1pnt3KPbgjV2mjHY/WPTUANiaYAFj3hnE=; fh=TcVHToPCZ9+JT6xgPbW0xB/HLEUeSqBcbchxlt4KYfQ=; b=da/fmnlgXW4XxhCQuX5Z0HTGL/PRYfFpOs4VajBfhXhAgmSPms1OiLkxRdmrS37a4G 5l0X6SDt4FSrRUM+mQQ2As0S63rVelrhftsG+k+hHbxTbbIr6l/1EQodepiLqgZ9b14P J9clIQUYmZ9vVUyiTDS8i42BFN72CFhpZSG6Xaa//oSnWc2gGmpCZqIBS4uJxNtxd7Lp oYDz7DqMjjAEMt+URVRE7kP4jXulkNzwIWX8+kZWTmgfj2G4vjWXWwh63YchmzaZp0W5 CQKZKCMQuvhOgiSzZHs+hYZqmgUKyCQIeMOdVEKJMjWYVmpnaZnuzIdPFfvKarlSNZKm XMhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tk0DR0TJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u24-20020a05640207d800b0052a3cc1bbb0si6478782edy.445.2023.09.04.11.47.20; Mon, 04 Sep 2023 11:47:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tk0DR0TJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347961AbjIDPjx (ORCPT + 99 others); Mon, 4 Sep 2023 11:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbjIDPjw (ORCPT ); Mon, 4 Sep 2023 11:39:52 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C83D11AD; Mon, 4 Sep 2023 08:39:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id EC4D0CE0F02; Mon, 4 Sep 2023 15:39:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72C24C433C7; Mon, 4 Sep 2023 15:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693841985; bh=biK94lBbgt1pnt3KPbgjV2mjHY/WPTUANiaYAFj3hnE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tk0DR0TJA8XaoYlsyz7s3yTLGRb8OPMGbQQ9R4Ab0qT1Mw1mF0bRVm/VULSyVHsnb +ipBAL0t2lfIzxyS6rZCHYVv5vyV1ShhPRqsaaz069pu/jqcxp1Ku6KjUeryHIYEdH hWH+KUp2xRkNf26zT/Ldkt0kkw0TgMYKeZ3q9OIe4GzQTEvr0A1XVWAnMC549adr9o C4VtbhrNg8doUP6AgEcmMh34fGSI/JjWQf2GEqaH0UygW0lt25QhyWrEbhMQw/znjA a8KDp6P6XqLiZcDqzC3Q6pSuLLi8bowdOSwE0pnKzGlAcjy7hrTG7FmHE5yMZiSgQf WaSBEqZnGYKuw== Date: Mon, 4 Sep 2023 08:42:00 -0700 From: Bjorn Andersson To: Dmitry Baryshkov Cc: David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Bryan O'Donoghue , Guenter Roeck , Heikki Krogerus , Janne Grunau , Simon Ser , Andy Gross , Konrad Dybcio , Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, freedreno@lists.freedesktop.org Subject: Re: [RFC PATCH v1 06/12] soc: qcom: pmic_glink_altmode: fix DRM connector type Message-ID: References: <20230903214150.2877023-1-dmitry.baryshkov@linaro.org> <20230903214150.2877023-7-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230903214150.2877023-7-dmitry.baryshkov@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 04, 2023 at 12:41:44AM +0300, Dmitry Baryshkov wrote: > During discussions regarding USB-C vs native DisplayPort it was pointed > out that other implementations (i915, AMD) are using > DRM_MODE_CONNECTOR_DisplayPort for both native and USB-C-wrapped DP > output. Follow this example and make the pmic_glink_altmode driver also > report DipslayPort connector rather than the USB one. I started off with this, but on devices with both USB Type-C and (native) DisplayPort, it seemed much more reasonable to make the distinction; and thereby get the outputs named "USB-n". Similarly, it looks quite reasonable that the output on my laptop are eDP-1, USB-1 and USB-2. But, if this is not the way its intended to be used, feel free to pick this together with the other patches. Acked-by: Bjorn Andersson Regards, Bjorn