Skip to content

Commit 5a1bcbd

Browse files
committed
Merge tag 'pinctrl-v5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control updates from Linus Walleij: "The most interesting aspect is that we now have initial support for the Apple pin controller as used in the M1 laptops and the iPhones which is a step forward for using Linux efficiently on this Apple silicon. Core changes: - Add infrastructure for per-parent interrupt data to support the Apple pin controller. New drivers: - New combined pin control and GPIO driver for the Apple SoC. This is used in all modern Apple silicon such as the M1 laptops but also in at least recent iPhone variants. - New subdriver for the Qualcomm SM6350 - New subdriver for the Qualcomm QCM2290 - New subdriver for the Qualcomm PM6350 - New subdriver for the Uniphier NX1 - New subdriver for the Samsung ExynosAutoV9 - New subdriver for the Mediatek MT7986 - New subdriver for the nVidia Tegra194 Improvements: - Improve power management in the Mediatek driver. - Improvements to the Renesas internal consistency checker. - Convert the Rockchip pin control device tree bindings to YAML. - Finally convert the Qualcomm PMIC SSBI and SPMI MPP GPIO driver to use hierarchical interrupts. - Convert the Qualcomm PMIC MPP device tree bindings to YAML" * tag 'pinctrl-v5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (55 commits) pinctrl: add pinctrl/GPIO driver for Apple SoCs dt-bindings: pinctrl: Add apple,npins property to apple,pinctrl dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl gpio: Allow per-parent interrupt data pinctrl: tegra: Fix warnings and error pinctrl: intel: Kconfig: Add configuration menu to Intel pin control pinctrl: tegra: Use correct offset for pin group pinctrl: core: fix possible memory leak in pinctrl_enable() pinctrl: bcm2835: Allow building driver as a module pinctrl: equilibrium: Fix function addition in multiple groups pinctrl: tegra: Add pinmux support for Tegra194 pinctrl: tegra: include lpdr pin properties pinctrl: mediatek: add support for MT7986 SoC dt-bindings: pinctrl: update bindings for MT7986 SoC pinctrl: microchip sgpio: use reset driver dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add reset binding dt-bindings: pinctrl: qcom,pmic-mpp: switch to #interrupt-cells pinctrl: qcom: spmi-mpp: add support for hierarchical IRQ chip pinctrl: qcom: spmi-mpp: hardcode IRQ counts pinctrl: qcom: ssbi-mpp: add support for hierarchical IRQ chip ...
2 parents a51e4a1 + a0f160f commit 5a1bcbd

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

+8720
-709
lines changed

Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ properties:
3434
gpio-ranges:
3535
maxItems: 1
3636

37+
apple,npins:
38+
$ref: /schemas/types.yaml#/definitions/uint32
39+
description: The number of pins in this GPIO controller.
40+
3741
interrupts:
3842
description: One interrupt for each of the (up to 7) interrupt
3943
groups supported by the controller sorted by interrupt group
@@ -43,6 +47,9 @@ properties:
4347

4448
interrupt-controller: true
4549

50+
'#interrupt-cells':
51+
const: 2
52+
4653
patternProperties:
4754
'-pins$':
4855
type: object
@@ -66,6 +73,7 @@ required:
6673
- gpio-controller
6774
- '#gpio-cells'
6875
- gpio-ranges
76+
- apple,npins
6977

7078
additionalProperties: false
7179

@@ -86,8 +94,10 @@ examples:
8694
gpio-controller;
8795
#gpio-cells = <2>;
8896
gpio-ranges = <&pinctrl 0 0 212>;
97+
apple,npins = <212>;
8998
9099
interrupt-controller;
100+
#interrupt-cells = <2>;
91101
interrupt-parent = <&aic>;
92102
interrupts = <AIC_IRQ 16 IRQ_TYPE_LEVEL_HIGH>,
93103
<AIC_IRQ 17 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)