From patchwork Mon Dec 14 08:37:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1415851 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=oDZ8dVSw; 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 4CvZYp6975z9sT6 for ; Mon, 14 Dec 2020 19:39:10 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 37543827FC; Mon, 14 Dec 2020 09:38:42 +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="oDZ8dVSw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0DC21827EF; Mon, 14 Dec 2020 09:38:16 +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-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) (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 49DD8827B7 for ; Mon, 14 Dec 2020 09:38:05 +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-x644.google.com with SMTP id w1so16709452ejf.11 for ; Mon, 14 Dec 2020 00:38:05 -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=oDZ8dVSwEVK6kEaqGrWhQRv9q5cP3pVbbciXbV1Kx5eXZ5ABfs0TJGXpjdp6MZ+y/L miVqYrFXOV9wsTjPGbPuaynjAYvO7FwGq/kAyAcOUwZHb/2CA3+PRgqmY+BLG4Rq5sbi KVJlr7lHnN/uG3KoCF5Bdrmql41vkzuIdXd5OscBuoer7abL5aMnke9fcs3B/yy1GOr0 zlEZZKU9YQuPb1boxCC0Mu89aU6IG/AxaHPR0C6vLLH+ncjSfzVzwd8jPD2pSs1hJnlm vU7N99cVCk0GBPO03Cyd48BlOacXauFV4GljRDLBUESxCcH324LIZDTKc5fHA8te7xHY dSfw== 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=pyqFYFuQiO7JhMb5k3wK+N6J3maLMODjQjnfgWbGm9ZhHs7Q+vfMt8LLVxZ87+8a5P 9YAw5mThE0XtizUSbGHpywRxyzZUFu0aEQF4oKrvCyCvMpxrEHakJDx0ZqGQcbQbYVEe uZA0LwsDWhaNDsGC2RA3GRdNJelHP+peQwA8Bk3HzqtUdXedgQr9LzULSBy91ce9ZPPI +nZKESNpqiXVkRjoIxJ0Pwt47vW9dbD1qZfaM/cTP0l+45wp8kBZglRdYynveQ6aYUnZ nt+6WS8Zpfu/PN85ui4WYYTMADg3SrA08cW3Y7msuIQHatLT41ytgfKvLhSb6cG5cixe D7Fg== X-Gm-Message-State: AOAM531svd7L3k2jh2oqtRfhVuzma1PIFOpYm7+bBiqkvJ3cdWDH+12N cs9BsbL7LlRRJl6Fmo4UIchaklijOBrwhxTR X-Google-Smtp-Source: ABdhPJxftRKBTpDGD+glbBMFzNS7NsW1kRK8NpDaCs7ntUsFP5h5KI0Lw8lVNC0FuVUrYTPJPxt1Ug== X-Received: by 2002:a17:906:5243:: with SMTP id y3mr21621618ejm.273.1607935084730; Mon, 14 Dec 2020 00:38:04 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id z26sm15007971edl.71.2020.12.14.00.38.04 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Dec 2020 00:38:04 -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 , Baruch Siach , Heinrich Schuchardt , Lokesh Vutla , Masahiro Yamada , Michal Simek , Patrice Chotard , Rayagonda Kokatanur , Robert Marko , Sam Protsenko , Sean Anderson , Stefan Bosch Subject: [PATCH v2 4/5] video: seps525: Add dt binding description Date: Mon, 14 Dec 2020 09:37:51 +0100 Message-Id: <9b1bc3618981be03fb04b3d682deb5242b5b5245.1607935068.git.michal.simek@xilinx.com> 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>; + };