Received: by 10.223.164.202 with SMTP id h10csp546684wrb; Wed, 8 Nov 2017 22:36:23 -0800 (PST) X-Google-Smtp-Source: ABhQp+T1SEQ5SJ/0AVZ8fIVXu85JxIh4OEpxabKcmbPsjnPV1FOf8d4zjg4jIn9BgLUhhxK5kxiw X-Received: by 10.84.136.36 with SMTP id 33mr2886674plk.108.1510209383422; Wed, 08 Nov 2017 22:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510209383; cv=none; d=google.com; s=arc-20160816; b=XkdmAmNnLnjP1fRYHRuL6mEvoScMCytx5rNuQ9WxeRwjZgP825pogAYIP61IJbhEQr 1tt4o4xJQFOyGoie4yffS3F3tn+fHeC7GE5aDBaX8mrc3KTndi1sD43XRiWT1HGf5QyX NMUGt3ZH+NdzWf0ffYCLCvQQkKfhPiiUGszOiFds3dQ4ObgO+22SZeJONQVx2C5aZ/B3 pYZvtFtb4/2Z5SVKkOXnXNb/0EkcFX7udfF2CrN2G1noMVUk28mG2h7Ypa/1kiC36ssj yGxhBESZPVCu6yRfaDVg5fUG18MUlZ5ZuOfGvmGia7meKLBJYO8EBEEV6UMbWIGge2aq 1ZhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=9G35Z/rqda32dj4yPmMNnDw+Lh1OriUlItnfGwKtzkk=; b=s+IresCUphjqJJ36g4y9JWpxNtQozi5ojax6QQvV2y1aY+H1oukgskZ4m0yKyn8QaG 1R8b1za7HPEYp0cbiiyql8Fk9UV8OsrFdcFsYjXqPqI0gM4IZ02SFUIXceNkPIFMXPwf 9Jf+qucWeysg61ZaFoyk/5t04fCV+V8ry8sIcOZnvGvF58yDIZbwarbcTbtePUQizTiC 5hDYbETSLJ476St1fYlJ3N7EadvZHlBjB2nbIShi5ssbQH/g5ZwyF0DplGSmZLT3oew3 8Jgf/5YOtD+7xFYj5zjCOgHOC5dNiRrJ1+3zMSm/WoMUsn26o+Npp+CaKb/AhWK9GWkR yPYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=bqbd8pg2; 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 72si5296700pld.794.2017.11.08.22.36.12; Wed, 08 Nov 2017 22:36:23 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=bqbd8pg2; 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 S1752465AbdKIGfI (ORCPT + 82 others); Thu, 9 Nov 2017 01:35:08 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:51797 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751464AbdKIGfG (ORCPT ); Thu, 9 Nov 2017 01:35:06 -0500 Received: from avalon.localnet (unknown [182.232.171.229]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id E002820064; Thu, 9 Nov 2017 07:33:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1510209235; bh=hSqz5w0yBut+pVqliDa7LmBZPxGaUokvLO7dL43hEVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bqbd8pg2ZwfsZ5dpVpJokr1nPWUX00fEEF91gfznape+ejkKlkCu35KzXQOvywRn2 nHxxdkd9IqD8Xu0Ou7dgdITcdKjVomF8p27phDhCR/P8nXLPx1QfV9nYcBKVI5PvDm MD3qjmcBFIujf3kjC0zAyqj33vEan5bdj7YjJA98= From: Laurent Pinchart To: "H. Nikolaus Schaller" Cc: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , =?ISO-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Russell King , Tomi Valkeinen , Bartlomiej Zolnierkiewicz , Julia Lawall , Sean Paul , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Subject: Re: [PATCH 1/4] omapdrm: fix compatible string for td028ttec1 Date: Thu, 09 Nov 2017 08:35:10 +0200 Message-ID: <2337862.ufPI2HCsv4@avalon> Organization: Ideas on Board Oy In-Reply-To: References: <2790033.EQlQQc1BPI@avalon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikolaus, On Thursday, 9 November 2017 08:05:15 EET H. Nikolaus Schaller wrote: > > Am 09.11.2017 um 04:33 schrieb Laurent Pinchart: > > On Wednesday, 8 November 2017 23:09:29 EET H. Nikolaus Schaller wrote: > >> 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. > >> > >> Signed-off-by: H. Nikolaus Schaller > >> --- > >> .../display/panel/{toppoly,td028ttec1.txt => tpo,td028ttec1.txt} | 4 ++-- > >> drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 4 > >> ++-- > >> drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c | 4 > >> ++-- > >> 3 files changed, 6 insertions(+), 6 deletions(-) > >> rename > >> Documentation/devicetree/bindings/display/panel/{toppoly,td028ttec1.txt > >> => > >> tpo,td028ttec1.txt} (84%) > >> > >> diff --git > >> a/Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt > >> b/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt > >> similarity index 84% > >> rename from > >> Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt > >> rename to > >> Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt index > >> 7175dc3740ac..ed34253d9fb1 100644 > >> --- > >> a/Documentation/devicetree/bindings/display/panel/toppoly,td028ttec1.txt > >> +++ b/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt > >> @@ -2,7 +2,7 @@ Toppoly TD028TTEC1 Panel > >> ======================== > >> > >> Required properties: > >> -- compatible: "toppoly,td028ttec1" > >> +- compatible: "tpo,td028ttec1" > >> > >> Optional properties: > >> - label: a symbolic name for the panel > >> @@ -14,7 +14,7 @@ Example > >> ------- > >> > >> lcd-panel: td028ttec1@0 { > >> - compatible = "toppoly,td028ttec1"; > >> + compatible = "tpo,td028ttec1"; > >> > >> reg = <0>; > >> spi-max-frequency = <100000>; > >> spi-cpol; > >> > >> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c > >> b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c index > >> 0a38a0e8c925..2dab491478c2 100644 > >> --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c > >> +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c > >> @@ -452,7 +452,7 @@ static int td028ttec1_panel_remove(struct spi_device > >> *spi) > >> } > >> > >> static const struct of_device_id td028ttec1_of_match[] = { > >> - { .compatible = "omapdss,toppoly,td028ttec1", }, > >> + { .compatible = "omapdss,tpo,td028ttec1", }, > > > > Doesn't this break backward compatibility with existing DT ? > > Yes, it does. But I am only aware of the GTA04 which uses it and > there is a separate fix). DT is supposed to be an ABI. In theory at least, one could boot a GTA04 with an existing DT and a new kernel, and no regression should be noticed. There could also be other devices using this panel that you are not aware of. For how to apply the theory to real life, I'll defer to Tomi :-) > >> {}, > >> }; [snip] -- Regards, Laurent Pinchart From 1583567449381017551@xxx Thu Nov 09 06:06:44 +0000 2017 X-GM-THRID: 1583533856183528780 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread