From patchwork Tue Dec 15 14:19:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1416476 X-Patchwork-Delegate: agust@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=KaT5ZGGy; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CwL4v5xKYz9sSn for ; Wed, 16 Dec 2020 01:20:15 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 130F7829A9; Tue, 15 Dec 2020 15:19:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="KaT5ZGGy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2C4F48299A; Tue, 15 Dec 2020 15:19:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7752D8298E for ; Tue, 15 Dec 2020 15:19:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x643.google.com with SMTP id jx16so27889716ejb.10 for ; Tue, 15 Dec 2020 06:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kh0+FXviklHfJ/m+aPZNkG4D3YXQu1/udyp55rpc+14=; b=KaT5ZGGyzrySMlG48bw5REcRYRNpgRmd5CNA2Jpc8KrdtGWV/08Ml6XcsIg0KBuYOP Q+LeRTopWUG0M+1MEI+jWwNomUNAKpFCQTmbJW/oC2mNrHpSOKD6q4EUxDy9CuqiUxtD PxqxmeRdySeKeWuzKat+8kxLGNxTFTOS7q37hFQkr4e60u6d+g6Kf89gJ2XMG5EbbU08 yWBB+c3dOqjfYIqct+hefa0rCQFXV8+v9lH456nt+N6d7Krus+2ImTveXgeubbQmfDK2 DKL+5xOeCgC2kXV8m97Rwf/Bo7zPvwxdF2ww8bepq1a+5GrJjI6VX9v9H8YN/ho+dQBX yDeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=kh0+FXviklHfJ/m+aPZNkG4D3YXQu1/udyp55rpc+14=; b=KOUWzRQZ/6M+mP6SKv7j7F+hxx3SLQQcppidmMqQ/7miTvDFxqwm62w9XdjjaIbEAv IVT5fFtQRP4yaOB3yjqKcT98/zYo9Sd2kDaaqG7uqxB5JuuGTVPCqIOeGry9nuqOlW9W kM1T6hJRC8Eij3Xi/uQMxQ/v2/sV5hk/QSbRcYoFDs3dv/1ihz1Tj2emTK+8r0y198gi KYDW/rgoLEHKDNcaU8/jaFwkd5ux4eue67ZzKnIce/RUdGc+s6iBnA8T7IDn2L+xFODE VCCyyILzuCsDQt9Nr04QqkbGxR7TWmKartACud7sri9QDlh2ogx0orIIe2b343vQXkc8 62fQ== X-Gm-Message-State: AOAM532obC/hg7KvL3B/SoUh9fv0YpvFwt4ruuWzLwAIQeFkjJ5yqRDt T3zMHXqsFUkl6SPraKUX+TcS1/N4DBPPDhHL X-Google-Smtp-Source: ABdhPJyZVBExyVdA75c/CecqeLVB8Pm1kdJkw2ddK7s97ClKpG9+Gx43qzVuEyCNYvgrDV6D83YWYw== X-Received: by 2002:a17:906:a115:: with SMTP id t21mr26758392ejy.549.1608041959861; Tue, 15 Dec 2020 06:19:19 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id i8sm18006881eds.72.2020.12.15.06.19.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Dec 2020 06:19:19 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, vikhyat.goyal@xilinx.com, Simon Glass Cc: Alex Nemirovsky , Anastasiia Lukianenko , Anatolij Gustschin , Christophe Leroy , Heinrich Schuchardt , Lokesh Vutla , Masahiro Yamada , Michal Simek , Patrice Chotard , Rayagonda Kokatanur , Robert Marko , Sam Protsenko , Sean Anderson , Stefan Bosch Subject: [PATCH v3 4/6] video: seps525: Add dt binding description Date: Tue, 15 Dec 2020 15:19:05 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Vikhyat Goyal Added dt binding for seps525 display driver. Signed-off-by: Vikhyat Goyal Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- (no changes since v1) MAINTAINERS | 1 + .../video/syncoam,seps525.txt | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 doc/device-tree-bindings/video/syncoam,seps525.txt diff --git a/MAINTAINERS b/MAINTAINERS index 127e30c0a5e0..11857ece9a53 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -547,6 +547,7 @@ S: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze.git F: arch/arm/mach-zynq/ F: doc/board/xilinx/ +F: doc/device-tree-bindings/video/syncoam,seps525.txt F: drivers/clk/clk_zynq.c F: drivers/fpga/zynqpl.c F: drivers/gpio/zynq_gpio.c diff --git a/doc/device-tree-bindings/video/syncoam,seps525.txt b/doc/device-tree-bindings/video/syncoam,seps525.txt new file mode 100644 index 000000000000..e1e0db9d71fb --- /dev/null +++ b/doc/device-tree-bindings/video/syncoam,seps525.txt @@ -0,0 +1,24 @@ +spi based seps525 framebuffer display driver + +Driver for seps525 display controller (in spi mode), This binding supports selection +of spi chipselect, spi max frequency, gpio to drive dc and reset pin of seps525 +controller and spi transaction bit length. + +Required properties: +- compatible: "syncoam,seps525" +- reg: Specifies the chip-select the seps525 is connected to on the spi bus +- reset-gpios: gpio connected to reset pin of seps525 controller. +- dc-gpios: gpio connected to dc pin of seps525 controller: +- buswidth: bitlength of each spi transaction + +Example: + displayspi@0 { + compatible = "syncoam,seps525"; + reg = <0>; + spi-max-frequency = <10000000>; + spi-cpol; + spi-cpha; + buswidth = <8>; + reset-gpios = <&gpio 0x1c GPIO_ACTIVE_LOW>; + dc-gpios = <&gpio 0x1b GPIO_ACTIVE_HIGH>; + };