From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 99BF9189F5C for ; Mon, 6 Oct 2025 09:24:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759742683; cv=none; b=T2/yJFuVxTqPTXmFgdHl35hKgtoj0Qy3aZzfSbtwvr3sB7NWCjIk/Sd3eWfOSUR2eqMTIFWKOW1JD0lA3eiYUy27TipRoQvfpmL+GvZzeUaPQ+T2/q1sBl4xLDhPVzUK0aTv8e743tmBWeTbaOL9YsfZgelEa5yR5/zTiW6uEco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759742683; c=relaxed/simple; bh=O0X2ZfnMKmoIXo7tD5JH0yqo05yq+8eSnXNsYS1076Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lnJcMJhZc3YVXBmvYkDDFJ/PhWyxb9BXStqMMnaiYawFNg297uW6mFnsAqvv7wXvy8aXGnW/lIKerf32Smbv2yDdmaV9DIFnFD8aYOGE5eeel1XPqfHq5wqvR/SegDzhHs6Ycn/oRCKkfHevvuBTJf8yvktk1s9kE+bYaIoYblc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=bs0KoP7E; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="bs0KoP7E" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5960Z2PI010245 for ; Mon, 6 Oct 2025 09:24:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 7K60QlJ82w8jj8i5uoLYN3GzdWOEyO3RBRWLo+2B9Oo=; b=bs0KoP7E4K2DZNRx c80iuQ/mm/ori1OuEZ5GuVEAym6B5UN+EQuyacoX5uROpeqXpCBFywcg3K/kknI6 wOtqPLjNhmCoRphtuvAXQSe2OUsoZRQKif/xM8lfEEFtcaZHgMc5CMW7hq9aW90T R6ATtYgEjtRkbOJI7KaD/8K8U8GdIOxonMLySv8yqIvOzdis1lVWsHMq8Z1FDEkK WpucnlZlA7lmiScLUSROhosWOIjP3rvPvxTCzkIUEmX+JoAHlyPZCk09gVqvpwOS QKhylzGrgeH1PsUfec9YxCopUxWCsTXwTBUbgYb7cDeoyBmrslQFjrCifcC+j0kA 82X2/w== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 49juy6uck0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 06 Oct 2025 09:24:40 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-7abea94d621so10553226d6.0 for ; Mon, 06 Oct 2025 02:24:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759742680; x=1760347480; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7K60QlJ82w8jj8i5uoLYN3GzdWOEyO3RBRWLo+2B9Oo=; b=gpAb4OL8pA3XyFWTxACohlOfF51hV2iOnWcT7lk9peqLSAhAkdPNaoY6yZ2/wF5fgf lqh/3813il2gid/LG3Q/qHEGjtBgcJgve5MQUd+JlsQYsgFES1qf6yspuMzt9MK6hXmQ z12eJ0bZWJgbYsLu+J32Oga/vcKPalLqTWUYPXRnGPXSQRuOH/b9VXZvSQ6ukZFPWFpL whcXUHBpwAyI4EPHsJGF1m+yGx0mTETqHRemrA3iavAMQQYSajxEZCURniZFgZMgv2x0 4hCY4dKgX0v4mcBBj0aZLvetmREvJT9YgItB08TLXkZm32HKcflRp39rD7TDYirlkuRA IYVw== X-Forwarded-Encrypted: i=1; AJvYcCXMXx7wwBec+rgRgq6vweDdKIqUcr2PlGvksKNEXKHlhjnWd2b4d9yZiB2xuZwVPTAa3C8FhkTnivSu1oMQ@vger.kernel.org X-Gm-Message-State: AOJu0Yzvt5lAZ7FoVy55OBPAy4etPoH3xkm/hnbFsvYiVRzy7GwSdlwH a7MSlktxK39ZqObPCv4glw26rqJsRp9HE5DFCjne4N4Qb3cQnaxAAxZ7lbiw7vLhxtZ66OQctf1 AtaCK/rj7maoxzjdPsLeaNm372/MkMxjL0oAkHriJeXVGJoRxH3doeC6JJiuubcX59Pa9 X-Gm-Gg: ASbGncv04IHgRhDPIo/FSLujPEtlfVVlkNTqGC7ozu2E2YWgXKnKztxNkH2Sn6HPb04 eYlSbZzQlR+QIx3lWrsij8MVX1H5+h0eONoepr/nRCS9FLUQU/NnjjFn0qT5VoPP4Z0Sg7KLdh4 ovQjBK6U4wwljEqfKSjDGQDVZxIQfAt91oQsx25HX64ASdTo8YPUHrBLaZPMVu0KjJSGoKszlOj qzpA7O3dgKdVP82hUWMJH7ZYfKDONmwzOxAX3u8cj975YFRQCbi7pYqLEt8nRGOwKSWafGbesDe RI5lGhz17noluzQmaXcpjVGGPGQHOO1cBQ08h0dmlQc3BxiiVgBvkQbtMuj1ouuNDO0uDLzo9Kd CoZ/MSuHSst+9p5eAjetsuDYY3Vw= X-Received: by 2002:a05:6214:2309:b0:784:4f84:22f9 with SMTP id 6a1803df08f44-879dc8cad86mr107666136d6.7.1759742679772; Mon, 06 Oct 2025 02:24:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHp/ysV59MYtgw2kvE1S9hkzkaZeuT8sanAw6VLuCHYzQ6S4o6+kY7M3XEpDaiVC+6tvUGVqQ== X-Received: by 2002:a05:6214:2309:b0:784:4f84:22f9 with SMTP id 6a1803df08f44-879dc8cad86mr107665946d6.7.1759742679281; Mon, 06 Oct 2025 02:24:39 -0700 (PDT) Received: from [192.168.149.223] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6397c9355c3sm3510239a12.0.2025.10.06.02.24.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Oct 2025 02:24:38 -0700 (PDT) Message-ID: Date: Mon, 6 Oct 2025 11:24:35 +0200 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] drm/panel: Add Novatek NT36532 panel driver To: Dmitry Baryshkov , Junjie Cao Cc: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Sean Paul , Marijn Suijten , Antonino Maniscalco , Jonathan Marek , Eugene Lepshy , Jun Nie , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org References: <20251001135914.13754-1-caojunjie650@gmail.com> <20251001135914.13754-4-caojunjie650@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=IrITsb/g c=1 sm=1 tr=0 ts=68e38ad8 cx=c_pps a=UgVkIMxJMSkC9lv97toC5g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=pGLkceISAAAA:8 a=oCkFgi9b2cravLXa5egA:9 a=QEXdDO2ut3YA:10 a=1HOtulTD9v-eNWfpl4qZ:22 X-Proofpoint-GUID: EhOCxF2l5LWpiARnT1qjBKSXjhL8l31o X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDA0MDAyOSBTYWx0ZWRfX9jd1MRMwXWAm NzLnzR8sOnFujvOlEZ6mUEGNpMDFOuqqEICDPthikUzCf5EG2zAL05YX2J39W3vsJlvUHjwixgo fYksyJ7XdZ/Xqb1uKp2H6m2ZZgGpIgzfHQTpwvpveBowgnXQ3LAZDYwn4ETyz80H79ceAv+dCy0 31083Jt0pc0X+X3s/ST0FbXukEZ8jMC1ElWMRmpWuZMGSnjXlw4lnbuWvJNy9t/XEa4LOhc9CsZ eNowqRpwA10WjMDETxFP5Wj8b4tss7cZNmX/uyKmBE3Kx0BwBTs6GQtzGaR/cMjO1zZ5RVyGK+f 0+0DtgkNFDe4QGerBx8rqGJnhGcasuyIUaQ+PvIGon53xyL5R3f4J9SjEvqxA50/A2fy7FCkSyn /lUsglnsUvTP7PvwZFCW8sZJsS+8yw== X-Proofpoint-ORIG-GUID: EhOCxF2l5LWpiARnT1qjBKSXjhL8l31o X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-06_03,2025-10-02_03,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 malwarescore=0 spamscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2509150000 definitions=main-2510040029 On 10/2/25 4:04 AM, Dmitry Baryshkov wrote: > On Wed, Oct 01, 2025 at 09:59:14PM +0800, Junjie Cao wrote: >> Add a driver for panels using the Novatek NT36532 Display Driver IC, >> including support for the CSOT PPC100HB1-1, found in the OnePlus Pad 2 >> tablets. >> >> Signed-off-by: Junjie Cao >> --- >> MAINTAINERS | 7 + >> drivers/gpu/drm/panel/Kconfig | 10 + >> drivers/gpu/drm/panel/Makefile | 1 + >> drivers/gpu/drm/panel/panel-novatek-nt36532.c | 437 ++++++++++++++++++ >> 4 files changed, 455 insertions(+) >> create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt36532.c >> >> + >> +static const struct panel_info csot_panel_info = { >> + .width_mm = 250, >> + .height_mm = 177, >> + .lanes = 4, >> + .format = MIPI_DSI_FMT_RGB888, >> + .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_CLOCK_NON_CONTINUOUS | >> + MIPI_DSI_MODE_LPM, >> + .display_mode = csot_display_mode, >> + .dsc_slice_per_pkt = 2, > > As this is not a part of the standard, what if the DSI host doesn't > support this feature? Shouldn't the core gracefully throw something like an -EINVAL? Konrad