Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3429002pxf; Mon, 22 Mar 2021 06:20:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydw3wXDjs3dfpLaxQKgxj7hONqr7J31qaLOgH51o9DynTApkV0qiMfQK2+f1IlcG619chn X-Received: by 2002:a05:6402:12d5:: with SMTP id k21mr26251145edx.318.1616419231740; Mon, 22 Mar 2021 06:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616419231; cv=none; d=google.com; s=arc-20160816; b=RbZ/M/NCERbiF1j8/2kI56znxjP+jJYdZ55mt8UOndAIjw6DNoZX85AEtF8AiO/RRL Ajr5DRyOiRfZqyb5KHzuXyiQws4TSlDlXQBmeB/4Z3tABP4ksHeeNCB62orAU6Q/FIt/ YImKgtnL2oq8EU01Yt/yDJu8H0rQrca/rdamPoISFdB35cpAK9X8/PJf5yLHdShX58kn qQrzFVPYvCII0YLPsWO9nSHCPKLEsE+BlM+JX96IoutPxAHYYTBqJT1XjYbn+fvJdTbp IT4Ckt9+q9ispIMQlFMb+WVXV4pkzvBku/ZwP2ObffazSBMHVxPJTxyHJRUWzKNC6YgD rEiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from:dkim-signature; bh=530e36igGodybBnc5gwlB/hSoWE3yMji47/Zyiw64Yk=; b=WSgWWp1dLA8zEGKBbpe5bsXVn3e7rOTWMB9cmCgN5oZpEd0U7R2Tz7+yWVsJLurWY8 bNBFVv8lRD+d1b4dr45hTMNGDyoz4QaXmcfwzgtObkwkzasMmoOMGwfBWwzO5qo2aTby J8jlAY4t78f5iLJt+mVtfTpLttgBnxaPCxCwkse06SgBkce4mmEulvf18pJSj6H57yZy izqIZT22AXR5ZLrmQSHUUQhgSEBpMvmyoCjaxKlqn87+Pb4c9OgdP1HmcVlxSJkisFIl MglKd59aILv0Lf92ZN8CfYtQVlzT1YjJHO2Soclv57H9URJ5TcxvLR91rMLxZsF4XHai 0KEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=HiB+6ztE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si10877395edw.480.2021.03.22.06.20.09; Mon, 22 Mar 2021 06:20:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=HiB+6ztE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231779AbhCVNSv (ORCPT + 99 others); Mon, 22 Mar 2021 09:18:51 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56318 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230319AbhCVNOb (ORCPT ); Mon, 22 Mar 2021 09:14:31 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12MDCKqw042155; Mon, 22 Mar 2021 08:12:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1616418740; bh=530e36igGodybBnc5gwlB/hSoWE3yMji47/Zyiw64Yk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HiB+6ztEB8llOGyk0IM9Vf+eD3UQ1jyTBuk39XwDNNydyL0E8QxrNk681VlbYEX6S NNmVSS6R+gGTwRuBkcuFfSVnBKGAtzm+kXMcZwXqoWBAEm2IoG40VOmEblL1Im4LT0 7SwrPDZJrPkoVNCe8vuBold0OXm3c1qvrNMzsmFQ= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12MDCKeR104866 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Mar 2021 08:12:20 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 22 Mar 2021 08:12:20 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 22 Mar 2021 08:12:20 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12MDC8Nt074875; Mon, 22 Mar 2021 08:12:17 -0500 From: Aswath Govindraju CC: Vignesh Raghavendra , Lokesh Vutla , Kishon Vijay Abraham I , Aswath Govindraju , Faiz Abbas , Sekhar Nori , Nishanth Menon , Tero Kristo , Rob Herring , , , Subject: [PATCH v7 2/3] arm64: dts: ti: k3-j7200-common-proc-board: Disable unused gpio modules Date: Mon, 22 Mar 2021 18:42:05 +0530 Message-ID: <20210322131206.24887-3-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210322131206.24887-1-a-govindraju@ti.com> References: <20210322131206.24887-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Faiz Abbas There are 6 gpio instances inside SoC with 2 groups as show below: Group one: wkup_gpio0, wkup_gpio1 Group two: main_gpio0, main_gpio2, main_gpio4, main_gpio6 Only one instance from each group can be used at a time. So use main_gpio0 and wkup_gpio0 in current linux context and disable the rest of the nodes. Signed-off-by: Faiz Abbas Signed-off-by: Sekhar Nori Signed-off-by: Aswath Govindraju Reviewed-by: Grygorii Strashko --- .../boot/dts/ti/k3-j7200-common-proc-board.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 4a7182abccf5..b493f939b09a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -122,6 +122,22 @@ status = "disabled"; }; +&main_gpio2 { + status = "disabled"; +}; + +&main_gpio4 { + status = "disabled"; +}; + +&main_gpio6 { + status = "disabled"; +}; + +&wkup_gpio1 { + status = "disabled"; +}; + &mcu_cpsw { pinctrl-names = "default"; pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; -- 2.17.1