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 DB8EEC433F5 for ; Thu, 21 Apr 2022 14:15:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B2BD983C70; Thu, 21 Apr 2022 16:15:33 +0200 (CEST) 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=1650550534; bh=QgcfFx0dLGpHLTDMyYdNZlcZwfjcwxZ1ap4bBBJzpAY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Bj8XlqX3H7+araHRsQy/8n9NQbvqTsXjDDUssXvIHgz6xyvu+AIun+zTRD9+f/aea yHDxSE9bS+V93OSIiA+8izP1aY6p6Biq5lgQ6oQciiLhp7Wq7HJcP+HaQnN9HS5AfP TzA6q9oSJTh17OiofkSu7186tUJQNnB3VDgvcdZbopuWO4GZP2oWDiVGL6SAVGZCrH /b8G0KFWeJm4HuKgpVVFp81dCilh5JS07mMk1gycrV68Mz8ZxFCF9hBlG3gqQwEEOC DE4Tee00FKU6QsXlWPOXr13mhXY4xIHhUxwdt4Tz3k0KfwD9oCV4dUTapC2Z5EGSb/ RH83y0SJ8pNLw== Received: by phobos.denx.de (Postfix, from userid 109) id D0D9D83C70; Thu, 21 Apr 2022 16:15:31 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (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 977F283DBF for ; Thu, 21 Apr 2022 16:15:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail 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-107.mailbox.org (Postfix) with ESMTPS id 4KkfhK3rvfz9sRT; Thu, 21 Apr 2022 16:15:29 +0200 (CEST) Message-ID: <8941ccbd-718d-ca99-9325-9f41d94d9e5d@denx.de> Date: Thu, 21 Apr 2022 16:15:22 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 4/4] board: turris: Rename atsha204a@64 DT node to crypto@64 Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Marek Behun Cc: u-boot@lists.denx.de References: <20220408143015.23163-1-pali@kernel.org> <20220408143015.23163-4-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220408143015.23163-4-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 On 4/8/22 16:30, Pali Rohár wrote: > DT node name should be generic, therefore rename atsha204a@64 to crypto@64. > > Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan > --- > arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +- > board/CZ.NIC/turris_atsha_otp.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi > index 3ff76c946294..76a441524833 100644 > --- a/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi > +++ b/arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi > @@ -29,7 +29,7 @@ > u-boot,dm-pre-reloc; > > /* ATSHA204A at address 0x64 */ > - atsha204a@64 { > + crypto@64 { > u-boot,dm-pre-reloc; > compatible = "atmel,atsha204a"; > reg = <0x64>; > diff --git a/board/CZ.NIC/turris_atsha_otp.c b/board/CZ.NIC/turris_atsha_otp.c > index 7a39b7f61d5d..8c39f5e52414 100644 > --- a/board/CZ.NIC/turris_atsha_otp.c > +++ b/board/CZ.NIC/turris_atsha_otp.c > @@ -21,7 +21,7 @@ static struct udevice *get_atsha204a_dev(void) > /* Cannot be static because BSS does not have to be ready at this early stage */ > struct udevice *dev; > > - if (uclass_get_device_by_name(UCLASS_MISC, "atsha204a@64", &dev)) { > + if (uclass_get_device_by_name(UCLASS_MISC, "crypto@64", &dev)) { > puts("Cannot find ATSHA204A on I2C bus!\n"); > dev = NULL; > } Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de