From patchwork Tue Dec 15 14:19:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1416468 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=Q7fFd8ja; 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 4CwL3w0Ph2z9sS8 for ; Wed, 16 Dec 2020 01:19:24 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 61D758298A; Tue, 15 Dec 2020 15:19:18 +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="Q7fFd8ja"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C3F88298B; Tue, 15 Dec 2020 15:19: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-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 73E5A82980 for ; Tue, 15 Dec 2020 15:19:13 +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 6so13293776ejz.5 for ; Tue, 15 Dec 2020 06:19:13 -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:mime-version :content-transfer-encoding; bh=2PJaWU7WUakYxUy/m2iQKHjOEZ1cJypP2ZokoAWqmVU=; b=Q7fFd8jaXLs9mkLQecqVxVUkeAKD5p0kxijy8pRpj1Za3s7j2FuCHqEs+wJmUEl/Qg CrHtwww/GvsEflgqsKLRYJAvFScaIg6/M6/hgA3Cpkf3lDFfBfI07Noh+GlNq7gq9b7S lOJW+c0oBfL8LqLmIGThqs10sHdGnaOrWzMDAnRLEK2pRSSvZ2cWdQqJQhb/xpPHI745 zWh+mXaOsSMZK2d3M+Vaj1/dMHgPhMbUEbFdgDCCRDx9R7ZuTddrjL0rWAHAwrHkHv6l /2IsPd4UmPK2iu550eiDuCMSO/65UIvHnmykzo/pxjPB3RXrurXZlLDsUdDAzpOGXQtG /gSA== 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 :mime-version:content-transfer-encoding; bh=2PJaWU7WUakYxUy/m2iQKHjOEZ1cJypP2ZokoAWqmVU=; b=brWwyWnJF6g5XCS2MfocL8mLxxV8NO6BJ9Jjiew90csh72fOCiWXoe4+cnh+MfC8DX x5Jb4tNJ9xg0/WPrGUYvJi3CRNBwVtPDM6gvEQywUkZdDRVXYawnjMXJ9iL6yjt4ddVh kYA5CIZ8uncXFSPBoBP+TD7PgQUYIdChxTRnA1tPuj+W3MLnNKC3KxtP4TL79vUFQBuf 5aRuxDzoIVn6kzBBUPJ0Y0LY4U8wVK0s7JA++GuOatNXgSMZY32nGj8nlXFrA3QrdKjj 4I6us1QMGaJN5UXQVW15+klxcn/VTSJciJq6pOTP4uCjR48yhMwFlh6dyyQY1W58XjJH iZnQ== X-Gm-Message-State: AOAM533OdCmTF0ZNw0WI/psdSqL2bgdsuhTG5Jrr1GP3hjpGdFLtrkmY mX7RI+LQ3GdQAbm6nzeABRvlNUgeVLQRayUK X-Google-Smtp-Source: ABdhPJzYm7ZpGXlM83niVgAgD0sNWFelXr75kHJSqd4uy+lZEP4Bobh3CSHdwxYfDT2eAo5egopnBw== X-Received: by 2002:a17:906:16da:: with SMTP id t26mr26456259ejd.478.1608041952734; Tue, 15 Dec 2020 06:19:12 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a12sm18119029edu.89.2020.12.15.06.19.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Dec 2020 06:19:11 -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 0/6] video: seps525: Add new driver for seps525 OLED display Date: Tue, 15 Dec 2020 15:19:01 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 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 Hi, This driver is connected via spi on one ZynqMP board. Only 8bit SPI connection is supported now. Spi zynq driver was used for testing this driver. We have tested load image via BMP command and also using it as console as is visible from log in the last patch. Thanks, Michal Changes in v3: - also fix video_bmp call. - use 32bit reg/value parameters - new patch in this series Changes in v2: - New patch is series - New patch is series - Add support for returning value - Update kernel-doc format to pass kernel-doc script - Update patch subject s/call/operation/ - Fix Kconfig entry and use VIDEO_SEPS525 instead of SEPS525 and fix location - Add kernel-doc structure for seps525_priv structure - Remove flags variable and use macros directly Michal Simek (5): video: Fix video sync kernel-doc format video: Let video_sync to return error value video: Introduce video_sync operation video: seps525: Add seps525 SPI driver video: Call video_sync in video_clear() Vikhyat Goyal (1): video: seps525: Add dt binding description MAINTAINERS | 2 + .../video/syncoam,seps525.txt | 24 ++ drivers/video/Kconfig | 7 + drivers/video/Makefile | 1 + drivers/video/seps525.c | 327 ++++++++++++++++++ drivers/video/vidconsole-uclass.c | 40 ++- drivers/video/video-uclass.c | 23 +- drivers/video/video_bmp.c | 5 +- include/video.h | 22 +- 9 files changed, 426 insertions(+), 25 deletions(-) create mode 100644 doc/device-tree-bindings/video/syncoam,seps525.txt create mode 100644 drivers/video/seps525.c