From patchwork Wed Dec 25 11:56:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 182441 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp524052ild; Wed, 25 Dec 2019 03:56:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzTsMJvcFLBkybqAa8ZuorKQLYuEqrJskpLTSRaoDDG8uDQx0lO8Von+he65C/w8GVjkf2H X-Received: by 2002:a9d:367:: with SMTP id 94mr42008477otv.329.1577274980517; Wed, 25 Dec 2019 03:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577274980; cv=none; d=google.com; s=arc-20160816; b=QmfPWTdGr3zrMB7IQi2ZWO6kzQGJDCo4hWzfbV+VSM5ORpsNq0TOSi3dGnvEm60iOI ccBllv/pW8W3i4CLNfVAsB//PFz3xPHR1qW4hK/GrndU+24Sg6MsOnKlJmKoAE7L2dfO S7vYZs3k163hN3OHwh9VGiU6M1NIAj6cghr/+8Hz0Pfchyodvro6+EBMNQBBE5eCIggv D0Mozb44hMNAS6+plz5VpKRFjyzkXJocCsR4xxRErT1Rx1i8xzPddjNohdLWBwKY3/SD uNb9hlNR1CF2oGqivHJx6M/ZCvrrOVjTDeRBYxPQRTY+fTNjJssCTjrA4DJc+oRIWjWQ PXTQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5mol6HJrMqqa1NJdam/PhpUhWyScfd+EBsQoCUp51Ik=; b=ZbmYFTc3SWi37Pnsiae3qaY0ZH6T/TVO9qdBeXBjN5CZrzL40mxIh1h6nq7XEoZNXD Dj5NFNbxi8dHroJSUGK34CjqrwVYmUHTKEJwy+hJAv9Pt0zOs0v0roPXeOs5jKRA6/fN T7qF49iBPq6AXeMMJUNqrtjU2+oWWN2MA0yk+nwz1d5kWETqzsxRQyXw2fwVjrsgEWlc bmW+ClPf26lcLc5JmhoZXTJ0L1HiROppS3GGDrgRiB4y4GBIOErgmTFvf2VMuY7XkSE0 l9idmIgcq/iDU7BseEbWt5A8T9EMpoRQi92SNfJxsAU+xtRmTGtOhczNDtFsyiLAULj1 wc2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WTk1X7px; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23si9802993otk.321.2019.12.25.03.56.19; Wed, 25 Dec 2019 03:56:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 header.i=@linaro.org header.s=google header.b=WTk1X7px; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbfLYL4S (ORCPT + 8 others); Wed, 25 Dec 2019 06:56:18 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:32852 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbfLYL4S (ORCPT ); Wed, 25 Dec 2019 06:56:18 -0500 Received: by mail-lf1-f65.google.com with SMTP id n25so16797303lfl.0 for ; Wed, 25 Dec 2019 03:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5mol6HJrMqqa1NJdam/PhpUhWyScfd+EBsQoCUp51Ik=; b=WTk1X7pxTyAFammbLNK7vRIMYYVvfw2Eotomu0eqpjnsMjM6g4FkkLRl4IxXW8ZpYR fK9mC6m6vj+Zg0SSU0vc10/4HHMzIRVynhqg5xy7lo2sTGztVriSHbEOSxi0BQZzZ9ui J1zC5SbiH2jVooIrPLRpLazyUpTeJ2zJho5KmqhuOc555fPlEz20jYN6a3fmNubU8dGT G4hN36M/p1pF+1ecdDwRrO9Mm4JSYSDs89wvm+i/+k66eV5uFvQBHp1GTyl1BxPIDFeB qV600Xn8gcOKap9ze+D82ZENpg25e0KHWQ09Ma6HSLmfJEBtZ3Vj1/GDpmfcD+VqP8KH JKNQ== 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:mime-version :content-transfer-encoding; bh=5mol6HJrMqqa1NJdam/PhpUhWyScfd+EBsQoCUp51Ik=; b=G5ULSEA1LLB6WLV2mLgz+mf8CQo4QUd1H8LuzahuxzLuEp2K94Z/kyPmsixra/34OB nMnLONUqWeBUktBuD24j+2YdqPCL4QAgSnM2fFkByj36a0UKeM9Z1DHvuseqpLF2Qtxy HnE/0qTejbjCRaBnDSmHHqFrNIGf/PkLlBxzKzAGpjcvsJQwkF6V3OakLxxLW5KkUlnz r6FVTahLKf7q+q6JU8n0Ryvck8KgvTcQdY7lBn2ALcQYixFEFPkPhmiAy1xnsqj/C6gw HESC/VjhTgjUUZNm9xK35neiJOT7TR9PCw8+4dsvl8SZWveigGAe/mWxXYCw09o6rT8p /htQ== X-Gm-Message-State: APjAAAVtEcPp+ndHNp1Dk3Usftbmy7n6t/ZzZO7JsAHXgH+XSipjG76F utG8hYNLbbxhfVfOO7YRWumc5X26pDs= X-Received: by 2002:a19:dc14:: with SMTP id t20mr22945983lfg.47.1577274976625; Wed, 25 Dec 2019 03:56:16 -0800 (PST) Received: from localhost.bredbandsbolaget (c-21cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.33]) by smtp.gmail.com with ESMTPSA id o19sm13544465lji.54.2019.12.25.03.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Dec 2019 03:56:15 -0800 (PST) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Sean Paul Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , Stephan Gerhold , devicetree@vger.kernel.org Subject: [PATCH 1/2] drm/panel: Add DT bindings for Novatek NT35510-based panels Date: Wed, 25 Dec 2019 12:56:09 +0100 Message-Id: <20191225115610.14518-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the Novatek NT35510-based family of panels. Since several such panels are in existence we define bindings common for all, and define the compatible string for one certain panel (Hydis HVA40WV1). As other panels are discovered and investigated, we can add more compatibles to the binding. Cc: Stephan Gerhold Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../display/panel/novatek-nt35510.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/novatek-nt35510.yaml -- 2.21.0 diff --git a/Documentation/devicetree/bindings/display/panel/novatek-nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek-nt35510.yaml new file mode 100644 index 000000000000..a4a6b5adf15b --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek-nt35510.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek-nt35510.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT35510-based display panels + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: hydis,hva40wv1 + description: This indicates the panel manufacturer of the panel + that is in turn using the NT35510 panel driver. The compatible + string determines how the NT35510 panel driver shall be configured + to work with the indicated panel. + reg: true + reset-gpios: true + vdd-supply: + description: regulator that supplies the vdd voltage + vddi-supply: + description: regulator that supplies the vddi voltage + backlight: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + + dsi@a0351000 { + #address-cells = <1>; + #size-cells = <0>; + panel { + compatible = "hydis,hva40wv1"; + reg = <0>; + vdd-supply = <&ab8500_ldo_aux4_reg>; + vddi-supply = <&ab8500_ldo_aux6_reg>; + reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + backlight = <&gpio_bl>; + }; + }; + +...