Skip to content

Commit bc3b3f4

Browse files
committed
Merge tag 'pinctrl-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control updates from Linus Walleij: "This is the bulk of pin control changes for the v5.7 kernel cycle. There are no core changes this time, only driver developments: - New driver for the Dialog Semiconductor DA9062 Power Management Integrated Circuit (PMIC). - Renesas SH-PFC has improved consistency, with group and register checks in the configuration checker. - New subdriver for the Qualcomm IPQ6018. - Add the RGMII pin control functionality to Qualcomm IPQ8064. - Performance and code quality cleanups in the Mediatek driver. - Improve the Broadcom BCM2835 support to cover all the GPIOs that exist in it. - The Allwinner/Sunxi driver properly masks non-wakeup IRQs on suspend. - Add some missing groups and functions to the Ingenic driver. - Convert some of the Freescale device tree bindings to use the new and all improved JSON YAML markup. - Refactorings and support for the SFIO/GPIO in the Tegra194 SoC driver. - Support high impedance mode in the Spreadtrum/Unisoc driver" * tag 'pinctrl-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (64 commits) pinctrl: qcom: fix compilation error pinctrl: qcom: use scm_call to route GPIO irq to Apps pinctrl: sprd: Add pin high impedance mode support pinctrl: sprd: Use the correct pin output configuration pinctrl: tegra: Add SFIO/GPIO programming on Tegra194 pinctrl: tegra: Renumber the GG.0 and GG.1 pins pinctrl: tegra: Do not add default pin range on Tegra194 pinctrl: tegra: Pass struct tegra_pmx for pin range check pinctrl: tegra: Fix "Scmitt" -> "Schmitt" typo pinctrl: tegra: Fix whitespace issues for improved readability pinctrl: mediatek: Use scnprintf() for avoiding potential buffer overflow pinctrl: freescale: drop the dependency on ARM64 for i.MX8M Revert "pinctrl: mvebu: armada-37xx: use use platform api" dt-bindings: pinctrl: at91: Fix a typo ("descibe") pinctrl: meson: add tsin pinctrl for meson gxbb/gxl/gxm pinctrl: sprd: Fix the kconfig warning pinctrl: ingenic: add hdmi-ddc pin control group pinctrl: sirf/atlas7: Replace zero-length array with flexible-array member pinctrl: sprd: Allow the SPRD pinctrl driver building into a module pinctrl: Export some needed symbols at module load time ...
2 parents 1178619 + c42f69b commit bc3b3f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3350
-743
lines changed

Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Bank: 3 (A, B and C)
3838
0xffffffff 0x7fff3ccf /* pioB */
3939
0xffffffff 0x007fffff /* pioC */
4040

41-
For each peripheral/bank we will descibe in a u32 if a pin can be
41+
For each peripheral/bank we will describe in a u32 if a pin can be
4242
configured in it by putting 1 to the pin bit (1 << pin)
4343

4444
Let's take the pioA on peripheral B

Documentation/devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.txt

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pinctrl/fsl,imx8mm-pinctrl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale IMX8MM IOMUX Controller
8+
9+
maintainers:
10+
- Anson Huang <[email protected]>
11+
12+
description:
13+
Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory
14+
for common binding part and usage.
15+
16+
properties:
17+
compatible:
18+
const: fsl,imx8mm-iomuxc
19+
20+
reg:
21+
maxItems: 1
22+
23+
# Client device subnode's properties
24+
patternProperties:
25+
'grp$':
26+
type: object
27+
description:
28+
Pinctrl node's client devices use subnodes for desired pin configuration.
29+
Client device subnodes use below standard properties.
30+
31+
properties:
32+
fsl,pins:
33+
description:
34+
each entry consists of 6 integers and represents the mux and config
35+
setting for one pin. The first 5 integers <mux_reg conf_reg input_reg
36+
mux_val input_val> are specified using a PIN_FUNC_ID macro, which can
37+
be found in <arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h>. The last
38+
integer CONFIG is the pad setting value like pull-up on this pin. Please
39+
refer to i.MX8M Mini Reference Manual for detailed CONFIG settings.
40+
allOf:
41+
- $ref: /schemas/types.yaml#/definitions/uint32-matrix
42+
- items:
43+
items:
44+
- description: |
45+
"mux_reg" indicates the offset of mux register.
46+
- description: |
47+
"conf_reg" indicates the offset of pad configuration register.
48+
- description: |
49+
"input_reg" indicates the offset of select input register.
50+
- description: |
51+
"mux_val" indicates the mux value to be applied.
52+
- description: |
53+
"input_val" indicates the select input value to be applied.
54+
- description: |
55+
"pad_setting" indicates the pad configuration value to be applied.
56+
57+
required:
58+
- fsl,pins
59+
60+
additionalProperties: false
61+
62+
required:
63+
- compatible
64+
- reg
65+
66+
additionalProperties: false
67+
68+
examples:
69+
# Pinmux controller node
70+
- |
71+
iomuxc: pinctrl@30330000 {
72+
compatible = "fsl,imx8mm-iomuxc";
73+
reg = <0x30330000 0x10000>;
74+
75+
pinctrl_uart2: uart2grp {
76+
fsl,pins =
77+
<0x23C 0x4A4 0x4FC 0x0 0x0 0x140>,
78+
<0x240 0x4A8 0x000 0x0 0x0 0x140>;
79+
};
80+
};
81+
82+
...

Documentation/devicetree/bindings/pinctrl/fsl,imx8mn-pinctrl.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pinctrl/fsl,imx8mn-pinctrl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale IMX8MN IOMUX Controller
8+
9+
maintainers:
10+
- Anson Huang <[email protected]>
11+
12+
description:
13+
Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory
14+
for common binding part and usage.
15+
16+
properties:
17+
compatible:
18+
const: fsl,imx8mn-iomuxc
19+
20+
reg:
21+
maxItems: 1
22+
23+
# Client device subnode's properties
24+
patternProperties:
25+
'grp$':
26+
type: object
27+
description:
28+
Pinctrl node's client devices use subnodes for desired pin configuration.
29+
Client device subnodes use below standard properties.
30+
31+
properties:
32+
fsl,pins:
33+
description:
34+
each entry consists of 6 integers and represents the mux and config
35+
setting for one pin. The first 5 integers <mux_reg conf_reg input_reg
36+
mux_val input_val> are specified using a PIN_FUNC_ID macro, which can
37+
be found in <arch/arm64/boot/dts/freescale/imx8mn-pinfunc.h>. The last
38+
integer CONFIG is the pad setting value like pull-up on this pin. Please
39+
refer to i.MX8M Nano Reference Manual for detailed CONFIG settings.
40+
allOf:
41+
- $ref: /schemas/types.yaml#/definitions/uint32-matrix
42+
- items:
43+
items:
44+
- description: |
45+
"mux_reg" indicates the offset of mux register.
46+
- description: |
47+
"conf_reg" indicates the offset of pad configuration register.
48+
- description: |
49+
"input_reg" indicates the offset of select input register.
50+
- description: |
51+
"mux_val" indicates the mux value to be applied.
52+
- description: |
53+
"input_val" indicates the select input value to be applied.
54+
- description: |
55+
"pad_setting" indicates the pad configuration value to be applied.
56+
57+
required:
58+
- fsl,pins
59+
60+
additionalProperties: false
61+
62+
required:
63+
- compatible
64+
- reg
65+
66+
additionalProperties: false
67+
68+
examples:
69+
# Pinmux controller node
70+
- |
71+
iomuxc: pinctrl@30330000 {
72+
compatible = "fsl,imx8mn-iomuxc";
73+
reg = <0x30330000 0x10000>;
74+
75+
pinctrl_uart2: uart2grp {
76+
fsl,pins =
77+
<0x23C 0x4A4 0x4FC 0x0 0x0 0x140>,
78+
<0x240 0x4A8 0x000 0x0 0x0 0x140>;
79+
};
80+
};
81+
82+
...

Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,29 @@ patternProperties:
3030

3131
properties:
3232
fsl,pins:
33-
allOf:
34-
- $ref: /schemas/types.yaml#/definitions/uint32-array
3533
description:
3634
each entry consists of 6 integers and represents the mux and config
3735
setting for one pin. The first 5 integers <mux_reg conf_reg input_reg
3836
mux_val input_val> are specified using a PIN_FUNC_ID macro, which can
3937
be found in <arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h>. The last
4038
integer CONFIG is the pad setting value like pull-up on this pin. Please
4139
refer to i.MX8M Plus Reference Manual for detailed CONFIG settings.
40+
allOf:
41+
- $ref: /schemas/types.yaml#/definitions/uint32-matrix
42+
- items:
43+
items:
44+
- description: |
45+
"mux_reg" indicates the offset of mux register.
46+
- description: |
47+
"conf_reg" indicates the offset of pad configuration register.
48+
- description: |
49+
"input_reg" indicates the offset of select input register.
50+
- description: |
51+
"mux_val" indicates the mux value to be applied.
52+
- description: |
53+
"input_val" indicates the select input value to be applied.
54+
- description: |
55+
"pad_setting" indicates the pad configuration value to be applied.
4256
4357
required:
4458
- fsl,pins
@@ -59,10 +73,9 @@ examples:
5973
reg = <0x30330000 0x10000>;
6074
6175
pinctrl_uart2: uart2grp {
62-
fsl,pins = <
63-
0x228 0x488 0x5F0 0x0 0x6 0x49
64-
0x228 0x488 0x000 0x0 0x0 0x49
65-
>;
76+
fsl,pins =
77+
<0x228 0x488 0x5F0 0x0 0x6 0x49>,
78+
<0x228 0x488 0x000 0x0 0x0 0x49>;
6679
};
6780
};
6881

Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)