Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp583736ybi; Fri, 26 Jul 2019 15:19:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5puuNfppK48XL7PU/JJ0Mpf3cx8PCL5j+5c77y+WWv1+eN4Dc8b7sxfAwxIDALB2HVyFQ X-Received: by 2002:a17:902:7283:: with SMTP id d3mr9313649pll.93.1564179584403; Fri, 26 Jul 2019 15:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564179584; cv=none; d=google.com; s=arc-20160816; b=EuOoU1rFnzPw0BvNSyksNnRESATlOlTHCV13VyOMGLOgi+ghPiIjdd/DjqsOZi39/Z 143nY42C28vG7O+0cC7lEjJBHZ6J4vXzm2q5h5NnGBfsNir2EuThpqE37aXSK4FJTCFE Nvb3pm0pnuD5z/nNlTYy3cfMpiCOM9upOO/PYOnw6Hgk7Sezp0SbJTyPJtkncZM4utF9 qNRI11ruKcBWKeiX7HuVhGsK5ubZhWWTVT15v/pq/orT28O5do5WUO3scqhVcSMLWa8I YxTKDQQgKxBDx23ShxYaVoWD5OjSPYO5ZZ46fNBWmy6VekgO6zXOrEBNuj4cL4OtnjT5 3MIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=w5qvkxbVeQRptSrkjdufvtkz0a+3bfUfGHCOxd/fQTM=; b=mGeJ+MeoFiv2BLVPQmN7/Cn5y0HLlMMcRzYQo6skHjbYujEJOv645SCy4EPdjeGrPr Rovoc78JlVxpGq7FRoCtRcZAEh3+e5T+SKSy3pkx04iWmhqTNz8TYlK2Uce6p8wRFHMe ipyVfM5gjBo5+dC2akjplGRdOr+bpvvG88U4hPaYUIkuvAI8XtwTlwpJ5bLW6EYgsTga bHi6k1qZKt/b4beKwQpc2h3G9y+xR3c9ZtvhxZ0FokIXyV9XBvttKsZnlMPUNbGAWZFF 9FjCAfzAdNsCeubJgdNXmWzF5BfHNCZqpvQ1prGYSAtItkhW+xjISUQ1S9w1YKAwEV7v NPeg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14si20259441pgm.406.2019.07.26.15.19.28; Fri, 26 Jul 2019 15:19:44 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728581AbfGZRa2 (ORCPT + 99 others); Fri, 26 Jul 2019 13:30:28 -0400 Received: from mga02.intel.com ([134.134.136.20]:49865 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfGZRa1 (ORCPT ); Fri, 26 Jul 2019 13:30:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2019 10:30:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,311,1559545200"; d="scan'208";a="369611738" Received: from haiyuewa-mobl.ccr.corp.intel.com (HELO [10.255.31.18]) ([10.255.31.18]) by fmsmga005.fm.intel.com with ESMTP; 26 Jul 2019 10:30:25 -0700 Subject: Re: [RFC PATCH 15/17] ipmi: kcs: aspeed: Implement v2 bindings To: Andrew Jeffery , linux-aspeed@lists.ozlabs.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, joel@jms.id.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corey Minyard , Arnd Bergmann , Greg Kroah-Hartman , openipmi-developer@lists.sourceforge.net References: <20190726053959.2003-1-andrew@aj.id.au> <20190726053959.2003-16-andrew@aj.id.au> From: "Wang, Haiyue" Message-ID: <89ea7e21-944e-3d89-05b7-2dedb7916fa9@linux.intel.com> Date: Sat, 27 Jul 2019 01:30:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190726053959.2003-16-andrew@aj.id.au> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2019-07-26 13:39, Andrew Jeffery ะด??: > The v2 bindings allow us to extract the resources from the devicetree. > The table in the driver is retained to derive the channel index, which > removes the need for kcs_chan property from the v1 bindings. The v2 > bindings allow us to reduce the number of warnings generated by the > existing devicetree nodes. > > Cc: Haiyue Wang > Cc: Corey Minyard > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc:openipmi-developer@lists.sourceforge.net > Signed-off-by: Andrew Jeffery > --- > drivers/char/ipmi/kcs_bmc_aspeed.c | 156 +++++++++++++++++++++++------ > 1 file changed, 127 insertions(+), 29 deletions(-) Looks good, thanks for the hard work, the code is more clean! :) Reviewed-by: Haiyue Wang