Skip to contentSkip to conversation

pinctrl: qcom: Add support for SM8550

PATCH Superseded Abel Vesa 5 participants 14 messages Nov 23, 2022 – Dec 15, 2022

Subsystems (6)

v2 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

v2 cover pinctrl: qcom: Add support for SM8550

This patchset adds pinctrl support for the new Qualcomm SM8550 SoC, One thing needed by SM8550 is the I2C specific pull feature.

To: Andy Gross <[email protected]>
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
To: Linus Walleij <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

Abel Vesa (2):
dt-bindings: pinctrl: qcom: Add SM8550 pinctrl
pinctrl: qcom: Add SM8550 pinctrl driver

Neil Armstrong (2):
dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property
pinctrl: qcom: add support for i2c specific pull feature

 .../bindings/pinctrl/qcom,sm8550-tlmm.yaml    |  163 ++
 .../bindings/pinctrl/qcom,tlmm-common.yaml    |    3 +
 drivers/pinctrl/qcom/Kconfig                  |   10 +
 drivers/pinctrl/qcom/Makefile                 |    1 +
 drivers/pinctrl/qcom/pinctrl-msm.c            |   20 +
 drivers/pinctrl/qcom/pinctrl-msm.h            |    1 +
 drivers/pinctrl/qcom/pinctrl-sm8550.c         | 1790 +++++++++++++++++
 7 files changed, 1988 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml
 create mode 100644 drivers/pinctrl/qcom/pinctrl-sm8550.c
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v2 1/4 dt-bindings: pinctrl: qcom: Add SM8550 pinctrl

Add device tree binding Documentation details for Qualcomm SM8550 TLMM device

---

Changes since v1:
* based on recent bindings, like Krzysztof asked
* changed gpio-line-names maxItems to 210
* moved required and additionalProperties below
* dropped *-hog since there are no such nodes yet on SM8550
* switch to double quotes everywhere
* dropped qcom,i2c-pull
* dropped if clause for ^gpio*
* added tlmm label

 .../bindings/pinctrl/qcom,sm8550-tlmm.yaml    | 163 ++++++++++++++++++
 1 file changed, 163 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml new file +163 -0
new file mode 100644
index 000000000000..a457425ba112
@@ -0,0 +1,163 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/qcom,sm8550-tlmm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Technologies, Inc. SM8550 TLMM block
+
+maintainers:
+  - Abel Vesa <[email protected]>
+
+description:
+  Top Level Mode Multiplexer pin controller in Qualcomm SM8550 SoC.
+
+allOf:
+  - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
+
+properties:
+  compatible:
+    const: qcom,sm8550-tlmm
+
+  reg:
+    maxItems: 1
+
+  interrupts: true
+  interrupt-controller: true
+  "#interrupt-cells": true
+  gpio-controller: true
+
+  gpio-reserved-ranges:
+    minItems: 1
+    maxItems: 105
+
+  gpio-line-names:
+    maxItems: 210
+
+  "#gpio-cells": true
+  gpio-ranges: true
+  wakeup-parent: true
+
+patternProperties:
+  "-state$":
+    oneOf:
+      - $ref: "#/$defs/qcom-sm8550-tlmm-state"
+      - patternProperties:
+          "-pins$":
+            $ref: "#/$defs/qcom-sm8550-tlmm-state"
+        additionalProperties: false
+
+$defs:
+  qcom-sm8550-tlmm-state:
+    type: object
+    description:
+      Pinctrl node's client devices use subnodes for desired pin configuration.
+      Client device subnodes use below standard properties.
+    $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
+
+    properties:
+      pins:
+        description:
+          List of gpio pins affected by the properties specified in this
+          subnode.
+        items:
+          oneOf:
+            - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|20[0-9])$"
+            - enum: [ ufs_reset, sdc2_clk, sdc2_cmd, sdc2_data ]
+        minItems: 1
+        maxItems: 36
+
+      function:
+        description:
+          Specify the alternative function to be configured for the specified
+          pins.
+        enum: [ aon_cci, aoss_cti, atest_char, atest_usb,
+                audio_ext_mclk0, audio_ext_mclk1, audio_ref_clk,
+                cam_aon_mclk4, cam_mclk, cci_async_in, cci_i2c_scl,
+                cci_i2c_sda, cci_timer, cmu_rng, coex_uart1_rx,
+                coex_uart1_tx, coex_uart2_rx, coex_uart2_tx,
+                cri_trng, dbg_out_clk, ddr_bist_complete,
+                ddr_bist_fail, ddr_bist_start, ddr_bist_stop,
+                ddr_pxi0, ddr_pxi1, ddr_pxi2, ddr_pxi3, dp_hot,
+                gcc_gp1, gcc_gp2, gcc_gp3, gpio, i2chub0_se0,
+                i2chub0_se1, i2chub0_se2, i2chub0_se3, i2chub0_se4,
+                i2chub0_se5, i2chub0_se6, i2chub0_se7, i2chub0_se8,
+                i2chub0_se9, i2s0_data0, i2s0_data1, i2s0_sck,
+                i2s0_ws, i2s1_data0, i2s1_data1, i2s1_sck, i2s1_ws,
+                ibi_i3c, jitter_bist, mdp_vsync, mdp_vsync0_out,
+                mdp_vsync1_out, mdp_vsync2_out, mdp_vsync3_out,
+                mdp_vsync_e, nav_gpio0, nav_gpio1, nav_gpio2,
+                pcie0_clk_req_n, pcie1_clk_req_n, phase_flag,
+                pll_bist_sync, pll_clk_aux, prng_rosc0, prng_rosc1,
+                prng_rosc2, prng_rosc3, qdss_cti, qdss_gpio,
+                qlink0_enable, qlink0_request, qlink0_wmss,
+                qlink1_enable, qlink1_request, qlink1_wmss,
+                qlink2_enable, qlink2_request, qlink2_wmss,
+                qspi0, qspi1, qspi2, qspi3, qspi_clk, qspi_cs,
+                qup1_se0, qup1_se1, qup1_se2, qup1_se3, qup1_se4,
+                qup1_se5, qup1_se6, qup1_se7, qup2_se0,
+                qup2_se0_l0_mira, qup2_se0_l0_mirb, qup2_se0_l1_mira,
+                qup2_se0_l1_mirb, qup2_se0_l2_mira, qup2_se0_l2_mirb,
+                qup2_se0_l3_mira, qup2_se0_l3_mirb, qup2_se1,
+                qup2_se2, qup2_se3, qup2_se4, qup2_se5, qup2_se6,
+                qup2_se7, sd_write_protect, sdc40, sdc41, sdc42,
+                sdc43, sdc4_clk, sdc4_cmd, tb_trig_sdc2, tb_trig_sdc4,
+                tgu_ch0_trigout, tgu_ch1_trigout, tgu_ch2_trigout,
+                tgu_ch3_trigout, tmess_prng0, tmess_prng1, tmess_prng2,
+                tmess_prng3, tsense_pwm1, tsense_pwm2, tsense_pwm3,
+                uim0_clk, uim0_data, uim0_present, uim0_reset,
+                uim1_clk, uim1_data, uim1_present, uim1_reset,
+                usb1_hs, usb_phy, vfr_0, vfr_1, vsense_trigger_mirnat ]
+
+      bias-disable: true
+      bias-pull-down: true
+      bias-pull-up: true
+      drive-strength: true
+      input-enable: true
+      output-high: true
+      output-low: true
+
+    required:
+      - pins
+
+    additionalProperties: false
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    tlmm: pinctrl@f100000 {
+        compatible = "qcom,sm8550-tlmm";
+        reg = <0x0f100000 0x300000>;
+        gpio-controller;
+        #gpio-cells = <2>;
+        gpio-ranges = <&tlmm 0 0 211>;
+        interrupt-controller;
+        #interrupt-cells = <2>;
+        interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+
+        gpio-wo-state {
+            pins = "gpio1";
+            function = "gpio";
+        };
+
+        uart-w-state {
+            rx-pins {
+                pins = "gpio26";
+                function = "qup2_se7";
+                bias-pull-up;
+            };
+
+            tx-pins {
+                pins = "gpio27";
+                function = "qup2_se7";
+                bias-disable;
+            };
+        };
+    };
+...
Signature · 1 line
2.34.1
Reviewed-by on v2 1/4
#2 lore raw

Re: [PATCH v2 1/4] dt-bindings: pinctrl: qcom: Add SM8550 pinctrl

Quoted 6 lines · Abel Vesa

Add device tree binding Documentation details for Qualcomm SM8550 TLMM device

---

Quoted 10 lines

Changes since v1:
* based on recent bindings, like Krzysztof asked
* changed gpio-line-names maxItems to 210
* moved required and additionalProperties below
* dropped *-hog since there are no such nodes yet on SM8550
* switch to double quotes everywhere
* dropped qcom,i2c-pull
* dropped if clause for ^gpio*
* added tlmm label

Best regards,
Krzysztof

author
#3 lore raw

PATCH v2 2/4 dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

In reply to Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

---

Changes since v1:
* Added my missing Signed-off-by tag
* chaged i2c to I2C in qcom,i2c-pull description

 .../devicetree/bindings/pinctrl/qcom,tlmm-common.yaml          | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
index e1354f0c64f8..9a809a69bd23 100644
@@ -77,6 +77,9 @@ $defs:
       input-enable: true
       output-high: true
       output-low: true
+      qcom,i2c-pull:
+        type: boolean
+        description: enable bias pull feature designed for I2C on pin
 
     allOf:
       - $ref: pincfg-node.yaml#
Signature · 1 line
2.34.1
Reviewed-by on v2 2/4
#4 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Quoted 7 lines · Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

Best regards,
Krzysztof

#5 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

In reply to Abel Vesa
Quoted 7 lines · Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

(...)

Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml $defs: · line 82

Quoted 3 lines
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
+      qcom,i2c-pull:
+        type: boolean
+        description: enable bias pull feature designed for I2C on pin

But what is this?

I2C buses are usually just plain old bias-high-impedance, high-z or open drain, wire-or or whatever you want to call it.

But now there is some special i2c mode, huh?

The description is pretty much "it is what it is"... can we have some explanation about what this means electrically speaking and why you cannot use bias-high-impedance?

Yours,
Linus Walleij

#6 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Hi Linus,

Quoted 16 lines · Linus Walleij
Quoted 7 lines · Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

(...)

Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml $defs: · line 82

Quoted 3 lines
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
+      qcom,i2c-pull:
+        type: boolean
+        description: enable bias pull feature designed for I2C on pin

But what is this?

Quoted 8 lines

I2C buses are usually just plain old bias-high-impedance, high-z or open drain, wire-or or whatever you want to call it.

But now there is some special i2c mode, huh?

The description is pretty much "it is what it is"... can we have some explanation about what this means electrically speaking and why you cannot use bias-high-impedance?

I'll try to get some more info, but so far I only found what I wrote in the bindings.

Neil

Quoted 3 lines

Yours,
Linus Walleij

#7 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Quoted 20 lines · Neil Armstrong
Quoted 19 lines · Linus Walleij
Quoted 7 lines · Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

(...)

Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml $defs: · line 82

Quoted 3 lines
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
+      qcom,i2c-pull:
+        type: boolean
+        description: enable bias pull feature designed for I2C on pin

But what is this?

I2C buses are usually just plain old bias-high-impedance, high-z or open drain, wire-or or whatever you want to call it.

Quoted 7 lines
Quoted 5 lines

But now there is some special i2c mode, huh?

The description is pretty much "it is what it is"... can we have some explanation about what this means electrically speaking and why you cannot use bias-high-impedance?

I'll try to get some more info, but so far I only found what I wrote in the bindings.

Björn: can you see if you can get some clarity about the i2c bias thing?

Yours,
Linus Walleij

#8 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Quoted 24 lines · Linus Walleij
Quoted 22 lines · Neil Armstrong
Quoted 21 lines · Linus Walleij
Quoted 7 lines · Abel Vesa

From: Neil Armstrong <[email protected]>

Document the new i2c_pull property introduced for SM8550 setting an I2C specific pull mode on I2C able pins.

(...)

Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml $defs: · line 82

Quoted 3 lines
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +3 -0
+      qcom,i2c-pull:
+        type: boolean
+        description: enable bias pull feature designed for I2C on pin

But what is this?

I2C buses are usually just plain old bias-high-impedance, high-z or open drain, wire-or or whatever you want to call it.

But now there is some special i2c mode, huh?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

The description is pretty much "it is what it is"... can we have some explanation about what this means electrically speaking and why you cannot use bias-high-impedance?

I'll try to get some more info, but so far I only found what I wrote in the bindings.

Björn: can you see if you can get some clarity about the i2c bias thing?

As I understood, it enables an "I2C resistor" on the pin, removing the need of an external pull-up resistor on the line.

I assume the classical pull-up bias is not strong enough to replace an actual resistor on the PCB.

Neil

Quoted 3 lines

Yours,
Linus Walleij

#9 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Quoted 5 lines · On Fri, Nov 25, 2022 at 1:40 PM <[email protected]> wrote:

As I understood, it enables an "I2C resistor" on the pin, removing the need of an external pull-up resistor on the line.

I assume the classical pull-up bias is not strong enough to replace an actual resistor on the PCB.

In that case I think this should be an argument to bias-pull-up like:

bias-pull-up = <360000>;

Nominally the pull up is in ohms:

bias-pull-up:
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32
description: pull up the pin. Takes as optional argument on hardware
supporting it the pull strength in Ohm.

Then the driver can choose to shunt in this extra I2C resistance from the resistance passed as argument. So no special property is needed, provided you can get an idea about the resistance provided here.

Yours,
Linus Walleij

#10 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Hi Linus,

Quoted 21 lines · Linus Walleij
Quoted 5 lines · On Fri, Nov 25, 2022 at 1:40 PM <[email protected]> wrote:

As I understood, it enables an "I2C resistor" on the pin, removing the need of an external pull-up resistor on the line.

I assume the classical pull-up bias is not strong enough to replace an actual resistor on the PCB.

In that case I think this should be an argument to bias-pull-up like:

bias-pull-up = <360000>;

Nominally the pull up is in ohms:

bias-pull-up:
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32
description: pull up the pin. Takes as optional argument on hardware
supporting it the pull strength in Ohm.

Quoted 4 lines

Then the driver can choose to shunt in this extra I2C resistance from the resistance passed as argument. So no special property is needed, provided you can get an idea about the resistance provided here.

I like this alternative, I'll try to figure out if we can find a value to match against.

Thanks,
Neil

Quoted 3 lines

Yours,
Linus Walleij

#11 lore raw

Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property

Quoted 10 lines · Neil Armstrong

Hi Linus,

Quoted 7 lines · Linus Walleij
Quoted 5 lines · On Fri, Nov 25, 2022 at 1:40 PM <[email protected]> wrote:

As I understood, it enables an "I2C resistor" on the pin, removing the need of an external pull-up resistor on the line.

I assume the classical pull-up bias is not strong enough to replace an actual resistor on the PCB.

That is correct.

Quoted 14 lines
Quoted 14 lines

In that case I think this should be an argument to bias-pull-up like:

bias-pull-up = <360000>;

Nominally the pull up is in ohms:

bias-pull-up:
oneOf:
- type: boolean
- $ref: /schemas/types.yaml#/definitions/uint32
description: pull up the pin. Takes as optional argument on hardware
supporting it the pull strength in Ohm.

Quoted 8 lines
Quoted 4 lines

Then the driver can choose to shunt in this extra I2C resistance from the resistance passed as argument. So no special property is needed, provided you can get an idea about the resistance provided here.

I like this alternative, I'll try to figure out if we can find a value to match against.

The typical value for this resistor is 2.2kOhm.

Regards,
Bjorn

author
#12 lore raw

PATCH v2 3/4 pinctrl: qcom: add support for i2c specific pull feature

In reply to Abel Vesa

From: Neil Armstrong <[email protected]>

Add support for the new i2c_pull property introduced for SM8550 setting a I2C specific pull mode on I2C able pins.

---

Changes since v1:
* Added my missing Signed-off-by tag

 drivers/pinctrl/qcom/pinctrl-msm.c | 20 ++++++++++++++++++++
 drivers/pinctrl/qcom/pinctrl-msm.h |  1 +
 2 files changed, 21 insertions(+)
drivers/pinctrl/qcom/pinctrl-msm.c +20 -0
index 8fbb953c4bbe..f92082c1c805 100644
@@ -83,6 +83,12 @@ struct msm_pinctrl {
 	u32 phys_base[MAX_NR_TILES];
 };
 
+#define PIN_CONFIG_QCOM_I2C_PULL	(PIN_CONFIG_END + 1)
+
+static const struct pinconf_generic_params msm_pinconf_custom_bindings[] = {
+	{"qcom,i2c-pull", PIN_CONFIG_END + 1, 0},
+};
+
 #define MSM_ACCESSOR(name) \
 static u32 msm_readl_##name(struct msm_pinctrl *pctrl, \
 			    const struct msm_pingroup *g) \
@@ -324,6 +330,12 @@ static int msm_config_reg(struct msm_pinctrl *pctrl,
 		*bit = g->oe_bit;
 		*mask = 1;
 		break;
+	case PIN_CONFIG_QCOM_I2C_PULL:
+		if (g->i2c_pull_bit == 0)
+			return -EOPNOTSUPP;
+		*bit = g->i2c_pull_bit;
+		*mask = 1;
+		break;
 	default:
 		return -ENOTSUPP;
 	}
@@ -415,6 +427,9 @@ static int msm_config_group_get(struct pinctrl_dev *pctldev,
 			return -EINVAL;
 		arg = 1;
 		break;
+	case PIN_CONFIG_QCOM_I2C_PULL:
+		arg = 1;
+		break;
 	default:
 		return -ENOTSUPP;
 	}
@@ -498,6 +513,9 @@ static int msm_config_group_set(struct pinctrl_dev *pctldev,
 			/* disable output */
 			arg = 0;
 			break;
+		case PIN_CONFIG_QCOM_I2C_PULL:
+			arg = 1;
+			break;
 		default:
 			dev_err(pctrl->dev, "Unsupported config parameter: %x\n",
 				param);
@@ -1495,6 +1513,8 @@ int msm_pinctrl_probe(struct platform_device *pdev,
 	pctrl->desc.name = dev_name(&pdev->dev);
 	pctrl->desc.pins = pctrl->soc->pins;
 	pctrl->desc.npins = pctrl->soc->npins;
+	pctrl->desc.custom_params = msm_pinconf_custom_bindings;
+	pctrl->desc.num_custom_params = ARRAY_SIZE(msm_pinconf_custom_bindings);
 
 	pctrl->pctrl = devm_pinctrl_register(&pdev->dev, &pctrl->desc, pctrl);
 	if (IS_ERR(pctrl->pctrl)) {
drivers/pinctrl/qcom/pinctrl-msm.h +1 -0
index 05a1209bf9ae..985eceda2517 100644
@@ -80,6 +80,7 @@ struct msm_pingroup {
 
 	unsigned pull_bit:5;
 	unsigned drv_bit:5;
+	unsigned i2c_pull_bit:5;
 
 	unsigned od_bit:5;
 	unsigned egpio_enable:5;
Signature · 1 line
2.34.1
author
#13 lore raw

PATCH v2 4/4 pinctrl: qcom: Add SM8550 pinctrl driver

In reply to Abel Vesa

Add pinctrl driver for TLMM block found in SM8550 SoC.

---

Changes since v1:
* renamed msm_mux_RESOUT_GPIO_N to msm_mux_resout_n and sorted it
* fixed comment, like Konrad suggested

 drivers/pinctrl/qcom/Kconfig          |   10 +
 drivers/pinctrl/qcom/Makefile         |    1 +
 drivers/pinctrl/qcom/pinctrl-sm8550.c | 1790 +++++++++++++++++++++++++
 3 files changed, 1801 insertions(+)
 create mode 100644 drivers/pinctrl/qcom/pinctrl-sm8550.c
drivers/pinctrl/qcom/Kconfig +10 -0
index 1378ddca084f..6ea3a165e747 100644
@@ -457,6 +457,16 @@ config PINCTRL_SC8280XP_LPASS_LPI
 	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
 	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
 
+config PINCTRL_SM8550
+	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
+	depends on GPIOLIB
+	depends on ARM64 || COMPILE_TEST
+	depends on PINCTRL_MSM
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SM8550 platform.
+
 config PINCTRL_LPASS_LPI
 	tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
 	select PINMUX
drivers/pinctrl/qcom/Makefile +1 -0
index a5c40f552e5c..57aa568a1e6e 100644
@@ -47,5 +47,6 @@ obj-$(CONFIG_PINCTRL_SM8250_LPASS_LPI) += pinctrl-sm8250-lpass-lpi.o
 obj-$(CONFIG_PINCTRL_SM8350) += pinctrl-sm8350.o
 obj-$(CONFIG_PINCTRL_SM8450) += pinctrl-sm8450.o
 obj-$(CONFIG_PINCTRL_SM8450_LPASS_LPI) += pinctrl-sm8450-lpass-lpi.o
+obj-$(CONFIG_PINCTRL_SM8550) += pinctrl-sm8550.o
 obj-$(CONFIG_PINCTRL_SC8280XP_LPASS_LPI) += pinctrl-sc8280xp-lpass-lpi.o
 obj-$(CONFIG_PINCTRL_LPASS_LPI) += pinctrl-lpass-lpi.o
drivers/pinctrl/qcom/pinctrl-sm8550.c new file +1790 -0

1,790 lines not on this page · raw message

Signature · 1 line
2.34.1