From: Tony Lindgren <tony@atomide.com>
To: linux-omap@vger.kernel.org
Cc: Dave Gerlach <d-gerlach@ti.com>, Faiz Abbas <faiz_abbas@ti.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Keerthy <j-keerthy@ti.com>, Nishanth Menon <nm@ti.com>,
Peter Ujfalusi <peter.ujfalusi@ti.com>,
Roger Quadros <rogerq@ti.com>, Suman Anna <s-anna@ti.com>,
Tero Kristo <t-kristo@ti.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Rob Herring <robh@kernel.org>,
devicetree@vger.kernel.org
Subject: [PATCH 11/13] bus: ti-sysc: Detect uarts also on omap34xx
Date: Mon, 27 May 2019 23:24:12 -0700 [thread overview]
Message-ID: <20190528062414.27192-12-tony@atomide.com> (raw)
In-Reply-To: <20190528062414.27192-1-tony@atomide.com>
Looks like we currently only detect UART on omap36xx, let's also
add support for omap34xx. And let's also fix the SWSUP mode, it should
be SWSUP_SIDLE for omap3, not SWSUP_SIDLE_ACT like for omap4 and later.
Note that we are still booting omap3 for most part without ti-sysc,
so no need to treat this change as a fix.
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/bus/ti-sysc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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
@@ -1205,8 +1205,10 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
0),
SYSC_QUIRK("timer", 0, 0, 0x10, -1, 0x4fff1301, 0xffff00ff,
0),
+ SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000046, 0xffffffff,
+ SYSC_QUIRK_SWSUP_SIDLE | SYSC_QUIRK_LEGACY_IDLE),
SYSC_QUIRK("uart", 0, 0x50, 0x54, 0x58, 0x00000052, 0xffffffff,
- SYSC_QUIRK_SWSUP_SIDLE_ACT | SYSC_QUIRK_LEGACY_IDLE),
+ SYSC_QUIRK_SWSUP_SIDLE | 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),
--
2.21.0
next prev parent reply other threads:[~2019-05-28 6:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 6:24 [PATCHv2 00/13] ti-sysc driver changes to drop custom hwmods property Tony Lindgren
2019-05-28 6:24 ` [PATCH 01/13] bus: ti-sysc: Add support for missing clockdomain handling Tony Lindgren
2019-05-28 6:24 ` [PATCH 02/13] bus: ti-sysc: Support 16-bit writes too Tony Lindgren
2019-05-28 6:24 ` [PATCH 03/13] bus: ti-sysc: Make OCP reset work for sysstatus and sysconfig reset bits Tony Lindgren
2019-05-28 6:24 ` [PATCH 04/13] bus: ti-sysc: Allow QUIRK_LEGACY_IDLE even if legacy_mode is not set Tony Lindgren
2019-05-28 6:24 ` [PATCH 05/13] bus: ti-sysc: Enable interconnect target module autoidle bit on enable Tony Lindgren
2019-05-28 6:24 ` [PATCH 06/13] bus: ti-sysc: Handle clockactivity for enable and disable Tony Lindgren
2019-05-28 6:24 ` [PATCH 07/13] bus: ti-sysc: Handle swsup idle mode quirks Tony Lindgren
2019-05-28 6:24 ` [PATCH 08/13] bus: ti-sysc: Set ENAWAKEUP if available Tony Lindgren
2019-05-28 6:24 ` [PATCH 09/13] bus: ti-sysc: Add support for disabling module without legacy mode Tony Lindgren
2019-05-28 6:24 ` [PATCH 10/13] bus: ti-sysc: Do rstctrl reset handling in two phases Tony Lindgren
2019-05-28 6:24 ` Tony Lindgren [this message]
2019-05-28 6:24 ` [PATCH 12/13] ARM: dts: Drop legacy custom hwmods property for omap4 uart Tony Lindgren
2019-05-28 6:24 ` [PATCH 13/13] ARM: dts: Drop legacy custom hwmods property for omap4 mmc Tony Lindgren
2019-05-28 8:02 ` [PATCHv2 00/13] ti-sysc driver changes to drop custom hwmods property Keerthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190528062414.27192-12-tony@atomide.com \
--to=tony@atomide.com \
--cc=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=faiz_abbas@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=j-keerthy@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=peter.ujfalusi@ti.com \
--cc=robh@kernel.org \
--cc=rogerq@ti.com \
--cc=s-anna@ti.com \
--cc=t-kristo@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®