From patchwork Fri Feb 12 16:26:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12085645 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25602C433E0 for ; Fri, 12 Feb 2021 16:26:54 +0000 (UTC) Received: by mail.kernel.org (Postfix) id A7744601FF; Fri, 12 Feb 2021 16:26:53 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 64F1660202; Fri, 12 Feb 2021 16:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613147213; bh=OwGW8enKxldd+NnFAPWb0VZSuZRCA3SF/WgjgHhPiiY=; h=From:List-Id:To:Cc:Subject:Date:From; b=SQTDafnT8McoSJ5ZcbYQEDJhip3MkEiOZUcWfhoXXp1zQoRv0mPtxIWkoMdQ3qN+p yQM+DR29AtgFIVU3L747LtfIe86KUEjydKOXuwpq0FbyqoZQcHSRP71O83XeBv9jad NVM5HVYEJQ8H0EgKcGuaUrFQWRyEe6IlMfTXh5Uot14RlPQQTiM9HbPlt5o0KBy8Z3 nVuX4636W+cnNZwrK388RxwL07dOR/XDvVF9Ginw4uCQDdZPiBPTxIckkNIgQ3AD0X v6+r9Uo57qbabkmO2nqF+EHeqYgMHeJXfgdYXPx8Q5JA0H2SCocXzfdLWGWPCGndf6 iNaYxEVUTxzaQ== From: Krzysztof Kozlowski List-Id: To: arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson , Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH v3 1/2] ARM: dts: aspeed: fix PCA95xx GPIO expander properties on Portwell Date: Fri, 12 Feb 2021 17:26:39 +0100 Message-Id: <20210212162640.66677-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 The PCA95xx GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski Acked-by: Joel Stanley --- Hi Arnd and Olof, This is 5-months old patchset which was not picked up by Aspeed maintainers, so could you take it directly? Best regards, Krzysztof arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts b/arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts index 4a1ca8f5b6a7..03c161493ffc 100644 --- a/arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts +++ b/arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts @@ -121,6 +121,8 @@ &i2c5 { pca9555@27 { compatible = "nxp,pca9555"; reg = <0x27>; + gpio-controller; + #gpio-cells = <2>; }; }; From patchwork Fri Feb 12 16:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12085647 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 685F4C433E0 for ; Fri, 12 Feb 2021 16:26:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 3A86061490; Fri, 12 Feb 2021 16:26:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id F2BD264E7E; Fri, 12 Feb 2021 16:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613147216; bh=N+uIvOEuMqwSkJjXMVsxsFXzGY+XTawRE8pl5B9DH1U=; h=From:List-Id:To:Cc:Subject:Date:In-Reply-To:References:From; b=ST2QGX9aQ79DaXXYxX3GPqpbCgRCDw6WFZCjT7nCB/5r0wxOtEDciL3Q4kf+KrM+S J6CV2pG51kWlZmeTUw+jp9aJd0zRJDWIwPb5nJiyYnr84Ad6jAAE9VL6K/N0YMHfbn Qoph9B9GYha0J5Lf7x6MM0JtoRPAlWVvZBY0yYfHi4/4z8gIInpmm+rt0yKHdv+6GS ZHBEWI6zJRvCekFR5AMwAIuRP9EbbFekkioD9ICoB1fr2xTFke+gfZB0hih2Sov1Xc fUGaysNYYKkQAb7PHQfzeBLbl+g3YEhCk7XVETH7Sm6DLaWA/MtFPMQdOG8Xazwmaq svcYkXrgEOQ3A== From: Krzysztof Kozlowski List-Id: To: arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson , Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH v3 2/2] ARM: dts: aspeed: align GPIO hog names with dtschema Date: Fri, 12 Feb 2021 17:26:40 +0100 Message-Id: <20210212162640.66677-2-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210212162640.66677-1-krzk@kernel.org> References: <20210212162640.66677-1-krzk@kernel.org> MIME-Version: 1.0 dtschema for pca95xx expects GPIO hogs to end with 'hog' suffix. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index a4b77aec5424..5c98130358c8 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -579,7 +579,7 @@ tca9554@40 { gpio-controller; #gpio-cells = <2>; - smbus0 { + smbus0-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts b/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts index cb85168f6761..577c211c469e 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts @@ -827,7 +827,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus0 { + smbus0-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -852,7 +852,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus1 { + smbus1-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -900,7 +900,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus2 { + smbus2-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -925,7 +925,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus3 { + smbus3-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -992,7 +992,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus4 { + smbus4-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -1017,7 +1017,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus5 { + smbus5-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -1065,7 +1065,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus6 { + smbus6-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high; @@ -1090,7 +1090,7 @@ tca9554@39 { gpio-controller; #gpio-cells = <2>; - smbus7 { + smbus7-hog { gpio-hog; gpios = <4 GPIO_ACTIVE_HIGH>; output-high;