From patchwork Thu Dec 3 09:13:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1410210 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=85.214.62.61; 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=2QSyggSV; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4Cmqrh3Cn6z9sRK for ; Thu, 3 Dec 2020 20:13:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 54E7982758; Thu, 3 Dec 2020 10:13:15 +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="2QSyggSV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2866682744; Thu, 3 Dec 2020 10:13:13 +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 2AEC2825C6 for ; Thu, 3 Dec 2020 10:13:10 +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 x16so2348203ejj.7 for ; Thu, 03 Dec 2020 01:13:10 -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=D8sdbIF0bAVPiTgp4XD0x753G4d6RxcUXctVxEi1V9Y=; b=2QSyggSVzQgO0s4Cyq1nDoUMw3h9+z0JcO06G1FZPoiy1Dx3SLYr5MIZrHmdiJaIhB FubE7kzXlbgEO2XV9MQSlMpLPKFGmV4O0zDshnhHj/XiMYb2uZtltmqXD18+slGmUDoY +s1w7YvN9FI3h8DvV5GOIXv/z7kjP+Z03jyka0Z51do+pmJJRMJ5M0WyY91D4NRu/o17 J+7i+FfVZHkjZ46FcCiNkXh+bJaS6pwO6/13PR6DHzmpuB1czgyBjAR1EAWWzalNy7nv TKkuFXbvUzlSUISZevhdIsbYEX1KJRtak00nrgtnYvLxMfF5OLJ7DWM2lNEcRW0cbCgg euHQ== 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=D8sdbIF0bAVPiTgp4XD0x753G4d6RxcUXctVxEi1V9Y=; b=DLs7nFwARy33j1+MagIqW7Ui5z5DHEg/+u1TDn00rJcSIOy8eKtL31c7JQkJ2AU2kv xYoNMkNK5CGeeAWMTslGM8Xzi1y9g5xsQii6H8xEObjm0IhUAs8MWnAVuxspmZ4ttqI+ Y+GAEy02rRkkNebHBiz6Wk3b2qWcEtXbaBFnmd03tYDwQc54e0E8ykNrrplfZvvODn/w OqhpDvOVI/mhCN5QKVrcDBp7j7QAve2Lc2jX/CX+a98tKUehC8mbkBDsxRuZgX8nXFSE eX4WKXMxilG3GFw92ezptncK9HSZmSRa8eRqumC5RslMQ49NpS4Fz6UdhRyMeIVRR8VZ uzSg== X-Gm-Message-State: AOAM533dM7AeVHG4mSwR4u/567Rq1H+zKLW4RbD/ObNilD+XCyxXa/1R WJi8g6Ks3djNNWCT1fx+qcEVWn8OQszPQRvP X-Google-Smtp-Source: ABdhPJxe6eDlVktJC6QqGFhnTmO6m68UeGjQFVWC8SSzLebn0fQ2ZSirhuryEaAOiLUSUzWj/VvgjQ== X-Received: by 2002:a17:906:38c8:: with SMTP id r8mr1673703ejd.39.1606986789567; Thu, 03 Dec 2020 01:13:09 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id op24sm385687ejb.56.2020.12.03.01.13.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Dec 2020 01:13:08 -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 , Andre Przywara , Heinrich Schuchardt , Lokesh Vutla , Masahiro Yamada , Michal Simek , Rayagonda Kokatanur , Robert Marko , Sam Protsenko , Sean Anderson , Stefan Bosch Subject: [PATCH 2/3] video: seps525: Add dt binding description Date: Thu, 3 Dec 2020 10:13:00 +0100 Message-Id: <928720035e1c68f2a70e56aec2f089cc243e9279.1606986778.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 --- 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 874cf2c0e576..2f908843da72 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>; + };