From patchwork Fri Aug 4 10:38:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 131093 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp176618vqb; Fri, 4 Aug 2023 03:59:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEr72HJ1Dt2k1WzLfNp3A/1ekk00kQRaG3Fdcpa5yMIJjNqNXRY5zvxRZCVx7T3pFgUcIBA X-Received: by 2002:a05:6512:158f:b0:4fb:cff5:3963 with SMTP id bp15-20020a056512158f00b004fbcff53963mr1181249lfb.60.1691146742323; Fri, 04 Aug 2023 03:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691146742; cv=none; d=google.com; s=arc-20160816; b=KhsTvLL7ivwv/NLzjuajQXk2fslGbNuVXUH+FFrcuHy493zf/Pz7hSy9mXg72Wbl4A TfWwswAchlFdolw8hTkoSmph/hGUe+G7mrZ9VlM5Hc0RhKAiK6XjXdWadyRZeSZ8CiA1 yULy8MSkJurRw1duRnEJYvDP5mfTjcqczjXxna/PVglZXfN6bCpJy7HiC0UUGLFAhEEN 5Z0fNltJE8GQEyDpELRfloQPJN7NW38cHx9J7buVeJv5esqdB1+cC6byb8WcTpBPOiVP gsqSniWW0sGUrNJrOQK2Zxp0+xzY5cVUQ9CZ8y2UjoQrtlHbNVKooN33g+WD8OfUYyO2 EIMg== 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=KM+PnVByUlQDwL0Uf9NeK+RtlrNMTpSVj0p13/EunF4=; fh=XxaTlmIpB8G5M8cXR44Z9VEvqpqe6YzQ/MRJDhKrirA=; b=JgsthMi0GsVNh8yWN28Er8713nViOpIJmsVKG+HHMU3hvFUr/NBKFoE5RUy28C1Cp0 EaDRBCZ49twlhBgyK2qXdWfvQTP9gOQ3F92etqqvgmgZoLvMZCwEx8ZQWqJxC4ORZhpQ 9rzY7e8UMC4d2SSjqDmMLlE01Qx0SbGINZpYggBZeS2BFJDwuebFPXm6a0cb+Sy9+4N4 eYkoQxujpQwpZddVtuAwvT8DnEwWlJmsyObqXUdG3cJeQv13ed3TUMIj9lI+0oi91+VA YyHXCL40pHRULxe+NQ1swRgIG8Q8yq7hCaV5fgYMkat7IPkjz4O09qpJgIrc9ORcgGa+ nlfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z25-20020aa7cf99000000b00522ac23622dsi1454462edx.168.2023.08.04.03.58.37; Fri, 04 Aug 2023 03:59:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231490AbjHDKjR (ORCPT + 99 others); Fri, 4 Aug 2023 06:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231481AbjHDKjO (ORCPT ); Fri, 4 Aug 2023 06:39:14 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F5C346B3; Fri, 4 Aug 2023 03:39:14 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 0C3488150; Fri, 4 Aug 2023 10:39:11 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Dhruva Gole , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Kevin Hilman , Nishanth Menon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] bus: ti-sysc: Configure uart quirks for k3 SoC Date: Fri, 4 Aug 2023 13:38:59 +0300 Message-ID: <20230804103859.57458-3-tony@atomide.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230804103859.57458-1-tony@atomide.com> References: <20230804103859.57458-1-tony@atomide.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773295886838115559 X-GMAIL-MSGID: 1773295886838115559 Enable the uart quirks similar to the earlier SoCs. Let's assume we are likely going to need a k3 specific quirk mask separate from the earlier SoCs, so let's not start changing the revision register mask at this point. Note that SYSC_QUIRK_LEGACY_IDLE will be needed until we can remove the need for pm_runtime_irq_safe() from 8250_omap driver. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 2 ++ 1 file changed, 2 insertions(+) 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 @@ -1525,6 +1525,8 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_LEGACY_IDLE), SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47422e03, 0xffffffff, SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_LEGACY_IDLE), + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x47424e03, 0xffffffff, + SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_LEGACY_IDLE), /* Quirks that need to be set based on the module address */ SYSC_QUIRK("mcpdm", 0x40132000, 0, 0x10, -ENODEV, 0x50000800, 0xffffffff,