Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4309873ybz; Mon, 20 Apr 2020 20:52:32 -0700 (PDT) X-Google-Smtp-Source: APiQypIcN1IjrfM13fuxAq2SCpdHN3hK2SqhNqnXwVhqVfXDGT7TfVyQ4bD8q2WmGm/iifNKJrKW X-Received: by 2002:aa7:d513:: with SMTP id y19mr17539360edq.367.1587441152747; Mon, 20 Apr 2020 20:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587441152; cv=none; d=google.com; s=arc-20160816; b=mxOvlvZ/ydEwMrq4ZU12lKaZmc4WM26PWZ5B3Wc9jNwkHlNgVsDVmFAAArAUX74URU NqkskvBg+Lvux7IfVcv/jHnFRSoMP7h5URM2fNj7uO40+j0Iueit9uI8KMoBVLOTU09l ezylbKrfCMJY8IUwnqPsG7HQvlhg7gqfzOQpMhrH8N2TGxto7R1s4Qv+x9PTsdVRpywZ RZqSmkhs+i21+sfuhLI3hC7XIDNnvZFIvebqGXXYAYbnP2Z+PLX56GOKapPViBMzdoZt pvaXLhpSk7aYLAoDMyGsDkHUfXMnJ/dMFXQGzZGD6KtZhkz2EtlawyahSlWaYnVXYCyy KHQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2hV1J5rzySjiXqdzIdVO/dEiA8ReqToBftvQ8dmSGS4=; b=j+8A0JUYcfRc+2KL+Y1cvB9+Z5CB3dl8rIaNwoj4Y1/4b4ofCro+5/SmxDHG81gQck m7vzdbRlXm8snviQKMuKXteFVDrJ8hRM5pq6meqErpBFi+6CG712Y7rKGCRMyRsxOGG3 KxvgkGdi3YUjtRIxISz46vL8+h3HVFlPyQbJRhNN73qnqsdy1VAt7ZhTr3ROXB5Tk71R caM9y/V0f0SaIX+lt+dYzSJmSfrBgaiwHRCdd1zRyVgp1wXamPE1LLoMMl4NPmJvhK6Y h8meicaMSEkfj8AalfSyQaDs9P51qI3YvxtRPpwgSH9if8EGYu96/SNArXyMzj0Jt7A1 e5WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WWyMs0j3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si914053ede.225.2020.04.20.20.52.08; Mon, 20 Apr 2020 20:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WWyMs0j3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728127AbgDUDtI (ORCPT + 99 others); Mon, 20 Apr 2020 23:49:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:47590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbgDUDtH (ORCPT ); Mon, 20 Apr 2020 23:49:07 -0400 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 91E8420882; Tue, 21 Apr 2020 03:49:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587440946; bh=0D6hYraBu1DbsgpFZCPm8t6r20cXBzyDrsgU4Z9wbZk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WWyMs0j3tGy9ANeQcxvdnl4D2WfDvXmeTx+v/xAjU3v1syDAcRLuG+jTM8pAN9C8c +ugCB2prYMNqzzfI9yUZDDQU/E3+XpLnEbFc8dmEc5PWVfX6iEZUISBELut7DAYoEn qZ6RAUv8WCZxTJmFNfy78KPXTD5Iybr6mKPjsOrk= Received: by mail-lj1-f181.google.com with SMTP id w20so6164597ljj.0; Mon, 20 Apr 2020 20:49:06 -0700 (PDT) X-Gm-Message-State: AGi0PuamOYJ5N702jIpVeGuVmVxHqxl6ilt+TKEKNN5gyFtJVxcigu8E qvJxzyYDWQ1QswIvRCY5kdFgK6jeM+awp9q4yuM= X-Received: by 2002:a2e:9ada:: with SMTP id p26mr8877859ljj.14.1587440944667; Mon, 20 Apr 2020 20:49:04 -0700 (PDT) MIME-Version: 1.0 References: <20200416181944.5879-1-jbx6244@gmail.com> In-Reply-To: <20200416181944.5879-1-jbx6244@gmail.com> From: Chen-Yu Tsai Date: Tue, 21 Apr 2020 11:48:52 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] arm64: dts: rockchip: add bus-width properties to mmc nodes for rk3328.dtsi To: Johan Jonker Cc: =?UTF-8?Q?Heiko_St=C3=BCbner?= , devicetree , Rob Herring , linux-kernel , linux-arm-kernel , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 2:19 AM Johan Jonker wrote: > > 'bus-width' and pinctrl containing the bus-pins > should be in the same file, so add them to > all mmc nodes in 'rk3328.dtsi'. Nope. First of all, pinctrl usage is with pinctrl-N properties, not the pinctrl device, and there are no defaults set for any of the mmc nodes. Second, these are board design specific. For example, boards are free to use just 4 bits for the eMMC if they so desire. So this should be in each board dts file. If a board is missing this property, fix the board. This applies to all three patches in the series. ChenYu > Signed-off-by: Johan Jonker > --- > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > index 175060695..db2c3085e 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > @@ -861,6 +861,7 @@ > clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, > <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; > clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + bus-width = <4>; > fifo-depth = <0x100>; > max-frequency = <150000000>; > status = "disabled"; > @@ -873,6 +874,7 @@ > clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, > <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; > clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + bus-width = <4>; > fifo-depth = <0x100>; > max-frequency = <150000000>; > status = "disabled"; > @@ -885,6 +887,7 @@ > clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, > <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; > clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; > + bus-width = <8>; > fifo-depth = <0x100>; > max-frequency = <150000000>; > status = "disabled"; > -- > 2.11.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel