Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp256440lqe; Wed, 10 Apr 2024 00:41:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZbZvNcJFjR/q1/JOyfOI8JjsObgh43uueUq5Oae0PX6UGSP5/6jslgz1urC6xD0/lFmFVG4QnOI/BNUaIse+55jRNMi44nEHPeRYLwA== X-Google-Smtp-Source: AGHT+IFwryBDidvQovj7KI/5dXyiYu9P0t6kUH4RoGYWLYZ8JoeYMUagnyPDrF0kTPnmgurzeqpv X-Received: by 2002:a17:903:2444:b0:1e2:b192:6975 with SMTP id l4-20020a170903244400b001e2b1926975mr2402246pls.16.1712734872052; Wed, 10 Apr 2024 00:41:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712734872; cv=pass; d=google.com; s=arc-20160816; b=pmIYA3sv2nTZ5vFRaZF1WXzHKK9dguGja6p7eP1w3z0BRLQgq6iDfzoCZQbQapACup IzXMg35N+hmpWTdv0Rk/WdugM2cZOw4QU4lgqoMNpVlWJc0kFLdzPVbhQlvlUQhkfYYu yN04LYwc+C8ETy3xDY5z3b3DnrQBLBe0iFEetxxGWQdKzKZvIWJVxV4lPmzV29lTp9in aUP2VofzNBsZ1+GAw2seTFQTRFPFe3apEN2ZhjNl/THcc69ay7pBG9bur3+F8MxqHoCo liueU73QKO30tC3pK2KgWGILzufESNwGWjQ825XAcDJpTvhxjVDuRghrzS/Ox/E5wldx GnQw== 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=0UgcjgsJEH5shiSs/OAwdts7Mge9bH59qjbGlFNOjSLHSZp5pRBbIxwQjB6QBNR4cY I4uIirmG1Dws4U74ZVd4UaqLsVhrDFKPy/QnC5Bmk4Ac3hkqjsP/wNjnhhNlFEyZzZlI vrJ4PSiWpOQjjliKSqv3WM9qghs/CvwvyK04DM4MfGTQOd36DMv1Xwx+i24YzT8gTDwQ +y1JNSO0bH809fqSEHnvZ4Ac7yQ6ZszusWciXyO6ZXhe6IAdrAEULprOBmuShGOQgaUY hMidWjZ4at+s1uFZx07lbTzFzgbpR69dakXQPcn5ahihaq5SzgXJygiEZzRjgFTXMfBU 2E7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b="Iq1/6OHu"; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-138008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138008-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lm5-20020a170903298500b001e2ba9db8f1si10214945plb.443.2024.04.10.00.41.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 00:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b="Iq1/6OHu"; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-138008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138008-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B61C5B229B4 for ; Wed, 10 Apr 2024 06:41:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BE6D29CEE; Wed, 10 Apr 2024 06:41:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="Iq1/6OHu" 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 730F3383AE; Wed, 10 Apr 2024 06:41:06 +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=1712731267; cv=none; b=pkObeI7OpZDCV/UyUYgOxvEuF1u1MpoRpvhCmWsUOtXBQ8zYpxrembQ1Ew7QK+CETPOyzwDYaXM48kKZ0Z480LmqLgi3PYWLhOrqYeVwSyXKtWkZNHWe+G9Ha3wxvnuErzboZSOruvQ+FKnXpj/ABlw+EwarD5uwxy8jjn2LZvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712731267; c=relaxed/simple; bh=0nz944gsPunaEY0WbXrcZZChPstAF/Sym3EL2KX9RZA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jI1IPE69e0ef5GQuKm/fjaD962NbplYrGKJhi77Ox5FIeeYsZiioUvygwJegFOZkS4/b1BWHwPwwDI0mkDcHNs5/q3MWLRhUDYVn2aEwZgvIOpnEMMurM9/Yc8B5LNIursQ8PXOHEW+l8JGB+AUEjqxC9E00qTYYt8zppzUFvjE= 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=Iq1/6OHu; 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 1F1806034B; Wed, 10 Apr 2024 06:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1712731265; bh=0nz944gsPunaEY0WbXrcZZChPstAF/Sym3EL2KX9RZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Iq1/6OHu4/+HyEuowU+W+/qcXh13w2bFxc8NgZQcu3Sy4AK7lv8z3aYx76S1QFNno 1AB0TwYB3p+GzEmGRqqJQOV+jCnVLaLCIgYxyy7l6ce2nid54n/iV3MS+EPvodBFCl nLx9awSUFIKNhGYvEVgivFqwzA2l2qTh79Rgw0PIQyje5h6fe/BqNrNJPat60SFql0 IVx93JS0T+L8hbQQppa0GYMBH6XeyAY+PHpUQginN2i0l01PZpXv4lu/eNziZpZNB+ ZnAu1yyQOF7tTpnftruyiFPZi1EoZ8DaB5J/rKj+4dDtydhs92ZykkzVQEkKsuDsog xFEQA9vxC8KrA== From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dhruva Gole , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] bus: ti-sysc: Drop legacy quirk handling for uarts Date: Wed, 10 Apr 2024 09:40:07 +0300 Message-ID: <20240410064010.57142-4-tony@atomide.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240410064010.57142-1-tony@atomide.com> References: <20240410064010.57142-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