Received: by 10.213.65.68 with SMTP id h4csp308513imn; Fri, 23 Mar 2018 05:14:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELs/S3nBUU13r6SzGfD5KruVUlsLn4FAVmV67mwtCVFtfTFAE0Se6CvzmxJ61g9ikDnLu/oH X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr17490688plb.0.1521807276767; Fri, 23 Mar 2018 05:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521807276; cv=none; d=google.com; s=arc-20160816; b=GU3yLTHcO/vCShcim6wtUBfY5NiY8CqsnpAVVPGQ4lE31dpFaedK72lZtWpBYfSKoQ Z8hfhq6rIOrpz3lZJekhMoRYrr5nKNz3k5moegkzfQrDgEeZExes0hN/ie//uR1VrAF9 LSLlUW54VJ/+jAssOBMuQBKfITazKDnjQDM3V/kXTiirpy6MQU62QFH+QNj7kqU4+7Qv 8gzwLqY867XyNkK4Z0lBhG2geF6uzyagHHM6bGmDsXooiQ3tysVVbyxlmMiU9Ga7wXpi U+RBV+q1wtlGjy7cjfyHwdsbLnwgzpHjtAXlE+Q5o9gz0f+EO9Uvh3WmCzRQQE2yzlru vcyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=aMQrYICGAogya/JhEQ3GSOIKvEGH1/almU+La6/wxH4=; b=BegxVGzXgp23vAh2qrqwv1bwCeT6vdKWH/aC621QJeOBgRUH39744kOIi2dWIX5Al5 2PymSRUECd8N8vuyLjNTIBj25JnBgRcMTT8uB9qePpw7LygqnvI0aST8LjnuX77gqzXC 09p7zEYIxehMFDSJbTvrjQ7DAYYkXFHJz4z2R9MkGoOvl+2Zuos13kX8tylwQKpc1o+4 2Nlc4dGJ85ppGC4nNSTANwCxE1JA0XnCKu72ej1y82SXAn8tesmRUHpaZP7xtJCyr8EY nvxs7TVvPw0KrYBvUHD7bx/v5KuG+8Ch00TPeZatLWxOLX2f3ag2aeBrQuInQ+wnraFv 1VoQ== 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 bf3-v6si6437682plb.734.2018.03.23.05.13.52; Fri, 23 Mar 2018 05:14:36 -0700 (PDT) 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 S1752995AbeCWMLZ (ORCPT + 99 others); Fri, 23 Mar 2018 08:11:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35456 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbeCWJ5s (ORCPT ); Fri, 23 Mar 2018 05:57:48 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8A96411FA; Fri, 23 Mar 2018 09:57:46 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "H. Nikolaus Schaller" , Tomi Valkeinen , Sasha Levin Subject: [PATCH 4.15 46/84] omapdrm: panel: fix compatible vendor string for td028ttec1 Date: Fri, 23 Mar 2018 10:54:00 +0100 Message-Id: <20180323095418.945414483@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180323095411.913234798@linuxfoundation.org> References: <20180323095411.913234798@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: "H. Nikolaus Schaller" [ Upstream commit c1b9d4c75cd549e08bd0596d7f9dcc20f7f6e8fa ] The vendor name was "toppoly" but other panels and the vendor list have defined it as "tpo". So let's fix it in driver and bindings. We keep the old definition in parallel to stay compatible with potential older DTB setup. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Tomi Valkeinen Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt | 30 ---------- Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt | 30 ++++++++++ drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 3 + drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c | 3 + 4 files changed, 36 insertions(+), 30 deletions(-) rename Documentation/devicetree/bindings/display/panel/{toppoly,td028ttec1.txt => tpo,td028ttec1.txt} (84%) --- a/Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt +++ /dev/null @@ -1,30 +0,0 @@ -Toppoly TD028TTEC1 Panel -======================== - -Required properties: -- compatible: "toppoly,td028ttec1" - -Optional properties: -- label: a symbolic name for the panel - -Required nodes: -- Video port for DPI input - -Example -------- - -lcd-panel: td028ttec1@0 { - compatible = "toppoly,td028ttec1"; - reg = <0>; - spi-max-frequency = <100000>; - spi-cpol; - spi-cpha; - - label = "lcd"; - port { - lcd_in: endpoint { - remote-endpoint = <&dpi_out>; - }; - }; -}; - --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt @@ -0,0 +1,30 @@ +Toppoly TD028TTEC1 Panel +======================== + +Required properties: +- compatible: "tpo,td028ttec1" + +Optional properties: +- label: a symbolic name for the panel + +Required nodes: +- Video port for DPI input + +Example +------- + +lcd-panel: td028ttec1@0 { + compatible = "tpo,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; +}; + --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c @@ -452,6 +452,8 @@ static int td028ttec1_panel_remove(struc } static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,tpo,td028ttec1", }, + /* keep to not break older DTB */ { .compatible = "omapdss,toppoly,td028ttec1", }, {}, }; @@ -471,6 +473,7 @@ static struct spi_driver td028ttec1_spi_ module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:tpo,td028ttec1"); MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller "); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c @@ -455,6 +455,8 @@ static int td028ttec1_panel_remove(struc } static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,tpo,td028ttec1", }, + /* keep to not break older DTB */ { .compatible = "omapdss,toppoly,td028ttec1", }, {}, }; @@ -474,6 +476,7 @@ static struct spi_driver td028ttec1_spi_ module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:tpo,td028ttec1"); MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller "); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");