forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 5
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.6-1' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/linusw/linux-pinctrl Pull pin control updates from Linus Walleij: "This is the bulk of pin control changes, nothing too exciting about this. Some changes hit arch/sh and arch/arm but are well isolated and acknowledged by the respective arch maintainers. Core changes: - Dropped the chained IRQ setup callback into GPIOLIB as we got rid of the last users of that in this changeset. New drivers: - New driver for Ingenic X1830. - New driver for Freescale i.MX8MP. Driver enhancements: - Fix all remaining Intel drivers to pass their IRQ chips along with the GPIO chips. - Intel Baytrail allocates its irqchip dynamically. - Intel Lynxpoint is thoroughly rewritten and modernized. - Aspeed AST2600 pin muxing and configuration is much improved. - Qualcomm SC7180 functions are updated and wakeup interrupt map is provided. - A whole slew of Renesas SH-PFC cleanups and improvements. - Fix up the Intel DT bindings to use the generic YAML DT bindings schema (a first user of this)" * tag 'pinctrl-v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (99 commits) pinctrl: madera: Remove extra blank line pinctrl: qcom: Don't lock around irq_set_irq_wake() pinctrl: mvebu: armada-37xx: use use platform api gpio: Drop the chained IRQ handler assign function pinctrl: freescale: Add i.MX8MP pinctrl driver support dt-bindings: imx: Add pinctrl binding doc for i.MX8MP pinctrl: tigerlake: Tiger Lake uses _HID enumeration pinctrl: sunrisepoint: Add Coffee Lake-S ACPI ID pinctrl: iproc: Use platform_get_irq_optional() to avoid error message pinctrl: dt-bindings: Fix some errors in the lgm and pinmux schema pinctrl: intel: Pass irqchip when adding gpiochip pinctrl: intel: Add GPIO <-> pin mapping ranges via callback pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins pinctrl: sunrisepoint: Add missing Interrupt Status register offset pinctrl: sh-pfc: Split R-Car H3 support in two independent drivers pinctrl: artpec6: fix __iomem on reg in set pinctrl: ingenic: Use devm_platform_ioremap_resource() pinctrl: ingenic: Factorize irq_set_type function pinctrl: ingenic: Remove duplicated ingenic_chip_info structures ...
- Loading branch information
Showing
72 changed files
with
3,353 additions
and
1,784 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
69 changes: 69 additions & 0 deletions
69
Documentation/devicetree/bindings/pinctrl/fsl,imx8mp-pinctrl.yaml
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,69 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pinctrl/fsl,imx8mp-pinctrl.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Freescale IMX8MP IOMUX Controller | ||
|
||
maintainers: | ||
- Anson Huang <Anson.Huang@nxp.com> | ||
|
||
description: | ||
Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory | ||
for common binding part and usage. | ||
|
||
properties: | ||
compatible: | ||
const: fsl,imx8mp-iomuxc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
# Client device subnode's properties | ||
patternProperties: | ||
'grp$': | ||
type: object | ||
description: | ||
Pinctrl node's client devices use subnodes for desired pin configuration. | ||
Client device subnodes use below standard properties. | ||
|
||
properties: | ||
fsl,pins: | ||
allOf: | ||
- $ref: /schemas/types.yaml#/definitions/uint32-array | ||
description: | ||
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 <arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h>. The last | ||
integer CONFIG is the pad setting value like pull-up on this pin. Please | ||
refer to i.MX8M Plus Reference Manual for detailed CONFIG settings. | ||
|
||
required: | ||
- fsl,pins | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
# Pinmux controller node | ||
- | | ||
iomuxc: pinctrl@30330000 { | ||
compatible = "fsl,imx8mp-iomuxc"; | ||
reg = <0x30330000 0x10000>; | ||
pinctrl_uart2: uart2grp { | ||
fsl,pins = < | ||
0x228 0x488 0x5F0 0x0 0x6 0x49 | ||
0x228 0x488 0x000 0x0 0x0 0x49 | ||
>; | ||
}; | ||
}; | ||
... |
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
75 changes: 75 additions & 0 deletions
75
Documentation/devicetree/bindings/pinctrl/intel,lgm-io.yaml
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,75 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pinctrl/intel,lgm-io.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Intel Lightning Mountain SoC pinmux & GPIO controller binding | ||
|
||
maintainers: | ||
- Rahul Tanwar <rahul.tanwar@linux.intel.com> | ||
|
||
description: | | ||
Pinmux & GPIO controller controls pin multiplexing & configuration including | ||
GPIO function selection & GPIO attributes configuration. | ||
properties: | ||
compatible: | ||
const: intel,lgm-io | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
# Client device subnode's properties | ||
patternProperties: | ||
'-pins$': | ||
type: object | ||
allOf: | ||
- $ref: pincfg-node.yaml# | ||
- $ref: pinmux-node.yaml# | ||
description: | ||
Pinctrl node's client devices use subnodes for desired pin configuration. | ||
Client device subnodes use below standard properties. | ||
|
||
properties: | ||
function: true | ||
groups: true | ||
pins: true | ||
pinmux: true | ||
bias-pull-up: true | ||
bias-pull-down: true | ||
drive-strength: true | ||
slew-rate: true | ||
drive-open-drain: true | ||
output-enable: true | ||
|
||
required: | ||
- function | ||
- groups | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
# Pinmux controller node | ||
- | | ||
pinctrl: pinctrl@e2880000 { | ||
compatible = "intel,lgm-io"; | ||
reg = <0xe2880000 0x100000>; | ||
uart0-pins { | ||
pins = <64>, /* UART_RX0 */ | ||
<65>; /* UART_TX0 */ | ||
function = "CONSOLE_UART0"; | ||
pinmux = <1>, | ||
<1>; | ||
groups = "CONSOLE_UART0"; | ||
}; | ||
}; | ||
... |
116 changes: 0 additions & 116 deletions
116
Documentation/devicetree/bindings/pinctrl/intel,lgm-pinctrl.yaml
This file was deleted.
Oops, something went wrong.
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
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.