lkml.org 
[lkml]   [2021]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 6/6] clk: samsung: Introduce Exynos850 clock driver
From
Date
On 05/10/2021 13:29, Sam Protsenko wrote:
> On Wed, 15 Sept 2021 at 11:59, Krzysztof Kozlowski
> <krzysztof.kozlowski@canonical.com> wrote:
>>
>
>>> + val = ioread32(reg);
>>> + val |= GATE_MANUAL;
>>> + val &= ~GATE_ENABLE_HWACG;
>>> + iowrite32(val, reg);
>>
>> All other drivers use readl/writel, so how about keeping it consistent?
>>
>
> Ok. Though io* variants looks better to me (API names consistent with
> ioremap/iounmap) :)

The io* variants are for PCI I/O and I/O port. Since we know this is
MMIO, all drivers use regular readX/writeX, so let's keep it the same.

Best regards,
Krzysztof

\
 
 \ /
  Last update: 2021-10-06 14:51    [W:0.161 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site