Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3343284rdb; Wed, 27 Dec 2023 04:41:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfhLjfxRkdWWMTmWppoSqGMjmBPhYE3LNTJzl7Aa+K0LZnw9jWNQtHHrA74YE7m/HN3//I X-Received: by 2002:a05:6a00:855:b0:6d9:3628:d50e with SMTP id q21-20020a056a00085500b006d93628d50emr13961413pfk.32.1703680874727; Wed, 27 Dec 2023 04:41:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703680874; cv=none; d=google.com; s=arc-20160816; b=rphbsGw7n2QJ0gamZqvrSIWE1HPfGTqvUPy2qBvzBGvX/3+bGqk/qUzxBBriBAufHe iK/A6cDanEHgUmZz6H82K+5CKqOIVRjovUmcmjOCmSwgiVcqZ4bgCD+5+pZoGjrF043/ lSCn2fMbx3imUzTa4BkyjMx+iWPFxWEK1lXeud3d70S5SOvMdAIFriCpK30W3cS64Fdn OLP6gVc6CafGOTCs1ZwBA/zfb9lMiI40LgyOjIqPk5udyNShvek+A2IRpA/CUqTyZmao oumvCysupxTsWD4MMwT+klgSxT7p474GWQK0it/WseY0YivxblJdCLl+QCU+xZDOhoPr 50Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=IobSWW9egD1J6lnzp7nWS1ewez0NIEgra4uxbagq4Ac=; fh=D1JpqTY2zPyAz0WPzxbPhwaajz6BsOtLZlX2mpwV56k=; b=DRHI63OoKx/v5TRel92S8sfO5XHIl7y5N3PgupQNiuWrYdHb3Qw1k/LXf+NecLvFzp R57SIKH/1GhEmciBTOrIfHWAp5BAFAFcwFa+Ff7lDf4f3kMR5dnObLaeacA2pgphceM4 OiQfbBtQbEUyO6+7sAP93HNkuIj7DzL7Ge/qZY7xsfgDdEfG4s4U4pSVwwdj1UfriVc/ sWciDrKgD/6qu+U3v8fg7znBDrGZtQK9jMBnWjoo0JsiG1Aj9i9CxdIKWhKpR0/3zHCH 54Ac3zh12bFdVMIcg5YQBuwfCc46VotsZ6seV4yb1OqXeZt6jyyn0SnW5TgkhgU9SdC8 7NYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jf5SkwoL; spf=pass (google.com: domain of linux-kernel+bounces-12024-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c3-20020a63d143000000b005cdf940a0d9si8548437pgj.489.2023.12.27.04.41.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 04:41:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12024-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jf5SkwoL; spf=pass (google.com: domain of linux-kernel+bounces-12024-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5EDA0280CAA for ; Wed, 27 Dec 2023 12:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BFA744C82; Wed, 27 Dec 2023 12:41:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jf5SkwoL" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 52E55446D2 for ; Wed, 27 Dec 2023 12:41:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-336990fb8fbso3496831f8f.1 for ; Wed, 27 Dec 2023 04:41:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703680862; x=1704285662; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IobSWW9egD1J6lnzp7nWS1ewez0NIEgra4uxbagq4Ac=; b=Jf5SkwoLMAFvf/JGyqZ3KBpNUzPyXmQJ06LQ1rvWGMU9hzLfZ8XyCFB1rAdAL8gy+d jFWpZC/AIBZOtYd30+aMx2mnqvpQx0kEmYXpYaEy8fZl1WRweOyTkwbJPrrwmxZdhNPo 90oojrNuu75rDam/Wh1bx6APpYmwNfkM0U0wGR8MguThR/qZzVCjvYRvcmK43e99CNPA x/LOre6RjPlI0p9VrH/BDPe2rR132UHRzk98QKDsIpmMjvACfl5fNUTB5BjyZQ2OhDpD zOwmCLzIiU+Mq83JxUsYU02PQTs+Wlxb8ZQ3C894sr43aKsBB9xbaq8A5t4+xFgf2QJY 8GAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703680862; x=1704285662; h=content-transfer-encoding:in-reply-to:autocrypt: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=IobSWW9egD1J6lnzp7nWS1ewez0NIEgra4uxbagq4Ac=; b=Qx7hWOlay+lgPv0Zl6LcaJDzewNkjQbuy9Wzl4ZAV9FzCVs928t07PndspClUuLWIh YdrnMrKNmF7F/SNrdQE0zSy3nIMx0Aw0QQpMjbiNPSHsr8vmfd3FExdznUYFV1U39HM3 gKFGshuvRLcGJflusiUdp0vxT7v4oXUUcdchx+FNZGRlHsWGu35kRri1XpNrA6UoLpNx mTiQ7JV23UaAcBghOFaHp0PKQ5FnkSplAu8orpjC/JY02hdWFs5MibTRTlgTxGVzxUHV Kiiv20/D2EWSx9JCIka0fi75Hs1o9qa6GcdFcWrAJVPKmAD7T2Ft6uRx13cWnAvEk7St WVdg== X-Gm-Message-State: AOJu0Yy+x7cu7Z6icYuJRoj1VNsNp1Nb1fWJ548EKMP/Hts8gVm5CP8F 4sUqfjv8cgIII9+imkjq6JKMn713AJOiCg== X-Received: by 2002:a1c:7415:0:b0:40d:492d:c376 with SMTP id p21-20020a1c7415000000b0040d492dc376mr4720648wmc.114.1703680862515; Wed, 27 Dec 2023 04:41:02 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id j16-20020a05600c191000b0040c11fbe581sm24050242wmq.27.2023.12.27.04.41.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Dec 2023 04:41:01 -0800 (PST) Message-ID: <75fd794c-0366-445b-aa69-0975afb247c7@linaro.org> Date: Wed, 27 Dec 2023 13:40:59 +0100 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 3/4] arm64: dts: ac5: add mmc node and clock Content-Language: en-US To: Elad Nachman , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, huziji@marvell.com, ulf.hansson@linaro.org, catalin.marinas@arm.com, will@kernel.org, adrian.hunter@intel.com, thunder.leizhen@huawei.com, bhe@redhat.com, akpm@linux-foundation.org, yajun.deng@linux.dev, chris.zjh@huawei.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: cyuval@marvell.com References: <20231227123257.1170590-1-enachman@marvell.com> <20231227123257.1170590-4-enachman@marvell.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBV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RBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231227123257.1170590-4-enachman@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/12/2023 13:32, Elad Nachman wrote: > From: Elad Nachman > > Add mmc and mmc clock nodes to ac5 and ac5x device tree files > > Signed-off-by: Elad Nachman > --- > arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 33 ++++++++++++++++++- > 1 file changed, 32 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi b/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > index b5e042b8e929..decad14d0db8 100644 > --- a/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > +++ b/arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi > @@ -77,7 +77,6 @@ soc { > #address-cells = <2>; > #size-cells = <2>; > ranges; > - dma-ranges; > > internal-regs@7f000000 { > #address-cells = <1>; > @@ -204,6 +203,31 @@ gpio1: gpio@18140 { > }; > }; > > + mmc_dma: mmc-dma-peripherals@80500000 { Generic node name, so bus@? > + compatible = "simple-bus"; > + #address-cells = <0x2>; > + #size-cells = <0x2>; > + ranges; ranges is second. You have address/size cells, so are you sure dtbs W=1 does not complain? > + dma-ranges = <0x0 0x0 0x2 0x0 0x0 0x80000000>; > + dma-coherent; > + > + sdhci: mmc@805c0000 { > + compatible = "marvell,ac5-sdhci", > + "marvell,armada-ap806-sdhci"; > + reg = <0x0 0x805c0000 0x0 0x1000>; > + interrupts = ; > + clocks = <&emmc_clock>, <&cnm_clock>; > + clock-names = "core", "axi"; > + status = "okay"; Drop > + bus-width = <8>; > + /*marvell,xenon-phy-slow-mode;*/ Drop or explain why commented code should be here. > + non-removable; > + mmc-ddr-1_8v; > + mmc-hs200-1_8v; > + mmc-hs400-1_8v; > + }; > + }; > + > /* > * Dedicated section for devices behind 32bit controllers so we > * can configure specific DMA mapping for them > @@ -335,5 +359,12 @@ nand_clock: nand-clock { > #clock-cells = <0>; > clock-frequency = <400000000>; > }; > + > + emmc_clock: emmc_clock { No underscores in node names. I think you got such feedback before. But anyway, this looks like a fake clock. > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <400000000>; > + }; > + Drop > }; > }; Best regards, Krzysztof