Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp858391ybz; Wed, 15 Apr 2020 20:58:00 -0700 (PDT) X-Google-Smtp-Source: APiQypKeLy4nJGbyN5qeVlNhLsUKEdwWSNIKgpNmj5x4HfM1/5tAtTsmqmKsGeK6Uoks5GwBpThf X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr15949645edx.221.1587009479844; Wed, 15 Apr 2020 20:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587009479; cv=none; d=google.com; s=arc-20160816; b=j9H77CPnIiZCqoOyFIHDjnFuEEk9dBY9hlhg+n696O6HsdW+tAvVLUMgPqOMbRaozS +Bqt7cfcFoa0A74b4g9cPfWWrO1oZyP5ePKuCAqGzEgaIgj/7JxkFJpYuYYi25wW/4be 70rIYhmzzJ9jUkEsrDMvZskGOYh2XDkc4pOvpjYsqIQYoIPw7EWpQmj6yW/n7BkwXNSG LoDm+LFY/xRC0qQ87B8SMCNu3YFjXscsCmxwWO0AuPdzVErMo9dIP6hx2X+48LHoX/m2 MM2aIOa5R9rlCq3JHJ0ySaUoAHvkndciNWAr1TAl6FU7AYjH7t4Hfe5ip4NBOh8YEsuM GvcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=YIfc6yIC2BLuseO1/P1Gj+zOdgsgiLgpvWs+B1qmSOI=; b=em5div11+SIjNn6+Wp1WDYN2Ysyp86OcEsmrKIG+rL1JpmCqFKE2JbAmJ0GOoHQlK4 yXDJO7F2zTkeWTbZqdplnXg0fZTbkrhqABHFiHLVlaXpo3+X2l5sEsFV0k9OMmazQrdl uzYNbBu5/w2mu8FQskDFMoOsZ85dPEYkOuX+rclGYpS88m9f/ux3cGIywRqkParQ2/xc Gy/S78RRgkN6G+xx04qt/4So5fzubobZkO5JOQppIgFfzGCKd70hugG4zzd0AYDfwErC 5u7UTzYHfCq1vpLYQK2s35x8iFiO5246U6K8TGLgwxLnEF4lNntI5iODYPJmxsni9jNe 5ErQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=caX+Ir0i; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=ROdAAu0G; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do17si12741652ejc.266.2020.04.15.20.57.36; Wed, 15 Apr 2020 20:57:59 -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=@aj.id.au header.s=fm2 header.b=caX+Ir0i; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=ROdAAu0G; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403919AbgDPD40 (ORCPT + 99 others); Wed, 15 Apr 2020 23:56:26 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36717 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728187AbgDPD4Y (ORCPT ); Wed, 15 Apr 2020 23:56:24 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D06EA5C0111; Wed, 15 Apr 2020 23:56:23 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Wed, 15 Apr 2020 23:56:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=YIfc6yIC2BLuseO1/P1Gj+zOdgsgiLg pvWs+B1qmSOI=; b=caX+Ir0iipoGQK8AcRu9Yfc1lvZAF1n9JoP6T4MvnqeLaKX HR9/HEKpWI8t6cnw7aTA8fqsHTX/IwOiwGaiBkc8YeIsKEJXO9t3CwEfi+Ayr3+g eX7JY04CgxPj43j9pZKIlUhohhtpPTuVaDVJhC5gMmJ6F3gfhiNYarcrHiLjyAyF bjtScbc4EPxMLNSCABpuJteo7gi3HqVJIh0AP6O4CkNFR/QEkeiH07851JZI3PPQ zSdXDJOfl6MrITX3Pm9HtEIMRnBTJVyFnO8meBpWgPZC3OZzKa/dbJihje0ySs2z ROLbSPSD1muxdOVqO3UYf7VYPJ+0o0VfL8rOhVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=YIfc6y IC2BLuseO1/P1Gj+zOdgsgiLgpvWs+B1qmSOI=; b=ROdAAu0G4mF9TsBznYXtRB FIItH/jON2fNCy1T1Y6SRk/sPlygCJQfGveqZtmk+iczKgTrdF6toMqGOepTwXS/ He+ROWpzpJqJK/BFadKVTCcK04hntiWuOX3m6/xA+9uan6jAdM+YKwiZSrzhNo2R VPziuou5PvZfceFhFQR565RaypOB3MyyDHJmf9oDpZZ5C9Y8EgT4t66KpecA0GA8 nxgWSocEjI5TdTG7PJlS312LTeqrUvQRsiNGkiS4JCD0LlnO3nr+4ea4yrjCyxw/ 97aCgCTNOz9oCqRRQGeL7GvD9ptlqsz14n0oUOcupI1wOo+xqVl3EAaDnWJwR+HA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeeggdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucevlhhush htvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghj rdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 98BE9E00B9; Wed, 15 Apr 2020 23:56:23 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-1131-g3221b37-fmstable-20200415v1 Mime-Version: 1.0 Message-Id: <2a546e5b-5a5e-42e8-a201-67cd9063249f@www.fastmail.com> In-Reply-To: <20200410145904.GA15615@bbwork.lan> References: <20200406101553.28958-1-a.filippov@yadro.com> <20200410145904.GA15615@bbwork.lan> Date: Thu, 16 Apr 2020 13:26:50 +0930 From: "Andrew Jeffery" To: "Alexander A. Filippov" Cc: linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, "Joel Stanley" , "Rob Herring" Subject: Re: [PATCH] ARM: DTS: Aspeed: Add YADRO Nicole BMC Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 11 Apr 2020, at 00:29, Alexander A. Filippov wrote: > On Fri, Apr 10, 2020 at 02:29:47PM +0930, Andrew Jeffery wrote: > > > > > > > +&i2c11 { > > > + status = "okay"; > > > +}; > > > + > > > +&i2c12 { > > > + status = "okay"; > > > +}; > > > > Are you accessing devices on the busses from userspace? It would > > be helpful to comment here why you're enabling all of these busses > > but not describing any devices on them, if it's necessary to enable > > them at all. > > > > Yes, some of them are unused and may be removed. > For others I'll add comments in the next version. > > > > + > > > +&adc { > > > + status = "okay"; > > > > You should specify the pinmux configuration for the channels you're using > > to ensure exclusive access to those pins (otherwise they could be exported > > e.g. as GPIOs). > > It was just copied from Romulus and looks like I missed iio-hwmon-battery. > Is it what you meant? The Romulus devicetree may need to be fixed too :) Andrew