Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp147834lqe; Wed, 27 Mar 2024 01:16:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+3TzClgYyjOgNGHvhsF+XX2KFCRfiqObw51lIJmWE5mX4vu+QQYFCGmajhU7fvMCaKs9RKtB/vjJ7AdE4w/wR6zN5+QrPzIHTxOayqA== X-Google-Smtp-Source: AGHT+IHU6HR9Q8Vq88LgFcpJyjyOk2gueRjZiE0o0xMt5YQ2c2OXKB+SlnIaGBp9LIDd8apos7iT X-Received: by 2002:a50:d544:0:b0:56c:169c:6b38 with SMTP id f4-20020a50d544000000b0056c169c6b38mr1363310edj.10.1711527394968; Wed, 27 Mar 2024 01:16:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711527394; cv=pass; d=google.com; s=arc-20160816; b=wKj8pXp0cD8RJhbBxHTZCEPvebe6yUJzLH6CmoFgcL3XwlNz/+SWU1BCxF6knIc6vD JxfyqFeIzAAHbhX42E1rzxlMbwVgNVvE8MrRY+LfFtAmmlvieO1myOFxv3jwNdNA/5Kn FEsMMnDtw6ctGJrpQq9FeZtOP75Wnnrb1Ryt5JeDGvoJRlkpXDkytlnlqBYFJfpKI1Gl 8fIj0w05x5KzQEZx1fUv2YJGNntjBjsMWJFF7VInFC87LlTQmzPjTmPjz5LyL/1Mxz2x /wSun1WTt/qKqHdM4ElvcG28hVEbXrna5r55DTK73WKoj9lRxhK8eE5wEDYZ4CwWA8QU wP1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=36BMNmr32HL03Z0yoqaon6rt74SWbP8msXoe0ABGhOk=; fh=AhBBpAg3lh+I88+AkRWrI5Uf1UcuTYxs1zmDN5pI7xY=; b=jQwKDUzxGebKW10sIEDq1eHnRsXQod+zh3WCiCYLmibNZMy8NB4J7pchy/UdBGqea3 pg/wwWRSn2LFD1Jg8plDOfFmosYzDwieHjSxlT/aRlOfBuelpNI7Z4RHDA2Q2K1gS/Zs 6aJ69OYOXr7S0NYb8mACUBBqatM8h5qfOiem7hnuEFloWtuyzJNgQq3Br32YJkhMLaps E7ZWjsg0iy5L35gytAFDS+vv8fbeTZQm2XIoFen1RgKhfDoa/hbwnxT85ZXLqt9mRZVI iwrGMAh+sPOLNrknN4PsYC+MJnQb1CdWDRNNERlb8G3b1RTsfBfhmnmicrE1oue1vtKi dUZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b=Hh0iaQEP; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-120514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120514-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l7-20020a50d6c7000000b0056bcec9c849si4482172edj.453.2024.03.27.01.16.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 01:16:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b=Hh0iaQEP; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-120514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120514-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B1BA21F2B32F for ; Wed, 27 Mar 2024 08:16:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CF8931A82; Wed, 27 Mar 2024 08:16:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="Hh0iaQEP" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E78F3612C; Wed, 27 Mar 2024 08:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711527365; cv=none; b=q5wzF3JXsAyRfRYrfLThgmzaXEnH7kooZTvGWNtI9Wq5I3jDw/tSZWG5ih5DoNBX/YRyuxvCkw6uM+NNMlPiN8nNsVpujCAcwU2LdKW8HTyX9JQT2kW60t66BmDdbxxCursBe/5lHq0jD+3EKUuhRZJe9iTPi+ih4EAhg35sbe0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711527365; c=relaxed/simple; bh=0nz944gsPunaEY0WbXrcZZChPstAF/Sym3EL2KX9RZA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EnbkysYHZ2b1nXnWZV59MBLN/CBWbBo5c0JDiXJXe308Ahh8k8pBdBtPMYri86Zvj6Cn3NCMH+ouflraL7NMmaxj+g8rm1mZZmZqWQKa5o01TlgKccF9eEWkLicIQvftw/KxDGwFfU0h8l61scc9NX67/+KONPG5dhWP969Tyew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=Hh0iaQEP; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 03ED360462; Wed, 27 Mar 2024 08:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1711527361; bh=0nz944gsPunaEY0WbXrcZZChPstAF/Sym3EL2KX9RZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hh0iaQEPeJKjflBIEm2EgHUEbLyvx3SC4u+27CnmOTrtDYpSUell35SqtXd3ZbV6A 6vGZeKRdR4LM0qpFCR8e39oG+0bS3fr+B375m3ocK1Ac7SARH41sW1oHyaUyaBX9qa H7s6cK/ISczWH5FUws04CsMa9cL/LKLgEck/jIhGaeRBJwP3CIFK3DLvMWm+Ox6Mx/ /hVsuP0d4kTpcEB6mCn2ZXpNajRpzXxRShnJTiPY5EJxwfiAi6VDI0WOB273vgyZyc HFwoTnjQ7w0Y4JLOTEPuQj87B+EydXJ7HHAXLMxbhiEYbwb6JOxXM1I9HNm+262LNc ObLshS7RFXUkw== From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dhruva Gole , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH 3/5] bus: ti-sysc: Drop legacy quirk handling for uarts Date: Wed, 27 Mar 2024 10:15:06 +0200 Message-ID: <20240327081508.36747-4-tony@atomide.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327081508.36747-1-tony@atomide.com> References: <20240327081508.36747-1-tony@atomide.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit With the 8250_omap and omap-serial drivers no longer relying on the use of pm_runtime_irq_safe(), we can finally drop the related legacy quirk handling for uarts. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 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 @@ -1540,19 +1540,6 @@ struct sysc_revision_quirk { } static const struct sysc_revision_quirk sysc_revision_quirks[] = { - /* These drivers need to be fixed to not use pm_runtime_irq_safe() */ - SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000046, 0xffffffff, - SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE), - SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff, - SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE), - /* Uarts on omap4 and later */ - SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffff00ff, - SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE), - SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47422e03, 0xffffffff, - SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE), - SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47424e03, 0xffffffff, - SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE), - /* Quirks that need to be set based on the module address */ SYSC_QUIRK("mcpdm", 0x40132000, 0, 0x10, -ENODEV, 0x50000800, 0xffffffff, SYSC_QUIRK_EXT_OPT_CLOCK | SYSC_QUIRK_NO_RESET_ON_INIT | @@ -1610,6 +1597,17 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("sata", 0, 0xfc, 0x1100, -ENODEV, 0x5e412000, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000046, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE_ACT), + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE_ACT), + /* Uarts on omap4 and later */ + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffff00ff, + SYSC_QUIRK_SWSUP_SIDLE_ACT), + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47422e03, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE_ACT), + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47424e03, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE_ACT), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, 0x14, 0x50700100, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_SWSUP_MSTANDBY), SYSC_QUIRK("usb_host_hs", 0, 0, 0x10, -ENODEV, 0x50700101, 0xffffffff, -- 2.44.0