From patchwork Thu Nov 16 08:50:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10060871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4F79060230 for ; Thu, 16 Nov 2017 08:52:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F8AE2A8C6 for ; Thu, 16 Nov 2017 08:52:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 326762A8CC; Thu, 16 Nov 2017 08:52:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 27DFB2A8C6 for ; Thu, 16 Nov 2017 08:52:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=nC4M3hd74ESqNiHN4M3oZOqxSmkQTjhqFrZUUe5JUbY=; b=TmUX9DtnGNKE1/IGIjLV84Cg9i EtSDFANUGkIVG4ruF87G3cWIjmoVJ32G7AMQ+bmGrqt7TINt2nJ/dpdhxwFhFiM7kA0y1jS4zkLY0 GWJ6OLNbXeoEMAFI+GHtBDH5Ta5IydFfTIW3KZbIrvUenN4baAeQvcnTv33V+D+l4vixDLf1CSUQd nfYIqffpS1uezXKfWpRewsKDPECzHqYak86YxvzI0XBY8VUxYmkxwT81H7YaJlViqGo+4i7GjUxy0 bn3cC2xAf0bfGbL54Jr5fQXWR5nakkfsQgW0N/FjxpfMCqZEgcx27UdlrEy8IX8yPAv4VbHiiB335 jyomDk+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFFuV-0006dm-OD; Thu, 16 Nov 2017 08:52:35 +0000 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::6]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFFsw-0005OI-7x for linux-arm-kernel@lists.infradead.org; Thu, 16 Nov 2017 08:51:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1510822224; s=domk; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Date:Subject:Cc:To: From; bh=8n5UFImFoTo5W8/Br7eCPQPeyCyvnc9B8uD5mjo9xqE=; b=ikmJnq1YTkwgq4OQLCIsAidkA69NoSFNVCCfDl4PF3BvEOoMP7c5ss5ovqLy1AeZxG 58jMQ9uFKHfr+9+HoO4faSTcRAwDZfdEo+4gFzi38jw8QKGZrGkh16PV1eZj7ue3bamK MD4Pj9yfr7XLoHUVhwYDKQZQfF2ZMCk1AMnLg= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87Wiu9N1EzaY X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE038A.dip0.t-ipconnect.de [87.174.3.138]) by smtp.strato.de (RZmta 42.9 DYNA|AUTH) with ESMTPSA id f05bb6tAG8oMiR6 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 16 Nov 2017 09:50:22 +0100 (CET) From: "H. Nikolaus Schaller" To: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Russell King , Tomi Valkeinen , Bartlomiej Zolnierkiewicz , Laurent Pinchart , "H. Nikolaus Schaller" , Julia Lawall , Sean Paul Subject: [PATCH v2 4/4] drm: omapdrm: Fix DPI on platforms using the DSI VDDS Date: Thu, 16 Nov 2017 09:50:19 +0100 Message-Id: X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171116_005058_729030_A2020A78 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, letux-kernel@openphoenux.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Pinchart Commit d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature to dpi code") replaced usage of platform data version with SoC matching to configure DPI VDDS. The SoC match entries were incorrect, they should have matched on the machine name instead of the SoC family. Fix it. The result was observed on OpenPandora with OMAP3530 where the panel only had the Blue channel and Red&Green were missing. It was not observed on GTA04 with DM3730. Fixes: d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature to dpi code") Signed-off-by: Laurent Pinchart Reported-by: H. Nikolaus Schaller Tested-by: H. Nikolaus Schaller --- drivers/gpu/drm/omapdrm/dss/dpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers/gpu/drm/omapdrm/dss/dpi.c index 4ed5fde11313..a91e5f1a0490 100644 --- a/drivers/gpu/drm/omapdrm/dss/dpi.c +++ b/drivers/gpu/drm/omapdrm/dss/dpi.c @@ -566,8 +566,8 @@ static int dpi_verify_pll(struct dss_pll *pll) } static const struct soc_device_attribute dpi_soc_devices[] = { - { .family = "OMAP3[456]*" }, - { .family = "[AD]M37*" }, + { .machine = "OMAP3[456]*" }, + { .machine = "[AD]M37*" }, { /* sentinel */ } };