Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp796434ybh; Wed, 22 Jul 2020 13:35:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ5CmuivIencWBB0aK+FmZ3VeLkHhYoBgt+FWbj0AK7Z0+/9qxtAtxWJfrs5RR9yf5EpCt X-Received: by 2002:a50:cd1e:: with SMTP id z30mr1146084edi.364.1595450104733; Wed, 22 Jul 2020 13:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595450104; cv=none; d=google.com; s=arc-20160816; b=Vj/7XylLc8cxLfeSdgm2fjGgy+2K4hq4QBO0q+yRuE1KG39uzuiAYFFt/aEtSpQjgw FuDPY4ljkCqiWC5zXjcBWea+Th8aIUcq8wKKEOT6Xg7KjOpOvtVssJQ1d10YkYPik36Z vEmys10MBRsAGCbPtaQZAX6N328pIR751j1Kp3sKpdnd1SRHRnom9/jwNbr5wPWaS2nA uhnSfIE2F9RU5490nGyLGe1BmQWA4oTSCEj5bhjVQrdG9HXsOWdWsALBKt3FPpfIdGUr uyEi2LNTrlCzlWVXDjOCIfzI87/puGTzwOkIQgizszksYxUE8S8GRsO/IVWwth1hZfyL LXlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Pq467vccqzYp1M1jQhDSkSEoLcyh52UM7Yn3BzMUZWU=; b=vDssuXx/KjDRST4vOQ7Qe8SoOGDgqRxZyG9jUyKxdQZ9XVZbE/+boOzS35X8RHjlNl RVB0IlPNTDw+sxgCRCdDGXSzELvNdRZLPPIzM8VPMhQ76P85Oc2jWWPMv4xqrMYS2X1I zvpB47xqoKh9sHjvdKFv3m44cFmFgRPPkvk4NmQMFTb3w+9+FvfkXhYjdCVCWuvkfNJS eMjLE+VV0cs6NYj09DlfhL5Jy8Fk7V8esWX1ZWe/+byr++KculaihOZdkbzEnHWW4O33 AINAwxi3ou5e9qI1d3q0bVFQ6bmDsjQsf0jIEg5TOvRJyVYaqtFzSVPH1HfqMHHj/QKh d3Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Nx7arILk; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c89si675545edf.35.2020.07.22.13.34.39; Wed, 22 Jul 2020 13:35:04 -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=pass header.i=@gmail.com header.s=20161025 header.b=Nx7arILk; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732324AbgGVUd4 (ORCPT + 99 others); Wed, 22 Jul 2020 16:33:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbgGVUd4 (ORCPT ); Wed, 22 Jul 2020 16:33:56 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0303AC0619DC; Wed, 22 Jul 2020 13:33:56 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id b92so1991089pjc.4; Wed, 22 Jul 2020 13:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pq467vccqzYp1M1jQhDSkSEoLcyh52UM7Yn3BzMUZWU=; b=Nx7arILkrN9sPH/CCElelQE44Zghok008Plxv4BhLXWXt+XHfYy5W/1vfIA3wMIqW/ ffpgRqz03Ye1JGTHUJ8LGBSyK23Lx5nDSlEv7Ik+tccqcG6Uo4krJLYRpQrHf/zS+miE zX+UIKm2+i33xO/oGQr9F0uP1rnpQ1ZQcLG6xATD+SYibPH+5epS73WP6FmUEoR0qujE /rvMgeMMSiPVVrKhfQEWY7MEs9UZPRHrWJIwH3E01rxsydJwD1Yr+tV3A6IDnFFy/C43 KYw70f20MNMlr5OngghDvY+ereRJ8v+jpEwiv+423ftRySOHlsUURh6j1WUSeqfNa1Wn mwyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Pq467vccqzYp1M1jQhDSkSEoLcyh52UM7Yn3BzMUZWU=; b=CBY6FhyDURQvX4voavnpnNfwoSdPIMjcPNYR5XEaL7ZJj5U0gRPYFanFUauhSpXQna v1djalkftANBP8lMAuW2jNARNXPR8bHO5OiEPvcgWu8c+hor3ryyjRMFARbcJznWu+hL mH85sSO1auDauyXqNEWp6rMeztRHpTmhXeo+SwwXScFj8Ri+BeMBWtrQk9IoDwiZCjMU Bja9c2IWYNLFuS4jONn/PnTrcr1qeV2WoykvXJ71h2tbfUaoYfyiEUS6GDjDvfZahIOZ 2xWRiE4Lj7+Wilv+L+6s1ZYfiVbetw8L82GNyGin3C5yKkZdcfbmy5ZG23YJs1/Gkvkt 2ICA== X-Gm-Message-State: AOAM533v5YYBnQkLGE4VibUjbDizdfJYg7ETClnRSmsQAleRUxA2bxz6 IGVMGUOHkk6iEma2uKGSngY= X-Received: by 2002:a17:902:6544:: with SMTP id d4mr1072791pln.138.1595450035501; Wed, 22 Jul 2020 13:33:55 -0700 (PDT) Received: from localhost.localdomain.com (cpe-172-90-68-11.socal.res.rr.com. [172.90.68.11]) by smtp.gmail.com with ESMTPSA id ml8sm531637pjb.47.2020.07.22.13.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 13:33:54 -0700 (PDT) From: Chris Healy X-Google-Original-From: Chris Healy Subject: [PATCH v2] ARM: dts: ZII: Disable HW Ethernet switch reset GPIOs Date: Wed, 22 Jul 2020 13:33:41 -0700 Message-Id: <20200722203341.578651-1-cphealy@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Healy Disable Ethernet switch reset GPIO with ZII platforms that have it enabled. HW switch reset results in a reset of the copper PHYs inside of the switch. We want to avoid this reset of the copper PHYs in the switch as this results in unnecessary broader network disruption on a soft reboot of the application processor. With the HW GPIO removed, the switch driver still performs a soft reset of the switch core which has been shown to sufficiently meet our needs with other ZII platforms that do not have the HW switch reset GPIO defined. Signed-off-by: Chris Healy --- v2: - Update the description to more accurately reflect why we are making the change arch/arm/boot/dts/vf610-zii-cfu1.dts | 2 -- arch/arm/boot/dts/vf610-zii-spb4.dts | 2 -- arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts | 2 -- arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts | 2 -- 4 files changed, 8 deletions(-) diff --git a/arch/arm/boot/dts/vf610-zii-cfu1.dts b/arch/arm/boot/dts/vf610-zii-cfu1.dts index 64e0e9509226..50da0c94e1b7 100644 --- a/arch/arm/boot/dts/vf610-zii-cfu1.dts +++ b/arch/arm/boot/dts/vf610-zii-cfu1.dts @@ -172,7 +172,6 @@ switch0: switch0@0 { interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; #interrupt-cells = <2>; - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; ports { #address-cells = <1>; @@ -356,7 +355,6 @@ VF610_PAD_PTE13__GPIO_118 0x3043 pinctrl_switch: switch-grp { fsl,pins = < VF610_PAD_PTB28__GPIO_98 0x3061 - VF610_PAD_PTE2__GPIO_107 0x1042 >; }; diff --git a/arch/arm/boot/dts/vf610-zii-spb4.dts b/arch/arm/boot/dts/vf610-zii-spb4.dts index 9e5187ba3fa6..6c6ec46fd015 100644 --- a/arch/arm/boot/dts/vf610-zii-spb4.dts +++ b/arch/arm/boot/dts/vf610-zii-spb4.dts @@ -129,7 +129,6 @@ switch0: switch0@0 { pinctrl-names = "default"; reg = <0>; eeprom-length = <65536>; - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; interrupt-parent = <&gpio3>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; @@ -326,7 +325,6 @@ VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 pinctrl_gpio_switch0: pinctrl-gpio-switch0 { fsl,pins = < - VF610_PAD_PTE2__GPIO_107 0x31c2 VF610_PAD_PTB28__GPIO_98 0x219d >; }; diff --git a/arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts b/arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts index 569614b08f04..73fdace4cb42 100644 --- a/arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts +++ b/arch/arm/boot/dts/vf610-zii-ssmb-dtu.dts @@ -118,7 +118,6 @@ switch0: switch0@0 { pinctrl-names = "default"; reg = <0>; eeprom-length = <65536>; - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; interrupt-parent = <&gpio3>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; @@ -293,7 +292,6 @@ VF610_PAD_PTB24__GPIO_94 0x219d pinctrl_gpio_switch0: pinctrl-gpio-switch0 { fsl,pins = < - VF610_PAD_PTE2__GPIO_107 0x31c2 VF610_PAD_PTB28__GPIO_98 0x219d >; }; diff --git a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts index b6b0f302b7b4..fe600ab2e4bd 100644 --- a/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts +++ b/arch/arm/boot/dts/vf610-zii-ssmb-spu3.dts @@ -143,7 +143,6 @@ switch0: switch0@0 { pinctrl-names = "default"; reg = <0>; eeprom-length = <65536>; - reset-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; interrupt-parent = <&gpio3>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; @@ -333,7 +332,6 @@ VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2 pinctrl_gpio_switch0: pinctrl-gpio-switch0 { fsl,pins = < - VF610_PAD_PTE2__GPIO_107 0x31c2 VF610_PAD_PTB28__GPIO_98 0x219d >; }; -- 2.26.2