Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp679517ybb; Fri, 10 Apr 2020 08:00:28 -0700 (PDT) X-Google-Smtp-Source: APiQypL0g0pdvwijlTPOV8uHG7SmCZQggV1KimOAcK2D2J5FtXX635OBd6xiGJBe3tmbXt6VcGhb X-Received: by 2002:a0c:b893:: with SMTP id y19mr5491022qvf.223.1586530827855; Fri, 10 Apr 2020 08:00:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586530827; cv=none; d=google.com; s=arc-20160816; b=j66cQekBcyei4geM+VXiJ09gBNBlk/u4S56uAB4wwBoWpNU0HMlzdSczFXh89QUmYZ WZXypInyaAsYkmiOfFSFeVqxDw86j6huOLaRiPcfjHhvorlEb6/OWL5XAXTjufnEQdzq gKkt9gf+7itItBq6lkK1S1hkeVwXFiQasa2p3UQtzK0oOi5fbzlD6/3d2NMlz27wMaAt 1+Yg8Fh5AVGx7eFT+aXnlWL7rKIjfefsnuXNHDisTOZf6RQcfu749J1yW0T4cZF3dCoc o+4a0ea3yAXlmE2aHNWhJUbwzbW4RyHKFjtilikww4c1n3pEaL1bfNfJRWnrwk027moK l1Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wwUYpU/7X5yET9E0k7z4njhKKJREaX4PccXkT2JZuDY=; b=lhTjauWQSXtL5cyrqoAOaU7Ou+YY2VkVoDuc+thNqMbMWZ7gPRke726y5k+O0/Tf36 E6QynCbTjwk9nbfJujdJavSOFu+w10O/r8CnscXBFgUsdvccb+94Igqho4StWeR5bXqH dFLJ59Wqo0plV3DDvKUWAN/60hM8+FcB/aHZtj4EB/3VmtbMXEyYwsOUFvD8FOQvT3DH sYWcJJ3jFL8Ew0kPBGzfSkmn4azkXbTTXHCS7qqxa8Vkbn5PHXj/8WskS4iPHF+tYU++ fGIMGl8qZf9f5NYYF6sXInlcAGQv66iqOSsQPQMdmB+OuppBwzQy+S8hErCPo62Y1lcU q46Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=cU+DmLkC; 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=yadro.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si1261120qtv.196.2020.04.10.08.00.12; Fri, 10 Apr 2020 08:00:27 -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=@yadro.com header.s=mta-01 header.b=cU+DmLkC; 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=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726663AbgDJO7L (ORCPT + 99 others); Fri, 10 Apr 2020 10:59:11 -0400 Received: from mta-02.yadro.com ([89.207.88.252]:38848 "EHLO mta-01.yadro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726049AbgDJO7L (ORCPT ); Fri, 10 Apr 2020 10:59:11 -0400 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 7DC1F41417; Fri, 10 Apr 2020 14:59:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date:received:received:received; s=mta-01; t=1586530748; x=1588345149; bh=QW/aUtaswxl+za3c1gmqfuAg6QD/Af1ecf/UE38sKEU=; b= cU+DmLkCexDSeQEYeq6DIvlUuef7JmObciJ0QTUk4FeEnTRbT1GR+E1tHtDCTcOX s2c/oLiB/Z8W+P3SGLcA9GLYEgrWEs5Zv2sTuW7sMJqxrVZ0hogLB2lzReRuRSCn 8mtCSPC47LERrb3eBE8OvvR0NNRTxbUOnkItnfe6cvU= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6KlDxzkNWdWi; Fri, 10 Apr 2020 17:59:08 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 8487F404CF; Fri, 10 Apr 2020 17:59:05 +0300 (MSK) Received: from localhost (172.17.14.122) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Fri, 10 Apr 2020 17:59:05 +0300 Date: Fri, 10 Apr 2020 17:59:04 +0300 From: "Alexander A. Filippov" To: Andrew Jeffery CC: , , , , Joel Stanley , Rob Herring Subject: Re: [PATCH] ARM: DTS: Aspeed: Add YADRO Nicole BMC Message-ID: <20200410145904.GA15615@bbwork.lan> References: <20200406101553.28958-1-a.filippov@yadro.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: X-Originating-IP: [172.17.14.122] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-02.corp.yadro.com (172.17.10.102) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? All other pins are wired to the ground.` Alexander