From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 2 May 2019 10:53:09 -0600 Subject: [U-Boot] [PATCH v2 05/50] cros_ec: Use a hyphen in the uclass name In-Reply-To: References: <20190426035922.20596-1-sjg@chromium.org> <20190426035922.20596-6-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bin, On Wed, 1 May 2019 at 06:00, Bin Meng wrote: > > Hi Simon, > > On Fri, Apr 26, 2019 at 11:59 AM Simon Glass wrote: > > > > Device-tree rules require that aliases use a hyphen rather than a > > underscore. Update the uclass name to fit with this. > > > > This allows device-tree aliases to be used to refer to cros-ec devices, > > for example: > > > > aliases { > > cros-ec0 = &ec; > > cros-ec1 = &pd; > > }; > > Thanks for adding the explanation here. But I was wondering since this > is required by DT rules for the aliases node, do we have to require > all UCLASS_DRIVERs to have name with hyphen instead of underscore? It might be good to have this rule, in case people want to use aliases. Regards, Simon