Re: [PATCH v4 1/3] dt-bindings: pinctrl: mt8186: add pinctrl file and binding document

From: AngeloGioacchino Del Regno
Date: Mon Feb 14 2022 - 05:32:38 EST


Il 14/02/22 04:06, Guodong Liu ha scritto:
1. This patch adds pinctrl file for mt8186.
2. This patch adds mt8186 compatible node in binding document.

Signed-off-by: Guodong Liu <guodong.liu@xxxxxxxxxxxx>
---
.../bindings/pinctrl/pinctrl-mt8186.yaml | 302 +++++
include/dt-bindings/pinctrl/mt8186-pinfunc.h | 1174 +++++++++++++++++
2 files changed, 1476 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml
create mode 100644 include/dt-bindings/pinctrl/mt8186-pinfunc.h

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml
new file mode 100644
index 000000000000..582d131af4e3
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml

...snip...

diff --git a/include/dt-bindings/pinctrl/mt8186-pinfunc.h b/include/dt-bindings/pinctrl/mt8186-pinfunc.h
new file mode 100644
index 000000000000..dcff86201a61
--- /dev/null
+++ b/include/dt-bindings/pinctrl/mt8186-pinfunc.h
@@ -0,0 +1,1174 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (C) 2021 MediaTek Inc.
+ * Author: Guodong Liu <Guodong.Liu@xxxxxxxxxxxx>
+ *
+ */
+

Hello,
I've just noticed that we have a typo here....

You wrote "MT8168", but this should be "MT8186" instead; please fix it.

P.S.: I'm sorry for not seeing that before!

+#ifndef __MT8168_PINFUNC_H
+#define __MT8168_PINFUNC_H
+

..snip..

+
+#endif /* __MT8168-PINFUNC_H */

Thank you,
Angelo