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 CD1C4C04A68 for ; Thu, 28 Jul 2022 06:34:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3944E84179; Thu, 28 Jul 2022 08:34:28 +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=1658990068; bh=y31/sh9oe1PhHYAw3+7cfymHoyheL7VVo4E/OymL6Sk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XSmYrjEGbhMh+h2xGki05G8uRq07AqGVaS6pfPhVIeM0FgEudqolH9hP/4J32jUib D+N2lXq3O2snvYwVJb2A8c/IJnF2rmxIO8FjPCI8M9wOQ5IrJwaiYZgBov7oCIAIal sEdSPnavFxaxkbUAeXDZstj2VbIyUDO2aSggpE24dku7DP5H4XQMI1CxOFKZS3E4HX GC8Nb/D7eBhJSZd3sHnKx/Flb9y/VaPJX2ipOlUyhBmmbBZQxXSWpUol0EvV/VsKvy d6y99lseoaNu9INIlKDLBHdMZ3O3cOuf7bBBhU1WASf8KNy8066z2n97UVVImYsiVk N2vSQJ8VNymDA== Received: by phobos.denx.de (Postfix, from userid 109) id 3B28C841EA; Thu, 28 Jul 2022 08:34:27 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:101: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 59A6E8414B for ; Thu, 28 Jul 2022 08:34:25 +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 smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (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 4Ltgq33fhYz9sv2; Thu, 28 Jul 2022 08:34:23 +0200 (CEST) Message-ID: Date: Thu, 28 Jul 2022 08:34:22 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 2/2] arm: mvebu: turris_omnia: Add mcu node with gpio-controller Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: Marek Behun , u-boot@lists.denx.de References: <20220725130113.21850-1-pali@kernel.org> <20220725130113.21850-2-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220725130113.21850-2-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.6 at phobos.denx.de X-Virus-Status: Clean On 25.07.22 15:01, Pali Rohár wrote: > This allows U-Boot to register new Turris Omnia MCU driver. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > arch/arm/dts/armada-385-turris-omnia.dts | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/dts/armada-385-turris-omnia.dts b/arch/arm/dts/armada-385-turris-omnia.dts > index 7f1478edfd23..fe5c0b1b5915 100644 > --- a/arch/arm/dts/armada-385-turris-omnia.dts > +++ b/arch/arm/dts/armada-385-turris-omnia.dts > @@ -173,7 +173,13 @@ > #size-cells = <0>; > reg = <0>; > > - /* STM32F0 command interface at address 0x2a */ > + /* MCU command i2c API */ > + mcu: mcu@2a { > + compatible = "cznic,turris-omnia-mcu"; > + reg = <0x2a>; > + gpio-controller; > + }; > + > /* leds device (in STM32F0) at address 0x2b */ > > eeprom@54 { 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