ARM: dts: exynos: Add missing interrupts property to PMIC on Trats board

Message ID 20180226144541.24666-1-m.szyprowski@samsung.com
State New
Headers show
Series
  • ARM: dts: exynos: Add missing interrupts property to PMIC on Trats board
Related show

Commit Message

Marek Szyprowski Feb. 26, 2018, 2:45 p.m.
PMIC node requires external interrupts for proper operation, but property
defining them was missing. This was probably caused by a limited support
for interrupts from more than one parent, which was not possible to define
when support for this board was added. Fix this by adding
'interrupt-extended' property and properly define interrupt lines for PMIC
node.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/boot/dts/exynos4210-trats.dts | 1 +
 1 file changed, 1 insertion(+)

-- 
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Krzysztof Kozlowski Feb. 26, 2018, 5:03 p.m. | #1
On Mon, Feb 26, 2018 at 03:45:41PM +0100, Marek Szyprowski wrote:
> PMIC node requires external interrupts for proper operation, but property

> defining them was missing. This was probably caused by a limited support

> for interrupts from more than one parent, which was not possible to define

> when support for this board was added. Fix this by adding

> 'interrupt-extended' property and properly define interrupt lines for PMIC

> node.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/boot/dts/exynos4210-trats.dts | 1 +

>  1 file changed, 1 insertion(+)

> 


Thanks, applied.

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index aaade17b140e..5b4019a07482 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -275,6 +275,7 @@ 
 
 	max8997_pmic@66 {
 		compatible = "maxim,max8997-pmic";
+		interrupts-extended = <&gpx0 7 0>, <&gpx2 3 0>;
 
 		reg = <0x66>;
 		interrupt-parent = <&gpx0>;