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: 12702503 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84C98C433F5 for ; Mon, 3 Jan 2022 11:41:05 +0000 (UTC) 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) 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-Google-Smtp-Source: ABdhPJy/TZxkG+fV3fAUw9DgsA798dltHg33ol0R28QaudYXTHkklZFFeof18roBD0E9P/9JX1h/YQ== 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