Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3596787ybi; Mon, 29 Jul 2019 09:13:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLIDXlkcW8CIymr2QguTnhTdb6iqk909Awo0vCnzEvcHQ+vQS2f+wAyGlRWw6hUmAmSG0W X-Received: by 2002:a17:90a:a489:: with SMTP id z9mr108683070pjp.24.1564416800315; Mon, 29 Jul 2019 09:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564416800; cv=none; d=google.com; s=arc-20160816; b=krfu1jXDUoc5wqAGo05aQ/RUHYLn8VIUbadeuk/gKMnc8en3M5NibpADfsdvYKin7A V4Q48OZmmysJN8NqkHZpS3TExXYfzkB8xwu0b4W17l7NRz1bz6VLEsikgVQM8YGYA62M 2V089FtQPzDR2Lhn5UGsbFQ7wQJhi0/EUaI40mYCR4L8Dz/GA6TIO2wwCF4nRH8S8AyF GfmLZI+E/KDrN6NbggP0hdopDLXqpFRmNkrNMD6J5CKWVbBNx+yPxmcGjmK/cM5Err6+ wnG1EB357+WPw/uhXylFHsruWUi/qCr1Nn4mq12H7/UsepSYBNv1Sj7VAPZU34kZmtpd OTDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=u48cnWY4vorrMPxnTPv/ssYbhaZvYiReEsR8nJsMhCA=; b=lvoa0t7O7/o/4FNQlknJjwfb78F+QvuAI/fzbuyIYUT/pG9yYIqQLuE1C8OXNQIzrq vMq7BR1ZLySFZSHzI8+EGqL5Ye6Bi+fFeYtTx7TEkPiaHqelegeyU0SN11OD2EgngK0O dVMVowAAj0jTDnG/6+n0wca9k6L2a+lAy0+fA1td0fwUxScqDwM7rtlBtByfgKppeynr NHEu4rO897aChqHBT8Wq8YbPgyBFq+p5ajyeoPUJu8F7o+PsA7G/B6Yfc0cBFgqiaWHa 9L3UYNJZndOYc5bUBukwnaGboiRLWy4EiWUSIAQqa740gyMbtRIia9id+hQaQZJxoh06 tEgw== 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 g3si29642379pgo.241.2019.07.29.09.13.04; Mon, 29 Jul 2019 09:13:20 -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 S1727608AbfG2OXu (ORCPT + 99 others); Mon, 29 Jul 2019 10:23:50 -0400 Received: from viti.kaiser.cx ([85.214.81.225]:39858 "EHLO viti.kaiser.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726694AbfG2OXu (ORCPT ); Mon, 29 Jul 2019 10:23:50 -0400 Received: from [46.114.3.104] (helo=martin-debian-1.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hs6Yw-0005cy-4j; Mon, 29 Jul 2019 16:23:42 +0200 From: Martin Kaiser To: Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH] ARM: dts: imx25-pdk: native-mode is part of display-timings Date: Mon, 29 Jul 2019 16:23:16 +0200 Message-Id: <20190729142316.21900-1-martin@kaiser.cx> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the native-mode property inside the display-timings node. According to Documentation/devicetree/bindings/display/panel/display-timing.txt. native-mode is a property of the display-timings node. If it's located outside of display-timings, the native-mode setting is ignored and the first display timing is used (which is a problem only if someone adds another display timing). Signed-off-by: Martin Kaiser --- Dear all, I found this issue on a similar board when I tried to define two variants that use different displays. I had two display timings and ended up using the wrong one because native-mode was ignored outside of display-timings. Thanks for reviewing the patch, Martin arch/arm/boot/dts/imx25-pdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index f8544a9e4633..05cccd12624c 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts @@ -76,8 +76,8 @@ bits-per-pixel = <16>; fsl,pcr = <0xfa208b80>; bus-width = <18>; - native-mode = <&wvga_timings>; display-timings { + native-mode = <&wvga_timings>; wvga_timings: 640x480 { hactive = <640>; vactive = <480>; -- 2.11.0