Received: by 10.213.65.68 with SMTP id h4csp88088imn; Thu, 15 Mar 2018 18:06:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELuaP2lLH9V3wZFarlmIeld4qmjuPdyUhvwFBhIj8zELa10IahMPpobtn4BR7BwQS/aI88iT X-Received: by 2002:a17:902:12e:: with SMTP id 43-v6mr10049620plb.77.1521162401867; Thu, 15 Mar 2018 18:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521162401; cv=none; d=google.com; s=arc-20160816; b=hP09akMzaHlkiZZoZJpv3kTTZffwV/O47bFQjVSO9Y0KyQmItZo/wF+DguHDu7E3IB RscHCtHm4aFQzYsyIMjtVUmX6NuwIbAlFwaikFK4FRAlddXYC8oiDzKJbU13pHi+r9Vx 7OsXTvpPdaMyE7wbQq7kwQw9hKthj6rMKORxDkl8zS/jpD+aUX1Z+U7/CkE5cgUMET0V hRsfpU9cDf6gjs0zzcDDkxkFcECOUqXcjSJJf/QHhbobsjnh0Ig1qwGm291RUtdoMEpl 54q0OI4ddwL+7INlZWnujuRSaeE+aHhZY9eFwGOxkRavqPH+W9zixBdlPrETWvYzUbAK 3TOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject:arc-authentication-results; bh=Lnk+WYNpRyzvKtlKCAmQou9vCK6MdS12fyJ86iTrgSo=; b=V6k/ph/v+OHBoHd1CYS8ELfVr9S54pj6Va8f4iK2GpwwboQWwiplTyaQUBaWZ0pT7a JHHxOqhCo7ZZDB4QT1WOZ360MPIB0VRtUw8MOgcQeTQeneCzo+wnjturxpH28pgggrVE KtmBeLhrI3h3+KooDtWQMyxYFJWdunnjvAkPYnMDUWD4SvRPPjRwEA0VC7U8Q1wxlxAz GQ7WLFdFU+CFFDOknKqwTLdgKgmpLT+LVeh6+XRV/lHD3Sfg1yaX2WqtK5e7jL1Fid88 v722T8JP14gfGFf7uu/yf/h1/NqXJTdiM/OMB2p5UZC6+2Ort0NStYOWJJAGOw0QbZhn 53/g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20-v6si5076989plr.352.2018.03.15.18.06.28; Thu, 15 Mar 2018 18:06:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933031AbeCPArz (ORCPT + 99 others); Thu, 15 Mar 2018 20:47:55 -0400 Received: from mga09.intel.com ([134.134.136.24]:33444 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932588AbeCPAry (ORCPT ); Thu, 15 Mar 2018 20:47:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 17:47:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,313,1517904000"; d="scan'208";a="211771404" Received: from haiyuewa-mobl1.ccr.corp.intel.com (HELO [10.239.196.122]) ([10.239.196.122]) by fmsmga006.fm.intel.com with ESMTP; 15 Mar 2018 17:47:52 -0700 Subject: Re: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node To: joel@jms.id.au, andrew@aj.id.au References: <1520399090-2455-1-git-send-email-haiyue.wang@linux.intel.com> Cc: linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org From: "Wang, Haiyue" Message-ID: <9231baaf-e77c-c517-bca2-083070a53342@linux.intel.com> Date: Fri, 16 Mar 2018 08:47:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1520399090-2455-1-git-send-email-haiyue.wang@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joel and Andrew, Have time to review this patch ? Hope for your comments. :-) BR, Haiyue On 2018-03-07 13:04, Haiyue Wang wrote: > The IPMI KCS device part of the LPC interface and is used for > communication with the host processor. > > Signed-off-by: Haiyue Wang > --- > arch/arm/boot/dts/aspeed-g5.dtsi | 43 +++++++++++++++++++++++++++++++++++++++- > 1 file changed, 42 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi > index 8eac57c..f443169 100644 > --- a/arch/arm/boot/dts/aspeed-g5.dtsi > +++ b/arch/arm/boot/dts/aspeed-g5.dtsi > @@ -267,8 +267,40 @@ > ranges = <0x0 0x1e789000 0x1000>; > > lpc_bmc: lpc-bmc@0 { > - compatible = "aspeed,ast2500-lpc-bmc"; > + compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon"; > reg = <0x0 0x80>; > + reg-io-width = <4>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0x0 0x80>; > + > + kcs1: kcs1@0 { > + compatible = "aspeed,ast2500-kcs-bmc"; > + reg = <0x0 0x80>; > + interrupts = <8>; > + kcs_chan = <1>; > + kcs_addr = <0x0>; > + status = "disabled"; > + }; > + > + kcs2: kcs2@0 { > + compatible = "aspeed,ast2500-kcs-bmc"; > + reg = <0x0 0x80>; > + interrupts = <8>; > + kcs_chan = <2>; > + kcs_addr = <0x0>; > + status = "disabled"; > + }; > + > + kcs3: kcs3@0 { > + compatible = "aspeed,ast2500-kcs-bmc"; > + reg = <0x0 0x80>; > + interrupts = <8>; > + kcs_chan = <3>; > + kcs_addr = <0x0>; > + status = "disabled"; > + }; > }; > > lpc_host: lpc-host@80 { > @@ -294,6 +326,15 @@ > status = "disabled"; > }; > > + kcs4: kcs4@0 { > + compatible = "aspeed,ast2500-kcs-bmc"; > + reg = <0x0 0xa0>; > + interrupts = <8>; > + kcs_chan = <4>; > + kcs_addr = <0x0>; > + status = "disabled"; > + }; > + > lhc: lhc@20 { > compatible = "aspeed,ast2500-lhc"; > reg = <0x20 0x24 0x48 0x8>;