Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4499422ybz; Tue, 21 Apr 2020 01:34:00 -0700 (PDT) X-Google-Smtp-Source: APiQypL7T/39z7PfJHm6w+yBFXR6rPupKF1H3vahBX+E31mMvm74b2ldTZiSbVKFry4ZYSrr7nCv X-Received: by 2002:a17:906:3004:: with SMTP id 4mr928636ejz.381.1587458040559; Tue, 21 Apr 2020 01:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587458040; cv=none; d=google.com; s=arc-20160816; b=D/asUJIbg79c9O5FTTRb/ev6oc2IjbimFXPmIhiWPgkGo98Qwffoh60AJAgHNAzuHr a/RBdBN7BYy5eUxZ77yCaL/ZZSpzevcdKwRhTs4s0wcopRzb/7Ai2pt1hxHH9EdVkbqO rLX8whfv+Ctex/bF4h4Pork6B90zSiLzO3QnD7GTso2Ycr4EdD56kejWu0zD7DUcipjs 4lD3TVgBatqlcBYmT/KpiBD0mz/Z5FLCUVAM5W1wYu/NYODoz7TjcefT8jYCeuLWmXGW aGZejG2esPSpP68/yMDKybtXdl8PWlLTm8c7KV6eFJwiOePfP7SoaeBRBw5R3cP9pyjg Yslw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wuc3jx6PfRbtja5FaljDspMeSZne9nEnpk9fXRv7ORc=; b=kITm7YTkGveUZFN8ioORZ6j9HIkYyGIXEDclACjABelQuSvuuA1ZH8IHcSnKFchEPM qzFduEwrSjbQbAZgRMU+P4gKKf7IKFlc20Svze6XM+BXUj9FrOFwJfOjSeJoO9KvsgGK mUG1TdF9BRMD9K8XMsKDwxNk8p2wt+cjzxb5YHzy8F1Q7xXS62L4UQZsJ4c9sRMm4ANf ibWy5AoWQGKjwY13zo0B6cP/RbwaGz0l5t0Kvgn74eQF6OjwNVk7mXaUPhrQ4dtxdw0y 5Yt9rkGKDdSA5Am26Wb8XF8nGwn6mzk2s/UzwFbPGKO5cbmm1YLDkKaNTjbKUzZvXUaD /pAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cBeTasdd; 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 o30si1194354eda.0.2020.04.21.01.33.37; Tue, 21 Apr 2020 01:34:00 -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=cBeTasdd; 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 S1728379AbgDUIaF (ORCPT + 99 others); Tue, 21 Apr 2020 04:30:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:42232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbgDUIaE (ORCPT ); Tue, 21 Apr 2020 04:30:04 -0400 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 5FAC12084D; Tue, 21 Apr 2020 08:30:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587457803; bh=wuc3jx6PfRbtja5FaljDspMeSZne9nEnpk9fXRv7ORc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cBeTasdd+HGRg0i1aoz0FlXhSMkbkVJHNm1tkH7EIUqH88VFxxEhHaT/HyGtNhADR ql+7BURcZ7j0xbG2ePO7UGVzBFkZP7U1XA81ccNdcmlE+qQNQdg8xn0dBlnmIEtW+R WZpO1nF1wsmSWJIohvDpWcDtVHNIkB/n4RkaPW6M= Received: by mail-lf1-f47.google.com with SMTP id x23so10415992lfq.1; Tue, 21 Apr 2020 01:30:03 -0700 (PDT) X-Gm-Message-State: AGi0PuZ3KuF+M6eEnP1d7iEmmkouAXxWDEAgG58CbqThHeAiBJkfnjoJ Zg070cAbwidlOni4lYde65ld4oSj93n/o0Fu0iw= X-Received: by 2002:a19:f206:: with SMTP id q6mr13560133lfh.85.1587457801468; Tue, 21 Apr 2020 01:30:01 -0700 (PDT) MIME-Version: 1.0 References: <20200416181944.5879-1-jbx6244@gmail.com> <2710874.PL6qFFFsBp@diego> In-Reply-To: <2710874.PL6qFFFsBp@diego> From: Chen-Yu Tsai Date: Tue, 21 Apr 2020 16:29:49 +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: =?UTF-8?Q?Heiko_St=C3=BCbner?= Cc: Chen-Yu Tsai , Johan Jonker , devicetree , Rob Herring , linux-kernel , linux-arm-kernel , "open list:ARM/Rockchip SoC..." Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 4:23 PM Heiko St=C3=BCbner wrote: > > Hi ChenYu, > > Am Dienstag, 21. April 2020, 05:48:52 CEST schrieb Chen-Yu Tsai: > > 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 t= o > > use just 4 bits for the eMMC if they so desire. So this should be in ea= ch > > board dts file. If a board is missing this property, fix the board. > > you are correct that the pinctrl entries are missing from the patches, > bus-width and pinctrl should be defined in the same file each time, > but for the whole idea I tend to disagree. > > So far every board with a Rockchip socs follows Rockchip's reference desi= gn > for a lot of parts - for example I only see sdmmc nodes with bus-width=3D= 4 > etc. > > So the basic idea is to have default pinctrl settings for the settings > everybody uses predefined ... if a board comes along that needs different > settings it is free to redefine that. I think having a default is a great idea. :) ChenYu