-
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-v6.2-1' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/linusw/linux-pinctrl Pull pin control updates from Linus Walleij: "The two large chunks is the header clean-up from Andy and the Qualcomm DT bindings clean-up from Krzysztof. Each which could give rise to conflicts, but I haven't seen any. The YAML conversions happening around the device tree is the biggest item in the series and is the result of Rob Herrings ambition to autovalidate these trees against strict schemas and it is paying off in lots of bugs found and ever prettier device trees. Sooner or later the transition will be complete, Krzysztof is fixing up all of the Qualcomm stuff, which is pretty voluminous. Core changes: - minor but nice and important documentation clean-ups New drivers: - subdriver for the Qualcomm SDM670 SoC - subdriver for the Intel Moorefield SoC - trivial support for the NXP Freescale i.MXRT1170 SoC Other changes and improvements - major clean-up of the Qualcomm pin control device tree bindings by Krzysztof - major header clean-up by Andy - some immutable irqchip clean-up for the Actions Semiconductor and Nuvoton drivers - GPIO helpers for The Cypress cy8c95x0 driver - bias handling in the Mediatek MT7986 driver - remove the unused pins-are-numbered concept that never flew" * tag 'pinctrl-v6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (231 commits) pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions() dt-bindings: pinctrl: st,stm32: Deprecate pins-are-numbered dt-bindings: pinctrl: mediatek,mt65xx: Deprecate pins-are-numbered pinctrl: stm32: Remove check for pins-are-numbered pinctrl: mediatek: common: Remove check for pins-are-numbered pinctrl: qcom: remove duplicate included header files pinctrl: sunxi: d1: Add CAN bus pinmuxes pinctrl: loongson2: Fix some const correctness pinctrl: pinconf-generic: add missing of_node_put() pinctrl: intel: Enumerate PWM device when community has a capability pwm: lpss: Rename pwm_lpss_probe() --> devm_pwm_lpss_probe() pwm: lpss: Allow other drivers to enable PWM LPSS pwm: lpss: Include headers we are the direct user of pwm: lpss: Rename MAX_PWMS --> LPSS_MAX_PWMS pwm: Add a stub for devm_pwmchip_add() pinctrl: k210: call of_node_put() pinctrl: starfive: Use existing variable gpio dt-bindings: pinctrl: semtech,sx150xq: fix match patterns for 16 GPIOs matching pinconf-generic: fix style issues in pin_config_param doc pinctrl: pinctrl-loongson2: fix Kconfig dependency ...
- Loading branch information
Showing
201 changed files
with
7,899 additions
and
4,770 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
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
123 changes: 123 additions & 0 deletions
123
Documentation/devicetree/bindings/pinctrl/loongson,ls2k-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,123 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pinctrl/loongson,ls2k-pinctrl.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Loongson-2 SoC Pinctrl Controller | ||
|
||
maintainers: | ||
- zhanghongchen <zhanghongchen@loongson.cn> | ||
- Yinbo Zhu <zhuyinbo@loongson.cn> | ||
|
||
allOf: | ||
- $ref: pinctrl.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: loongson,ls2k-pinctrl | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
patternProperties: | ||
'-pins$': | ||
type: object | ||
|
||
additionalProperties: false | ||
|
||
patternProperties: | ||
'pinmux$': | ||
type: object | ||
description: node for pinctrl. | ||
$ref: pinmux-node.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
properties: | ||
groups: | ||
description: | ||
One or more groups of pins to mux to a certain function | ||
items: | ||
enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0, | ||
nand, sata_led, i2s, hda] | ||
function: | ||
description: | ||
The function that a group of pins is muxed to | ||
enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0, | ||
nand, sata_led, i2s, hda] | ||
|
||
required: | ||
- groups | ||
- function | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
pctrl: pinctrl@1fe00420 { | ||
compatible = "loongson,ls2k-pinctrl"; | ||
reg = <0x1fe00420 0x18>; | ||
sdio_pins_default: sdio-pins { | ||
sdio-pinmux { | ||
groups = "sdio"; | ||
function = "sdio"; | ||
}; | ||
sdio-det-pinmux { | ||
groups = "pwm2"; | ||
function = "gpio"; | ||
}; | ||
}; | ||
pwm1_pins_default: pwm1-pins { | ||
pinmux { | ||
groups = "pwm1"; | ||
function = "pwm1"; | ||
}; | ||
}; | ||
pwm0_pins_default: pwm0-pins { | ||
pinmux { | ||
groups = "pwm0"; | ||
function = "pwm0"; | ||
}; | ||
}; | ||
i2c1_pins_default: i2c1-pins { | ||
pinmux { | ||
groups = "i2c1"; | ||
function = "i2c1"; | ||
}; | ||
}; | ||
i2c0_pins_default: i2c0-pins { | ||
pinmux { | ||
groups = "i2c0"; | ||
function = "i2c0"; | ||
}; | ||
}; | ||
nand_pins_default: nand-pins { | ||
pinmux { | ||
groups = "nand"; | ||
function = "nand"; | ||
}; | ||
}; | ||
hda_pins_default: hda-pins { | ||
grp0-pinmux { | ||
groups = "hda"; | ||
function = "hda"; | ||
}; | ||
grp1-pinmux { | ||
groups = "i2s"; | ||
function = "gpio"; | ||
}; | ||
}; | ||
}; |
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.