Received: by 10.213.65.68 with SMTP id h4csp259427imn; Fri, 23 Mar 2018 04:08:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELsXrY5B5T80EUlnJn14dG0Dx/wFoHpnidDAkcPPYTwNqLRt13TC+QDyfDnnA4aONJFATvDF X-Received: by 10.99.116.85 with SMTP id e21mr20530180pgn.218.1521803298072; Fri, 23 Mar 2018 04:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521803298; cv=none; d=google.com; s=arc-20160816; b=m4SlBBS2h7TivzeKwFsUNCrPpf5k5eVBlJtOMhhgRHnx1OiJWFNIPLYF9mJ49PIJCt OS4h5sFRRlSfiJd2n5WrZZprGOYSb3c0pV8mW6g2yQDyPFIE2PbJZi+OApE5+HSUrYM8 fZnz+CbglKgxiOdXqDtgx2EnYkjDGF/aH5JSFXxmBQVQ3Dr4v2eCQ2QTi6WywMusCnOo m5JKFYDtQvk2xfcQSZB+bKp+98LDMKsui+R/iQh+Oq3kHtWVX8o3oWZtzDhMR/Y87YiD yL12z7doGRRtJzJESCMo1USYKw1ZGycrp+8musF0ZwuBOC1hltyGCaHl57AmRkPjFDYw ri8g== 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=j/ICMhERpKpXZTnX406Dk85ohpXVvcwscOV77hhqS/A=; b=JqF1A5IyizEoOZLVNnuhyOO78h0nP+ZtnrKtc/iDWxK7cVnJuP/FxL6ylJbMSFuQPW vZInKCrWBYGX9PZcHH+g/ka7UaiGYfilH0El2zf24g8h+fDGbnOOSCIwMkR+PQuxLokq Oy1xE/gJLFSSQxaw42BpxCYB8IFkOyqcOULAYsX3BsN7IjY70LmY8xpeh4lpjKWjTXGY 3839o7IUdHgLhdznKyyiUo4eLqtJTWV/1KG/75n7APoObzGvTyph03RcVvQoAE8qCWur Q9oyjlNWH4X0A9G9UXPRaQINP+Pink25+v8G/hPzAKgi7ohmaHERpJSg5vrtT7hEzvJM TUnQ== 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 e4si6535238pfa.103.2018.03.23.04.08.03; Fri, 23 Mar 2018 04:08:18 -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 S1755613AbeCWLHJ (ORCPT + 99 others); Fri, 23 Mar 2018 07:07:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44160 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933118AbeCWKMI (ORCPT ); Fri, 23 Mar 2018 06:12:08 -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 C98C2E19; Fri, 23 Mar 2018 10:12:07 +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.9 157/177] omapdrm: panel: fix compatible vendor string for td028ttec1 Date: Fri, 23 Mar 2018 10:54:45 +0100 Message-Id: <20180323094212.115158834@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180323094205.090519271@linuxfoundation.org> References: <20180323094205.090519271@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.9-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 @@ -456,6 +456,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", }, {}, }; @@ -475,6 +477,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");