From patchwork Thu Jan 7 13:26:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1423278 X-Patchwork-Delegate: trini@ti.com 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=s4FtSDlD; 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 4DBRpR0Jpgz9sVk for ; Fri, 8 Jan 2021 00:26:30 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DC4A82846; Thu, 7 Jan 2021 14:26:20 +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="s4FtSDlD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A16FF82859; Thu, 7 Jan 2021 14:26:17 +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-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 18FCA82844 for ; Thu, 7 Jan 2021 14:26:14 +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-x62b.google.com with SMTP id w1so9564182ejf.11 for ; Thu, 07 Jan 2021 05:26:14 -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=pYczNVu+3PfLry0lZ1chAfEM4n9l0lySCIe9HS/988s=; b=s4FtSDlD6Kczt3QvRXXI7iBOiJF/iAdt2DS0vhUzHg2qgEVxIjWfLw8qv10hFsfTqY bpf6CJ/8L1jn9oezxSDfZo5UhlY9D/aNRm/RQ5Z/Pr9uHpo3SCwcxt15tayHeZD3Ijep /AqPOtRDDpmPFap9DExkjegJHubS/Flqx1w2fVStlI2K1bDlrdgvEui3aaaNiEOjg7jA hId3n4Uv/uUvq2AKG82szHQcujzFzDsfXw/3i3lk4ritZS0fnXhfhEReEccBfVeei6Ew 3t1CLojmgsUbVS27XAc3NZ9htqzMAA5CJ+YL4+XZhmkitlx+ekPpf6d1koZANPr7xrua WctA== 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=pYczNVu+3PfLry0lZ1chAfEM4n9l0lySCIe9HS/988s=; b=N47nmzjbujdsFLdJpgc/sJRBwf3J250HoEuc1m+U0EtRBn+CQ+7+QJK923t5zAotQ3 gkuVqNhCfQ3P68Q4hqPZnOe0MjiDguNDU29ncp1nUiJn7sSUYAVdgiHmrbOYBV0tc/ly yUqVbdKO3GrbqobyD9cXMNLS10v+0Kh6St/DiTq50VJS7RImfnCtv7AVss1laSHEhUob yLfL3qC6gWPi+MK+V67cJebIhbqU5aJ6KHKhM0/DAoVUs6FwK4/MaPObTcQUSi6HpWdd 92b2SF7SweZ2xV9rMeGpNrPreHr9Ha47A/p9IDSmQh2PIrZCSKaQoL/k55c+JGMhe8St MGVQ== X-Gm-Message-State: AOAM530lkdKgaKjl7QC/MMqvtMGY84P6crHeLCqWk6o/GTqEFWpJiN9k NBNlFr6sU76cuRugGcrj+97VVEtckn9A/Lv0 X-Google-Smtp-Source: ABdhPJwxsiG1sl102dWw7wCLOpubz7UV1DRCNEvJXOQZCHR8eAc8rUiHtmoyFX2pWeh1LIoePX7Mig== X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr6534897ejb.266.1610025973523; Thu, 07 Jan 2021 05:26:13 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id x6sm2667158edl.67.2021.01.07.05.26.12 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jan 2021 05:26:13 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, Simon Glass Cc: Anatolij Gustschin Subject: [PATCH 1/2] video: seps525: Align driver with latest treewide changes Date: Thu, 7 Jan 2021 14:26:08 +0100 Message-Id: X-Mailer: git-send-email 2.30.0 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 Some structures/functions have been renamed which are not reflected in this driver. Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just ..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata() to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata' variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename auto_alloc_size members to be shorter") are describing these changes. Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- Driver was developed based on master branch and next got more changes. --- drivers/video/seps525.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c index 369e5e6afc87..74c8721e1e11 100644 --- a/drivers/video/seps525.c +++ b/drivers/video/seps525.c @@ -299,7 +299,7 @@ static int seps525_probe(struct udevice *dev) static int seps525_bind(struct udevice *dev) { - struct video_uc_platdata *plat = dev_get_uclass_platdata(dev); + struct video_uc_plat *plat = dev_get_uclass_plat(dev); plat->size = WIDTH * HEIGHT * 16; @@ -320,8 +320,8 @@ U_BOOT_DRIVER(seps525_video) = { .id = UCLASS_VIDEO, .of_match = seps525_ids, .ops = &seps525_ops, - .platdata_auto_alloc_size = sizeof(struct video_uc_platdata), + .plat_auto = sizeof(struct video_uc_plat), .bind = seps525_bind, .probe = seps525_probe, - .priv_auto_alloc_size = sizeof(struct seps525_priv), + .priv_auto = sizeof(struct seps525_priv), }; From patchwork Thu Jan 7 13:26:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1423277 X-Patchwork-Delegate: monstr@monstr.eu 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=rCVP3zhF; 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 4DBRpQ5Pq4z9sSC for ; Fri, 8 Jan 2021 00:26:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 21E7482860; Thu, 7 Jan 2021 14:26:24 +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="rCVP3zhF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A343182846; Thu, 7 Jan 2021 14:26:18 +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-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 896E882846 for ; Thu, 7 Jan 2021 14:26:15 +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-x62f.google.com with SMTP id d17so9621437ejy.9 for ; Thu, 07 Jan 2021 05:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o9Ijq+oIMLBadm+Gzb1yyNEfyukdohY9HZDZ6Rse7Kc=; b=rCVP3zhFq/AYbXx5BQTxSCph2VH1xKQsHE3klAbBAki6q6Qp08EgA77FuIw0K6KaJQ 6MHzLexecGIbztwXgNpO0BO12lJfwRPhiywyVuQaN2zBwVzVAo70Fh8SM8EUKbyhXcgQ C1tTwOujccytiFEZoDVq3dXL0VZd582nUwPybxv/jxCXO8rp7jpb2+jQ9wLWUEaij4iK AuZRUUB+FzzjI4vBDNyhhuXMn5x+hn4s69u1WB+Eyg+8hhHkIN2WqbtbnJfqGA7/p+bG EhshVec1VGFB2T3/ks69yl6zkhbO3ute1uy+jPmfWRnPTlhdqrRYM7R94t3iTKueP3B0 D0Rg== 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:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=o9Ijq+oIMLBadm+Gzb1yyNEfyukdohY9HZDZ6Rse7Kc=; b=H6brqYb1xMhjzRxUQGO85K5avlu+pv86IQaJqkT6luuM6MtIdBn+RH8KKULbuSAMGS YSRbR3pykNghle6c9TKTaHBJX1mFCXJCBcwXgwYIVDT/HuUClAC62cH0XgPtnn3gDYru eSSgmVrgxNV2PjyJefc0lXsohELrU/XDnzZlvFptO6IcgkySa0wouok7QC1dODbu1QJG vtYc/fHy/Z5LjWfFveAp1xK9WQKRtWF6LjdBu4Ta9FNmE50Wi1gqaqNL+GcPdocra1jE u0CEkgVwqQlo0NoKqX96mOY2dDzBHuBoOEEydo+QiCIEOKLgZIyt8B7wQFcirZC+lxQa 0fJg== X-Gm-Message-State: AOAM531x97/LaVt1h9V7D/p8NYBdqj817+FDvfTALjBnmUiemWTUhHjY G7Wotj3SW3YngmwjTe+KbdSNCv4OXnDf74xN X-Google-Smtp-Source: ABdhPJySfdMHHqVy4gZvVZgEOfTlge1zqmr2hGrXExTD53L63ea6vujSgwfdDSIl9Gqkx0SznF7NYw== X-Received: by 2002:a17:906:16da:: with SMTP id t26mr6276004ejd.478.1610025975091; Thu, 07 Jan 2021 05:26:15 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id s15sm2436025eja.36.2021.01.07.05.26.14 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jan 2021 05:26:14 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, Simon Glass Subject: [PATCH 2/2] arm64: zynqmp: Enable seps and related video configs Date: Thu, 7 Jan 2021 14:26:09 +0100 Message-Id: <8905749675948e7280cd2c88a5631a42581bafc6.1610025966.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.30.0 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 Enable this driver to get build and probe for our platform. Signed-off-by: Michal Simek Acked-by: Ashok Reddy Soma --- configs/xilinx_zynqmp_virt_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig index e400cd4702ee..0bf4b7d692e9 100644 --- a/configs/xilinx_zynqmp_virt_defconfig +++ b/configs/xilinx_zynqmp_virt_defconfig @@ -54,6 +54,7 @@ CONFIG_CMD_SPI=y CONFIG_CMD_USB=y CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_TFTPPUT=y +CONFIG_CMD_BMP=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y CONFIG_CMD_TIMER=y @@ -155,6 +156,15 @@ CONFIG_USB_ETHER=y CONFIG_USB_ETH_CDC=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y +CONFIG_DM_VIDEO=y +CONFIG_VIDEO_COPY=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_SEPS525=y +CONFIG_LCD=y +CONFIG_SPLASH_SCREEN=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y CONFIG_WDT=y CONFIG_WDT_CDNS=y CONFIG_PANIC_HANG=y