Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4497111ybb; Tue, 14 Apr 2020 08:25:45 -0700 (PDT) X-Google-Smtp-Source: APiQypJu+3BF0yUw0PIIcwks50Eg0Fim+s9KEdgQAVsGix2kO+Yt6R175oVF4zFk1KlRGSURjrhS X-Received: by 2002:a17:906:fc3:: with SMTP id c3mr710075ejk.28.1586877945105; Tue, 14 Apr 2020 08:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586877945; cv=none; d=google.com; s=arc-20160816; b=VJX48SeUAEa5s2Qjt23t8MAPb2EAJwPhYJMqBGJpsu6JTXhqw9EhBz7lpsFuHDT0kd 0LMlshlSKaNnLHvGzy9x28tGu9u9VM8dE3KeqW6R+3qYq2iTJwyIFbyl60wgyztwlXji jexqB3GrXeE71RrEI4KSLcL2t4A14ejwXZWyp8UBZMz3kbGwU11XtWbTP9KkN/Mg6LHX ekpW/o6xaNa1NS3kv6FL1YCtpbVjpAsx8PcxxA6AR395PLpk5oy0lPBX6WxGjetIWnvt M/1nVvBv3ng+OkDjfhjtLue66RXyY1S2+MbAhKWKObye4UegqgBcz6HN8M9zN6ktbRiu dXFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=H1H+WW/rfol3XCr99+J5WEL3zWbHBKA7AHfmHx0QHrA=; b=Kt6laUXqkyP75tDaE79+0FjlNQf4ut6NfTv/XYOL58QaRxg+O8uzjfvYgFzR3uLJFK NZP+zLL3AOvoK1b6RhD5sWD0h/t1YzYFYqegwGHnOwdKV1o3BeDR0S+BrtpWxZDJenbo YkHAIUZMHjPI6F3XEXFswa6i2Z3ObUvB2Bb9n54DnGMEENUYtoNLsHLRr8U7/yzjorm+ p+otQrzsPuM02tHg3ZHgoiziL4N1QLj0YVGQnow8OrBLGV1XvJkYpy39RjdjmPtNPYwZ lWttRx6lOCLLay+XyDdLebgVtnGlDhPw7vi6V4xNm06l16TT/cjxHubhJZB6KPzNsonW bvUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZYG/M7Mv"; spf=pass (google.com: best guess record for 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l27si525713edj.537.2020.04.14.08.25.21; Tue, 14 Apr 2020 08:25:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@gmail.com header.s=20161025 header.b="ZYG/M7Mv"; spf=pass (google.com: best guess record for 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439567AbgDNLpd (ORCPT + 99 others); Tue, 14 Apr 2020 07:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2439532AbgDNLpF (ORCPT ); Tue, 14 Apr 2020 07:45:05 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95B6AC061A0C; Tue, 14 Apr 2020 04:45:04 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id y24so13571603wma.4; Tue, 14 Apr 2020 04:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=H1H+WW/rfol3XCr99+J5WEL3zWbHBKA7AHfmHx0QHrA=; b=ZYG/M7Mv2RWSGdB7XWVJLwSLyM1KyjyOyAfs0l5PvfKAF/NfeSrXtK33UlQq+rFubE BRvv0vA7QQXSsW3JqL9zAlN9/3dMqPpj8Eq4itpJSB4SbUOuxZFzAthjQ3miYsn+SfLY 7YhdSlC6Y2DnoBFYV4YkmtjQAN4sq/PplVYxPMUbjEt9DFXbRLbqL3s9qftHjsVwy4oR OjgRKMZQY0luC92TIO8UwzayBEblh3B4uyPpMk/4OLLp0mE8z+ciUxb8viesohCqxkv8 qIM95iwTmYHxCugZrUp05M/ypr/Xs2d9AYlV5QT9Sd3bdtc+wB46oDSZNM3r/Fi6kYGK qyqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H1H+WW/rfol3XCr99+J5WEL3zWbHBKA7AHfmHx0QHrA=; b=ksHS/BTLZJeyg7eDqKKshBV6hG6zDnT5v9R/Fk2boCk1KScsG2+g7pNmiv8PyJoPjg ZCEG+ViEQXgXIQGU4cEAN+KdNdjHeSwUAF05H493ot0IMGoH8ox9Qrj6zsbDGl+V+6JQ 1LQJXZFyZgn4vNFbhWEX4wGAxS4GBX0vegDmPjZgkJWzJW078J6ij19ciuocsBspWts1 vK9OdTyKpt5vlN1qWxrmgSgVFBGyK2nxo+TkmP9xd9X74k5u7u82PFxGvHAn/e8sJwby eD90PLplAAI0jgd7APWumhr5wkSafzAButJCpqkD2ijLq+MUnPGMZToCUblCudNuhHsx srlQ== X-Gm-Message-State: AGi0PubgeWgkzRWHowufX3H2FINgB/gTAhpbGRuBKTWWILN9UGRTXYWP ht5h1+WK4AH0Qu0N+SQuasE= X-Received: by 2002:a1c:ded4:: with SMTP id v203mr23311735wmg.106.1586864703169; Tue, 14 Apr 2020 04:45:03 -0700 (PDT) Received: from [192.168.2.1] (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 138sm19207778wmb.14.2020.04.14.04.45.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Apr 2020 04:45:02 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: rockchip: remove bus-width from mmc nodes in rk3308.dtsi To: Robin Murphy , heiko@sntech.de Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20200413193652.1952-1-jbx6244@gmail.com> <20c81edc-247c-8db0-2b3c-a6c2fcad6b4e@arm.com> From: Johan Jonker Message-ID: Date: Tue, 14 Apr 2020 13:45:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20c81edc-247c-8db0-2b3c-a6c2fcad6b4e@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, Heiko, If the Rockchip DT maintainers(= Heiko) agree that the new line for the 'bus-width' properties is that it should be placed in dtsi I'll produce a version 2. Please advise what should be done with the other Rockchip SoCs. Change them too? Johan. On 4/14/20 12:02 PM, Robin Murphy wrote: > On 2020-04-13 8:36 pm, Johan Jonker wrote: >> The 'bus-width' property for mmc nodes is defined both in >> 'rk3308.dtsi' and 'rk3308-roc-cc.dts'. >> In line with the other Rockchip SoCs define that in a user dts only, >> so remove all entries from mmc nodes in 'rk3308.dtsi'. > > Judging by the pinctrl entries, these represent the number of pins > provided by the SoC itself. Obviously boards need to override that if > for some reason they don't wire up all the available data lines, but it > seems backwards to have every board restate the SoC's default value. > > In fact, having brought it up, for this particular case the pinctrl > setting is inherently related to the bus width, so having one without > the other in either place doesn't smell right. > > Robin. > >> Signed-off-by: Johan Jonker >> --- >>   arch/arm64/boot/dts/rockchip/rk3308.dtsi | 3 --- >>   1 file changed, 3 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi >> b/arch/arm64/boot/dts/rockchip/rk3308.dtsi >> index a9b98555d..130771ede 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi >> @@ -587,7 +587,6 @@ >>           compatible = "rockchip,rk3308-dw-mshc", >> "rockchip,rk3288-dw-mshc"; >>           reg = <0x0 0xff480000 0x0 0x4000>; >>           interrupts = ; >> -        bus-width = <4>; >>           clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, >>                <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; >>           clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >> @@ -602,7 +601,6 @@ >>           compatible = "rockchip,rk3308-dw-mshc", >> "rockchip,rk3288-dw-mshc"; >>           reg = <0x0 0xff490000 0x0 0x4000>; >>           interrupts = ; >> -        bus-width = <8>; >>           clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, >>                <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; >>           clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >> @@ -615,7 +613,6 @@ >>           compatible = "rockchip,rk3308-dw-mshc", >> "rockchip,rk3288-dw-mshc"; >>           reg = <0x0 0xff4a0000 0x0 0x4000>; >>           interrupts = ; >> -        bus-width = <4>; >>           clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, >>                <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; >>           clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; >>