-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'pinctrl-v5.1-1' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/linusw/linux-pinctrl Pull pin control updates from Linus Walleij: "This is a calm cycle, not much happened this time around: not even much incremental development. Some three new drivers, that is all. No core changes. New drivers: - NXP (ex Freescale) i.MX 8QM driver. - NXP (ex Freescale) i.MX 8MM driver. - AT91 SAM9X60 subdriver. Improvements: - Support for external interrups (EINT) on Mediatek virtual GPIOs. - Make BCM2835 pin config fully generic. - Lots of Renesas SH-PFC incremental improvements" * tag 'pinctrl-v5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (70 commits) pinctrl: imx: fix scu link errors dt-bindings: pinctrl: Document the i.MX50 IOMUXC binding pinctrl: qcom: spmi-gpio: Reorder debug print pinctrl: nomadik: fix possible object reference leak pinctrl: stm32: return error upon hwspinlock failure pinctrl: stm32: fix memory leak issue pinctrl: sh-pfc: r8a77965: Add DRIF pins, groups and functions pinctrl: sh-pfc: r8a77965: Add TMU pins, groups and functions pinctrl: sh-pfc: Validate fixed-size field widths at build time pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups pinctrl: sh-pfc: r8a7792: Fix vin1_data18_b pin group pinctrl: sh-pfc: r8a7791: Fix scifb2_data_c pin group pinctrl: sh-pfc: emev2: Add missing pinmux functions pinctrl: sunxi: Support I/O bias voltage setting on A80 pinctrl: ingenic: Add LCD pins for the JZ4725B SoC pinctrl: samsung: Remove legacy API for handling external wakeup interrupts mask pinctrl: bcm2835: Direct GPIO config changes to generic pinctrl pinctrl: bcm2835: declare pin config as generic pinctrl: qcom: qcs404: Drop unused UFS_RESET macro dt-bindings: add documentation for slew rate ...
- Loading branch information
Showing
55 changed files
with
3,024 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
Documentation/devicetree/bindings/pinctrl/fsl,imx50-pinctrl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
* Freescale IMX50 IOMUX Controller | ||
|
||
Please refer to fsl,imx-pinctrl.txt in this directory for common binding part | ||
and usage. | ||
|
||
Required properties: | ||
- compatible: "fsl,imx50-iomuxc" | ||
- fsl,pins: two integers array, represents a group of pins mux and config | ||
setting. The format is fsl,pins = <PIN_FUNC_ID CONFIG>, PIN_FUNC_ID is a | ||
pin working on a specific function, CONFIG is the pad setting value like | ||
pull-up for this pin. Please refer to imx50 datasheet for the valid pad | ||
config settings. | ||
|
||
CONFIG bits definition: | ||
PAD_CTL_HVE (1 << 13) | ||
PAD_CTL_HYS (1 << 8) | ||
PAD_CTL_PKE (1 << 7) | ||
PAD_CTL_PUE (1 << 6) | ||
PAD_CTL_PUS_100K_DOWN (0 << 4) | ||
PAD_CTL_PUS_47K_UP (1 << 4) | ||
PAD_CTL_PUS_100K_UP (2 << 4) | ||
PAD_CTL_PUS_22K_UP (3 << 4) | ||
PAD_CTL_ODE (1 << 3) | ||
PAD_CTL_DSE_LOW (0 << 1) | ||
PAD_CTL_DSE_MED (1 << 1) | ||
PAD_CTL_DSE_HIGH (2 << 1) | ||
PAD_CTL_DSE_MAX (3 << 1) | ||
PAD_CTL_SRE_FAST (1 << 0) | ||
PAD_CTL_SRE_SLOW (0 << 0) | ||
|
||
Refer to imx50-pinfunc.h in device tree source folder for all available | ||
imx50 PIN_FUNC_ID. |
36 changes: 36 additions & 0 deletions
36
Documentation/devicetree/bindings/pinctrl/fsl,imx8mm-pinctrl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
* Freescale IMX8MM IOMUX Controller | ||
|
||
Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory | ||
for common binding part and usage. | ||
|
||
Required properties: | ||
- compatible: "fsl,imx8mm-iomuxc" | ||
- reg: should contain the base physical address and size of the iomuxc | ||
registers. | ||
|
||
Required properties in sub-nodes: | ||
- fsl,pins: each entry consists of 6 integers and represents the mux and config | ||
setting for one pin. The first 5 integers <mux_reg conf_reg input_reg mux_val | ||
input_val> are specified using a PIN_FUNC_ID macro, which can be found in | ||
<dt-bindings/pinctrl/imx8mm-pinfunc.h>. The last integer CONFIG is | ||
the pad setting value like pull-up on this pin. Please refer to i.MX8M Mini | ||
Reference Manual for detailed CONFIG settings. | ||
|
||
Examples: | ||
|
||
&uart1 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_uart1>; | ||
}; | ||
|
||
iomuxc: pinctrl@30330000 { | ||
compatible = "fsl,imx8mm-iomuxc"; | ||
reg = <0x0 0x30330000 0x0 0x10000>; | ||
|
||
pinctrl_uart1: uart1grp { | ||
fsl,pins = < | ||
MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 | ||
MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 | ||
>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.