Skip to content

Commit

Permalink
Merge tag 'pinctrl-v6.8-1' of git://git.kernel.org/pub/scm/linux/kern…
Browse files Browse the repository at this point in the history
…el/git/linusw/linux-pinctrl

Pull pin control updates from Linus Walleij:
 "For this kernel cycle I managed an immutable branch for the PEF2256
  WAN framer that has some pin control portions. It already landed in
  your tree through the net pull request but here it is mentioned again.

  The most interesting is perhaps the Samsung Exynos subdrivers for the
  Tensor SoC used in Google Pixel 6 and the ExynosAuto subdriver for
  automotive. Along with the earlier merged Tesla FSD subdriver it shows
  some of the versatile uses of the Samsung Exynos silicon. It is also
  used in the latest version of Axis Communications ARTPEC chips so it
  is a very widely deployed SoC family.

  We also have the Intel Meteor Lake SoC which I think is for laptops.
  It's a pretty interesting chip with Xe graphics and integrated PCH.

  Core changes:

   - A new PINCTRL_GROUP_DESC() infrastructure macro is added and used
     in different drivers, generic group description struct group_desc
     is now used all over the place.

  New drivers:

   - New driver for the Texas Instruments TPS6494 Power Management IC.

   - New driver for the Lantic PEF2256 framer pin multiplexer. This IC
     has some pins that can be reconfigured in different ways. The
     actual driver comes on an immutable branch with the net WAN parts,
     the IC is some latest-and-greatest serial line funnel for e.g.
     wireless access points.

   - New subdriver for the Samsung Exynos Auto V920 pin controller, used
     for automotive applications.

   - New subdriver for the Samsung "GS101" SoC pin controller, this is
     the Google "Tensor" SoC used in the Google Pixel 6.

   - New subdriver for the Intel Meteor Point SoC pin controller.

   - New subdriver for the Qualcomm SM8650 top level (TLMM) and LPASS
     pin controllers.

   - New subdriver for the Qualcomm X1E80100 top level (TLMM) pin
     controller.

   - New subdriver for the Qualcomm SM4450 top level (TLMM) pin
     controller.

   - The "single" pin controller now supports the Texas Instruments
     J7200 SoC.

  Improvements:

   - Intel has created a new (Intel-)generic pin controller driver that
     is now used by all contemporary Intel platforms.

   - Intel is now also making use of some cleanup helpers.

   - Enble 910 Ohm bias in the Intel Tangier driver.

   - The Samsung driver now suppors irq_set_affinity() in it's IRQ chip
     giving support for non wake up external gpio interrupts"

* tag 'pinctrl-v6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (112 commits)
  pinctrl: samsung: constify iomem pointers
  pinctrl: cy8c95x0: Cache muxed registers
  dt-bindings: pinctrl: xilinx: Rename *gpio to *gpio-grp
  pinctrl: qcom: lpass-lpi: remove duplicated include
  dt-bindings: pinctrl: qcom: drop common properties and allow wakeup-parent
  dt-bindings: pinctrl: qcom: drop common properties
  dt-bindings: pinctrl: qcom,ipq5018-tlmm: use common TLMM bindings
  dt-bindings: pinctrl: qcom,x1e80100-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom,sm8650-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom,sm8550-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom,sdx75-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom,sa8775p-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom,qdu1000-tlmm: restrict number of interrupts
  dt-bindings: pinctrl: qcom: create common LPASS LPI schema
  pinctrl: qcom: sm4450: dd SM4450 pinctrl driver
  dt-bindings: pinctrl: qcom: Add SM4450 pinctrl
  dt-bindings: pinctrl: qcom,pmic-mpp: clean up example
  pinctrl: intel: Add Intel Meteor Point pin controller and GPIO support
  pinctrl: renesas: rzg2l: Add input enable to the Ethernet pins
  pinctrl: renesas: rzg2l: Add output enable support
  ...
  • Loading branch information
torvalds committed Jan 17, 2024
2 parents 5d197e9 + 1b09c2b commit ed6c23b
Show file tree
Hide file tree
Showing 162 changed files with 8,324 additions and 1,696 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ properties:
- ti,omap3-padconf
- ti,omap4-padconf
- ti,omap5-padconf
- ti,j7200-padconf
- const: pinctrl-single

reg:
Expand Down
12 changes: 4 additions & 8 deletions Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-tlmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 24
Expand Down Expand Up @@ -95,7 +88,10 @@ required:
- compatible
- reg

additionalProperties: false
allOf:
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#

unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 27
Expand Down Expand Up @@ -100,7 +93,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true

patternProperties:
"-state$":
oneOf:
Expand Down Expand Up @@ -100,7 +94,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 35
Expand Down Expand Up @@ -103,7 +96,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 33
Expand Down Expand Up @@ -97,7 +90,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
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/qcom,lpass-lpi-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm SoC LPASS LPI TLMM Common Properties

maintainers:
- Bjorn Andersson <[email protected]>
- Srinivas Kandagatla <[email protected]>
- Krzysztof Kozlowski <[email protected]>

description:
Common properties for the Top Level Mode Multiplexer pin controllers in the
Low Power Audio SubSystem (LPASS) Low Power Island (LPI) of Qualcomm SoCs.

properties:
gpio-controller: true

"#gpio-cells":
description:
Specifying the pin number and flags, as defined in
include/dt-bindings/gpio/gpio.h
const: 2

gpio-ranges:
maxItems: 1

required:
- gpio-controller
- "#gpio-cells"
- gpio-ranges

allOf:
- $ref: pinctrl.yaml#

additionalProperties: true

$defs:
qcom-tlmm-state:
properties:
drive-strength:
enum: [2, 4, 6, 8, 10, 12, 14, 16]
default: 2
description:
Selects the drive strength for the specified pins, in mA.

slew-rate:
enum: [0, 1, 2, 3]
default: 0
description: |
0: No adjustments
1: Higher Slew rate (faster edges)
2: Lower Slew rate (slower edges)
3: Reserved (No adjustments)
bias-bus-hold: true
bias-pull-down: true
bias-pull-up: true
bias-disable: true
input-enable: true
output-high: true
output-low: true

required:
- pins
- function

allOf:
- $ref: pincfg-node.yaml#
- $ref: pinmux-node.yaml#

additionalProperties: true

18 changes: 6 additions & 12 deletions Documentation/devicetree/bindings/pinctrl/qcom,mdm9607-tlmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,7 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
gpio-reserved-ranges: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

required:
- compatible
- reg

additionalProperties: false

patternProperties:
"-state$":
Expand Down Expand Up @@ -110,6 +98,12 @@ $defs:
required:
- pins

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
'#interrupt-cells': true
gpio-controller: true
'#gpio-cells': true
gpio-ranges: true

required:
- compatible
- reg

additionalProperties: false

patternProperties:
"-state$":
oneOf:
Expand Down Expand Up @@ -74,6 +62,12 @@ $defs:
required:
- pins

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true

gpio-reserved-ranges:
maxItems: 1

Expand Down Expand Up @@ -82,7 +76,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 86
Expand Down Expand Up @@ -92,7 +85,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
18 changes: 6 additions & 12 deletions Documentation/devicetree/bindings/pinctrl/qcom,msm8909-tlmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,7 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
gpio-reserved-ranges: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

required:
- compatible
- reg

additionalProperties: false

patternProperties:
"-state$":
Expand Down Expand Up @@ -108,6 +96,12 @@ $defs:
required:
- pins

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
"#gpio-cells": true
gpio-ranges: true
wakeup-parent: true

gpio-reserved-ranges:
minItems: 1
maxItems: 61
Expand Down Expand Up @@ -114,7 +107,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ properties:
interrupts:
maxItems: 1

interrupt-controller: true
"#interrupt-cells": true
gpio-controller: true
gpio-reserved-ranges: true
"#gpio-cells": true
gpio-ranges: true

patternProperties:
"-state$":
Expand Down Expand Up @@ -117,7 +112,7 @@ required:
- compatible
- reg

additionalProperties: false
unevaluatedProperties: false

examples:
- |
Expand Down
Loading

0 comments on commit ed6c23b

Please sign in to comment.