[PATCH v3 4/5] arch/arm64: dts: add support for Marvell CP110 UTMI PHY

2021-03-07 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI PHY in a CP11x DTSI Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/ar

[PATCH v3 5/5] arch/arm64: dts: enable CP110 UTMI PHY usage

2021-03-07 Thread kostap
From: Konstantin Porotchkin Enable support for CP110 UTMI PHY in Armada SoC family platform device trees. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 14 + arch/arm64/boot/dts/marvell/armada-8040-db.dts | 21 ++--

[PATCH v3 2/5] dt-bindings: phy: convert phy-mvebu-utmi to YAML schema

2021-03-07 Thread kostap
From: Konstantin Porotchkin The new file name is marvell,armada-3700-utmi-phy.yaml Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml | 57 Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt

[PATCH v3 4/5] arch/arm64: dts: add support for Marvell CP110 UTMI driver

2021-03-07 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI PHY in a common DTSI Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/

[PATCH v3 3/5] devicetree/bindings: add support for CP110 UTMI PHY

2021-03-07 Thread kostap
From: Konstantin Porotchkin Add DTS binding for Marvell CP110 UTMI PHY Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml | 109 1 file changed, 109 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH v3 0/5] Add support for CP110 UTMI PHY

2021-03-07 Thread kostap
From: Konstantin Porotchkin This series of patches adds a new PHY driver for supporting CP110 UTMI PHY in Linux. Currently the functionality of USB ports connected to this PHY depends on boot loader setup. The new driver eliminates kernel configuration dependency from the boot loader. v3: - reb

[PATCH v3 1/5] drivers: phy: add support for Armada CP110 UTMI PHY

2021-03-07 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI PHY driver allowing the USB2 port configuration independently from the boot loader setup. The CP110/CP115 dies have 2 UTMI PHYs that could be connected to two USB host controllers or to single USB device controller. Since there is onl

[PATCH 2/2] drivers/pinctrl: armada-cp110 - fix MPP54/MPP55 functions

2021-02-16 Thread kostap
From: Konstantin Porotchkin The function name is used for selecting MPP functionality and should be unique within function names of the same pin. This patch fixes function names for MPP54 and MPP55 that have two different functions named the same. Signed-off-by: Konstantin Porotchkin --- drive

[PATCH 0/2] Fix Marvell CP110 pin control finction names

2021-02-16 Thread kostap
From: Konstantin Porotchkin These patches are fixing the CP110 pin control driver and the related documentation. Current CP110 pin control driver uses two different MPP functions named the same (sdio) in MPP54 and MPP55 definitions. Since these names are used for the MPP functionality selection,

[PATCH 1/2] doc: cp110-system-controller: fix the pin function names

2021-02-16 Thread kostap
From: Konstantin Porotchkin Fix the pin function names for MPP54 and MPP55. Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bind

[PATCH v2 2/4] devicetree/bindings: add support for CP110 UTMI driver

2021-02-14 Thread kostap
From: Konstantin Porotchkin Add DTS binding for Marvell CP110 UTMI driver Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt | 78 ++-- 1 file changed, 72 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindin

[PATCH v2 4/4] arch/arm64: dts: enable CP110 UTMI driver

2021-02-14 Thread kostap
From: Konstantin Porotchkin Enable support for CP110 UTMI driver in Armada SoC family platform device trees. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 14 + arch/arm64/boot/dts/marvell/armada-8040-db.dts | 21 +

[PATCH v2 3/4] arch/arm64: dts: add support for Marvell CP110 UTMI driver

2021-02-14 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI driver in a common DTSI Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi

[PATCH v2 0/4] Add support for CP110 UTMI PHY

2021-02-14 Thread kostap
From: Konstantin Porotchkin This series of patches adds a new PHY driver for supporting CP110 UTMI PHY in Linux. Currently the functionality of USB ports connected to this PHY depends on boot loader setup. The new driver eliminates kernel configuration dependency from the boot loader. v2: - ext

[PATCH v2 1/4] drivers: phy: add support for Armada CP110 UTMI PHY

2021-02-14 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI PHY driver allowing the USB2 port configuration independently from the boot loader setup. The CP110/CP115 dies have 2 UTMI PHYs that could be connected to two USB host controllers or to single USB device controller. Since there is onl

[PATCH v3 2/2] clk: mvebu: use firmware SiP service for accessing dfx register set

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for cpu clk driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing cpu clk registers, which are part of dfx register set, will not be possible from non-secure world. The ARM Trusted Firmware exposes SiP

[PATCH v3 1/2] thermal: armada: ap806: use firmware SiP services for thermal operations

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for ap806 thermal driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing thermal registers, which are part of dfx register set, will not be possible from non-secure world. Due to above the ARM Trusted Fi

[PATCH v3 0/2] Enable usage of Marvell FW SIP services

2021-02-11 Thread kostap
From: Konstantin Porotchkin These patches enable usage of Arm Trusted Firmware SIP services on Marvell Armada plaforms for accessing system registers that are not normally accessible from kernel or user space (EL1/EL0), like DFX registers group. v2: * use separate legacy/smc regmap functions reg

[PATCH 2/2] clk: mvebu: use firmware SiP service for accessing dfx register set

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for cpu clk driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing cpu clk registers, which are part of dfx register set, will not be possible from non-secure world. The ARM Trusted Firmware exposes SiP

[PATCH 1/2] thermal: armada: ap806: use firmware SiP services for thermal operations

2021-02-11 Thread kostap
From: Grzegorz Jaszczyk This patch introduces support for ap806 thermal driver in case when SoC DFX region is marked as secure by the firmware. In such case accessing thermal registers, which are part of dfx register set, will not be possible from non-secure world. Due to above the ARM Trusted Fi

[PATCH 0/2] Enable usage of Marvell FW SIP services

2021-02-11 Thread kostap
From: Konstantin Porotchkin These patches enable usage of Arm Trusted Firmware SIP services on Marvell Armada plaforms for accessing system registers that are not normally accessible from kernel or user space (EL1/EL0), like DFX registers group. v2: * use separate legacy/smc regmap functions reg

[PATCH v2 12/12] arm64: dts: fix the Armada 8040 DB AP SDHCI bus width

2021-02-10 Thread kostap
From: Konstantin Porotchkin The AP SDHCI on Armada 8040 DB board utilizes 8-bit data lines. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts

[PATCH v2 11/12] dts: marvell: add 2 eeprom properties to A7K DB device tree

2021-02-10 Thread kostap
From: Ben Peled Add on-board i2c EEPROMs U37 and U38 Signed-off-by: Ben Peled Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm6

[PATCH v2 10/12] dts: marvell: add 2 eeprom properties to A8K DB device tree

2021-02-10 Thread kostap
From: Ben Peled Add on-board i2c EEPROMs U41 and U51 Signed-off-by: Ben Peled Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64

[PATCH v2 09/12] dts: a3700: enable dma coherence

2021-02-10 Thread kostap
From: Stefan Chulski Enable dma coherence for PCIe and memory-mapped devices on A3700 platform Signed-off-by: Stefan Chulski Signed-off-by: Marcin Wojtas Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 08/12] arm64: dts: marvell: armada-3720-db: add eeprom description

2021-02-10 Thread kostap
From: Grzegorz Jaszczyk On Armada 3720 board there is serial emprom M24C64 at address 0x57, reflect it in device-tree. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++ 1 file changed, 6 insertions(+) diff --g

[PATCH v2 06/12] arm64: dts: marvell: armada-3270-espressobin: add comphy references

2021-02-10 Thread kostap
From: Grzegorz Jaszczyk Add "phys" entries pointing to COMPHYs to PCIe and USB3 nodes Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v2 05/12] arm64: dts: marvell: armada-3720-db: add comphy references

2021-02-10 Thread kostap
From: Grzegorz Jaszczyk Adding phy description to pcie, sata and usb will allow appropriate drivers to configure marvell comphy-a3700 accordingly. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 7 +++ 1 file chang

[PATCH v2 07/12] fix: ARM64: dts: cp110: Switch to 8-bit ECC NAND setting

2021-02-10 Thread kostap
From: Konstantin Porotchkin All A7K/A8K boards are using NAND chip that supports 8 bit ECC strength. Using lower ECC strength is not recommended by the flash manufacturer and may cause data corruption. This patch changes the nand-ecc-strength value from 4 to 8. Signed-off-by: Konstantin Porotchk

[PATCH v2 03/12] dts: mvebu: Add pin control definitions for SDIO interafce

2021-02-10 Thread kostap
From: Konstantin Porotchkin Add SDIO mode pin control configuration for CP0 in Armada 70x0 and 80x0 SoCs. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 6 ++ arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 6 ++ 2 files changed, 12 insertions(+)

[PATCH v2 04/12] fix: dts: a8k: Add CP eMMC regulator and update device parameters

2021-02-10 Thread kostap
From: Konstantin Porotchkin Add GPIO regulator for controlling CP0 eMMC voltage (3.3V/1.8V) Update CP0 SDHCI parameters in A7K/A8K boards DTS files. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 17 - arch/arm64/boot/dts/marvell/armad

[PATCH v2 02/12] dts: mvebu: Update A8K AP806/AP807 SDHCI settings

2021-02-10 Thread kostap
From: Konstantin Porotchkin Select the AP SDHCI PHY slow mode for AP806 die only (move it from armada-ap80x.dtsi to armada-ap806.dtsi). This will allow running AP807 based devices at HS400 speed. Remove Ap SDHCI slow mode property from MacchiatoBin board DTS since it is already selected on the So

[PATCH v2 00/12] Device tree fixes for Armada family

2021-02-10 Thread kostap
From: Konstantin Porotchkin This set of patches include various device tree additions and fixes for Marvell Armada SoC families A3700/A7K/A8K. These changes are ported from Marvell SDK release files. v2: - Rebase on top of Linus master branch 5.11-rc7 - Move AP SDHCI "slow-mode" property from AP

[PATCH v2 01/12] fix: arm64: dts: replace wrong regulator on ap emmc

2021-02-10 Thread kostap
From: Konstantin Porotchkin Replace wrong regulator in AP0 eMMC definition on MacchiatoBIN board with 3.3V regulator. The MacchiatoBIN board has no 1.8V regulator connected to AP0 eMMC (ap0_sdhci0) interface. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-8040-mcbi

[PATCH v5 5/5] arm64: dts: add support for Marvell cn9130-crb platform

2021-02-10 Thread kostap
From: Konstantin Porotchkin The Marvell reference platform CN9130-CRB is a small form factor board in a metal case. The platform is based on CN9130 SoC with addition of 8 Gigabit ports SOHO Ethernet switch. The reference platform features the following: * Up to 4 CPU cores ARMv8 Cortex-A72 CPU *

[PATCH v5 3/5] arm64: dts: cn913x: add device trees for topology B boards

2021-02-10 Thread kostap
From: Konstantin Porotchkin The CN913x DB with topology B is similar to a regular setup (A) boards, but uses NAND flash as a boot device, while topology A boards are booting from SPI flash. Since NAND and SPI on CN913x DB boards share some wires, they cannot be activated simultaneously. The DTS f

[PATCH v5 4/5] dts: marvell: Enable 10G interfaces on 9130-DB and 9131-DB boards

2021-02-10 Thread kostap
From: Stefan Chulski This patch enables eth0 10G interface on CN9130-DB paltforms and eth0 10G and eth3 10G interfaces on CN9131-DB. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dtsi | 2 +- arch/arm64/boot/dts/marvell/cn9131-db.

[PATCH v5 2/5] arch/arm64/boot/dts/marvell: fix NAND partitioning scheme

2021-02-10 Thread kostap
From: Konstantin Porotchkin Eliminate 1MB gap between Linux and filesystem partitions. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/cn9130-db.dts b/arch/arm64/

[PATCH v5 0/5] DTS updates for Marvell Armada CN913x platforms

2021-02-10 Thread kostap
From: Konstantin Porotchkin This patch series contains the following changes/fixes: 1. Add support for Armada CN913x Development Board topology "B" 2. Add support for Armada CN913x Reference Design boards (CRB) 3. Fixes the CP11X references in PHY binding document 4. Fixes the NAND paritioninig s

[PATCH v5 1/5] Documentation/bindings: phy: update references to cp11x

2021-02-10 Thread kostap
From: Grzegorz Jaszczyk The cp11x references in dts has changed, reflect it in comphy documentation. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 delet

[PATCH v4 3/5] arm64: dts: cn913x: add device trees for topology B boards

2021-02-09 Thread kostap
From: Konstantin Porotchkin The CN913x DB with topology B is similar to a regular setup (A) boards, but uses NAND flash as a boot device, while topology A boards are booting from SPI flash. Since NAND and SPI on CN913x DB boards share some wires, they cannot be activated simultaneously. The DTS f

[PATCH v4 5/5] arm64: dts: add support for Marvell cn9130-crb platform

2021-02-09 Thread kostap
From: Konstantin Porotchkin The Marvell reference platform CN9130-CRB is a small form factor board in a metal case. The platform is based on CN9130 SoC with addition of 8 Gigabit ports SOHO Ethernet switch. The reference platform features the following: * Up to 4 CPU cores ARMv8 Cortex-A72 CPU *

[PATCH v4 4/5] dts: marvell: Enable 10G interface on 9130-DB board

2021-02-09 Thread kostap
From: Stefan Chulski This patch enables eth0 10G interface on CN9130-DB paltforms. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/

[PATCH v4 1/5] Documentation/bindings: phy: update references to cp11x

2021-02-09 Thread kostap
From: Grzegorz Jaszczyk The cp11x references in dts has changed, reflect it in comphy documentation. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 delet

[PATCH v4 0/5] DTS updates for Marvell Armada CN913x platforms

2021-02-09 Thread kostap
From: Konstantin Porotchkin This patch series contains the following changes/fixes: 1. Add support for Armada CN913x Development Board topology "B" 2. Add support for Armada CN913x Reference Design boards (CRB) 3. Fixes the CP11X references in PHY binding document 4. Fixes the NAND paritioninig s

[PATCH v4 2/5] arch/arm64/boot/dts/marvell: fix NAND partitioning scheme

2021-02-09 Thread kostap
From: Konstantin Porotchkin Eliminate 1MB gap between Linux and filesystem partitions. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/cn9130-db.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/cn9130-db.dts b/arch/arm64/

[PATCH 02/11] dts: mvebu: Update A8K AP806 SDHCI settings

2021-02-03 Thread kostap
From: Konstantin Porotchkin Update the settings for AP806 SDHCI interface according to latest Xenon drivers changes. - no need to select the PHY slow mode anymore - recommended to add HS400 support at 1.8V signalling on AP806-B0 - fix the bus witdth for A8040 DB from 4 to 8 bits. Signed-off-by:

[PATCH 05/11] arm64: dts: marvell: armada-3720-db: add comphy references

2021-02-03 Thread kostap
From: Grzegorz Jaszczyk Adding phy description to pcie, sata and usb will allow appropriate drivers to configure marvell comphy-a3700 accordingly. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 7 +++ 1 file chang

[PATCH 00/11] Device tree fixes for Armada family

2021-02-03 Thread kostap
From: Konstantin Porotchkin This set of patches include various device tree additions and fixes for Marvell Armada SoC families A3700/A7K/A8K. These changes are ported from Marvell SDK release files. Ben Peled (2): dts: marvell: add 2 eeprom properties to A8K DB device tree dts: marvell: add

[PATCH 04/11] fix: dts: a8k: Add CP eMMC regulator and update device parameters

2021-02-03 Thread kostap
From: Konstantin Porotchkin Add GPIO regulator for controlling CP0 eMMC voltage (3.3V/1.8V) Update CP0 SDHCI parameters in A7K/A8K boards DTS files. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 17 - arch/arm64/boot/dts/marvell/armad

[PATCH 06/11] arm64: dts: marvell: armada-3270-espressobin: add comphy references

2021-02-03 Thread kostap
From: Grzegorz Jaszczyk Add "phys" entries pointing to COMPHYs to PCIe and USB3 nodes Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH 11/11] dts: marvell: add 2 eeprom properties to A7K DB device tree

2021-02-03 Thread kostap
From: Ben Peled Add on-board i2c EEPROMs U37 and U38 Signed-off-by: Ben Peled Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm6

[PATCH 07/11] fix: ARM64: dts: cp110: Switch to 8-bit ECC NAND setting

2021-02-03 Thread kostap
From: Konstantin Porotchkin All A7K/A8K boards are using NAND chip that supports 8 bit ECC strength. Using lower ECC strength is not recommended by the flash manufacturer and may cause data corruption. This patch changes the nand-ecc-strength value from 4 to 8. Signed-off-by: Konstantin Porotchk

[PATCH 08/11] arm64: dts: marvell: armada-3720-db: add eeprom description

2021-02-03 Thread kostap
From: Grzegorz Jaszczyk On Armada 3720 board there is serial emprom M24C64 at address 0x57, reflect it in device-tree. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++ 1 file changed, 6 insertions(+) diff --g

[PATCH 09/11] dts: a3700: enable dma coherence for PCIE interface

2021-02-03 Thread kostap
From: Stefan Chulski Enavble PCIe dma coherence for A3700 platform Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64

[PATCH 10/11] dts: marvell: add 2 eeprom properties to A8K DB device tree

2021-02-03 Thread kostap
From: Ben Peled Add on-board i2c EEPROMs U41 and U51 Signed-off-by: Ben Peled Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64

[PATCH 01/11] fix: arm64: dts: replace wrong regulator on ap emmc

2021-02-03 Thread kostap
From: Konstantin Porotchkin Replace wrong regulator in AP0 eMMC definition on MacchiatoBIN board with 3.3V regulator. The MacchiatoBIN board has no 1.8V regulator connected to AP0 eMMC (ap0_sdhci0) interface. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-8040-mcbi

[PATCH 03/11] dts: mvebu: Add pin control definitions for SDIO interafce

2021-02-03 Thread kostap
From: Konstantin Porotchkin Add SDIO mode pin control configration for CP0 on A8K DB. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-70x0.dtsi | 6 ++ arch/arm64/boot/dts/marvell/armada-80x0.dtsi | 6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/

[PATCH 2/4] devicetree/bindings: add support for CP110 UTMI driver

2021-01-27 Thread kostap
From: Konstantin Porotchkin Add DTS binding for Marvell CP110 UTMI driver Signed-off-by: Konstantin Porotchkin --- Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt | 69 ++-- 1 file changed, 63 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindin

[PATCH 3/4] arch/arm64: dts: add support for Marvell CP110 UTMI driver

2021-01-27 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI driver in a common DTSI Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi

[PATCH 1/4] drivers: phy: add support for Armada CP110 UTMI PHY

2021-01-27 Thread kostap
From: Konstantin Porotchkin Add support for Marvell CP110 UTMI PHY driver allowing the USB2 port configuration independently from the boot loader setup. The CP110/CP115 dies have 2 UTMI PHYs that could be connected to two USB host controllers or to single USB device controller. Since there is onl

[PATCH 4/4] arch/arm64: dts: enable CP110 UTMI driver

2021-01-27 Thread kostap
From: Konstantin Porotchkin Enable support for CP110 UTMI driver in Armada SoC family platform device trees. Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 12 arch/arm64/boot/dts/marvell/armada-8040-db.dts | 18 --

[PATCH 0/4] Add support for CP110 UTMI PHY

2021-01-27 Thread kostap
From: Konstantin Porotchkin This series of patches adds a new PHY driver for supporting CP110 UTMI PHY in Linux. Currently the functionality of USB ports connected to this PHY depends on boot loader setup. The new driver eliminates kernel configuration dependency from the boot loader. Konstanti