979bb59016
New drivers: - Cypress CY8C95x0 chip pin control support, along with an immediate cleanup. - Mediatek MT8188 SoC pin control support. - Qualcomm SM8450 and SC8280XP LPASS (low power audio subsystem) pin control support. - Qualcomm PM7250, PM8450 - Rockchip RV1126 SoC pin control support. Improvements: - Fix some missing pins in the Armada 37xx driver. - Convert Broadcom and Nomadik drivers to use PINCTRL_PINGROUP() macro. - Fix some GPIO irq_chips to be immutable. - Massive Qualcomm device tree binding cleanup, with more to come. -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAmNEhjMACgkQQRCzN7AZ XXMNXRAAuqKM8b/Kw7H9S2sBgMuESk2WKe/lmJ6mQCWK1iyo0xecEQi1wN3WGZt1 DfoYHdsB45GWnRcwIVIl2wAjce72EFepCa/sut55TR/bLDxRfSiHGBKatSk5VkQp IGx75EtsRPgnZCUU3jQgrQEiI8eqj90nr8CugZwD7gocjAtaRJXb0cc3NPyk/TDh Wyku3rYuzztLCJHwsZ7Q9zh3s9b8Vb43pK9BW8HHeuODqMECaDWTEQUDetKz/Z8X v7v01PSOafBQUCoFPezz/20kOV9llxFSCeCqbwG3zvjPSjofVwSFoSH1Op4Ybr/t JWM8Py1+/G/rbsRhZuEahLJ+/eLy7SWABSUq2sxwCEr/VkzNCZ1jKH/qB1S7ZkI6 GcHPbEeCDzcN+yfKIo8p6WHUYivpj2XKXqh/BWIY63rJ3ukrq3WHuJNvCO15F/TJ PDuLIL0RdNxSanoamsplNtFWA3ap92P2P933k+v06VEZpZys8j/JHFUaysbiqpL+ GoHdRjspFC/4Ob3FwbbiYktpoKmRsZl7PCJSYnnz5nrHFUbQ4LtrgppqMgGXny16 P0pW8IBmIF4yVteodQFsyYZq2yH91TengHleqoFsK0OjYXG0BmRm3lYWLjWbojxe U7E5T5qQo2rtdVct9d47UznK3IRThDDJx9DtG+Y19VpkKiOy6j8= =PvLX -----END PGP SIGNATURE----- Merge tag 'pinctrl-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl Pull pin control updates from Linus Walleij: "There is nothing exciting going on, no core changes, just a few drivers and cleanups. New drivers: - Cypress CY8C95x0 chip pin control support, along with an immediate cleanup - Mediatek MT8188 SoC pin control support - Qualcomm SM8450 and SC8280XP LPASS (low power audio subsystem) pin control support - Qualcomm PM7250, PM8450 - Rockchip RV1126 SoC pin control support Improvements: - Fix some missing pins in the Armada 37xx driver - Convert Broadcom and Nomadik drivers to use PINCTRL_PINGROUP() macro - Fix some GPIO irq_chips to be immutable - Massive Qualcomm device tree binding cleanup, with more to come" * tag 'pinctrl-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (119 commits) MAINTAINERS: adjust STARFIVE JH7100 PINCTRL DRIVER after file movement pinctrl: starfive: Rename "pinctrl-starfive" to "pinctrl-starfive-jh7100" pinctrl: Create subdirectory for StarFive drivers dt-bindings: pinctrl: st,stm32: Document interrupt-controller property dt-bindings: pinctrl: st,stm32: Document gpio-hog pattern property dt-bindings: pinctrl: st,stm32: Document gpio-line-names pinctrl: st: stop abusing of_get_named_gpio() pinctrl: wpcm450: Correct the fwnode_irq_get() return value check pinctrl: bcm: Remove unused struct bcm6328_pingroup pinctrl: qcom: restrict drivers per ARM/ARM64 pinctrl: bcm: ns: Remove redundant dev_err call gpio: rockchip: request GPIO mux to pinctrl when setting direction pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback pinctrl: cy8c95x0: Align function names in cy8c95x0_pmxops pinctrl: cy8c95x0: Drop atomicity on operations on push_pull pinctrl: cy8c95x0: Lock register accesses in cy8c95x0_set_mux() pinctrl: sunxi: sun50i-h5: Switch to use dev_err_probe() helper pinctrl: stm32: Switch to use dev_err_probe() helper dt-bindings: qcom-pmic-gpio: Add PM7250B and PM8450 bindings pinctrl: qcom: spmi-gpio: Add compatible for PM7250B ...
137 lines
3.5 KiB
YAML
137 lines
3.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/pinctrl/intel,pinctrl-keembay.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Intel Keem Bay pin controller
|
|
|
|
maintainers:
|
|
- Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
|
|
|
|
description: |
|
|
Intel Keem Bay SoC integrates a pin controller which enables control
|
|
of pin directions, input/output values and configuration
|
|
for a total of 80 pins.
|
|
|
|
properties:
|
|
compatible:
|
|
const: intel,keembay-pinctrl
|
|
|
|
reg:
|
|
maxItems: 2
|
|
|
|
gpio-controller: true
|
|
|
|
'#gpio-cells':
|
|
const: 2
|
|
|
|
ngpios:
|
|
description: The number of GPIOs exposed.
|
|
const: 80
|
|
|
|
interrupts:
|
|
description:
|
|
Specifies the interrupt lines to be used by the controller.
|
|
Each interrupt line is shared by upto 4 GPIO lines.
|
|
maxItems: 8
|
|
|
|
interrupt-controller: true
|
|
|
|
'#interrupt-cells':
|
|
const: 2
|
|
|
|
patternProperties:
|
|
'^gpio@[0-9a-f]*$':
|
|
type: object
|
|
additionalProperties: false
|
|
|
|
description:
|
|
Child nodes can be specified to contain pin configuration information,
|
|
which can then be utilized by pinctrl client devices.
|
|
The following properties are supported.
|
|
|
|
properties:
|
|
pins:
|
|
description: |
|
|
The name(s) of the pins to be configured in the child node.
|
|
Supported pin names are "GPIO0" up to "GPIO79".
|
|
|
|
bias-disable: true
|
|
|
|
bias-pull-down: true
|
|
|
|
bias-pull-up: true
|
|
|
|
drive-strength:
|
|
description: IO pads drive strength in milli Ampere.
|
|
enum: [2, 4, 8, 12]
|
|
|
|
bias-bus-hold:
|
|
type: boolean
|
|
|
|
input-schmitt-enable:
|
|
type: boolean
|
|
|
|
slew-rate:
|
|
description: GPIO slew rate control.
|
|
0 - Fast(~100MHz)
|
|
1 - Slow(~50MHz)
|
|
enum: [0, 1]
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- gpio-controller
|
|
- ngpios
|
|
- '#gpio-cells'
|
|
- interrupts
|
|
- interrupt-controller
|
|
- '#interrupt-cells'
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
// Example 1
|
|
gpio@0 {
|
|
compatible = "intel,keembay-pinctrl";
|
|
reg = <0x600b0000 0x88>,
|
|
<0x600b0190 0x1ac>;
|
|
gpio-controller;
|
|
ngpios = <0x50>;
|
|
#gpio-cells = <0x2>;
|
|
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
// Example 2
|
|
gpio@1 {
|
|
compatible = "intel,keembay-pinctrl";
|
|
reg = <0x600c0000 0x88>,
|
|
<0x600c0190 0x1ac>;
|
|
gpio-controller;
|
|
ngpios = <0x50>;
|
|
#gpio-cells = <0x2>;
|
|
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|