From patchwork Mon Jan 3 11:38:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 529631 Delivered-To: patch@linaro.org Received: by 2002:ac0:9f5c:0:0:0:0:0 with SMTP id l28csp774507imf; Mon, 3 Jan 2022 03:41:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjNKYyzVVBbr2nZkIHm8KO/9/MB2q5HpK2QQ3ZPmW6rvoLu3AG9gfxufWRN2Ttk+UlKMlt X-Received: by 2002:a17:90b:4f90:: with SMTP id qe16mr34727729pjb.194.1641210066046; Mon, 03 Jan 2022 03:41:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641210066; cv=none; d=google.com; s=arc-20160816; b=SrFD456ndZwxjYnv8fXu5LIN4KyIa/dN5hZahFoQeTcBB8XaLpdOI06RWi0NjaPOZ0 cr0LTe+1NnLeUZOcCzJZDA8gKdV+glr17PeX4WLq4jsmN9K9Zhsew1+Q82oQdr0vcyFM 8FdCYpw/vuvhsTVs+hvwqzRUDGU2DJEt8AHoA8ALAZPpCwCX2+ndaB7AQK94LiczgTFX RQuFIm7xkVUXBR2tGpe2CVZ4tWadWJOgYpRY+exoWcC3DjeS+bGRqc7m+Ot3wiup6eXw DLJ/y5lJE1M0gIQ36UGr9cu7W+6vZ37ulCkWDw9w41j6WnHdIGaEhHJm9VfC0kBZbagg P86A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=4/CGTb3gisk7VPqBxNCUWiod5eCACmTEiATwddBHYD8=; b=GEeWUD+GimWAmSa6Rn4VUncAvS8iPiTRoK/tiXcmhFTRryEOXqpXQ3JqBS9RgZLCns e1VadmbpTXjj9h7WWaO7pxiwnM5j8iFJvgFuhUWewlw0pLqB2BQVN9OgD+WiQkq6IIVz JW/9j3BdCjNo5eMGK5RPN774w7OJJyuZkdpUZ0Pw19eLXPTVB0rTSS1i0BE/Csm8Ma/T hRhOdYIeABVfNAMLCVw6pgSoviQeLs1NyFyAResdskaITB0xuLBuxmyPbXXMJMG6N+CY VScgx+j98OGrimppSoMKjYjdMKujo3ku0j6Ole6Lhc7VrxF/0GoH00rEu/gRRCw/fTNh xEVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UJY7R+sj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id e3si31342490pjv.16.2022.01.03.03.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 03:41:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UJY7R+sj; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F2B310E162; Mon, 3 Jan 2022 11:41:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3B96A10E18A for ; Mon, 3 Jan 2022 11:41:03 +0000 (UTC) Received: by mail-lj1-x229.google.com with SMTP id s4so37375341ljd.5 for ; Mon, 03 Jan 2022 03:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4/CGTb3gisk7VPqBxNCUWiod5eCACmTEiATwddBHYD8=; b=UJY7R+sj9bifbmp5f5AHtGOYXxoC3InQwjYIL3qwmdelSkLVtjdBYj9CcvhWPJZ7nz 8MpLXHfuMUh4KN83wLccxV1kGMWTLFFjnKILH1dMxe+j3lhoxwiy12/eKhrtBC6M8ynu C3PaousSzOqik4UiTqlVe9UlbKeZghUhnh/IAhuzhGs9eTD5tvc7ktv4QoW/C3pIDvHw NUrnhN4Jg7KWtUcFoEXfgNI2XXLqnoDGjQJjZELoKSre6T0wy7mJs1hf/Fg903zG8VVH OcI8nVf8zZXAhMMLIxfgg4W/zEdqwpm6pBWlTnVkchnPUgVD3n7mT3lFQXlCxP89Jji2 haLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4/CGTb3gisk7VPqBxNCUWiod5eCACmTEiATwddBHYD8=; b=oRc/6aYa+R90ADBQOBPXCaOkIu+8xSVepgpBmW5Cw0mAd+ZyKmbvhnYXx0yFGJfdRW DkfDER/CbSdIj4fUDsXbp0X3Y/NOjqeTrgE7eQjCbJVXqf+EvBnf8RPhSXOMadxe83V8 STS6whZ29rKjWAkBhTY1lsXpHjnZMho6Q5A7DqCtlyJoaygm9L1SGejPujcOJcaVAYGL UMZsBY3Fqx5APaqkUwdXwMQZE8MQVo/SWbUNyM3KKOAzT/3XJsZoIxSI8AoGOOq2RUEP veJkgkhCvKsK3n/wvuWZqFt/m7eM7Ep20Ft5GUoCHqXHTmRzmNVuB+V3rApyjEhvpJLu otmg== X-Gm-Message-State: AOAM533q7WK/3fu5RVCYoitMEvcEo8Dz9gmfQveK6TtKKcuYhqTDUhBq 6NFbXG+iqMBRWNcLFuVTSmyKnA== X-Received: by 2002:a05:651c:98f:: with SMTP id b15mr16067256ljq.367.1641210061554; Mon, 03 Jan 2022 03:41:01 -0800 (PST) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id a23sm1910941ljk.8.2022.01.03.03.41.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 03:41:00 -0800 (PST) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org Subject: [PATCH 3/3] drm/panel: nt35560: Support also ACX424AKM Date: Mon, 3 Jan 2022 12:38:22 +0100 Message-Id: <20220103113822.654592-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220103113822.654592-1-linus.walleij@linaro.org> References: <20220103113822.654592-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add some code and config to also support the ACX424AKM used in some Sony (Ericsson) Mobile phones. Signed-off-by: Linus Walleij Acked-by: Sam Ravnborg --- drivers/gpu/drm/panel/panel-novatek-nt35560.c | 72 ++++++++++++++++++- 1 file changed, 69 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35560.c b/drivers/gpu/drm/panel/panel-novatek-nt35560.c index 41dc278faf80..778542a956f7 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt35560.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt35560.c @@ -10,12 +10,15 @@ * Author: Linus Walleij * Based on code and know-how from Marcus Lorentzon * Copyright (C) ST-Ericsson SA 2010 + * Based on code and know-how from Johan Olson and Joakim Wesslen + * Copyright (C) Sony Ericsson Mobile Communications 2010 */ #include #include #include #include #include +#include #include #include