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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFAEDC433EF for ; Mon, 14 Feb 2022 10:35:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3DDA783BF2; Mon, 14 Feb 2022 11:35:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="clGQba5I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 00D6283BBF; Mon, 14 Feb 2022 11:35:17 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 117E083BC3 for ; Mon, 14 Feb 2022 11:35:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D924E61320; Mon, 14 Feb 2022 10:34:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B1A9C340F0; Mon, 14 Feb 2022 10:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644834898; bh=fenB4iSk9FfjLwvTGHX6LmABkRMS13AQ3SfrX6JE8T0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=clGQba5IJT4geerqA0xbPhz93V8V2tWreSWAMn0y1qWSjb+9KbnUMtLv8XI2mxIPi LASdaBRBjsICo4/GiHEfVgeOldAryzeOiu+OZ6oo695qa1Fi5UrhX1oElYlSHmHvlG vCSYEZJPul1c3XP1ddwxWiuue5K6gfqE3IBAY+U2Kqi/d6lJIqU+JY3T0Anm93kocu 3lF+C7rxGSkJCjPtyDf/qrMzpjN5kNj+PjoxPECASZPYV7+4G26hb6Cu/nTanqnIe1 C5qAd+CscTBoD+yLhxfV+q8JS+96Rx8i5N38Ln+ajIru6lhU8iroPL8VRbuqyaZ4YD R61dg7icC0YVA== Received: by pali.im (Postfix) id 7EB2B20A3; Mon, 14 Feb 2022 11:34:56 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Konstantin Porotchkin , Marek Behun , Vladimir Vid , Luka Perkov , Luis Torres , Scott Roberts , Paul Arola Cc: u-boot@lists.denx.de Subject: [PATCH u-boot-marvell 2/9] phy: marvell: a3700: Update compatible string to official DT bindings Date: Mon, 14 Feb 2022 11:34:23 +0100 Message-Id: <20220214103430.24242-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220214103430.24242-1-pali@kernel.org> References: <20220214103430.24242-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean In commit d368e1070514 ("phy: marvell: a3700: Convert to official DT bindings in COMPHY driver") was done update to official DT bindings but compatible string of official DT bindings was not updated. Fix it now. Fixes: d368e1070514 ("phy: marvell: a3700: Convert to official DT bindings in COMPHY driver") Signed-off-by: Pali Rohár --- arch/arm/dts/armada-37xx.dtsi | 2 +- drivers/phy/marvell/comphy_core.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi index bef6ef03df68..b363212dc8bd 100644 --- a/arch/arm/dts/armada-37xx.dtsi +++ b/arch/arm/dts/armada-37xx.dtsi @@ -313,7 +313,7 @@ }; comphy: comphy@18300 { - compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700"; + compatible = "marvell,comphy-a3700"; reg = <0x18300 0x28>, <0x1f300 0x3d000>; #address-cells = <1>; diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c index 5bb994fe42a5..df2460dbd7dc 100644 --- a/drivers/phy/marvell/comphy_core.c +++ b/drivers/phy/marvell/comphy_core.c @@ -96,7 +96,7 @@ static int comphy_probe(struct udevice *dev) if (IS_ERR(chip_cfg->hpipe3_base_addr)) return PTR_ERR(chip_cfg->hpipe3_base_addr); - if (device_is_compatible(dev, "marvell,comphy-armada-3700")) { + if (device_is_compatible(dev, "marvell,comphy-a3700")) { chip_cfg->comphy_init_map = comphy_a3700_init_serdes_map; chip_cfg->ptr_comphy_chip_init = comphy_a3700_init; chip_cfg->rx_training = NULL; @@ -145,6 +145,7 @@ static int comphy_probe(struct udevice *dev) static const struct udevice_id comphy_ids[] = { { .compatible = "marvell,mvebu-comphy" }, + { .compatible = "marvell,comphy-a3700" }, { } }; -- 2.20.1