From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 9A0AFC41514 for ; Fri, 9 Aug 2019 14:55:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C162217F5 for ; Fri, 9 Aug 2019 14:55:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="D8uJMUZH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407117AbfHIOzM (ORCPT ); Fri, 9 Aug 2019 10:55:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33234 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406490AbfHIOzM (ORCPT ); Fri, 9 Aug 2019 10:55:12 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x79Et7dA076455; Fri, 9 Aug 2019 09:55:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565362507; bh=SbXCWSXrPbzkxcNI0xPkTqByRL7MD28rx0zf/9b0SJc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=D8uJMUZHzeSslOS2jPMI47dDnvKaJuU35Im7B+slRsio4LKczitE4mJDuvStKX3f4 rTinh2DrAaeKSLzM53fPmdaf/ELc+YtltA62G3pNMV9gORzCP7mSniSzYOv2ejrxgc xTFLgyPJLAdqJu7Usu22aO5SNXciof3OxvzeKmeo= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x79Et7Ow062013 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Aug 2019 09:55:07 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 9 Aug 2019 09:55:06 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 9 Aug 2019 09:55:06 -0500 Received: from [172.24.191.45] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x79Et38f088998; Fri, 9 Aug 2019 09:55:04 -0500 Subject: Re: [PATCH 4/6] arm64: dts: ti: k3-j721e-common-proc-board: Disable unused gpio modules To: Lokesh Vutla , Tero Kristo , Nishanth Menon , CC: Rob Herring , , Device Tree Mailing List , Linux ARM Mailing List References: <20190809082947.30590-1-lokeshvutla@ti.com> <20190809082947.30590-5-lokeshvutla@ti.com> From: Keerthy Message-ID: Date: Fri, 9 Aug 2019 20:25:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190809082947.30590-5-lokeshvutla@ti.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On 09/08/19 1:59 PM, Lokesh Vutla wrote: > There are 10 gpio instances inside SoC with 3 groups as below: > - Group1: main_gpio0, main_gpio2, main_gpio4, main_gpio6 > - Group2: main_gpio1, main_gpio3, main_gpio5, main_gpio7 > - Group3: wkup_gpio0, wkup_gpio1 > > Only one instance can be used in each group at a time. So use main_gpio0, > main_gpio1 and wkup_gpio0 for the current linux context and mark other > gpio nodes as disabled. Reviewed-by: Keerthy > > Signed-off-by: Lokesh Vutla > --- > .../dts/ti/k3-j721e-common-proc-board.dts | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > index 63b47b839388..509579ca3db2 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > @@ -52,3 +52,31 @@ > /* UART not brought out */ > status = "disabled"; > }; > + > +&main_gpio2 { > + status = "disabled"; > +}; > + > +&main_gpio3 { > + status = "disabled"; > +}; > + > +&main_gpio4 { > + status = "disabled"; > +}; > + > +&main_gpio5 { > + status = "disabled"; > +}; > + > +&main_gpio6 { > + status = "disabled"; > +}; > + > +&main_gpio7 { > + status = "disabled"; > +}; > + > +&wkup_gpio1 { > + status = "disabled"; > +}; >