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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 9BF8EC31E40 for ; Fri, 9 Aug 2019 14:55:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C0122085B for ; Fri, 9 Aug 2019 14:55:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hafiB/sX"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="D8uJMUZH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C0122085B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Pj9ZJAs7ayTrEcjm3picugczehJ4Ew3Xxktw78DlEuc=; b=hafiB/sXOxepLLSGESKk+uMxk oFF457JjgoR/LtyB/4wEdAMlT89BnfXdlErA1nbvlMryzKhADxMnwgALzBZDwy0/wauxrc4lQLRO/ v4bJTXxt9P/iEOBUGsgGQ23d4XF0rG6BzWBYzH+C5Zjxbgsw4/8izVFQgL2+UqwHk5S4JDXM1pzA7 Iz6Fs5/AWKh7dTQoqbKg4ify0oCHWFNybN8qZYapZzeoEeebmD2OjfLfRo20v9HtYJx7mwzS/CChM mNWHAORwbpSJhNgADgRwCE1Btx+NMS4poppp7hIV1Ul+I1Yi/gGkPFbi9Bo0NmOMM4b/eIDXzniGI kb1xKxpbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hw6IT-0004eK-UU; Fri, 09 Aug 2019 14:55:13 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hw6IP-0004C2-G4 for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2019 14:55:11 +0000 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 , 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-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190809_075509_822400_48681D25 X-CRM114-Status: GOOD ( 16.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, Rob Herring , Linux ARM Mailing List , Device Tree Mailing List Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; > +}; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel