From patchwork Sat Aug 29 09:40:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 293585 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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,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 6A249C433E6 for ; Sat, 29 Aug 2020 09:40:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4747D20665 for ; Sat, 29 Aug 2020 09:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598694050; bh=MQoFz3cO6qn2Ot7E8t6E9HrOy47NGq2Kvr7IiaaZoT8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=UNaTuyaj9D8SH7txqEstfWcZAaNgWnmK19EGrFdMTwtqZLM6DTijXDsf/tLThc25E bb+4UkBKYWjwevj544mHnUhKZE3g5GkfxXnT47h6aNBLOqV2CuKjYkdKqXnzW01Uex 2VPh6c0yB+tKOs0YjgwLvk/ofcxOVYJ7izhHmSFE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727889AbgH2Jks (ORCPT ); Sat, 29 Aug 2020 05:40:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:36582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727863AbgH2Jkq (ORCPT ); Sat, 29 Aug 2020 05:40:46 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (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 BAC7A20665; Sat, 29 Aug 2020 09:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598694046; bh=MQoFz3cO6qn2Ot7E8t6E9HrOy47NGq2Kvr7IiaaZoT8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j+jGrufD5/IAL2nOnGF9Jt5P4Cmb1Mml8paxEv8j5qShPx4onoD3ZuydZfyq9BVZ6 +Vt38tAekbYoWs7k3XfRFbr9HTJOLZy3I2c2vqxlheYEZANYzF+o9tS3nEeuDl/MDt Yg28kqrHpDmSbOOVuPs/jhbPXixmII6HfnjrTL/c= From: Krzysztof Kozlowski To: Linus Walleij , Bartosz Golaszewski , Rob Herring , =?utf-8?q?Beno=C3=AEt_Cousso?= =?utf-8?q?n?= , Tony Lindgren , Joel Stanley , Andrew Jeffery , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Stefan Agner , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] ARM: dts: am335x: lxm: Fix PCA9539 GPIO expander properties Date: Sat, 29 Aug 2020 11:40:21 +0200 Message-Id: <20200829094024.31842-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200829094024.31842-1-krzk@kernel.org> References: <20200829094024.31842-1-krzk@kernel.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The PCA9539 GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/am335x-lxm.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-lxm.dts b/arch/arm/boot/dts/am335x-lxm.dts index cd55f11260ea..0f078465297a 100644 --- a/arch/arm/boot/dts/am335x-lxm.dts +++ b/arch/arm/boot/dts/am335x-lxm.dts @@ -160,11 +160,15 @@ serial_config1: serial_config1@20 { compatible = "nxp,pca9539"; reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; }; serial_config2: serial_config2@21 { compatible = "nxp,pca9539"; reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; }; tps: tps@2d {