From patchwork Mon Jun 24 21:56:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167651 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733254ilk; Mon, 24 Jun 2019 14:58:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyd2qGsK4rZSqiG7gbVEmbaGkFlUVENFKqyQGcKxO7z73RBGixCzk6H6v9hfsXGQ3JcJcDT X-Received: by 2002:a17:90a:d996:: with SMTP id d22mr10220066pjv.86.1561413538398; Mon, 24 Jun 2019 14:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413538; cv=none; d=google.com; s=arc-20160816; b=d7IEu2gHD+8amKdzZRd9lzZqxGWvcYQjvlMHfEZQ9PTLUqBBPn92/M76S0xscep/vT fPNI8ez253+CBUdaBKTSWlHYKKWq8j7n74R8Q0vI0tsS3mAr/uK06TnTB8Hk/qEZmfEQ VN4iTCOhjcNYsdbe59vbq2bTV2PcC4ePrYejloVErSW7nzzKKgEqgOkiQXpywnfjE96z eOFhL52VIeChHVCkKREIDT8nMLQlVWBni6eWfdt9twxJRzgky+Hm6rZDvw0l2MPXP0Ah tNffvByAZ9dZ+wkZrsDoe6QCYzcB5fJsWoQemERjwqqf9Ciae7LL/ejK7sHxWkwhrHEr KzlQ== 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:message-id:date:subject:cc:to:from; bh=NEFj1m00BQHw9ShNEs9XZxRgQ7JCz9e7ngBon7KyAz4=; b=U0rRqEKxwX3P/kvIFO4IGFLFQgvYlzqTB4MYNCLoOKqYAobILSdenpM0cK3neeWDvs bVIVK2x27NNfHOUiULySNH6O8PhlbA/ANy0NPJoRTNZHsrSpKuCIfWo+LPlpNrvwkDf7 5sWGqUyt3Et4Z5S80whb+9dojGH8gtGg2/jVCClNpRvmkfi4euDZ0fttoT4Rlwzoem92 Sq1qFzLmv7Y+HKhVduW4WfgY7/vbWGnJsTQLfUfrq7p83/tHceX95dy78OcZIh8+8RHk p55b2EhRi98fa0fkTaTuRXFxRRfq/5Ua6wvm4ZbiwUi+IkwMjAjfavWCeQ8pluKKTsLb qb7Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k71si662364pje.29.2019.06.24.14.58.58; Mon, 24 Jun 2019 14:58:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732600AbfFXV64 (ORCPT + 30 others); Mon, 24 Jun 2019 17:58:56 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:42182 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728401AbfFXV6y (ORCPT ); Mon, 24 Jun 2019 17:58:54 -0400 Received: by mail-io1-f67.google.com with SMTP id u19so128946ior.9; Mon, 24 Jun 2019 14:58:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NEFj1m00BQHw9ShNEs9XZxRgQ7JCz9e7ngBon7KyAz4=; b=RR5i4QRaqQ77jUTz0L6iYW5yZPvgETVurBznmH+KCidhK7C5iZZAXdebTPrbs72FVp jk1s+bIUvVkwNXVQ/BQQ4As+Ico/zu0Zqr5CxmSQFUVwcIMTw91A8hS5Lz0SBj+eZV63 5iOdvIqFT1QmcAf7IRR9kxVomlGXjISCrZ2fMCZUmXig73awQ9TptWASxt1CHyAeH/sM qGazRYbiX/KJp3/tsBnGm+DCzfM8Q1yxhQtq10qy4V0E8Hh5chFOBQIVGB3m3cLeLHBP dnhm9sy9P9HTSE+VeZ2ZjL19w5366TqrdBjY2vRMVonr2hUHRnLjQZqNZkb/bKFYrF87 K5sA== X-Gm-Message-State: APjAAAXBmOmkObebseZaiFVF4/XFd2TEzOVAn7l+ouxTIS7Ejdyc91LO gsakrwXE460uVNiHPQZw4w== X-Received: by 2002:a5d:8759:: with SMTP id k25mr17594429iol.307.1561413532967; Mon, 24 Jun 2019 14:58:52 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.58.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:58:52 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , linux-rockchip@lists.infradead.org Subject: [PATCH v2 01/15] dt-bindings: display: rockchip-lvds: Remove panel references Date: Mon, 24 Jun 2019 15:56:35 -0600 Message-Id: <20190624215649.8939-2-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The panel bindings are outside the scope of the Rockchip LVDS interface binding. The references are about to change too, so rather than update them just drop the section on the panel bindings. Cc: Sandy Huang Cc: "Heiko Stübner" Cc: Maxime Ripard Cc: dri-devel@lists.freedesktop.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Rob Herring --- .../bindings/display/rockchip/rockchip-lvds.txt | 11 ----------- 1 file changed, 11 deletions(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt b/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt index da6939efdb43..7849ff039229 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt @@ -32,17 +32,6 @@ Their connections are modeled using the OF graph bindings specified in - video port 0 for the VOP input, the remote endpoint maybe vopb or vopl - video port 1 for either a panel or subsequent encoder -the lvds panel described by - Documentation/devicetree/bindings/display/panel/simple-panel.txt - -Panel required properties: -- ports for remote LVDS output - -Panel optional properties: -- data-mapping: should be "vesa-24","jeida-24" or "jeida-18". -This describes decribed by: - Documentation/devicetree/bindings/display/panel/panel-lvds.txt - Example: lvds_panel: lvds-panel { From patchwork Mon Jun 24 21:56:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167656 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733391ilk; Mon, 24 Jun 2019 14:59:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzj0vK8ivYyVIBKuJCJfiKyQHha/NbpvNusT6hk83jQPhOJXwAbnqN/aZnm+vgwp8kodXI X-Received: by 2002:a17:90a:17c4:: with SMTP id q62mr27897036pja.104.1561413549795; Mon, 24 Jun 2019 14:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413549; cv=none; d=google.com; s=arc-20160816; b=EVO0ZX4LE0xjKWznDzWK1hNf9SuEVY9ItXkhZDou/mwapA6t1TlTj00O0fhO+vRwIC vsSsscK/0AGUlmZpboMIiOITrrhbJtOz52qqKu+FXajjJ+k+0BiJ+d0vuA6+7pKAbyrn CCui3l7FBOkQ/wmqCPcR6SImeXYaw/9q0MlP/sKAuBS74lF1v1sMSAz9u5519l4TucWA FJOLe0V7pKZky1gzZ5S3Y6gvZrHIytO81k4JCy9p4hUNhAxqp+5oNzyVUx1adrpS1WYJ oJfZ9E7Go7YzENhHHB3+KH8lut/cyhLPV2DbU2z9ETXt+DqwjWW/Td+QY047afH6mULZ Q2pg== 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:message-id:date:subject:cc:to:from; bh=hgTCH8T1FFouuaZoULxX1dk9vJ97SA7YisaMIiZjBD4=; b=DS0lRK4WkIYi+ulC8JOnGFjU7w5L1MisQFIv+DzRG61j5UYK4fqRgnm9lskVKZmr8s IIj60Z+0T6QdpZfMIXSadem48jGFGA8AP3YvhfkO9olT4R7VpPtt8j4ger2Fubu50vC7 SnV+ffOdgH1aHUpvgv+xzopIGtRcuEipGfz6kfR3Jbmbh9/JJRQEFgjVQHtWrVnZQvYr Mx2MFEGt68SQfI9C72cNRBhGcLkBMJ9TIBZNoi29iDG1t1LUzvIwR4NWQ0L7ilrHtWVo 83fCSBCPhtBrxQA3NLe4vq3krvuzeYpnBJbQKKcx/rtRQ5H51ew57Kb/034M7co/k5dy K3Lw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si10940770pgc.595.2019.06.24.14.59.09; Mon, 24 Jun 2019 14:59:09 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732680AbfFXV7I (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:08 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:44847 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732619AbfFXV7A (ORCPT ); Mon, 24 Jun 2019 17:59:00 -0400 Received: by mail-io1-f66.google.com with SMTP id s7so374047iob.11; Mon, 24 Jun 2019 14:59:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hgTCH8T1FFouuaZoULxX1dk9vJ97SA7YisaMIiZjBD4=; b=K4Hj3FauDTUZ0twFUvEXPvr2tZRqRq/sWML9n3iXHTr6rKuW/PlYpeBcRqOWsVFNZk bMyBdYbIM0wtCUKqBBOCZv8HTRdSUCNLjRtMUXJ+ph9MHIHcFSvxjLVzNVZbaqVd+0Kd +Di/Mw3+He9GfzicgDkVmSkMGrkGo+LpWxcBVl9SpPQoy+eYukkfw1ngOIGkYjkX0sGG EnmVSDMg/eB8uGsNuifz+yXb8G/bcwKxeI4pQ7w391tgEmci6FVJgnBeFcPZIGqZuRuP /hGDqZJYu8JkUYRL95jMFP8CAMeaQndZHKJcEK69TrwOk/VQAc35K09b7BIVPss7IgN1 XkCg== X-Gm-Message-State: APjAAAXhKB3IvQyfq0rAl/vjlgVD8IpxTDQ5oJfW29jU25gCXEly7ALI sT3PzJkcAU6ef9mbdQLRjA== X-Received: by 2002:a02:600c:: with SMTP id i12mr14366350jac.108.1561413539674; Mon, 24 Jun 2019 14:58:59 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.58.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:58:59 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart Subject: [PATCH v2 05/15] dt-bindings: display: Convert bananapi, s070wv20-ct16 panel to DT schema Date: Mon, 24 Jun 2019 15:56:39 -0600 Message-Id: <20190624215649.8939-6-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the bananapi,s070wv20-ct16 panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../display/panel/bananapi,s070wv20-ct16.txt | 12 ---------- .../display/panel/bananapi,s070wv20-ct16.yaml | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 12 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt create mode 100644 Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt deleted file mode 100644 index 35bc0c839f49..000000000000 --- a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt +++ /dev/null @@ -1,12 +0,0 @@ -Banana Pi 7" (S070WV20-CT16) TFT LCD Panel - -Required properties: -- compatible: should be "bananapi,s070wv20-ct16" -- power-supply: see ./panel-common.txt - -Optional properties: -- enable-gpios: see ./simple-panel.txt -- backlight: see ./simple-panel.txt - -This binding is compatible with the simple-panel binding, which is specified -in ./simple-panel.txt. diff --git a/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml new file mode 100644 index 000000000000..2c1d3bf2baa0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml @@ -0,0 +1,24 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel + +maintainers: + - Chen-Yu Tsai + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: bananapi,s070wv20-ct16 + +required: + - compatible + - power-supply + +... From patchwork Mon Jun 24 21:56:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167655 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733366ilk; Mon, 24 Jun 2019 14:59:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbG4/eL0wGpjUp5ZNyRAfPG1ZQpiwdcjMkATjU2wZXjYDtaWfHlt9IuffQ2STO+GEC26Pg X-Received: by 2002:a63:6986:: with SMTP id e128mr20020795pgc.220.1561413547380; Mon, 24 Jun 2019 14:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413547; cv=none; d=google.com; s=arc-20160816; b=UFZF4lwSKKDHP4yHouy98ZUWhZJUC1A3Rc7wlQELhhpoFlNHtLC7VuZET+xjg7iIlu xGZiWaUoh3fgT6TNgF3E/GlrAWG6CMJQysOhKhe3mtn4dlCBKpx3INcv1Cd12S+qP1Hg azSA8xQZBMRWETQ782lZ5ljIqY1o6cMd9nz8xQcStaa0IwCgZWC3NHOFnm1RjfvY0C4w oRdfyA9wOPux1pzxYJVAGmagKLaO4X+124VjyHVWbTCaYznIxrbYcn7VD56NnjPe5MTK dD/vfsDcp/q/En7B3S+ba/yjXMoIlWQxOwkHzYEt2p0nHzxzFfQJNcsLlx76m/vgynLs 6dNw== 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:message-id:date:subject:cc:to:from; bh=hq52QEn/OewtdxsavtLn6pDRnEXQBUEM1fJjUXGZO0I=; b=w2MQgQo12z49/xAnDtQIfpkHRPvxO3gAhW4plVquMQwXUg7K0K+lkPpZ6a9ec/DVkr EhZXIdkKl+cpllyPIghELu1zrempcRbOkoC5QXd16QjoRCykT94OCE4ctNWshYt4e7oc UDQdzOQg7a5EfyHizazse2G09hBOo45pCWNmePR5f+oolVvGhWw22+W91gbOikiElVgS 8Sdzhyc5lBWNg4IBrZ3nqK49DBnCaI/7+Rs6PMsdDBst/polMcvvONFOrJDZ7R3EylHi Ly3SphwbSA24/iM2MUtPjs/Ht+mu192dcpR5I2pSxJYobraxAucPB4RWAXdVcMo3x2r3 80iw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si957288pgs.358.2019.06.24.14.59.07; Mon, 24 Jun 2019 14:59:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732657AbfFXV7F (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:05 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:45166 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732611AbfFXV7C (ORCPT ); Mon, 24 Jun 2019 17:59:02 -0400 Received: by mail-io1-f67.google.com with SMTP id e3so556436ioc.12; Mon, 24 Jun 2019 14:59:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hq52QEn/OewtdxsavtLn6pDRnEXQBUEM1fJjUXGZO0I=; b=fvzz2wrfF8WpdrrnKQzwu+b65dN276WAqdnCvbYtL3Wz5u0Pwdp7kVYFrEE+MHPFvG bXId/WPkbkcGJZM2aUGrbnPcrPd6AnyKRgvKyeH8ouD6MNfMi60xXxWyMVUcvPLSwQev vqjuzkSi4TAB6CC3WXUJS2ocvU2Y7LnIOkD45thct1fGvXxMFQmCzC0Dyu8AbXH/pJCp Kobq9pk8zPmnHkUFcnAFpeUuNG/YI3t2Q2AhgnT1imK88yH4AS7J5PWlP1uuUlf1WV12 PBWEzmoUiaqT3FSh/7+3u78NIvTK9+JCa+8E30N5yhGVZelTBZxIwhiY4nn4afm0DRit uj/A== X-Gm-Message-State: APjAAAUW3qFKe5LN1vOxo8K1Y7YwJJxTm8AZffoc1svOyIi6t1scfR82 jqOY+sDCxpgwJoyo15OJ0dGKWRw= X-Received: by 2002:a6b:cb07:: with SMTP id b7mr42084336iog.7.1561413541536; Mon, 24 Jun 2019 14:59:01 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.58.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:01 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Philipp Zabel Subject: [PATCH v2 06/15] dt-bindings: display: Convert dlc, dlc0700yzg-1 panel to DT schema Date: Mon, 24 Jun 2019 15:56:40 -0600 Message-Id: <20190624215649.8939-7-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the dlc,dlc0700yzg-1 panel binding to DT schema. Cc: Philipp Zabel Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../display/panel/dlc,dlc0700yzg-1.txt | 13 --------- .../display/panel/dlc,dlc0700yzg-1.yaml | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+), 13 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt create mode 100644 Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt deleted file mode 100644 index bf06bb025b08..000000000000 --- a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.txt +++ /dev/null @@ -1,13 +0,0 @@ -DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel - -Required properties: -- compatible: should be "dlc,dlc0700yzg-1" -- power-supply: See simple-panel.txt - -Optional properties: -- reset-gpios: See panel-common.txt -- enable-gpios: See simple-panel.txt -- backlight: See simple-panel.txt - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml new file mode 100644 index 000000000000..1b0b63d46f3e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel + +maintainers: + - Philipp Zabel + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: dlc,dlc0700yzg-1 + + reset-gpios: true + enable-gpios: true + backlight: true + +required: + - compatible + - power-supply + +... From patchwork Mon Jun 24 21:56:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167657 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733437ilk; Mon, 24 Jun 2019 14:59:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7R/hbAFrdBF/yg+8Uspikzbh4IQ00UHJF+sYbT8/dPSA7oXZW66V3U1sRoq+9sXu15ipg X-Received: by 2002:a17:90a:d14a:: with SMTP id t10mr27510170pjw.85.1561413553473; Mon, 24 Jun 2019 14:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413553; cv=none; d=google.com; s=arc-20160816; b=abeC2krIVDiCYdj11Epcg3+tIcuQ3rDa4/Z5hkVdBAlmnKJBXMt5QJubs4NvFDRe8d hD/pZmQF1qh3weWSEle9zl6phuUvY9hr6lSSTXXFCyev+YCxLJeUaZSIjousar0s/Mo9 nOwE5otCVi4sg1oe90kRjTl2B8yJp94aKRx3jPNBFePsGAAf4LIzNfvyvMJmnO5N711H sc73xNztZBBrNqU6eqI8D91UJ9OKr1x3XAWcLjhb6fMei3kjFnoJcZGOIqLNby+2KRTE rM3474pnlAwH8QUBhBD80y9M+SNsouzYCbWUXfRzANXxQYNDCG62B+m/RllAnuMg0gxM pyQA== 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:message-id:date:subject:cc:to:from; bh=bfDOCB2rzGjSjqpQ2I0Ij8EWWsXmK+v4TaSJDZJlQ7s=; b=nGNrc17rzVebCphIKPndzZEmpGD/jnFbMJvi3YT1dxH5DQndabbtDMNGwDW23/lUQT ULh7ME1eiGfWJqiA9s5XCbUd32BwWZZaa5CvcPmL/cLjwQDUFRuNFWNYruPmT/HMeRsG UfAVNHqxe/Gv4VbPFOleIJ2qfxldZwRft4aT68lWqFptewbyoV/BSYNa/uN+qbWcvofK NC5vxYf5Pa7YUGZhFrKPzIMWhhO/sft+B6tU5yBFPcQoUmvH8/hFNhhmGVz5MtNsII9v r2bQYKRkPy4dWaftRjaWyAjGUecQ6VaoEucQlXSuSbj68lpBqzsn1XVhgOOzY12wQa2C KptA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si10940770pgc.595.2019.06.24.14.59.13; Mon, 24 Jun 2019 14:59:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732728AbfFXV7M (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:12 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:40495 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732667AbfFXV7H (ORCPT ); Mon, 24 Jun 2019 17:59:07 -0400 Received: by mail-io1-f66.google.com with SMTP id n5so294727ioc.7; Mon, 24 Jun 2019 14:59:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bfDOCB2rzGjSjqpQ2I0Ij8EWWsXmK+v4TaSJDZJlQ7s=; b=dKpREGkaO5XBMlwGZ9HqhfRwpOJlCoaTQedfLA/lZTFMafyl6Zq/f2ZNMvw+dttytH E1dfnnWWZDhH7RDjx9zPotXgydZ8BqAHsS3vtw5/2OnZCWOLg46g9CVdDKDsy75UPNKy YPSISl1ikcCJCW5Kwf+1LqNr+GT20DAx+UcQUAT648x8cED/pu7SjN40d6hYlofyBoIm jwrlkYFL4TLczQCo7NS4lZMOebv2hhi88V64jV0tHHZjHqZaTcHxu1QA4atKx5p708mF 7GGTTRxShG4BAJy3is0bmqpFWQNswLKMUAHjh/fJUDbRse/n8eHI3ThFA55h8ZFtO9pP FwUQ== X-Gm-Message-State: APjAAAVMTJEJp4slNr30pBMIM03faMqTukDgOFAwugLKP3WvMuJEdKHX DFerP0KZqMoGrUqPO8i8Ug== X-Received: by 2002:a6b:8f93:: with SMTP id r141mr70657931iod.145.1561413545939; Mon, 24 Jun 2019 14:59:05 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:05 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Heiko Stuebner Subject: [PATCH v2 09/15] dt-bindings: display: Convert tfc, s9700rtwv43tr-01b panel to DT schema Date: Mon, 24 Jun 2019 15:56:43 -0600 Message-Id: <20190624215649.8939-10-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the tfc,s9700rtwv43tr-01b panel binding to DT schema. Cc: Heiko Stuebner Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Signed-off-by: Rob Herring --- .../display/panel/tfc,s9700rtwv43tr-01b.txt | 15 ---------- .../display/panel/tfc,s9700rtwv43tr-01b.yaml | 30 +++++++++++++++++++ 2 files changed, 30 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt create mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt deleted file mode 100644 index dfb572f085eb..000000000000 --- a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt +++ /dev/null @@ -1,15 +0,0 @@ -TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with -resistive touch - -The panel is found on TI AM335x-evm. - -Required properties: -- compatible: should be "tfc,s9700rtwv43tr-01b" -- power-supply: See panel-common.txt - -Optional properties: -- enable-gpios: GPIO pin to enable or disable the panel, if there is one -- backlight: phandle of the backlight device attached to the panel - -This binding is compatible with the simple-panel binding, which is specified -in simple-panel.txt in this directory. diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml new file mode 100644 index 000000000000..614f4a8d8403 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch + +maintainers: + - Jyri Sarha + - Thierry Reding + +description: |+ + The panel is found on TI AM335x-evm. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: tfc,s9700rtwv43tr-01b + + enable-gpios: true + backlight: true + +required: + - compatible + - power-supply + +... From patchwork Mon Jun 24 21:56:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167663 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733601ilk; Mon, 24 Jun 2019 14:59:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9CM+c1zrvEZusthi7mrTHs61GjmgKPyBInC58ImIR0zEJhk2vCXp6TD0OALNyIJtOjlEw X-Received: by 2002:a63:c14c:: with SMTP id p12mr35159863pgi.138.1561413569934; Mon, 24 Jun 2019 14:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413569; cv=none; d=google.com; s=arc-20160816; b=z9rCEXaS8DaDSnTz7op3S8GLOQyiap7wkLlbPD8F9N/TYnjfDT0eBsjCc9bxmQYT/D /XTHzEfW0yw1JNuUHFhYj+M/75rX546eq0P7kPvWyYjhkE8LTSsrbJl5MrUlf8zV/xz7 bKGn55NURZ70PumxHQHA0HnDXVDrRGkr1kPgkzo+URjQmle9lTccKeY7dtv2/mIzmY/B ddgqcUNV95vbu5sE6Y9myZQ1okpTpCTVGK3F7CPTJMHeiDHq1ljM1fycopu5dCyC/O0u mdA7/ZZKiwkQA2bStXw+zp1NDQLNnxRghyyHKUQ2oNeRFlJtn0APtGct63bCc8UNsxil GrUA== 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:message-id:date:subject:cc:to:from; bh=G+s42jlOutJVoH3ChTzadVhi4SKC/zB2mUxbB3XIwJ8=; b=Jb//YxiNGgy6nvxeNukA3CKpx7q15TUNN5sjrtekvHIGeA2D/rwRf6NCOjhVQ5ae65 HwM2PMX1D+14wxTGVvH7q8UNl6hBfDZU2jRLfm9Zy1nhXvnUCZW2+298DWiWMgi3wdK1 Z9kGXqcitw8n1fWL+qAaX91lrUKlYd4UvV2npovjOfENnf20rvs4PYXsOJGnoGVypl4U riFf0gy8UBZ/wHVo4W0d1hdlMaGwAvMhuZ48U/zKZOJEOrFVc5nQ9QlSwGc/O1jCsy6/ xPbyzMUOr5+MqwfFbE6HQepFJHIGi1KGHat9S8p/1ZSujaAG7dXoaNq+CfThWsptQ0SV /uVw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32si12449561pld.402.2019.06.24.14.59.29; Mon, 24 Jun 2019 14:59:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732765AbfFXV7Q (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:16 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:33337 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732696AbfFXV7K (ORCPT ); Mon, 24 Jun 2019 17:59:10 -0400 Received: by mail-io1-f66.google.com with SMTP id u13so1058802iop.0; Mon, 24 Jun 2019 14:59:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G+s42jlOutJVoH3ChTzadVhi4SKC/zB2mUxbB3XIwJ8=; b=kudN0o0Xmy+CjXGINQvQBoevxmCpoXN7o5FX3fNWNZFc62L2DVtK961Q0Dc4T2A8EE Q86QpvO3K43JaxXKbd0IHm1wE/okVQqNKKn8CPov0ASdGAxb+VVhvJrbLn9JNB1hYYEU Vx9zaeOusmuWIW016QuKGrVhSE1fhKPbT0shVb35gPOgym6vbkdX8h8oHD0Uyi+Ps1cy uRfA7pt6KbS5YoasLV83Roh7DrjJF/zUeifM3mcCLIDZ2KN54VzWQli9Isob0Yt3D408 SjwLrWujq0moaiqIFSm1LNB9PDM6hZc098qIfHl18owTm9xBE/3385UQrsJ9Lq2swulO NT7A== X-Gm-Message-State: APjAAAWDzFJG5ueDdejaH3Bf28AnvXuq86ZiVSbGLGeDSnr5sKpa8DEM 64sSH2ugY7XzF9vWzEW5nuewUFk= X-Received: by 2002:a5d:8759:: with SMTP id k25mr17595306iol.307.1561413549182; Mon, 24 Jun 2019 14:59:09 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:08 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart , Thierry Reding Subject: [PATCH v2 11/15] dt-bindings: display: Convert panel-lvds to DT schema Date: Mon, 24 Jun 2019 15:56:45 -0600 Message-Id: <20190624215649.8939-12-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the panel-lvds binding to use DT schema. The panel-lvds schema inherits from the panel-common.yaml schema and specific LVDS panel bindings should inherit from this schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Laurent Pinchart Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maxime Ripard Acked-by: Thierry Reding Signed-off-by: Rob Herring --- .../bindings/display/panel/lvds.yaml | 107 ++++++++++++++++ .../bindings/display/panel/panel-lvds.txt | 121 ------------------ 2 files changed, 107 insertions(+), 121 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/lvds.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/panel-lvds.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml new file mode 100644 index 000000000000..d0083301acbe --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml @@ -0,0 +1,107 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/lvds.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +description: |+ + LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple + incompatible data link layers have been used over time to transmit image data + to LVDS panels. This bindings supports display panels compatible with the + following specifications. + + [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February + 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) + [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National + Semiconductor + [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video + Electronics Standards Association (VESA) + + Device compatible with those specifications have been marketed under the + FPD-Link and FlatLink brands. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + contains: + const: panel-lvds + description: + Shall contain "panel-lvds" in addition to a mandatory panel-specific + compatible string defined in individual panel bindings. The "panel-lvds" + value shall never be used on its own. + + data-mapping: + enum: + - jeida-18 + - jeida-24 + - vesa-24 + description: | + The color signals mapping order. + + LVDS data mappings are defined as follows. + + - "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and + [VESA] specifications. Data are transferred as follows on 3 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< + DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< + + - "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI] + specifications. Data are transferred as follows on 4 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__>< + DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< + DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< + + - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. + Data are transferred as follows on 4 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< + DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< + DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< + + Control signals are mapped as follows. + + CTL0: HSync + CTL1: VSync + CTL2: Data Enable + CTL3: 0 + + data-mirror: + type: boolean + description: + If set, reverse the bit order described in the data mappings below on all + data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6. + +required: + - compatible + - data-mapping + - width-mm + - height-mm + - panel-timing + - port + +... diff --git a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt b/Documentation/devicetree/bindings/display/panel/panel-lvds.txt deleted file mode 100644 index 250850a2150b..000000000000 --- a/Documentation/devicetree/bindings/display/panel/panel-lvds.txt +++ /dev/null @@ -1,121 +0,0 @@ -LVDS Display Panel -================== - -LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple -incompatible data link layers have been used over time to transmit image data -to LVDS panels. This bindings supports display panels compatible with the -following specifications. - -[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February -1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) -[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National -Semiconductor -[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video -Electronics Standards Association (VESA) - -Device compatible with those specifications have been marketed under the -FPD-Link and FlatLink brands. - - -Required properties: - -- compatible: Shall contain "panel-lvds" in addition to a mandatory - panel-specific compatible string defined in individual panel bindings. The - "panel-lvds" value shall never be used on its own. -- width-mm: See panel-common.txt. -- height-mm: See panel-common.txt. -- data-mapping: The color signals mapping order, "jeida-18", "jeida-24" - or "vesa-24". - -Optional properties: - -- label: See panel-common.txt. -- gpios: See panel-common.txt. -- backlight: See panel-common.txt. -- power-supply: See panel-common.txt. -- data-mirror: If set, reverse the bit order described in the data mappings - below on all data lanes, transmitting bits for slots 6 to 0 instead of - 0 to 6. - -Required nodes: - -- panel-timing: See panel-common.txt. -- ports: See panel-common.txt. These bindings require a single port subnode - corresponding to the panel LVDS input. - - -LVDS data mappings are defined as follows. - -- "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and - [VESA] specifications. Data are transferred as follows on 3 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< -DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< - -- "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI] - specifications. Data are transferred as follows on 4 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G2__><__R7__><__R6__><__R5__><__R4__><__R3__><__R2__>< -DATA1 ><__B3__><__B2__><__G7__><__G6__><__G5__><__G4__><__G3__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< -DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< - -- "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. - Data are transferred as follows on 4 LVDS lanes. - -Slot 0 1 2 3 4 5 6 - ________________ _________________ -Clock \_______________________/ - ______ ______ ______ ______ ______ ______ ______ -DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< -DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< -DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< -DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< - -Control signals are mapped as follows. - -CTL0: HSync -CTL1: VSync -CTL2: Data Enable -CTL3: 0 - - -Example -------- - -panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; From patchwork Mon Jun 24 21:56:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167659 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733504ilk; Mon, 24 Jun 2019 14:59:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYhuqUnueM7fVxcWAJjhLhE88Z2Vg2U3RcJjoO7WNB0aDwez+0PRs++pt1Blf3legmPOug X-Received: by 2002:a17:90a:db08:: with SMTP id g8mr26388326pjv.39.1561413561788; Mon, 24 Jun 2019 14:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413561; cv=none; d=google.com; s=arc-20160816; b=aWMIdlWTtS+JASqjn5uZNpAR/4bsHWSVu2tMIZii4IbPadekb9/pNTTxaofRsa/7Vw XNHuzYqnoKmo7mExAGWIwFD5HlpEEK35WG559Z4ABEHP18O41cA34oABj0Z7r9x0Gw0R FDulwqfGv7N9Id2kAYFi0VkgW3Y4KxQ8w3KK8FzJ6gOzRHTKxc/q7dHW5/gLONYHO6v9 6pDlgCSrRcQCDfDIOYZjvaFbcWadHfS/x90s9o9F5dbAbPOwinGpvFWnlT8NUxXE/+Fg KGpVjV5dbbv5IWLWx9h1KT8jvxAYkIXqYk5A0fdHxUvOa0qUGmyT4lt00jlnzN5qWvRx aJxQ== 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:message-id:date:subject:cc:to:from; bh=GFdFvbsDhPtM+T2pPl7/SqcPeksqsAg2JuxBKixkKqA=; b=pfUqpl66XaFkLwzFemRom3S7SiZPtoYhzfmhavtHSdIuK90p0T54DNZjqHMyLS7yhH 8mMzIPooEpV8GIAGl6JIeMk5gsX7NcN7zB+FHg+CNaadRXs+zVg2zvSg8jTuXeF0pCt0 gqjBiLKw1H+QOLOcbyKAf7Obmdi+U64sPaF5s9RE181xnObuBGb2JWwXn2aKEWX6V5pW JlcSYsa+vF1WEGPkIbl9GlLoYu+00Qkh5ZgfaS9AVea1sQEdtVhTPSlRo8dY1QTvYN9Y aglqxLuFuNToGuJGcp7lNCxql8X2xyz8pJHbrNQjO5RFy673LInK7IpNrOUEMbo8YxnN /glQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32si12449561pld.402.2019.06.24.14.59.21; Mon, 24 Jun 2019 14:59:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732802AbfFXV7U (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:20 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:40537 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732735AbfFXV7O (ORCPT ); Mon, 24 Jun 2019 17:59:14 -0400 Received: by mail-io1-f65.google.com with SMTP id n5so295287ioc.7; Mon, 24 Jun 2019 14:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GFdFvbsDhPtM+T2pPl7/SqcPeksqsAg2JuxBKixkKqA=; b=ckZ+F9gRBy+Z4LdsBZXYAF2bGbUE6B42RjZu+dyNleHbb4UL6v+1V/gVPNf9/e2riI iKV7HlcqWaTJ6g0LGIs6nkn7H6HVx6NP5+nYB0fiTg1kae6rMngXaQ9VsDQTm6fHjOzs r3qi9owLRAdZLPn5joJFFQ6aLMO/wIwljAeXPdYUcfULGslwcXZB3g7Iabf0BPsrIdLy d9eS5ywfDRGqTD8FlCfNUHzWZCGY0iG8QNUwYxCA1Pinm4lOhl9JcyTwFBLJ8KUYhaWj pHLml+0ls+OOjPXKMoYENKKLFsBi5ooDJmr3Y7dWX3R2GdB9KYLzl9KUgxG2jeBIZpsO UmNg== X-Gm-Message-State: APjAAAXJdLu+/0bY3r3KHRPoTeUkpU95zvE7inKyFOiQQPQtkSZLd0SY uv7/r3vix+3tP9lXvaXiGg== X-Received: by 2002:a5d:904e:: with SMTP id v14mr22328731ioq.61.1561413552627; Mon, 24 Jun 2019 14:59:12 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:12 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart Subject: [PATCH v2 13/15] dt-bindings: display: Convert mitsubishi, aa104xd12 panel to DT schema Date: Mon, 24 Jun 2019 15:56:47 -0600 Message-Id: <20190624215649.8939-14-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the mitsubishi,aa104xd12 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa104xd12.txt | 47 ------------ .../display/panel/mitsubishi,aa104xd12.yaml | 71 +++++++++++++++++++ 2 files changed, 71 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt deleted file mode 100644 index ced0121aed7d..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA204XD12 LVDS Display Panel -======================================= - -The AA104XD12 is a 10.4" XGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - - -Required properties: - -- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that - order. -- vcc-supply: Reference to the regulator powering the panel VCC pins. - - -Example -------- - -panel { - compatible = "mitsubishi,aa104xd12", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <210>; - height-mm = <158>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1024x768 @65Hz */ - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hsync-len = <136>; - hfront-porch = <20>; - hback-porch = <160>; - vfront-porch = <3>; - vback-porch = <29>; - vsync-len = <6>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml new file mode 100644 index 000000000000..fd97ca49c104 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa104xd12.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa104xd12 + - {} # panel-lvds, but not listed here to avoid false select + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 210 + + height-mm: + const: 158 + + +required: + - compatible + - vcc-supply + +examples: + - |+ + + panel { + compatible = "mitsubishi,aa104xd12", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <210>; + height-mm = <158>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1024x768 @65Hz */ + clock-frequency = <65000000>; + hactive = <1024>; + vactive = <768>; + hsync-len = <136>; + hfront-porch = <20>; + hback-porch = <160>; + vfront-porch = <3>; + vback-porch = <29>; + vsync-len = <6>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +... From patchwork Mon Jun 24 21:56:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 167661 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4733545ilk; Mon, 24 Jun 2019 14:59:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqyWbcyRctA1N/JRSF8b6sWdHnEotAPOQlM1Iy7JShubD88dTDKh1mhczvvrmRutbHX/7m X-Received: by 2002:a17:902:d695:: with SMTP id v21mr129566496ply.342.1561413565442; Mon, 24 Jun 2019 14:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413565; cv=none; d=google.com; s=arc-20160816; b=F0ZrqJm53ytPK+QXbhJeWvj6Fg5gZCgZMUugyD8uAt6q2xIew6iC/1AbKYVxyVK7WT Wabnn2Fuy32kAZAXnZC76r1EPryq9xcWe9IY2DnUupdR9YBUZ0WIvoG8M+P8JLREUM5j hTDANsis2AO/rR94NCPSjGTAyV5FIKBZ9lF/xEJGOBukMAUAnAnFkGyVvLJPplmoqjmq woqYms2GY+pGh8T8o8U8Fgl6EDR9o8p9CP5wtm6IkuYT07g9ZqoaRrsIEQyFPsq0fqpA d7X8Pt7qVwUTOKnu9RQcZy9MqzyY3Yfjtz3oX4uovIv4N+jFnyzXZHsx1JBEa7vn9J6w R6FA== 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:message-id:date:subject:cc:to:from; bh=+Z2UKVw9wR+nM3C1smoMCBCX/v7ccCU9RTU41ZXWQi8=; b=nrL3TZhMBNl7XE7Z4e+odXmajdlUcEp9iIMnXBqTrKFXTxwmSQa39f9v0DWRZZCYLb K9O1VwBw1x7sVHeD30QN9p9LWqK7KLCjaXecpk9nGd6gYGG+SFZkWzzglTbdtybqKJFf s8I6Q4kRM9KVniS9g9ZuHF2cf1O2zEiwJnC19BQbV75q8fxJan1oKLpURpNIohdfCrHx QCizry+sULg91j5917jzeFT8G3EmW9up/LlaXvGUNLr8j5pcdNonMR/eYBL1Go8LXPLB N07f7qHvJOcd0H65OLtXJQZomroyrj5b43xx+8fQTZ/N9/6CbJoJHlY4d1sKKQPMqsKp Kz/w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h32si12449561pld.402.2019.06.24.14.59.25; Mon, 24 Jun 2019 14:59:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732830AbfFXV7X (ORCPT + 30 others); Mon, 24 Jun 2019 17:59:23 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:37384 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732744AbfFXV7O (ORCPT ); Mon, 24 Jun 2019 17:59:14 -0400 Received: by mail-io1-f66.google.com with SMTP id e5so506980iok.4; Mon, 24 Jun 2019 14:59:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+Z2UKVw9wR+nM3C1smoMCBCX/v7ccCU9RTU41ZXWQi8=; b=SpTtogjqmN4bX90q7b/DuB8p4t9Aa5kgHgv9CuQIoLi1eZCHDYyfc7tWQIsijmsRLf at2AIwar/FWOCnwv61RpfY0s6ZKckNJNvGoqpbjBNgUO/XxiCJmC1bYxIJhB8kyTGnGW HTvyEH/8zcKY329aKy2FWuWDa8uwZL5VfhzpJGYNF1pqntXfA+KFsEWteb3eJSV5WsIF H0AOBKjGa/piA0oq7tdOt4v+ZouncQH4WJHOFXJr19QDu8914hxLW6cE4QJE4Wv8hzL0 vdHoUFNqoYdakhQidq7qNTdXpWXGkWEewmx0vbGoqRLn4/pWxUJ/A8cDtypvb9V3wgkV JBvg== X-Gm-Message-State: APjAAAX81Ni40xnlGmKMNJpVUZaZmecGSGXMfStTtC9oV4ILX/tisSHi jIq/CrDJjfqld093M1F0Mw== X-Received: by 2002:a6b:f00c:: with SMTP id w12mr4135540ioc.280.1561413553707; Mon, 24 Jun 2019 14:59:13 -0700 (PDT) Received: from localhost.localdomain ([64.188.179.247]) by smtp.googlemail.com with ESMTPSA id l5sm14717301ioq.83.2019.06.24.14.59.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 14:59:13 -0700 (PDT) From: Rob Herring To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Sam Ravnborg , Maxime Ripard , Laurent Pinchart Subject: [PATCH v2 14/15] dt-bindings: display: Convert mitsubishi, aa121td01 panel to DT schema Date: Mon, 24 Jun 2019 15:56:48 -0600 Message-Id: <20190624215649.8939-15-robh@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190624215649.8939-1-robh@kernel.org> References: <20190624215649.8939-1-robh@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the mitsubishi,aa121td01 LVDS panel binding to DT schema. Cc: Thierry Reding Cc: Sam Ravnborg Cc: Maxime Ripard Cc: Laurent Pinchart Signed-off-by: Rob Herring --- .../display/panel/mitsubishi,aa121td01.txt | 47 ------------- .../display/panel/mitsubishi,aa121td01.yaml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+), 47 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt create mode 100644 Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml -- 2.20.1 diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt deleted file mode 100644 index d6e1097504fe..000000000000 --- a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.txt +++ /dev/null @@ -1,47 +0,0 @@ -Mitsubishi AA121TD01 LVDS Display Panel -======================================= - -The AA121TD01 is a 12.1" WXGA TFT-LCD display panel. - -These DT bindings follow the LVDS panel bindings defined in panel-lvds.txt -with the following device-specific properties. - - -Required properties: - -- compatible: Shall contain "mitsubishi,aa121td01" and "panel-lvds", in that - order. -- vcc-supply: Reference to the regulator powering the panel VCC pins. - - -Example -------- - -panel { - compatible = "mitsubishi,aa121td01", "panel-lvds"; - vcc-supply = <&vcc_3v3>; - - width-mm = <261>; - height-mm = <163>; - - data-mapping = "jeida-24"; - - panel-timing { - /* 1280x800 @60Hz */ - clock-frequency = <71000000>; - hactive = <1280>; - vactive = <800>; - hsync-len = <70>; - hfront-porch = <20>; - hback-porch = <70>; - vsync-len = <5>; - vfront-porch = <3>; - vback-porch = <15>; - }; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds_encoder>; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml new file mode 100644 index 000000000000..68750d8f0aef --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/mitsubishi,aa121td01.yaml @@ -0,0 +1,69 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel + +maintainers: + - Laurent Pinchart + - Thierry Reding + +allOf: + - $ref: lvds.yaml# + +properties: + compatible: + items: + - const: mitsubishi,aa121td01 + - {} # panel-lvds, but not listed here to avoid false select + + vcc-supply: + description: Reference to the regulator powering the panel VCC pins. + + data-mapping: + const: jeida-24 + + width-mm: + const: 261 + + height-mm: + const: 163 + +required: + - compatible + - vcc-supply + +examples: + - |+ + panel { + compatible = "mitsubishi,aa121td01", "panel-lvds"; + vcc-supply = <&vcc_3v3>; + + width-mm = <261>; + height-mm = <163>; + + data-mapping = "jeida-24"; + + panel-timing { + /* 1280x800 @60Hz */ + clock-frequency = <71000000>; + hactive = <1280>; + vactive = <800>; + hsync-len = <70>; + hfront-porch = <20>; + hback-porch = <70>; + vsync-len = <5>; + vfront-porch = <3>; + vback-porch = <15>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_encoder>; + }; + }; + }; + +...