Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp505403ybl; Sat, 18 Jan 2020 05:08:52 -0800 (PST) X-Google-Smtp-Source: APXvYqy3J/HzQJjkj3MEPSciHZ7zI8m3SSsX2ZlZ7vSoud5uX++xPENbmtPPQ22D15C2COBM2OyW X-Received: by 2002:a05:6808:a8e:: with SMTP id q14mr6768777oij.173.1579352932749; Sat, 18 Jan 2020 05:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579352932; cv=none; d=google.com; s=arc-20160816; b=qhEoZkyQ3ABiwwAz3MKA1P2QIwmuI31xNN0RLM1CNVrzkyZLuyN1IP9uUXZGVf58FY VoKon9ZoKCvB6IyBhtvu1aSx3lkBcxJuUNeontR/r/O8A89U+/rYy7WAMj6BTeNoXiKa ceAqcUXuo21Masrt830bo+Giy1toKzpIBhOY8fLagDuSA6DowlqPgSqF26isoHml4El5 Ebtm6PysTA61W/GC8VKRMAaK4lI5qF5tDYQxMxW9ijtZUK28ojtOVWUjgjjVSxQwXnYK 3HQTdLxGC9aJdD91EO2qJNYmOxdcAeh0ohqd1xajCD0Ci10CPxN6yx6mOPSi7sGFbggq YANQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6ohtdhaWn4z1IT+QlVYSBsNaZDar6trK0ckRX07f388=; b=QAc7VYNaqomJV3nJ1DtU9iA3jzeebXuu7DIyePLrvc7GL1mNriQfnZnJ6SFxlLMXGN mkJvNTYfJftivfyDYjPjgpea6MUPVB4WIDK2SqP0wm1AdSrDyaQ2CoTW8t0hCERkC1KL pqITW4sJbpzA18AsnHxPBYB2uiTEJ/O/ntf1eweieJzQp5k93AeuWC5w7OCrTGbgHgCt rPye50HDeUwPfRvHgBY7UGmCg3UVofScmqbQnCMAt7ydmt39psoPwB2EpYkm7nOOgzuH C8yhLP8tyk1KYYvLEmgnRC1bxj44co9cns1+KVE1jJoYgsliXer+h8SH90JO29qc4TRk ua8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j71si14759333oib.213.2020.01.18.05.08.27; Sat, 18 Jan 2020 05:08:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgARNEY (ORCPT + 99 others); Sat, 18 Jan 2020 08:04:24 -0500 Received: from asavdk3.altibox.net ([109.247.116.14]:36164 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728765AbgARNEY (ORCPT ); Sat, 18 Jan 2020 08:04:24 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 3BB9820038; Sat, 18 Jan 2020 14:04:20 +0100 (CET) Date: Sat, 18 Jan 2020 14:04:18 +0100 From: Sam Ravnborg To: Oleksandr Suvorov Cc: "linux-kernel@vger.kernel.org" , Igor Opanyuk , Marcel Ziswiler , Stefan Agner , Daniel Vetter , David Airlie , Thierry Reding , "dri-devel@lists.freedesktop.org" Subject: Re: [PATCH 1/3] drm/panel: make LVDS panel driver DPI capable Message-ID: <20200118130418.GA13417@ravnborg.org> References: <20200115123401.2264293-1-oleksandr.suvorov@toradex.com> <20200115123401.2264293-2-oleksandr.suvorov@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200115123401.2264293-2-oleksandr.suvorov@toradex.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=eMA9ckh1 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=m8ToADvmAAAA:8 a=paNtN77jAlIXY0rMc8MA:9 a=CjuIK1q_8ugA:10 a=kCrBFHLFDAq2jDEeoMj9:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oleksandr & Stafan. Thanks for the update to panel-lvds. On Wed, Jan 15, 2020 at 12:34:17PM +0000, Oleksandr Suvorov wrote: > From: Stefan Agner > > The LVDS panel driver has almost everything which is required to > describe a simple parallel RGB panel (also known as DPI, Display > Pixel Interface). > > Signed-off-by: Stefan Agner > Signed-off-by: Oleksandr Suvorov > --- There are a few high-level things we need to have sorted out. The driver, when this patch is added, assumes that certain properties are now mandatory when using the panel-dpi compatible. - data-mapping - width-mm - height-mm - panel-timing But this does not match the panel-dpi binding. So we need the panel-dpi binding updated first. The current driver specify the connector type in drm_panel_init(). But a DPI panel is assumed to use a DRM_MODE_CONNECTOR_DPI, and not a DRM_MODE_CONNECTOR_LVDS. So the drm_panel_init() call needs to take into account the type of binding. > @@ -257,7 +279,7 @@ static struct platform_driver panel_lvds_driver = { > .probe = panel_lvds_probe, > .remove = panel_lvds_remove, > .driver = { > - .name = "panel-lvds", > + .name = "panel-generic", I think changing the name of the driver like this is an UAPI change, which is not OK > .of_match_table = panel_lvds_of_table, > }, > }; Sam