Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp582588lqh; Fri, 31 May 2024 09:54:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUV4LJgGdt4xcSUXpBHj+SN0Bws26VtOexUi5ffhJ/SEd6kDa3GokcNsnsiqAaUkiVvwBn76jKbAYQ7KY5pc2lGOKv8LMChBy1PpdCPJg== X-Google-Smtp-Source: AGHT+IHJNctkNO1RKY35w2UCJ6CW4Sjbe4hFhOgatxg6GHgY7Yp+e3tjh626yvjTGydbGZ0xYPVq X-Received: by 2002:a05:6a00:847:b0:6f3:ea4b:d235 with SMTP id d2e1a72fcca58-7024766b100mr3169706b3a.0.1717174465660; Fri, 31 May 2024 09:54:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717174465; cv=pass; d=google.com; s=arc-20160816; b=BkxGwTcpAgq4kJHJWz/79Mt08eVDYV5MYYXFhjk6nlHedIsn/fLkraR6yNRvBEtipz 1fCPofgOUEvhARl6gXZdzGc/f5pZzAwvsAzTVDM9bm5cy1wAVPQzAUXuW1o5gOtWKXwd OTvxjy0Lk0skupHWOHvvuEVqEQfRGpJ+C0jYbDCx6d21t/FR4Tl1zY6265AF7auDoPqj opEsPGTEyDqIlIQ6GaqBfhyEvx3j+mWpDps1Mk20gsW83zBwCYdq94+aK2u6niHY3wGU VrXgfR6l1SrtFzu95wiluExTVEjDdEol5PiU63Xfmqbfqk2OUW5GsKrtBoZpcK8VNG0e ywJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2yALGhrqIJdnboggYEQ7s0oOkdMXFFvfY29GvTJKsx4=; fh=Rt3kplHzBQqtOh4DiAdIFRS/xOZkZ1bwNLWAdvTC+5M=; b=JyG2WZyHPSG99HcWoCi5lrwGhZllmt8yaT3WLYyO1JcQ2iltm1kmUT7NdheA7cJJ+r 9N6wrVALbjUhXqdt/w3SA7fojYlXKtysPNENUeYYhoj7GND9ErKk6kIcpHtm4yNnbk6m 9zZQk6TneoO1v/Kcyao6fOCV/MnBYKJPHMOgbgGULvCTJMgMczOX1SRog2pm10g3PkKO Y+R2ReWkiXtwKfouvAl4dD8HXnk/4hsQGaooPjNXSYYuMIEOvDAaLdPG4ESZ5pvmooDP u2RJgKZC9wwocwdhkGoyWQUM5RAggVUu1rRJ2CYzpsxEv0pUcpzgRyBk1DubcN5lk2Je h9oA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C1jqMh91; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-197196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-702423e00a5si1846876b3a.46.2024.05.31.09.54.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 09:54:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C1jqMh91; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-197196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2721628688B for ; Fri, 31 May 2024 16:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04ADF16FF26; Fri, 31 May 2024 16:51:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="C1jqMh91" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 BDBCC3BBE9; Fri, 31 May 2024 16:51:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174298; cv=none; b=EJ9Zt3fvkqMfepQyhKHC8o4Hwh3Nn0u/UbzEhb03L8MLllKGXvpboUy6vgv2tcYSRh4YPWr544jwFmejwFcGbZeYdveivrEGBvuyXG2/9BuKGm0+wUg8IIMKHahmL1H9axmhhoP0420GnVZJtagUNu2kDoUotjuOA1TZxLaUBj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717174298; c=relaxed/simple; bh=h7uNey51G/xDeXWUKoGBGTUHWG2cZT6j7q/nM/6Vh5s=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=qZWPBmI2bn+fmSfEhkP1+t3S/py3DerMbI84Uojuhi46WcI8CPbwOqBwKtbdw4Lp8rmfYiLyLBAR5DqbZLiueDw/TytMtS+Nr8uRDACzsdAxypputmFHtV5M91pB1X2TkZOnpqWumF+lvp6CkKej4EoOdco5gGdmQmngFMFUimM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=C1jqMh91; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44V9DVbd016906; Fri, 31 May 2024 16:51:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 2yALGhrqIJdnboggYEQ7s0oOkdMXFFvfY29GvTJKsx4=; b=C1jqMh91/HCNLsYp 6vA0b0uij5adV0DIGh+mSk2889fAxxDFCLr2tEFroOAekW1b1SAR9R0h8CxXf/3s qNLZTplUe2tBKjI+dRyPBEdO0GkzhRPsBtNBP63nOKbwAsUDu3OSUm8RH+/hAh60 0b14QBs37+7EEtSSY1IIFOQapbMiJ9B/RHwPwyxU7hSrSoDe8KHYv+s50BJtfsqT NEC7McfWpq3/h+LgAfd716kHhmnQouXV9wZpoVL56718AxTZOxzuHH7Y60JH+o3V CNksDFkaKKHohU0kpyZyp56R/+kOUTd8yz8FnkweMwrdv7D2FlOov7n3O+U9kVB9 unkUNw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yf23stb7t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 16:51:19 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44VGpIGm017814 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 16:51:18 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 31 May 2024 09:51:17 -0700 Message-ID: <197777e0-e6e1-7004-be27-edb98f8a235e@quicinc.com> Date: Fri, 31 May 2024 10:51:16 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v3 0/3] drm/panel-edp: remove several legacy compatibles used by the driver Content-Language: en-US To: Doug Anderson CC: Dmitry Baryshkov , Neil Armstrong , Jessica Zhang , "Sam Ravnborg" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , , , , References: <20240531-edp-panel-drop-v3-0-4c98b2b95e3a@linaro.org> <7428a2f7-befc-6db8-76f4-3ca8dc12d31c@quicinc.com> From: Jeffrey Hugo In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: UnRxngflkST1yO4Wn85mX4qBzF_yXrRa X-Proofpoint-GUID: UnRxngflkST1yO4Wn85mX4qBzF_yXrRa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-31_12,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405310127 On 5/31/2024 10:20 AM, Doug Anderson wrote: > Hi, > > On Fri, May 31, 2024 at 9:18 AM Jeffrey Hugo wrote: >> >> On 5/30/2024 5:12 PM, Dmitry Baryshkov wrote: >>> There are two ways to describe an eDP panel in device tree. The >>> recommended way is to add a device on the AUX bus, ideally using the >>> edp-panel compatible. The legacy way is to define a top-level platform >>> device for the panel. >>> >>> Document that adding support for eDP panels in a legacy way is strongly >>> discouraged (if not forbidden at all). >>> >>> While we are at it, also drop legacy compatible strings and bindings for >>> five panels. These compatible strings were never used by a DT file >>> present in Linux kernel and most likely were never used with the >>> upstream Linux kernel. >>> >>> The following compatibles were never used by the devices supported by >>> the upstream kernel and are a subject to possible removal: >>> >>> - lg,lp097qx1-spa1 >>> - samsung,lsn122dl01-c01 >>> - sharp,ld-d5116z01b >> >> Ok to drop the sharp one I added. It should be able to be handled by >> the (newish) edp-panel, but I think the TI bridge driver needs some work >> for the specific platform (no I2C connection) to verify. > > Is the platform supported upstream? If so, which platform is it? Is > the TI bridge chip the ti-sn65dsi86? If so, I'm confused how you could > use that bridge chip without an i2c connection, but perhaps I'm > misunderstanding. :-P Yes, the platform is upstream. The 8998 laptops (clamshell). It is the ti-sn65si86. I suspect the I2C connection was not populated for cost reasons, then determined its much more convenient to have it as every generation after that I've seen has the I2C. If you check the datasheet closely, the I2C connection is optional. You can also configure the bridge inband using DSI commands. This is what the FW and Windows does. So, the DT binding needs to make the I2C property optional (this should be backwards compatible). The driver needs to detect that the I2C connection is not provided, and fall back to DSI commands. Regmap would be nice for this, but I got pushback on the proposal. Then I got sidetracked looking at other issues. -Jeff