Thread (11 messages) 11 messages, 2 authors, 2023-06-02

Re: [PATCH V8 2/8] clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018

From: Andy Shevchenko <hidden>
Date: 2023-06-02 13:13:07
Also in: linux-arm-kernel, linux-arm-msm, linux-gpio, linux-mmc, lkml

On Fri, Jun 2, 2023 at 11:24 AM Sricharan Ramabadhran
[off-list ref] wrote:
Add support for the global clock controller found on IPQ5018
based devices.
...
 config IPQ_GCC_5332
        tristate "IPQ5332 Global Clock Controller"
        depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on ipq5332 devices.
-         Say Y if you want to use peripheral devices such as UART, SPI,
-         i2c, USB, SD/eMMC, etc.
Nothing in the commit message about this. Please, elaborate.

...
+#include <linux/kernel.h>
+#include <linux/err.h>
+#include <linux/platform_device.h>
+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/of_device.h>
+#include <linux/clk-provider.h>
+#include <linux/regmap.h>
+#include <linux/reset-controller.h>
Why not keep this ordered?

Missing bits.h and maybe others, but in an unordered list it's harder to check.

...
+                       &gpll4_main.clkr.hw
Can we keep trailing comma here and in similar cases, like
+                       &ubi32_pll_main.clkr.hw
+                       &gpll0_main.clkr.hw
(and many others)?

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help