From patchwork Mon Jan 27 14:25:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 1229866 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=H0pDaIKU; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 485sVK1y3Cz9sQp for ; Tue, 28 Jan 2020 01:25:44 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726303AbgA0OZn (ORCPT ); Mon, 27 Jan 2020 09:25:43 -0500 Received: from mail-pj1-f49.google.com ([209.85.216.49]:35164 "EHLO mail-pj1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgA0OZn (ORCPT ); Mon, 27 Jan 2020 09:25:43 -0500 Received: by mail-pj1-f49.google.com with SMTP id q39so3186154pjc.0 for ; Mon, 27 Jan 2020 06:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0GNKW4dAwC2IPC8DrYUW50WkaWvnguz2WhfJNZ54dek=; b=H0pDaIKUY3LIPy4nvspAzrrnoJE0u0o82gQlr2lz8J1fSbwCMtb84vUC9YWHnD2qyH P14GY7v2yR/1aDRmaTO1SH0EgQ9eQ6oDFf5RJ2E6vKH0WLBVRKOKXOzM9o6svE7+0wre CAHrYzzXtQEBpgQoLjRYVxAOlMJ3JTX2juz9mkBb6uwaMDHOZj/jLeAr+5vC8bNAjTlm 2JCGxOWJ+xidKTzHPi+fzi1iCOrIpc/cFqKgweeTRK58z3paoMDVvBYRN5W5C4L9Oaun LAtOBADISYYG/WDne+srhxcusfupoYrSGvZ0diZ0bqMMfOlSvBHXOwwri61DNJ7SXxcw +qAA== 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; bh=0GNKW4dAwC2IPC8DrYUW50WkaWvnguz2WhfJNZ54dek=; b=CqNm+CdNeFb3Y/zogsgNkaG0di4fbPu9GBmrAFX0XV5fmhz4KJqN/gi6hA2mXSSnIu 7eB18m8+Z0XGVSXT/RRwSMeSEpporlZ7TUPvE5GguJcBHaKysXCVavTnChiwj5ljGFAv hufasqAOv7PooqWtvf/QYuf3kJq3//er7VRTfjs+YsdF1ReL387jnw4UTXyer0rFtdpK l4criO5S+Dz5MgZisvlXn2d5TIXPdbp696JtcVLt0BAAuw0GjBF7+SEI4MFcsUHljVHw VKnjqEyB6tPz7KEAu5FnLIivNoWSVBAHKs1pcoyqskRMUkcvah9yUHOzpqx6J5tIh0HF vFsQ== X-Gm-Message-State: APjAAAWbCvWdMVVnkcxQFCCX1VXIdg4f5Qy2bsIJoe3oZEzl1X1c1wHR u0a+c2wDS/s6PmJGRO5/9yc= X-Google-Smtp-Source: APXvYqz0Q5j3nM/3shrUkC76OHHxyHL8sPHjxQLfQxghJE26Ql4TSTpUVw0xQoFLL54nRDhxPIHr2Q== X-Received: by 2002:a17:902:7484:: with SMTP id h4mr17320821pll.206.1580135142694; Mon, 27 Jan 2020 06:25:42 -0800 (PST) Received: from localhost.localdomain ([2405:201:d809:ffa6:583:2633:933c:f34d]) by smtp.gmail.com with ESMTPSA id k12sm15811506pgm.65.2020.01.27.06.25.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jan 2020 06:25:42 -0800 (PST) From: Kamlesh Gurudasani To: noralf@tronnes.org, Rob Herring , Sam Ravnborg Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Kamlesh Gurudasani Subject: [PATCH v4 1/3] dt-bindings: add vendor prefix for OzzMaker and Waveshare Electronics Date: Mon, 27 Jan 2020 19:55:33 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add vendor prefix for OzzMaker [1] and Waveshare Electronics [2] Both are display manufacturers [1] https://ozzmaker.com/about/ [2] https://www.waveshare.com/contact_us Signed-off-by: Kamlesh Gurudasani Acked-by: Sam Ravnborg --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index ac4804d..dfb926d 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -721,6 +721,8 @@ patternProperties: description: OmniVision Technologies "^oxsemi,.*": description: Oxford Semiconductor, Ltd. + "^ozzmaker,.*": + description: OzzMaker "^panasonic,.*": description: Panasonic Corporation "^parade,.*": @@ -1038,6 +1040,8 @@ patternProperties: description: Vision Optical Technology Co., Ltd. "^vxt,.*": description: VXT Ltd + "^waveshare,.*": + description: Waveshare Electronics "^wd,.*": description: Western Digital Corp. "^wetek,.*": From patchwork Mon Jan 27 14:26:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 1229867 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hSMEE1B5; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 485sW22VZGz9sRW for ; Tue, 28 Jan 2020 01:26:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727177AbgA0O0V (ORCPT ); Mon, 27 Jan 2020 09:26:21 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:51166 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgA0O0V (ORCPT ); Mon, 27 Jan 2020 09:26:21 -0500 Received: by mail-pj1-f67.google.com with SMTP id r67so3026337pjb.0 for ; Mon, 27 Jan 2020 06:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xzArnJ4nbXkSs60iOFR6uhKTS+Tvj4YygIxD9MfWiRA=; b=hSMEE1B5iSa+2xKjYf4EB30SIERgx+rjJJ9WMZIvQgxhWxgasCg25yxXD1CPr/u/93 uhoe/8m5NcL0C/4YDPDoETvfZU1kenKFT+3sPA8/JnKw64umkTW7CvAlgppOdGGTs9ve KqWw7zWpSRxMkefoulqmobc7focOHlG+tr2HnwCVQ1mU1IHzM85Tfu/CPrmW3H9QJ+o5 BHC5VfCWw2a3dB7J3uthnD97W7uc29Jv9lowuIP53fpMwAnKQDP+AzvMjeBhwqnjFR6y Z5jzZMt0G9atPj8QkFhmyh9QtbMMyI+sw+LYl0YK0WiWfOeDJ18d2zcuibpkio8mAl5T IJVw== 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; bh=xzArnJ4nbXkSs60iOFR6uhKTS+Tvj4YygIxD9MfWiRA=; b=WmbvzfjlULj1Q/fEHPJ8A7lzj/DHc0iA5CLu482T6fMCtjaJM2qxAVJtlfHQ0iAHta 8bWyCidQXzv+3zen9HMkmGOowOqTrUz1aPkUfK35PV/wmNasgM2EJSSgF8G0L/kEvXqv EqyVmx7opBdLSFKkPS4r0ltRwTQURXb6cOuur9db31q8jCj0dlNZyYjFT0Ui7//p4xvR JHFZLiIa/sRUqEdbVxiU3en/boctKifib/OOr085llBAbjlnw9Qje90DhZ5/Vl63oqRa 3BVyI89WlWb1MqrzQn0GywMB/Ja3Vh81MveSXAk5vmgsuI3EuVuznc3ND2yZu2BitymZ UtwQ== X-Gm-Message-State: APjAAAX8Na/n81NWe14+kFVG0k3kHrKJCAE5fAaJufjWRRMR7THlE3dr VaixssRhqkJaQWd9uXsQ5N8= X-Google-Smtp-Source: APXvYqyTcIXitQoWpeemzRjVONjwGn1dlh/73PwPJXsBE8iCjmuflUK9yssu8BE53heR85oV9RCdJA== X-Received: by 2002:a17:902:a416:: with SMTP id p22mr18067830plq.107.1580135180945; Mon, 27 Jan 2020 06:26:20 -0800 (PST) Received: from localhost.localdomain ([2405:201:d809:ffa6:583:2633:933c:f34d]) by smtp.gmail.com with ESMTPSA id y23sm4725690pfn.101.2020.01.27.06.26.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jan 2020 06:26:20 -0800 (PST) From: Kamlesh Gurudasani To: noralf@tronnes.org, Rob Herring , Sam Ravnborg Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Kamlesh Gurudasani Subject: [PATCH v4 2/3] dt-bindings: add binding for tft displays based on ilitek, ili9486 Date: Mon, 27 Jan 2020 19:56:14 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This binding is for the tft displays based on ilitek,ili9486. ozzmaker,piscreen and waveshare,rpi-lcd-35 are such displays Signed-off-by: Kamlesh Gurudasani --- v2 changes: * Changing file from txt to yaml format * removed ilitek,ili9486 from compatible string v3 changes: * no changes v4 changes: * no changes --- .../bindings/display/ilitek,ili9486.yaml | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9486.yaml diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml b/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml new file mode 100644 index 0000000..dd306c88 --- /dev/null +++ b/Documentation/devicetree/bindings/display/ilitek,ili9486.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/ilitek,ili9486.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek ILI9486 display panels device tree bindings + +maintainers: + - Kamlesh Gurudasani + +description: + This binding is for display panels using an Ilitek ILI9486 controller in SPI + mode. + +allOf: + - $ref: panel/panel-common.yaml# + +properties: + compatible: + oneOf: + - description: + Waveshare 3.5" 320x480 Color TFT LCD + items: + - enum: + - waveshare,rpi-lcd-35 + - const: ilitek,ili9486 + - description: + Ozzmaker 3.5" 320x480 Color TFT LCD + items: + - enum: + - ozzmaker,piscreen + - const: ilitek,ili9486 + + spi-max-frequency: + maximum: 32000000 + + dc-gpios: + maxItems: 1 + description: Display data/command selection (D/CX) + + backlight: true + reg: true + reset-gpios: true + rotation: true + +required: + - compatible + - reg + - dc-gpios + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; + }; + spi { + #address-cells = <1>; + #size-cells = <0>; + + + display@0{ + compatible = "waveshare,rpi-lcd-35"; + reg = <0>; + spi-max-frequency = <32000000>; + dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; + rotation = <180>; + backlight = <&backlight>; + }; + }; + +...