Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp291100rdb; Wed, 14 Feb 2024 23:19:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXmh9jg/wQY9OOXdMg9jfVh3HtB9Lu8GWjZVtg6uTFPF1yk9rUhV8HewJyUDfoEBqkIILXyBTTKhRdy2i5O43Dqmlxt6BNj1Z+h8qkUFA== X-Google-Smtp-Source: AGHT+IHDhISP2mjdAZxfD0uHVXTsdVFYrm03HKRjD6S/jrh7q+Wc9y2w0ui73EN18qIpFZQTWMO4 X-Received: by 2002:a17:906:1186:b0:a39:6c07:d31c with SMTP id n6-20020a170906118600b00a396c07d31cmr737693eja.25.1707981571152; Wed, 14 Feb 2024 23:19:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707981571; cv=pass; d=google.com; s=arc-20160816; b=Gpqc5E3IZW+mXu+c5Q/FTB1PEIjpIMW5Y+Y06b2fRB45sIRXmJmwRfDRoJl+S5z2Y8 UXCG5Wlg7ZxTU19d1ibE8ouPkDk030o+gsfU8CUkpW/uz+ZOqQ8A/Jaz6WEME/DvlUIu lY9jSk2I2NMbgX3cH2WmovcVnFCuu+wrSOAjHGIoPXi+bdZVdJLKLHp6yjhFDZdQd8Xo V58D5apU8+e539d0qloRsxETTNPhrDFmbHMIUNr88j2meQXw2NxHVpEVrquiavU6IlIq T7H5JfVlzEahSFYSQzeIp2MdT1lS7hzQbOBN1Rpw7cf2DIak3vMoBzdID8KB87NjTkT4 t0bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WhVkc0N0FKzZDN5JV45vh1J18dPbZNmPhz6By8Ka/HI=; fh=SR+oaV6pJ5aib6Osq0kr2D+hhB9mxC0ps8cPjJM7Dd8=; b=xMPNptQzWOLj6a0kizZASpwZUINkFnh3j5osVLkSiHgj5hP/3L2KTAyftdn0OAwjeF fXw9QgFvpy2PdvFNA4ODg8VfIWCDR1wJ8oXvyi48HJmg8sjO1wL20ETGqpL1zo/swIE7 cTmP0sn1yeUP2CsxRcYNknNFclqy/fMEg2qoavEovs5GqBdtYuPiMHaTyBrpu5Nyjx1d dRqnDg1hEBwB9pNl7dFDdm/OTyPYNOQCeEOdrwST7dFeoGHnwuO8yNO1FAXzW2MSjapB bK1Pkco5kj/i5hjlrMVLhkRU2gWTURYiveMNiXsFtsBpmkwn6Hug3EIkXgwAZ4ePrz39 RsyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=eWAkTknL; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-66353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66353-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p27-20020a17090635db00b00a3cf04c5dafsi388302ejb.198.2024.02.14.23.19.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 23:19:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=eWAkTknL; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-66353-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66353-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E3B651F2141B for ; Thu, 15 Feb 2024 07:19:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F7F0DDCB; Thu, 15 Feb 2024 07:19:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="eWAkTknL" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77F4BBA38 for ; Thu, 15 Feb 2024 07:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707981562; cv=none; b=Rd6AbC5YLW+7PRXg6Dj2WmOsGC8n8AGWe+GU3rkRIrFa8luz3if/uRKWnxkjMb/F2m+lrj9zJHndt4Ur+mXGbBPpzufVVqEvi0hTxLKxX/CH91tUqiJhkaLyrahdNlaMReGhXS+4YtS81iPymhnsIE/tc35xCDBdqSZ48HQqyiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707981562; c=relaxed/simple; bh=KVzvewPsv9+3Wm8MRBDTy7EAOEddn740aLx0PZgYJtk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bZBFclYU5I0zo3OIESiVeCK48aklYpnKo0qnrsTSkd7dCgl/8pkFWZFB+EWirkldyGqHkkzH7xHLnk2mlOLZ4gl/JzAZs0b8HRaQNn92uPny4ZQGYQAd0Y1XMNZ+8G8edW5yEpNXXaJA6MdSJYoYj2vjQrXjpYS/JiKNkaN/0WQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=eWAkTknL; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33cf6266c76so313410f8f.1 for ; Wed, 14 Feb 2024 23:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707981558; x=1708586358; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WhVkc0N0FKzZDN5JV45vh1J18dPbZNmPhz6By8Ka/HI=; b=eWAkTknLT2DsGK5kmxXr81MD8pI9jg2nlOFcbgICcCs4DlAC7gvN/q+1A6CiZVuq/K jLmI3Dpt13CLVYFVTZ9kaj8wVPvNWzut7kh9MLMdMbyShU6TOQfN8m9kKxLDKpVlc2pN oof20Cc6a4NdhZgA1bD6QqNGtrXOLKAQdaDri380AIBU0coi297WsbZfisk/GaRv0Rj4 8eNvQrqtAD1GVVYygkhuI9YMenS0X/RZJjYzHRCZSWsDaXpTojmcC0KkqxOnPxaaAfbH nfGo6hkgT+wtlcIUtm9U4R8POAZZNM61gwrSJOSrziVFnzQH+qcMIpdGSR7oUdEhXY+F 8Y7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707981558; x=1708586358; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WhVkc0N0FKzZDN5JV45vh1J18dPbZNmPhz6By8Ka/HI=; b=u4U6ohO1R5qb9g1TdbU9LTzgQ5FhktAFvsvijp5dfoLQ0nM/SiDqijmvc7rABNVDrp MjhRj8HUBJ8DIp3hNVbwWk0OcXjNgkq0UjJECSF9QHMg3Qx3JyXlUWF9yqmhb1o+ydyH yfxFLU2sREfoeBg0WJ8y1Cp6nOQdkpTgtLtW3l3gEmKCe35GMq/O7xaYwm12rNLcVNik hNZRlrqpVIo99JWJzZM2FT1zzNTjt2tAvOzXWhNQTkRu9DTqgkFR1E61pniSfEwk0BfS lcVTcG/wBWgCzjo7N2Ob5MiI6jVu1IKqPpB/8Dvbq0dhcbRhfsda4NPG3+QimRdtpZxg dfMA== X-Forwarded-Encrypted: i=1; AJvYcCXYClVuQMx/FZyEEeKL1Q12AkDOMxqPQMIVgzGvx35O1CLpi6XdXI5+dsHwCicwcTtNdVCFhoAAusegEK4qE/VYfzjVPyt58dGji1DI X-Gm-Message-State: AOJu0YydmjmIPI9briKx+vAJS6XWNT89b5bsXSI1DUgXnZFNkdYxdfkK i5NPhqD0QVA1ai/s4JBogVM6BHVl7UA14hb9VX/+EAkYzmXAdBkr0sg1hGog2m8= X-Received: by 2002:adf:f20e:0:b0:33b:2281:ef32 with SMTP id p14-20020adff20e000000b0033b2281ef32mr566925wro.69.1707981558319; Wed, 14 Feb 2024 23:19:18 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id ay27-20020a5d6f1b000000b0033d06dfcf84sm507917wrb.100.2024.02.14.23.19.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 23:19:17 -0800 (PST) Message-ID: <20a20d63-3968-45e7-a4aa-0197c55e6656@tuxon.dev> Date: Thu, 15 Feb 2024 09:19:14 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/3] ARM: dts: microchip: sama7g5: Add flexcom 10 node Content-Language: en-US To: Mihai Sain , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, andre.przywara@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: cristian.birsan@microchip.com References: <20240214080348.7540-1-mihai.sain@microchip.com> <20240214080348.7540-3-mihai.sain@microchip.com> From: claudiu beznea In-Reply-To: <20240214080348.7540-3-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Mihai, On 14.02.2024 10:03, Mihai Sain wrote: > Add flexcom 10 node for usage on the SAMA7G54 Curiosity board. > > Signed-off-by: Mihai Sain > --- > arch/arm/boot/dts/microchip/sama7g5.dtsi | 26 ++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm/boot/dts/microchip/sama7g5.dtsi b/arch/arm/boot/dts/microchip/sama7g5.dtsi > index 269e0a3ca269..c90e404e8ed9 100644 > --- a/arch/arm/boot/dts/microchip/sama7g5.dtsi > +++ b/arch/arm/boot/dts/microchip/sama7g5.dtsi > @@ -958,6 +958,32 @@ i2c9: i2c@600 { > }; > }; > > + flx10: flexcom@e2820000 { > + compatible = "atmel,sama5d2-flexcom"; > + reg = <0xe2820000 0x200>; > + clocks = <&pmc PMC_TYPE_PERIPHERAL 48>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0xe2820000 0x800>; > + status = "disabled"; > + > + i2c10: i2c@600 { > + compatible = "microchip,sama7g5-i2c", "microchip,sam9x60-i2c"; > + reg = <0x600 0x200>; > + interrupts = ; > + #address-cells = <1>; > + #size-cells = <0>; > + clocks = <&pmc PMC_TYPE_PERIPHERAL 48>; > + atmel,fifo-size = <32>; > + dmas = <&dma0 AT91_XDMAC_DT_PERID(25)>, > + <&dma0 AT91_XDMAC_DT_PERID(26)>; > + dma-names = "rx", "tx"; Please use the same pattern used by the rest of the i2c flexcom nodes, meaning: dma-names = "tx", "rx"; and, with this, reverse the order of dmas, too. > + atmel,use-dma-rx; > + atmel,use-dma-tx; These are uart properties. > + status = "disabled"; > + }; > + }; > + > flx11: flexcom@e2824000 { > compatible = "atmel,sama5d2-flexcom"; > reg = <0xe2824000 0x200>;