From patchwork Thu Sep 17 16:50:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11782911 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 399EB92C for ; Thu, 17 Sep 2020 16:50:50 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 33424206E6; Thu, 17 Sep 2020 16:50:50 +0000 (UTC) Delivered-To: soc@kernel.org Received: from kozik-lap.mshome.net (unknown [194.230.155.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A73AF20708; Thu, 17 Sep 2020 16:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600361450; bh=vUYwcPqRB+iFbeTmiFP5sphZ74nnxL+pyoKVuuYwemI=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=q1dqcpuriRbsUlDy1aFKkrmNZvWwGUnvtbbbBklFAYQTrOmf7a6PRts3166YsKoq1 wUF3tru7NgBERSL8ogu8jeHPKKn+Ly0W6Ymo+zhXKc7T2CENlpK8LWzVYqDrJ2XzhZ FJJfdlaUI4oC+hzjJjRw7lfCeOQGbgnhTTaSQc+A= From: Krzysztof Kozlowski List-Id: To: Khuong Dinh , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: apm: add required gpio-cells to DW APB GPIO controller port Date: Thu, 17 Sep 2020 18:50:40 +0200 Message-Id: <20200917165040.22908-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200917165040.22908-1-krzk@kernel.org> References: <20200917165040.22908-1-krzk@kernel.org> The Synopsys DesignWare APB GPIO controller port must have gpio-cells property, as pointed by dtschema: arch/arm64/boot/dts/apm/apm-mustang.dt.yaml: gpio@1c024000: gpio-controller@0: '#gpio-cells' is a required property Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 1 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi index 2da5b8a0cd35..a83c82c50e29 100644 --- a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi +++ b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi @@ -715,6 +715,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; + #gpio-cells = <2>; snps,nr-gpios = <32>; reg = <0>; }; diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index 560b2a6f2082..0f37e77f5459 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -831,6 +831,7 @@ porta: gpio-controller@0 { compatible = "snps,dw-apb-gpio-port"; gpio-controller; + #gpio-cells = <2>; snps,nr-gpios = <32>; reg = <0>; };