[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1954a13a-6102-45cd-a8a4-0aa8939b7e0e@kernel.org>
Date: Tue, 3 Dec 2024 16:41:41 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Michal Wilczynski <m.wilczynski@...sung.com>, mturquette@...libre.com,
sboyd@...nel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
drew@...7.com, guoren@...nel.org, wefu@...hat.com, jassisinghbrar@...il.com,
paul.walmsley@...ive.com, palmer@...belt.com, aou@...s.berkeley.edu,
frank.binns@...tec.com, matt.coster@...tec.com,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org, tzimmermann@...e.de,
airlied@...il.com, simona@...ll.ch, ulf.hansson@...aro.org,
jszhang@...nel.org, m.szyprowski@...sung.com
Cc: linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org,
dri-devel@...ts.freedesktop.org, linux-pm@...r.kernel.org
Subject: Re: [RFC PATCH v1 02/14] dt-bindings: clock: thead,th1520: Rename
header file
On 03/12/2024 14:41, Michal Wilczynski wrote:
> As support for clocks from new subsystems is being added to the T-Head
> TH1520 SoC, the header file name should reflect this broader scope. The
No, there is no such rule, so "should" is not appropriate.
> existing header file 'thead,th1520-clk-ap.h' includes the '-ap' suffix,
> indicating it's specific to the Application Processor (AP) subsystem.
>
> Rename the header file to 'thead,th1520-clk.h' to generalize it for all
> subsystems. Update all references to this header file accordingly.
>
> Signed-off-by: Michal Wilczynski <m.wilczynski@...sung.com>
> ---
> .../devicetree/bindings/clock/thead,th1520-clk-ap.yaml | 4 ++--
> .../devicetree/bindings/mailbox/thead,th1520-mbox.yaml | 2 +-
> MAINTAINERS | 2 +-
> arch/riscv/boot/dts/thead/th1520.dtsi | 2 +-
> drivers/clk/thead/clk-th1520.h | 2 +-
> .../clock/{thead,th1520-clk-ap.h => thead,th1520-clk.h} | 0
Don't mix driver, bindings and DTS. See checkpatch warning. Don't rename
files just because you prefer other names.
Best regards,
Krzysztof
Powered by blists - more mailing lists