Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1320382pxb; Wed, 10 Feb 2021 05:56:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7XsMld0dyWE6UmB/ZylPJLzgHUHKR2sUQczpdvKVdIliwYteSvIYPImXvorlLx6w93YPV X-Received: by 2002:a17:907:2a85:: with SMTP id fl5mr2965577ejc.554.1612965384506; Wed, 10 Feb 2021 05:56:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612965384; cv=none; d=google.com; s=arc-20160816; b=TT5P3UM5KIv7z3PesC/0931WIdDqq6660L3wTWnq/v+1qsrDeQ8z5pjfvZmGtfobrM FR1Zc+sIncUVydTcohXPHGLqEud1GrtWpSucE5NJzAw1Zr+UMECLadrTMDSqhmr7FAzF 2dHvr+/Tu85di0XTddZb0fEUVXHAelvRsy0rRP4szelA6PZhpWwo4L/zIqREwbGka9sN Yxf2qOIPj48u/ey3tfEMjD/mSMkvY3SXRrghDVaVFP1N5NtVH83UBya2QpgweSBRMWSV fnkmk7Ok0TCxOQTF9eP//g7SWRMlELr8guS40M0nkT9d/C7R3wEcs/Ao75brJVYTybTk wlJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=88kGgGv8EClM4LZqo6zKNNeOmlhAC4JVdhR1keq9wyI=; b=NWzd4dfuqfdG9C2oZbBXozQBK63wvRO+hz7qticiUvBfCHBKD4xtRsf56hXvfsfxr+ FJffQ3gypzhxcXRRhQ6RYygmRXjCnEySVS3bcgvB4NUhUyBt3NF7fU4SaLsWIs8s6pJG KLZCKXEna0RTxjsB7LdCkl2dIqLEnGPFPaNgRe7djvVEEPY1V52DqjkOrJ8ryGw7SBsq G9jheUtbp1fuDCUMOmwrXUGkSbO7s5M12ntqU8Y/FaeTs8DAYEXD9Ig3k7T/J1Zh5Ncv 1eG3JNmWINnVz6HddwTl23eJJUQooidiSMYuomTgaXsorW1RJXHFkzQa0ePoDk0GuYEH urQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JuFE+/H/"; 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 f20si1330378ejk.711.2021.02.10.05.56.01; Wed, 10 Feb 2021 05:56:24 -0800 (PST) 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=k20201202 header.b="JuFE+/H/"; 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 S229789AbhBJNyC (ORCPT + 99 others); Wed, 10 Feb 2021 08:54:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:56940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230263AbhBJNyB (ORCPT ); Wed, 10 Feb 2021 08:54:01 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 85B5264E77; Wed, 10 Feb 2021 13:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612965199; bh=yV6TURZhEtJ6Cwgc9q7dRhbULRCstmiM+RHhfwGM2ZU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JuFE+/H/htE9E/JO5D55Z9g4jY9h9NX1qVbDUM8eEX8uBvEEq15Yi6eAIg9CL3UTs dmSgQzaaBxUTBYQETr46T+2eDsMYyHLJayQLZ/RfqnARndQ3ClGdbCNLNe8RFab8Gl NKMj8qtJUfl3h/mBKInuJ3S15ZM3d6sASQDnlqAcB7Bj5YJbz/wC3wqh4HNDk65W1U MMzEE1Q532KBw3uluuTIa/PbV2poQ14K32F1pyV/85SZOyGFlFWbSg2ayghHrk9CdD V3Gf3PJP3XNUn82c8MTf1ff3AVnCD7TFJX0ySGDqM0ru+oZbTnsMGChgjoi9GJFF1+ mmS/2czj8Tnzw== Received: by mail-ot1-f44.google.com with SMTP id l23so1792924otn.10; Wed, 10 Feb 2021 05:53:19 -0800 (PST) X-Gm-Message-State: AOAM53142gQjphtGRhT2WdKJUferF1dwNV6TbTD8dPrnR4bve7rnraoW eQBhVm+RUHC62nzmBunBH9sOg8RLJgOEdS44NmE= X-Received: by 2002:a05:6830:18e6:: with SMTP id d6mr2159421otf.251.1612965198882; Wed, 10 Feb 2021 05:53:18 -0800 (PST) MIME-Version: 1.0 References: <20210118155242.7172-1-jbx6244@gmail.com> <6598201.ejJDZkT8p0@diego> <46108228.fMDQidcC6G@diego> In-Reply-To: <46108228.fMDQidcC6G@diego> From: Arnd Bergmann Date: Wed, 10 Feb 2021 14:53:02 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/5] ARM: dts: rockchip: assign a fixed index to mmc devices on rv1108 boards To: =?UTF-8?Q?Heiko_St=C3=BCbner?= Cc: Johan Jonker , Rob Herring , "open list:ARM/Rockchip SoC support" , DTML , Linux ARM , "linux-kernel@vger.kernel.org" , Robin Murphy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 10, 2021 at 11:49 AM Heiko St=C3=BCbner wrote= : > Am Mittwoch, 10. Februar 2021, 11:34:41 CET schrieb Arnd Bergmann: > > On Wed, Feb 10, 2021 at 12:50 AM Heiko St=C3=BCbner w= rote: > > > Am Dienstag, 9. Februar 2021, 23:25:40 CET schrieb Arnd Bergmann: > > Each board should have its own aliases node that describes > > exactly which of the devices are wired up on that board, and > > in which order. If there are connectors on the board that > > are labeled in some form, then the aliases are meant to > > match what is written on the board or in its documentation. > > Then we're at least in the clear for i2c, serial and the rest ... as thes= e > are numbered in the soc documentation, and all boards I've seen so > far use these number also to identify these in schematics. Ok, that is helpful. It would still be good to ensure that only aliases exist for nodes that are actually enabled. > So an i2c2 is always i2c2 even if i2c1 is not populated. > > And of course doing > i2c0 =3D &i2c2 > would definitly confuse people to no end. I think that's just an unfortunate choice of the labels here, it's sometimes easier to just refer to the node by the full path instead of the label. Arnd