From patchwork Mon Jan 2 18:23:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 2605 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0642D3F1F4 for ; Mon, 2 Jan 2023 19:24:15 +0100 (CET) Received: by mail-pj1-f70.google.com with SMTP id lx15-20020a17090b4b0f00b0022627a15369sf6157359pjb.0 for ; Mon, 02 Jan 2023 10:24:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672683854; cv=pass; d=google.com; s=arc-20160816; b=TpraWQVTXDA8gRUngTroYvjybZFX8DTEbJUhvlrEtUkCbIqPU11Ms22UyG3r+WAGTy xiHnVJpNx1kPvhSytxr/iN9NwkkHdSVzAoFdDI+SldU3r/i6Vd+0ACRl2ALjDYuBSBuF TZmdm5CUh3UJc4mxa2TjTDbHWNfLiOp2QWhtLQTxwZs1bgF/5ZcHKtsI21CtWJv48XZ2 ktwEKzNRnTrFkMPj+miCYBi0THQuOXJryJe4SeuypVpLpLpOEz3A+PZjUV7V00j1r/zL nW1oxPAv9HvbuE/okRuPE4JP+SeVHdPvqFv242H2rZ1TAB9c0/xbynWAy33StnQ0Y8Lk HPew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=trqBfLhH7K4kMu2YTmnpnsDuWDa7yjjqzK3jPUmOecs=; b=j5nu/P6yp6Ra8WrwpcbwFxK0ztm/Izb6NkTqWjzOXCzhTTPr0dOJlOmxChVdYt/GfV XrEsFvND3gZlPMCckOVzA1gmjlwucaxhmVhj1DzLlPOFtqJjjp9bEB7lbr9/etTp59SV Po8XH5V/tlU9yz3Bw7idIfZl4LmbhK/Q7adCCYNGuVSS96lRsDT5znHm2VKISNfNrcvF ISjwBv0NMvWhNo8qjkO4ZADLJU1Hv/xhvqr4yc1zMbqfC06JDPHVytCTyQgaKvqC7zvN 37wxE7Qe5XLdDGueue05jUx/RefFplz67l+7gx6qQokXzZT8JZa2FRjyrS0eyJTtaswj LpXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="K2p/QhRP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=trqBfLhH7K4kMu2YTmnpnsDuWDa7yjjqzK3jPUmOecs=; b=alZ2/Tz2cUIodJokD5dBbqMkRznqz0/cPEN4f/OlOQnLoPmStBY7uGbA7V4bddBYz1 sCcu8kMCmvbS/VSMUDwUC2r1HJ8kDT1SmzVPtMeb5aDhRcaZiYELacrPTH/QKr5rJSQn 7HsYOy1pm/LT5L1a8SabVEZZek5TmpyNAhvLU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=trqBfLhH7K4kMu2YTmnpnsDuWDa7yjjqzK3jPUmOecs=; b=U2wL9CogCRJIdm1wsJko0Nb/9KQLGd6m0/kZ9QLamq5kacqrdx69vwZqi0SkJ8Qqnw Mvpxi+7w22Kla4NPmMWd2gv/BtYDGkt/LzFChdnM0M5wcqRoTwPkn4ZZ92BgY4btNNzy j29n3RNmVA+fF2VZABznH9fnibaXPqblllcpZjD01V1Za7PP/RTZIegNYP8RhT8ziBTB 2P0vyprDTij9NH8kT5KJT2ZYAvxCF5+bty04+AyvvyZr+pu6vKCgwpWj07PPySl1mXys RQsSRb/Lu8YjWn7IHFQb3ACep+9238LBfRXea2i5f2rB5qRXHzqC5t4ym/Vv/sU7cglg zpNg== X-Gm-Message-State: AFqh2kraK0idHb53wsh1+ROrxFLKHjV78kh/uvMoPgRafiTzMFwwzjEx vRyLTe0RFhSv9+rGne5UnHfWhUKy X-Google-Smtp-Source: AMrXdXsYd62LGXF/FpKm2O2XMD9pRyFj4Gs+hDe500NaPPkgNP8dMajxJOHmS3dt7c4H3enaE342QA== X-Received: by 2002:a17:903:183:b0:189:ac49:fea8 with SMTP id z3-20020a170903018300b00189ac49fea8mr2439128plg.14.1672683854675; Mon, 02 Jan 2023 10:24:14 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:287:0:b0:477:480a:16c0 with SMTP id 129-20020a630287000000b00477480a16c0ls6670910pgc.8.-pod-prod-gmail; Mon, 02 Jan 2023 10:24:14 -0800 (PST) X-Received: by 2002:a05:6a00:1a45:b0:582:294d:f465 with SMTP id h5-20020a056a001a4500b00582294df465mr10129587pfv.13.1672683853689; Mon, 02 Jan 2023 10:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672683853; cv=none; d=google.com; s=arc-20160816; b=BZ7480J6mpuaDVoq5bKka1vQhfPIGVVgoJWHoJ0kfQHRD1xSVRbUDzw0QMUw3Sj0vr 7zXyKyXpar96/8giBygY+7FiSKbqGGT0k4vyNf1OGuS7PWW6gi/LEyeP97j9TAlwhVW7 cFc95Jzaml98xXd7oUZQoiZ//YF743dX7QUoyJYXJHcg1ZdVhzTCCzpWBudBmOFG1aAl vo+cFAjgwBV2DnJlywyg2XCKEAKxUSkGwf9/6WhS8pDV1ZkoKfQZCgf9kkbd/NPio6DG fOZTnJ3pF3SwIxVxTU2g9WgQd24Oy1xG1cCon0kkxzLK5yNhXMw5ZyAguqYpwIF8s+gS JIyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=kywXt29QtXtCKaYSmWNCPf5juzHkr1uCqwmH5Iig6BY=; b=pPONygk7GVvKTfKVZ0NvlBIumsXA9Ms37sJ63kJMHCXxd7HE6o3bNEHxBJEEg9tTU3 YkcMntR2Ckg7TQWMwMJLuDCPxWdB2U/truuqi/wrdBkEtuW7M8owuRYFlbNtqg0CIpkA vkS13w4HiaZWHZnIEWDhDcI2cMOKfaX7ZLD7juBorsFyxgDs8OvVfgCJNJjuRvROOrdO 2bZ0qs7EPnb8kL47dfHsJsEpS0HtpfVfj40uK52AS5B2TjxplY7Xd5Arju9tF0HoUwAz wQ7awLTP9OYpFBm4OBeo8bcQyAU3VrUn2MQ19OjvXLSJcugQ43jM80Rkh3Ck0v9owA/P viOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="K2p/QhRP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id p48-20020a056a0026f000b00576b088e546sor11269628pfw.25.2023.01.02.10.24.13 for (Google Transport Security); Mon, 02 Jan 2023 10:24:13 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a62:f203:0:b0:576:b8d0:6034 with SMTP id m3-20020a62f203000000b00576b8d06034mr42691890pfh.31.1672683853299; Mon, 02 Jan 2023 10:24:13 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a15f:9590:caa0:9f59:a786]) by smtp.gmail.com with ESMTPSA id z13-20020aa7948d000000b005765df21e68sm8451551pfk.94.2023.01.02.10.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 10:24:12 -0800 (PST) From: Jagan Teki To: Kever Yang , Philipp Tomsich Cc: u-boot@lists.denx.de, Tom Rini , linux-amarula@amarulasolutions.com, Jagan Teki , Simon Glass , Lin Huang , Jernej Skrabec , Michael Trimarchi , Arnaud Patard , Manoj Sai Subject: [PATCH] rockchip: Fix the broken Video out for rk3288 boards Date: Mon, 2 Jan 2023 23:53:45 +0530 Message-Id: <20230102182345.31066-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="K2p/QhRP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Video out on RK3288 boards has been broken since from few releases due to the adding of reset support on vop but missed enabling DM_RESET on associated boards. This patch fixes those RK3288 boards. Cc: Simon Glass Cc: Lin Huang Cc: Jernej Skrabec Cc: Michael Trimarchi Cc: Arnaud Patard (Rtp) Fixes: <9749d2ea29e1> ("rockchip: video: vop: Add reset support") Reported-by: Manoj Sai Signed-off-by: Jagan Teki Reviewed-by: Simon Glass --- configs/evb-rk3288_defconfig | 1 + configs/firefly-rk3288_defconfig | 1 + configs/miqi-rk3288_defconfig | 1 + configs/rock-pi-n8-rk3288_defconfig | 1 + configs/tinker-rk3288_defconfig | 1 + configs/tinker-s-rk3288_defconfig | 1 + configs/vyasa-rk3288_defconfig | 1 + 7 files changed, 7 insertions(+) diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig index 7c0b856ca5..2c2c679b29 100644 --- a/configs/evb-rk3288_defconfig +++ b/configs/evb-rk3288_defconfig @@ -80,6 +80,7 @@ CONFIG_DM_REGULATOR_FIXED=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index 63c53a0248..12ed055acf 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -77,6 +77,7 @@ CONFIG_DM_REGULATOR_FIXED=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/miqi-rk3288_defconfig b/configs/miqi-rk3288_defconfig index 0811e70dce..2cf0efc816 100644 --- a/configs/miqi-rk3288_defconfig +++ b/configs/miqi-rk3288_defconfig @@ -74,6 +74,7 @@ CONFIG_DM_REGULATOR_FIXED=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/rock-pi-n8-rk3288_defconfig b/configs/rock-pi-n8-rk3288_defconfig index 4ed98c0a51..757d99b8b5 100644 --- a/configs/rock-pi-n8-rk3288_defconfig +++ b/configs/rock-pi-n8-rk3288_defconfig @@ -73,6 +73,7 @@ CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y # CONFIG_RAM_ROCKCHIP_DEBUG is not set +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig index 85d94a6ea8..e69ef6875f 100644 --- a/configs/tinker-rk3288_defconfig +++ b/configs/tinker-rk3288_defconfig @@ -82,6 +82,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/tinker-s-rk3288_defconfig b/configs/tinker-s-rk3288_defconfig index 7dfbad8083..eb153dc8d5 100644 --- a/configs/tinker-s-rk3288_defconfig +++ b/configs/tinker-s-rk3288_defconfig @@ -82,6 +82,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y diff --git a/configs/vyasa-rk3288_defconfig b/configs/vyasa-rk3288_defconfig index cbae60f987..f503cc1604 100644 --- a/configs/vyasa-rk3288_defconfig +++ b/configs/vyasa-rk3288_defconfig @@ -82,6 +82,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM=y CONFIG_SPL_RAM=y +CONFIG_DM_RESET=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y