[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <82a08b57-c151-daf8-0719-1034be07538c@gmail.com>
Date: Fri, 3 Apr 2020 23:45:04 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Rob Herring <robh+dt@...nel.org>,
Jon Hunter <jonathanh@...dia.com>, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/7] clocksource: Add Tegra186 timers support
03.04.2020 23:22, Thierry Reding пишет:
...
> +config TEGRA186_TIMER
> + tristate "NVIDIA Tegra186 timer driver"
> + depends on ARCH_TEGRA || COMPILE_TEST
> + depends on WATCHDOG && WATCHDOG_CORE
> + help
> + Enables support for the timers and watchdogs found on NVIDIA
> + Tegra186 and later SoCs.
Personally, I'd like to see this in drivers/watchdog/ because I've seen
cases where subsys maintainers are doing bulk-changes to drivers and
missing those that reside outside of the subsys directory.
But, that's not to me to decide, so I don't really mind.
...
> +static void tegra186_wdt_enable(struct tegra186_wdt *wdt)
> +{
> + struct tegra186_timer *tegra = wdt->tmr->parent;
> + u32 value;
> +
> + /* unmask hardware IRQ, this may have been lost across powergate */
> + value = TKEIE_WDT_MASK(wdt->index, 1);
> + writel(value, tegra->regs + TKEIE(wdt->tmr->hwirq));
Perhaps this one also could be relaxed, for consistency. Sorry for
missing it in v2 :)
Powered by blists - more mailing lists