Received: by 10.192.165.148 with SMTP id m20csp3701228imm; Mon, 23 Apr 2018 10:48:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+p9Af0HbYzPQ0wL4GMkpjeka8PvsHCowYPaQeDRbpi9m6gTxhVplzHvfEuFCyw5er56r4V X-Received: by 2002:a17:902:524:: with SMTP id 33-v6mr17653214plf.25.1524505729184; Mon, 23 Apr 2018 10:48:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524505729; cv=none; d=google.com; s=arc-20160816; b=TdgePmNZ5r/kumAJfP57C8990FUco0fsNlR73D+HJX73KolOqrCn+E+Typs/MMbcfI tAb+jAm+LilJQLC952Xrt6ZAe8tirh6IzGTp4nhBG2/Un2o9n13RuKGuC+h73CQDfwp+ qlz+LwCVA4JJvgHmpJrQzkRYt87x2Rpz19wfHH0as7YhU2GJbFqBDcjC4mxvxVB2uCom TXNC1JKTa0VDDN68Sz4+842YW4sQ1LWvsmO5gtDlLNnO731Bl5ETfub3GqRQA1oL6IBt VTkbGX1MKZ4jJgSYzimpvFlmScmsAhqGt+NK1AOL3PBgdvWEFD2sv/1BXZP7OrtCpaHt 6w/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=HEeKv8+CxP9hUgc1ZW8zYoJy3sJcY1TK5WDl/T0nEQE=; b=RF6wu5WAGCXv1nj2XsA5MRAC5D2mibE7ejXceSYkGNt4xzQUHN8Ntxn5+++0JNm5Tt 11ZdSsFPdUr0DG6IoJ1vM/UE2RyFj/yjcqsD8Yn9wK2OnNifUIg20puWekiBVGxdNioW UW+jRwnWsa21s9Ikxo9l0Mb1ueUGxGiuXy7dlsCqm8Ic6fsAGyTcRZ4dxlxQvZli4nr2 zjb1oKRMMP9VOy1vHZvbHyiBi+hT2d9VSUYXBXa5JgEV3a6X4xPn6xCH40LmTtKKvL4a 26+B096VD6JY70Hw9nyP0hipq6/RT2OmxZZAocT/PXOI/FKRq3LYs9rao78heen5lJM5 KDlw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n136si4931662pfd.312.2018.04.23.10.48.35; Mon, 23 Apr 2018 10:48:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932384AbeDWRqs (ORCPT + 99 others); Mon, 23 Apr 2018 13:46:48 -0400 Received: from muru.com ([72.249.23.125]:38416 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932245AbeDWRqk (ORCPT ); Mon, 23 Apr 2018 13:46:40 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 96DB180F3; Mon, 23 Apr 2018 17:48:22 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: Dave Gerlach , Greg Kroah-Hartman , Nishanth Menon , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/16] bus: ti-sysc: Detect UARTs for SYSC_QUIRK_LEGACY_IDLE quirk on omap4 Date: Mon, 23 Apr 2018 10:45:47 -0700 Message-Id: <20180423174549.57412-15-tony@atomide.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423174549.57412-1-tony@atomide.com> References: <20180423174549.57412-1-tony@atomide.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Starting with omap4, UARTs have different revision register that we need to detect to enable SYSC_QUIRK_LEGACY_IDLE. Otherwise UARTs won't idle properly. Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 3 +++ 1 file changed, 3 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 @@ -880,6 +880,9 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = { SYSC_QUIRK_LEGACY_IDLE), SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff, SYSC_QUIRK_LEGACY_IDLE), + /* Uarts on omap4 and later */ + SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x50411e03, 0xffffffff, + SYSC_QUIRK_LEGACY_IDLE), }; static void sysc_init_revision_quirks(struct sysc *ddata) -- 2.17.0