mbox series

[0/5] Add pin package management on STM32P157

Message ID 1554895824-25709-1-git-send-email-alexandre.torgue@st.com (mailing list archive)
Headers show
Series Add pin package management on STM32P157 | expand

Message

Alexandre TORGUE April 10, 2019, 11:30 a.m. UTC
Hi,

The series adds support of chip packages for STM32MP157 SOC.
Available packages are:

STM32MP_PKG_AA: LFBGA448 (18*18), 176 IOs
STM32MP_PKG_AB: LFBGA354 (16*16), 98 IOs
STM32MP_PKG_AC: TFBGA361 (12*12), 148 IOs
STM32MP_PKG_AD: TFBGA257 (10*10), 98 IOs

As ball-out is different between each package, this series covers those
differences by creating dedicated pinctrl dtsi files. Each dtsi pinctrl
package file describes the package ball-out through gpio-ranges. A new
dt property is also added ("st,package") to provide to stm32 pinctrl driver
the package to use and so the available pins.

stm32mp157a-dk1 / dk2 boards embed a STM32MP_PKG_AC (TFBGA361 (12*12))
package.
stm32mp157c-ed1 / ev1 boards embed a STM32MP_PKG_AA (LFBGA448 (18*18))
package.

Regards

Alex

Alexandre Torgue (5):
  dt-bindings: pinctrl: stm32: add new entry for package information
  pinctrl: stm32: introduce package support
  pinctrl: stm32: add package information for stm32mp157c
  pinctrl: stm32: align stm32mp157 pin names
  ARM: dts: stm32: use dedicated files to manage stm32mp157 packages

 .../bindings/pinctrl/st,stm32-pinctrl.txt          |    2 +
 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi          |   12 +
 arch/arm/boot/dts/stm32mp157a-dk1.dts              |    2 +-
 arch/arm/boot/dts/stm32mp157c-ed1.dts              |    2 +-
 arch/arm/boot/dts/stm32mp157xaa-pinctrl.dtsi       |   90 ++
 arch/arm/boot/dts/stm32mp157xab-pinctrl.dtsi       |   62 ++
 arch/arm/boot/dts/stm32mp157xac-pinctrl.dtsi       |   78 ++
 arch/arm/boot/dts/stm32mp157xad-pinctrl.dtsi       |   62 ++
 drivers/pinctrl/stm32/pinctrl-stm32.c              |   68 +-
 drivers/pinctrl/stm32/pinctrl-stm32.h              |   14 +
 drivers/pinctrl/stm32/pinctrl-stm32mp157.c         | 1089 +++++++++++---------
 include/dt-bindings/pinctrl/stm32-pinfunc.h        |    6 +
 12 files changed, 1014 insertions(+), 473 deletions(-)
 create mode 100644 arch/arm/boot/dts/stm32mp157xaa-pinctrl.dtsi
 create mode 100644 arch/arm/boot/dts/stm32mp157xab-pinctrl.dtsi
 create mode 100644 arch/arm/boot/dts/stm32mp157xac-pinctrl.dtsi
 create mode 100644 arch/arm/boot/dts/stm32mp157xad-pinctrl.dtsi

Comments

Linus Walleij April 23, 2019, 8:47 a.m. UTC | #1
On Wed, Apr 10, 2019 at 1:31 PM Alexandre Torgue
<alexandre.torgue@st.com> wrote:

> The series adds support of chip packages for STM32MP157 SOC.

Patches 1-4 applied to the pin control tree.
Sorry for slowness :(

Yours,
Linus Walleij
Alexandre TORGUE April 23, 2019, 9:02 a.m. UTC | #2
On 4/23/19 10:47 AM, Linus Walleij wrote:
> On Wed, Apr 10, 2019 at 1:31 PM Alexandre Torgue
> <alexandre.torgue@st.com> wrote:
> 
>> The series adds support of chip packages for STM32MP157 SOC.
> 
> Patches 1-4 applied to the pin control tree.
> Sorry for slowness :(

No pb, thanks Linus. I'll take DT patch in my stm32 tree with your ack.

regards
Alex

> 
> Yours,
> Linus Walleij
>