Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9897d106 authored by Srinivas Rao L's avatar Srinivas Rao L Committed by Raghavendra Kakarla
Browse files

pinctrl: qcom: Add support for shared SPI config for GPIOs



For all the shared peripheral interrupts, apart from the type
configuration done in the interrupt controller, the type also
to be programmed accordingly through the shared spi config
registers. These were statically done for all SPIs.

But for all the GPIO interrupts connected to the GIC, their
type need to be set dynamically, as the usage of particular
GPIO would vary. So set the shared spi type configuration
for the GPIOs accordingly when set type is called for it.

Change-Id: I1fd1b37bdcebcbfec641e4db04cb29f9e087d426
Signed-off-by: default avatarSrinivas Rao L <lsrao@codeaurora.org>
parent d4172aa9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -11,7 +11,13 @@ QCS405 platform.
- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the base address and size of the TLMM register space.
	Definition: the base address and size of the TLMM register space
		    provided as "pinctrl".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- interrupts:
	Usage: required
+8 −1
Original line number Diff line number Diff line
@@ -11,7 +11,14 @@ SDMMAGPIE platform.
- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the base address and size of the TLMM register space.
	Definition: the base address and size of the TLMM register space
		    provided as "pinctrl" and optional base address
		    of shared SPI config registers provided as "spi_cfg".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- interrupts:
	Usage: required
+8 −1
Original line number Diff line number Diff line
@@ -11,7 +11,14 @@ sdmshrike platform.
- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the base address and size of the TLMM register space.
	Definition: the base address and size of the TLMM register space
		    provided as "pinctrl" and optional base address
		    of shared SPI config registers provided as "spi_cfg".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- interrupts:
	Usage: required
+8 −1
Original line number Diff line number Diff line
@@ -11,7 +11,14 @@ SDXPRAIRIE platform.
- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the base address and size of the TLMM register space.
	Definition: the base address and size of the TLMM register space
		    provided as "pinctrl" and optional base address
		    of PDC mux selection registers provided as "pdc".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- interrupts:
	Usage: required
+8 −1
Original line number Diff line number Diff line
@@ -11,7 +11,14 @@ SM6150 platform.
- reg:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the base address and size of the TLMM register space.
	Definition: the base address and size of the TLMM register space
		    provided as "pinctrl" and optional base address
		    of shared SPI config registers provided as "spi_cfg".

- reg-names:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: Provides labels for the reg property.

- interrupts:
	Usage: required
Loading