Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp158849pxx; Mon, 26 Oct 2020 05:52:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZneLvo+0smbVNhOdp8CI1twV7ZLQSxZOgkt2XMx+Lycv55t/ZvF4cshXScFEekJnTGYPr X-Received: by 2002:a17:906:4d03:: with SMTP id r3mr14494263eju.364.1603716721319; Mon, 26 Oct 2020 05:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603716721; cv=none; d=google.com; s=arc-20160816; b=VLy5/HZ70R9hO5y1U9pl/p9xxgAbuBaL0Sbc+cszEO1ccIAd7kiTDLjb/sUqJni0V1 IZ0RNET0aAFPOgeGERuoNvsCvLbuP519UFFf++Ug20fBRJv9oBhdjYFq5orIP/Ad7eHQ ZIvmgqKibHFVBYqZzhhFZUr7/cv3LlA0QziNCPSgQ/yx7UyL8wM2LEV12yFb+ouy+BL6 WgqUCZZ6veEtz5lk+a4ZGih3uWO3R/R8FBViCZSMQquoLKDENXm4+jr1co5mlTuQNk9s 5mfN7nF0A2VZBXtkR6DuQxqVtiQP6y6psVSnOrhCyW3Pln9zZuH1m572OCWcJzDAJruf ZOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Z1Qe170BLmyS6L7bXj/Nm/iC3mnXlEQpw+pqJrCxuuU=; b=AJ6KHV34DIL3oo0QSPXjISrCVT7cx8tuVNg+5B+LsbKEQaQbu8hlLY1WfTD/hs8Vlo tDmOK8EDHGAVAqZek5asH3VNfMa+2odVGY0U+Ux/4tvKbBUivVHew4h5l3OiRb+8E1dk qZUXBPLoN7ggX0X8qN6VVqebXmDJgbA6wbkOsCysIhGiP6+QoZTl/T8a4hP/06OoZbgP zyLfTaW6gY836SDjDT4fG/qBKzDB65A/J8hjtUhsIzacE9dUOoeD/CDwEu+hZgHyHynb Wg6u587ZSVZT3oxtVZtMpqDTDj4lZVDe+W2CdaUJmnPDOyZYz6NjIh2E8tIDSPFVP/Qh e4qQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si7028733edv.320.2020.10.26.05.51.15; Mon, 26 Oct 2020 05:52:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1772978AbgJZLAB (ORCPT + 99 others); Mon, 26 Oct 2020 07:00:01 -0400 Received: from muru.com ([72.249.23.125]:46462 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1772785AbgJZK6i (ORCPT ); Mon, 26 Oct 2020 06:58:38 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id E00FB8196; Mon, 26 Oct 2020 10:58:40 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/4] bus: ti-sysc: Fix bogus resetdone warning for cpsw Date: Mon, 26 Oct 2020 12:58:12 +0200 Message-Id: <20201026105812.38418-5-tony@atomide.com> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201026105812.38418-1-tony@atomide.com> References: <20201026105812.38418-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cpsw SOFT_RESET register is cleard when out of reset so let's add SYSS_QUIRK_RESETDONE_INVERTED flag for cpsw. Otherwise we will get bogus "OCP softreset timed out" warnings on boot. Fixes: d46f9fbec719 ("bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit") Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1364,6 +1364,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { /* Quirks that need to be set based on detected module */ SYSC_QUIRK("aess", 0, 0, 0x10, -ENODEV, 0x40000000, 0xffffffff, SYSC_MODULE_QUIRK_AESS), + SYSC_QUIRK("cpgmac", 0, 0x1200, 0x1208, 0x1204, 0x4edb1902, + 0xffff00f0, SYSS_QUIRK_RESETDONE_INVERTED), SYSC_QUIRK("dcan", 0x48480000, 0x20, -ENODEV, -ENODEV, 0xa3170504, 0xffffffff, SYSC_QUIRK_CLKDM_NOAUTO), SYSC_QUIRK("dss", 0x4832a000, 0, 0x10, 0x14, 0x00000020, 0xffffffff, @@ -1423,8 +1425,6 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK("atl", 0, 0, -ENODEV, -ENODEV, 0x0a070100, 0xffffffff, 0), SYSC_QUIRK("cm", 0, 0, -ENODEV, -ENODEV, 0x40000301, 0xffffffff, 0), SYSC_QUIRK("control", 0, 0, 0x10, -ENODEV, 0x40000900, 0xffffffff, 0), - SYSC_QUIRK("cpgmac", 0, 0x1200, 0x1208, 0x1204, 0x4edb1902, - 0xffff00f0, 0), SYSC_QUIRK("dcan", 0, 0x20, -ENODEV, -ENODEV, 0xa3170504, 0xffffffff, 0), SYSC_QUIRK("dcan", 0, 0x20, -ENODEV, -ENODEV, 0x4edb1902, 0xffffffff, 0), SYSC_QUIRK("dispc", 0x4832a400, 0, 0x10, 0x14, 0x00000030, 0xffffffff, 0), -- 2.29.1