Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3230332imc; Wed, 13 Mar 2019 12:12:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAECi+3gZDdPnS5gXPW/eBfVLkvt+o6l5hXPjIxubFFfsMBwyXUFX4xIA/VPT3iuFtD9UN X-Received: by 2002:aa7:8709:: with SMTP id b9mr3492759pfo.90.1552504339354; Wed, 13 Mar 2019 12:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552504339; cv=none; d=google.com; s=arc-20160816; b=b5qBcFfJsjES3P3+0PcoeFEL/yo6z98ihZABLP3LbPgJ4SHWESMK5b5Ngs6fU5GZS6 F9tnT/LmK35K6TyDP1665xfjrE33De14cWNi4D6ZVh6jkbccl8xOvbqFSzg7fPnK9xid PWc/EFqdDjMoks+2h4QHtAnYwHkBUU3jFfNZusO/XsM9X3TcO9rRoQBqz0oRyW0jr5RN Eot51ba+TKvqyx9/3KNwAp9G60KDEzLSYIzSzwP7RWydo1CoSmk6pdY6+MY8K+yDuhag 4opHU57UVRrKvFhqyG2afv789My38JBfYWlkF4ODwzaypYIOrZF4WouhBHApBdM+WarG nPBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=qNTG8WzAYVoNHbjFsLdE0wJH8GgH5TQHfgy7rKu4o7I=; b=vXJ/vtiy1vjtCQyW+h+sbb25RcJV2sKjJC5Gi8AwSnRyfqgUsmC8rhKi9bWFh9lwi0 EGozmogKD5YU51hhTf7CowmSNognSfLvaZMab/TdIJ8RcC1qCkIM4Ezyrip6rHn4VVin X+qkIZyYoJi6g4GVObOMxA4t3JHYhvvpDMMA1gcC0IkO/nviJ3PdDPR75yCYpRsCw+Es Z7K8lQbaWjmgdJoyRpERqJIdcrLZfDPogLifHAuXWauMJij3Luf30I/ILH4dzESiCIWs Yl0+CYzldisNPBFMl7WqiEadNkYSvPw+D7zBZBVcfZi6bdUf9gCKJiNkQmkebeika/X/ JiOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eBm+X5pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si9892560pls.34.2019.03.13.12.12.03; Wed, 13 Mar 2019 12:12:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eBm+X5pz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbfCMTK1 (ORCPT + 99 others); Wed, 13 Mar 2019 15:10:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:41000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfCMTK0 (ORCPT ); Wed, 13 Mar 2019 15:10:26 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AB0F32075C; Wed, 13 Mar 2019 19:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552504226; bh=czZl/gcxHPAw0X51AAq6wUpiY10Lipe9Aso2/qfZ9n4=; h=From:To:Cc:Subject:Date:From; b=eBm+X5pz6x4inCLihGe6Se/o8IP3EjOuuV4rE2RIR6ECef96ZX9cr1ocn9WzZsUwv MyyfdyGkEp1/xhB/SCb+gZxLXDtAtz3SQWTVDRMrwPHh7G2nkExSuKLiKjm4BLUdqG 8nMTCbnRdCATe6QSYYtxt9frpt6+bpinjpr+Um18= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Paul Kocialkowski , Maxime Ripard , Sasha Levin Subject: [PATCH AUTOSEL 4.20 01/60] clk: sunxi-ng: v3s: Fix TCON reset de-assert bit Date: Wed, 13 Mar 2019 15:09:22 -0400 Message-Id: <20190313191021.158171-1-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Kocialkowski [ Upstream commit 5c59801f7018acba11b12de59017a3fcdcf7421d ] According to the datasheet and the reference code from Allwinner, the bit used to de-assert the TCON reset is bit 4, not bit 3. Fix it in the V3s CCU driver. Signed-off-by: Paul Kocialkowski Signed-off-by: Maxime Ripard Signed-off-by: Sasha Levin --- drivers/clk/sunxi-ng/ccu-sun8i-v3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.c b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.c index 621b1cd996db..ac12f261f8ca 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.c +++ b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.c @@ -542,7 +542,7 @@ static struct ccu_reset_map sun8i_v3s_ccu_resets[] = { [RST_BUS_OHCI0] = { 0x2c0, BIT(29) }, [RST_BUS_VE] = { 0x2c4, BIT(0) }, - [RST_BUS_TCON0] = { 0x2c4, BIT(3) }, + [RST_BUS_TCON0] = { 0x2c4, BIT(4) }, [RST_BUS_CSI] = { 0x2c4, BIT(8) }, [RST_BUS_DE] = { 0x2c4, BIT(12) }, [RST_BUS_DBG] = { 0x2c4, BIT(31) }, -- 2.19.1