Thread (9 messages) 9 messages, 2 authors, 2022-07-12

Re: [PATCH v2 2/3] pinctrl: sunxi: add support for R329 CPUX pin controller

From: Icenowy Zheng <hidden>
Date: 2022-07-12 09:39:18
Also in: linux-devicetree, linux-gpio, linux-sunxi, lkml

在 2022-07-10星期日的 21:06 +0200,Andy Shevchenko写道:
On Sun, Jul 10, 2022 at 10:22 AM Icenowy Zheng [off-list ref]
wrote:
quoted
Allwinner R329 SoC has two pin controllers similar to ones on
previous
SoCs, one in CPUX power domain and another in CPUS.

This patch adds support for the CPUX domain pin controller.
...
quoted
+#include <linux/module.h>
+#include <linux/platform_device.h>
quoted
+#include <linux/of.h>
+#include <linux/of_device.h>
No use of these.
quoted
+#include <linux/pinctrl/pinctrl.h>
Missed headers:
mod_devicetable.h
Thanks for these.

In addition, how to decide what header should be included? The code
works properly because of_device.h includes mod_devicetable.h.
quoted
+#include "pinctrl-sunxi.h"


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help