Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp166121lqe; Thu, 4 Apr 2024 03:08:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGwDIHOC4JyVHSa0l8o9ReiZSCxFZJ8RBqM+u35GsDoqFfsIZ5B9603BPRABQVDoOpW7/cXtUuHlnVhktqlMKQ6QVT+RaMYFClHTE5rA== X-Google-Smtp-Source: AGHT+IFyY+IaDMalRIZ0oVkqSMeuaNF3ZxqMK8I6JqUWZWHbPbgV6v0VQuuo1ai1v/sWsKZyAsqT X-Received: by 2002:a05:6a00:cd4:b0:6ea:afd2:b1dc with SMTP id b20-20020a056a000cd400b006eaafd2b1dcmr2231533pfv.29.1712225297969; Thu, 04 Apr 2024 03:08:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712225297; cv=pass; d=google.com; s=arc-20160816; b=hfxU2b29b4TVBxdssO/pxDBVRO6CprZ1AdmGmZLarB+HxqE302VPaaeLl2zRIVXXHj VeoEzvP7DxmlmEes/AK/vrXlG4jeK0z8gUrn/5hbxISunoEFSalZfd90jpYVGfgQ2sqv 7yal3evSP0TbZBpcmq4db5g0mwCJ4pYzsX+Qvjx4IlgU13Dr770bltlPIe9Ns+/AXOO8 gzH98/Lj2FiqDkHGirDdSGjBfg080Dc1Y4Aao6nmP3Lvnp8I/eDgLqFGilitVzy9sP19 xzTsGwOjEbIQbNparDiMfdWW55njz553pH61xxpsv1ARNnhoq7zjZuy7gWnJ4dkKKpIu wybw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=qmPmdTR9ZwPxhvP2c4bgI17aKaTHU1vV+VtVIiuiDB4=; fh=/aPkVRcb5CGJ3EBPhXOALsB9nu5q7Swjgzt90HbMA60=; b=rO3QrvVKnQJ7tDGtqreBJ6fo8EDDLgo5/wMMcsXgSVdcdIKmSskROn5fbTG7jQsVvJ tLBEqiJHNEsekqcg468cYk8FB/2rW4YXaryO7CoNCavRECxg8rni4Yod+lOOTaMiw0E3 t9LmH0CSYvXzv2QJCfauaVwMizJmOyQ3sHr3E24tshvDlXVWqeFDMae2T+Ym5HlKZjEI JECYX4Fkupf6m9IXWq8yygvIrAJQ3Yn1BWCYcJMTiGXyPWLrGJI32U1V+w09bmpQHxIA 41b43n4MfvR2v0wpibFJ/9mc+/+zhPZ+ZsxrV99G/9BTVlCN7WBrNXnkEkc6kJ0j0wGc LgNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8wvQ7vr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131215-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131215-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m124-20020a633f82000000b005e438e94d35si14858092pga.2.2024.04.04.03.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 03:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131215-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8wvQ7vr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131215-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131215-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 A57BF283AAC for ; Thu, 4 Apr 2024 10:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B64C7580B; Thu, 4 Apr 2024 10:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="a8wvQ7vr" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F8748F7D for ; Thu, 4 Apr 2024 10:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712225291; cv=none; b=TaYKAnSDdo5ZYLipwbQkXE8KitIbw0P8WFXheUOIQfDeRh9iiTIQtNzIb8nObj8PG7Wee4X+W9WD04HHBu3EDPQSluBoxdyHfNgZhi84C59rwUtAXlFEfrDy2/mPRpCXSwnLQnxDsLHPb0GtYvXoxkJg3iq6A4HDfwdFRcTxau0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712225291; c=relaxed/simple; bh=Du46wueKWvwkNxb//bx6Oplm8RijccGjLPvLCDL3hio=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=IwN9nGLRCpXOOniffpj2sJZJMOUg1pxYmYO9da+WwqNrJxGwHfh5x80JkZHPwxc54sr6+5WKtFQmJJlrRVFtDtZWhS8+Qck3D28MRFvChH3g5Xrak755gU9I4epgW/3BJe86diFAB64+iHNx3d6EV33fx/s9ztONjd+86vApwuw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=a8wvQ7vr; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-56bf6591865so1135366a12.0 for ; Thu, 04 Apr 2024 03:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712225287; x=1712830087; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=qmPmdTR9ZwPxhvP2c4bgI17aKaTHU1vV+VtVIiuiDB4=; b=a8wvQ7vrpD19l4lBjBddTtRx+2Rh97pYKuZq+OuFi5sHKk4UmyJIPsnTkQKnr7fW5V jwhhA69m7pDAaWF2odzTz6nCMwW0ogLJ18zLOzOnkK5bfC38QyRaUbs8oX4wHJc07jhQ mzTSR88oPkH3NacYJkS9VBZYtBhCYAuaM0hBFntJpWX0QIeorOrtHDVpU07SHZRnLcKm bJFGuRbJBVSLuRSv0ONdWApyCLlgw/vERJ6bZImiP99r32yyKBWRi0Sl7pAHnv9qmiuL N31YP7xThQrMk0vRmkLoWHoz662oTYaBWWgYFIms14akch+q4WCA48h6wRhInTDdu+km tdYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712225288; x=1712830088; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qmPmdTR9ZwPxhvP2c4bgI17aKaTHU1vV+VtVIiuiDB4=; b=HaJTxaoNXLZVLDfYnxvhwKSF5PZUPBRLmJluRU+EhCsWMhklEKMi/0xa7i96eVxnuD of6xa1AOcO0tB1KbO8f4Byp2MJvNPKWlVvXXaeycjrnoUynXe2vQdYF4KAcnLEgEqTp3 hAOgXxn3Ejc60JV1EXmQHm9G++saHbIP1384hNsW5a0dlK3cP5i/ASs0FZkZA9z4LFoF iL/wnMzTauv0TAXtzom6RarqWg1og/RI3c7w7JXqVo9kqo3YuDDcITpMYMz6KEPxLQS3 Wgm40Sz0U9+ke+oRAjDKazA9RxOfkwIPg7eyMbN6JfIN9s1MkrgcHNwyg4KWYgoUkc9h 0ENw== X-Forwarded-Encrypted: i=1; AJvYcCUqmit1W32dN2V7WK3i8+5XsGSbKEoLpS35VU4Q3839DEyauqW5ppAtR/Z1P4HdOMwUObEPenfFv6C7xav17GnSXbKqofz8BfNIAizW X-Gm-Message-State: AOJu0Yy4YcltdHcxDL8o7VG7yOIWxYXoongiHsvlHON0ajHcacctPtTN aT1jSM84eCoaCRfKVfvihoEdsDXWZbDatW+e8Q/R1A/34wBDM2HmJDNZ72AdT6k= X-Received: by 2002:a50:9b1c:0:b0:56d:ece8:a5e8 with SMTP id o28-20020a509b1c000000b0056dece8a5e8mr1463406edi.14.1712225287519; Thu, 04 Apr 2024 03:08:07 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id ig10-20020a056402458a00b0056c0a668316sm1984219edb.3.2024.04.04.03.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 03:08:07 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 0/6] drm/panel: small fixes for visionox and novatek panel drivers Date: Thu, 04 Apr 2024 13:07:58 +0300 Message-Id: <20240404-drop-panel-unregister-v1-0-9f56953c5fb9@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAP57DmYC/x2MQQqAIBAAvxJ7bqFCivpKdBBdayFU1opA/HsSc 5rDTIZEwpRgaTIIPZw4+Cp924A5tN8J2VaHoRtUV0ErIWLUnk68vdDO6SLBSSk9O6t6Y0aobRR y/P7fdSvlAyplgMhnAAAA To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Matthias Kaehlcke , Harigovindan P , Ritesh Kumar , Sumit Semwal Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1356; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Du46wueKWvwkNxb//bx6Oplm8RijccGjLPvLCDL3hio=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmDnwFB4ymGew9A+j+lPaxjOF+3+3RraubF85ot OjFFlmnjvmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZg58BQAKCRCLPIo+Aiko 1T43B/99SNedkXIzKq81LkZB/eLv5u0TTihQz/8l+QHHCWt0oOkMNGJ1OiuTLDr+ToE8FUWE6MR GuVpa19gteiQWaMoOMLaUlGG+yLtiytO3n9DtqRDSEdkeWshqiEW+YdN1Ur8opJZEYUlmnfPYcb uSQWI9uSHpch7sZk7im8Xu6b456C+r3slCqiLotvjlaHZ26ghhwV9M05njsLLcxzq1lwRlYMI3y XO9wtiu8lczQFupCgCRVuVAHl90JotvyLoC3RV5Vq8qdCEn/L5Cqy/GGdyzttgNeJkZ9PO78HVz nze2WXDRUaOPJYEP92kgYo/dSUBocbb3MZ93en0qQFGV7oXr X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A While taking a glance at the novatek-nt36672e driver I stumbled upon a call to unregister the DSI device for the panel, although it was not the panel driver that registered the device. Remove this call and a similar call from the visionox-rm69299 driver. While we are at it, also optimize regulator API calls in these two drivers and in the novatek-nt36672a driver. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (6): drm/panel: visionox-rm69299: don't unregister DSI device drm/panel: novatek-nt36682e: don't unregister DSI device drm/panel: novatek-nt36672e: stop setting register load before disable drm/panel: novatek-nt36672e: stop calling regulator_set_load manually drm/panel: novatek-nt36672a: stop calling regulator_set_load manually drm/panel: visionox-rm69299: stop calling regulator_set_load manually drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 11 +++----- drivers/gpu/drm/panel/panel-novatek-nt36672e.c | 35 +++----------------------- drivers/gpu/drm/panel/panel-visionox-rm69299.c | 18 ++----------- 3 files changed, 9 insertions(+), 55 deletions(-) --- base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2 change-id: 20240404-drop-panel-unregister-744a9fd41cc6 Best regards, -- Dmitry Baryshkov