Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4444040imm; Mon, 8 Oct 2018 22:58:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV63X1V8XoEBR7x8iZwj2kgNf1r5Nl/wjlAkvD5qZhuVr5QQ9FvCd5pqvs6uhWW34qTPHuXm5 X-Received: by 2002:a63:5605:: with SMTP id k5-v6mr24209186pgb.189.1539064689374; Mon, 08 Oct 2018 22:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539064689; cv=none; d=google.com; s=arc-20160816; b=wXhqT7y1sj6MUmpZwTa46pA8kyLUcySj33MQ89SWqp0sI8pI8rTPNaUgtnph3FaQve Rgee4gHQS8VbSsJbGKTXZvQA/WMCgfGqwtvQiXEJjSishnnkrpHGT55MWL37RWVEgLHJ UK6L0tERqp0Vhv1Zkbu0RhuqnQb7Jc5Yr9hfJhGMknIXkskW3+Ii1bdjM4gf43roYrFQ OWXLsjR2zEfe+jIfn13z0mKAUe+PUMnQvRf5X+lXWZ/v8f9IKgxbTCzYK+xE5atTttY9 nVaGafINKUcPiScWrxSC0PIZoYHq4LRklOVD/A8vjJ0WlmSCUtdm3gmA+WAClWQKPFZc /VUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=inzA/yGeZ9aiC3VA2i1tkm+Tkpl7/w8C3is8FRDdUxk=; b=O/zrHJaLrleLMnOZNgcd3d4dLdPNSMUieV1ln5hdZat9grvC73cm4JlsH4iYl+p/GZ marbpEnQpSHU94fyx3mvOgSy88MeTYDX/O88BZq6eNrbC8gQME2Mw+lk1JXxnJQn01OL C2WmKTjOd2+3+q8MttQhyk5HISQAyz0ED2+8c8VukBw6H97fCy0PJGM4+Fa72J5oPEub CbjlJz93TTcs6576fTp+untjAEU0EXR52hPd1oSJw2Py71/Hc+FXp1A8FomHKmJUXlma XaBtvxycdnh5OQmn3d5i0/SVWSkK+0E9w/8/701xFvwOn17+gx/FOU5oy/j5F1VH9ofQ UsPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dW5Bo9UG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s36-v6si20287792pld.88.2018.10.08.22.57.54; Mon, 08 Oct 2018 22:58:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dW5Bo9UG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbeJINMl (ORCPT + 99 others); Tue, 9 Oct 2018 09:12:41 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:39055 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbeJINMk (ORCPT ); Tue, 9 Oct 2018 09:12:40 -0400 Received: by mail-pl1-f195.google.com with SMTP id w14-v6so255171plp.6 for ; Mon, 08 Oct 2018 22:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:to:from:in-reply-to:cc :references:message-id:user-agent:subject:date; bh=inzA/yGeZ9aiC3VA2i1tkm+Tkpl7/w8C3is8FRDdUxk=; b=dW5Bo9UGk275LYTyGf4nmVoR0ggE3MFHkF5jgcqdnUU3jUVa57QlyTOR/TxBxMH9J5 ny0NMuW+FcR1x3Ug+JCS27hLNazQy35SbFkG8cncuh8pcuIXwreq+kGt1PnyPx0QNTR9 G7t6sOYSegG6oFKpRny8Pe3qwEmcaaERzU/i0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=inzA/yGeZ9aiC3VA2i1tkm+Tkpl7/w8C3is8FRDdUxk=; b=eYuULXour0Cs1RX2N2aNcgZuGRVr8ZeESQztSrZn7N9JDGRo7lQiCsit4cL7yJkwm4 TdG9DAHyfY9ETA4miFOSwd/PgmlLOY0DETA5iwlSA6wmZh2U6sVaZ0821RjA09aiwPUJ d/YrEPMa7k8N7SmihMDP6wcdV9k4rsmk5AOUV6NPp77B9Qdp60DhRIcMXaoimeZdd4op 9oGEIhzi5PMpuQN8pm462lFB4hMwgZkvglf0id88VoWQiEbN/7Ca2lIQehZQwv2Pw2hX TRwB+LIhvnK3PrD2yU4jQQwYRe5bCyFMTOI6qNkied63o2WVEgNCbkVzpJ0cKgUgs2qb wqBg== X-Gm-Message-State: ABuFfoj6Yu6b4+1Dlo2IZcjz6PsgzmHfvWUT+IGeoFun5BlF70N6VVT2 V40TKUt89rxLRbEolUJFS6mSrA== X-Received: by 2002:a17:902:9893:: with SMTP id s19-v6mr27022168plp.130.1539064646238; Mon, 08 Oct 2018 22:57:26 -0700 (PDT) Received: from localhost ([2620:15c:202:1:fed3:9637:a13a:6c15]) by smtp.gmail.com with ESMTPSA id d2-v6sm23617607pfn.118.2018.10.08.22.57.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 22:57:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Mark Rutland , Matthias Kaehlcke , Rob Herring From: Stephen Boyd In-Reply-To: <20180925210255.172734-1-mka@chromium.org> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Norris , Matthias Kaehlcke References: <20180925210255.172734-1-mka@chromium.org> Message-ID: <153906464468.119890.12038987094612660933@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] dt-bindings: Add bindings for aliases node Date: Mon, 08 Oct 2018 22:57:24 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Matthias Kaehlcke (2018-09-25 14:02:55) > Add a global binding for the 'aliases' node. This includes an initial list > of standardized alias names for some hardware components that are commonly > found in 'aliases'. > = > Signed-off-by: Matthias Kaehlcke > --- > Documentation/devicetree/bindings/aliases.txt | 47 +++++++++++++++++++ Any chance we can get a documentation update for the devicetree spec as well? > 1 file changed, 47 insertions(+) > create mode 100644 Documentation/devicetree/bindings/aliases.txt > = > diff --git a/Documentation/devicetree/bindings/aliases.txt b/Documentatio= n/devicetree/bindings/aliases.txt > new file mode 100644 > index 000000000000..d64ed1c7eb34 > --- /dev/null > +++ b/Documentation/devicetree/bindings/aliases.txt > @@ -0,0 +1,47 @@ > +The aliases node > +---------------- > + > +The aliases node contains properties that represent aliases to device tr= ee > +nodes. The name of the property is the alias name, the value is the path= of > +a the device tree node that corresponds to the alias. The path may be s/a // > +specified as a string or a phandle. > + > +Alias names are often suffixed with a numeric ID, especially when there = may > +be multiple instances of the same type. The ID typically corresponds to = the > +hardware layout, it may also be used by drivers for a stable mapping of > +device names and hardware entities. Indicate the numeric ID is a u32 or something like that? > + > +Alias names > +----------- > + > +The devicetree specification doesn't require the use of specific alias > +names to refer to hardware entities of a given type, however the Linux > +kernel aims for a certain level of consistency. > + > +The following standardized alias names shall be used for their > +corresponding hardware components: > + > + bluetoothN Bluetooth controller Can we use syntax like: bluetooth to indicate that is an unsigned integer? > + ethernetN Ethernet interface > + gpioN GPIO controller > + i2cN i2c bus > + mmcN MMC bus > + rtcN Real time clock > + serialN UART port > + spiN SPI bus > + wifiN Wireless network interface > + > +The above list is not exhaustive and will be extended over time. Please > +send patches to devicetree@vger.kernel.org if you think a hardware > +component and its alias name should be on the list. > +