Message ID | 20210324150325.v1.17.I196b2916518dd8df3b159ffa85e2989b8e483087@changeid |
---|---|
State | Accepted |
Commit | f596b01b9a69a8fd486468a11f6b2dbf07984c5f |
Delegated to: | Stefan Roese |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=pQFQ8Ogy; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F59C51MTPz9sRR for <incoming@patchwork.ozlabs.org>; Thu, 25 Mar 2021 01:11:29 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D105D82935; Wed, 24 Mar 2021 15:08:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1616594939; bh=vpCyIofzNiua8YP1fnS93IKy8cQdKwlS3LSf2tcANjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=pQFQ8OgyccJpYAZpJg8S82VJrUOC3EgkcPXVFZQSuvaWWcyFYJfS9kulOSb8XhZDW hx9zANE2OXD12W3q32o44kGn5wOX8JvcCSZnuEvdDik0s4Mr+scrdGh59f08VNDsZR cNXAJ6ISzO8DD92gjELtXvU1a2TkP0LRdnqndZUkm7ecJrJHf+GjQw+7dV/05t5PR1 D+dP1VJ4xMNEE98a3oC4O4g7HAlDAdew5CcVpq0tpYrAtYktRB5wXKaWobAhu3uhdG n/ldX9Fx1ZA0SHLRhh6FQFoF5d2ot0vH8ZZyshBfcoBWPVKfLghD1GDX4JCMQXxgsO Bl0AeuPdpOG4g== Received: by phobos.denx.de (Postfix, from userid 109) id C7FB9828BD; Wed, 24 Mar 2021 15:07:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:1::465:204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 27B7A828A0 for <u-boot@lists.denx.de>; Wed, 24 Mar 2021 15:07:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4F59606mWjzQjp9; Wed, 24 Mar 2021 15:07:04 +0100 (CET) Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id 6jfw8hKyguvV; Wed, 24 Mar 2021 15:06:57 +0100 (CET) From: Stefan Roese <sr@denx.de> To: u-boot@lists.denx.de Cc: Nadav Haklai <nadavh@marvell.com>, =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, Kostya Porotchkin <kostap@marvell.com>, =?utf-8?q?Marek_Beh=C3=BAn?= <marek.behun@nic.cz>, Grzegorz Jaszczyk <jaz@semihalf.com>, Igal Liberman <igall@marvell.com>, Baruch Siach <baruch@tkos.co.il>, Christine Gharzuzi <chrisg@marvell.com> Subject: [PATCH v1 17/23] phy: marvell: fix handling of unconnected comphy Date: Wed, 24 Mar 2021 15:06:43 +0100 Message-Id: <20210324150325.v1.17.I196b2916518dd8df3b159ffa85e2989b8e483087@changeid> In-Reply-To: <20210324140649.1413122-1-sr@denx.de> References: <20210324140649.1413122-1-sr@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-SPAM-Probability: ** X-Rspamd-Score: 1.90 / 15.00 / 15.00 X-Rspamd-Queue-Id: 5EBCC17F9 X-Rspamd-UID: a85f8c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean |
Series |
phy: marvell: Sync Armada 3k/7k/8k SERDES code with Marvell version
|
expand
|
diff --git a/drivers/phy/marvell/comphy_cp110.c b/drivers/phy/marvell/comphy_cp110.c index 55202888194d..d9a94f9d0d09 100644 --- a/drivers/phy/marvell/comphy_cp110.c +++ b/drivers/phy/marvell/comphy_cp110.c @@ -553,6 +553,10 @@ int comphy_cp110_init(struct chip_serdes_phy_config *ptr_chip_cfg, } switch (ptr_comphy_map->type) { case COMPHY_TYPE_UNCONNECTED: + ret = comphy_smc(MV_SIP_COMPHY_POWER_OFF, + ptr_chip_cfg->comphy_base_addr, + lane, + ptr_comphy_map->type); case COMPHY_TYPE_IGNORE: continue; break;