Received: by 10.223.185.116 with SMTP id b49csp4596511wrg; Tue, 6 Mar 2018 19:58:03 -0800 (PST) X-Google-Smtp-Source: AG47ELux0wESRhT/wf06Bjb6EWEeMhiuOXPtCWcSyZcoBMjNVCXX5rE9I7WMKsY9wbUVX5XjhxZc X-Received: by 2002:a17:902:7b95:: with SMTP id w21-v6mr10287531pll.260.1520395083405; Tue, 06 Mar 2018 19:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520395083; cv=none; d=google.com; s=arc-20160816; b=RFYieCQCLlVc0wiYRSVKWI69b6ozzOyB1+olh+IVyH+WpOIVGjSu/eEq4ohv+UDPVL GF+5TU9+YucWjpbKGJ/s0aaMYSpvjhfmIAErfrC66LbIYznIsnPAqY38gWvZMmwlsBvm vDlWbyir1Nzgz49AAXFJiJ078QDJB6fUrksJfd+wJkZgn+q68iiqH6c0gXk/H0x4g5rl a2nTaJnCT/EOJ5+2AV+JogXk3ATcsKT3ncHOzLj9VfWitZiDjjFgnx4lxy+/8WrqB8Up 9PUeSvYpwZTNNem342/ihNenZtAqt1eTHRyYIFObVT9y4KHVTyk8IAQZ+YYF4cTMUecy vpxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=witsfSDPkJjOBc21sQZVLyRmhQFcQ/sna/Uvs6FCJvE=; b=ZWfeGSeVqFOs/k6wt9Lx+WUTCXB3NeYm+eHLmkdgxSX+M2hI9c0RBc2qS12kJSIQbQ krwPVzxmnQjHMxTX+ju6EysD3jhBqp/S47vfOo107iLjcsBeaRvu2gNt3oLtbxfs56x0 yIFXdx+3Pbnlt98nTLiPEJXGlNv+wjfT60X9qOTnoHp3YXdMvO7BcaOvUzUiYI71rpk8 CmEEqt+6KeDPRAfogqpmh7XxfEPuQq9zpe4Dej9UxDfwY2vGCz0RbZawCJac/x3GTdrp 08i5eOhO7T7NAOdXT/j9Wa8PAJeWrNveFIoVAwCELl0P7A8/8Wn7jSL0AM7VwcjfbpoX VY4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JkCAfRc2; dkim=fail header.i=@jms.id.au header.s=google header.b=CxsmodQF; 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 l4-v6si12207750plb.68.2018.03.06.19.57.48; Tue, 06 Mar 2018 19:58:03 -0800 (PST) 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=fail header.i=@gmail.com header.s=20161025 header.b=JkCAfRc2; dkim=fail header.i=@jms.id.au header.s=google header.b=CxsmodQF; 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 S1754003AbeCGD4b (ORCPT + 99 others); Tue, 6 Mar 2018 22:56:31 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:34371 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753940AbeCGD42 (ORCPT ); Tue, 6 Mar 2018 22:56:28 -0500 Received: by mail-qk0-f193.google.com with SMTP id l206so1114532qke.1 for ; Tue, 06 Mar 2018 19:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=witsfSDPkJjOBc21sQZVLyRmhQFcQ/sna/Uvs6FCJvE=; b=JkCAfRc2OP8pxRep/I4MJ6brTyOCMVtCHXxrA9Kn356142kAhhhfnwye+XggmjUiL2 JsTnBHZuno0ntgPX2OS3LJ/vVmZ+TbMxTDn6TlNKCbUauVnw2NYMc+i30loVAoMoGlgr fkP/M15SEtYr9XalWf1zDr0ssZdrLLLtHhKQHZ/4S3pCXCpuwy9zlIxbmnEmHt+HJQt0 TLeXPMjNZH40m9WfTl3bX86KauSznwC9H95wyHVDUHo1lvnR5yXzJLx8apUl/dvZ8uFE S/ytJJIpUXsz66erT7/eTMnd/IXBZFqXPou2Hpj1PB/a0MwJczMEzEga+CZWPxAXGkLQ jWDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=witsfSDPkJjOBc21sQZVLyRmhQFcQ/sna/Uvs6FCJvE=; b=CxsmodQF0AEOMoMNZ1m/098Y92NlF3N8l/h8bzIfrYt4RrpHj94pXdY7nSPYPbWCkT DhjBnXMdJVvWLbbwrcmZSYOaERmMTSD4zH3JjgEFUmb90AhnPTH1ey026HjfirUddFrd xT9VK0TTVTyYRGlbm9+veqiz7p/4AuGIOCEjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=witsfSDPkJjOBc21sQZVLyRmhQFcQ/sna/Uvs6FCJvE=; b=TWiYpABS626Pl1XDVuzUomqjl4LMeC4uU0cMGg5+dsPEyVqj83kIxX0T/FJv8XOGCK 7eoOo102Je9kUUxW//69QACoYEPCY8kUhe1Y2lCvjmDQqMpRO1xa784S+0degCJc4eNd B5wk907lAT/x6GNKZE60IyBu1nMpVucbIpXvcgVsFBfR++Inr5ffsJgmSrzD42XYblXn ybMrzcGBYffHqo/A5LBIUPp8P2gl7a/ZAYi6o1N0V/m4XFQSQJ4vb3WnsLCyUn2POtSh 8ISN+fmtmhBHWT7ngj1yHk9Fj6qFnXx8Of6KXOhsrtCT1x4WgLqvAB5aqmDXO/IItKto gr2Q== X-Gm-Message-State: AElRT7GKV8EoJ26epeOHXVldtXDkz1lB1VbO4ZbX236/UsZwxJv+JnQy Jtl9H4uxCFp2az7TOnbBECC2QtZa3HUwVHvjR/mEqczy X-Received: by 10.55.139.133 with SMTP id n127mr31378746qkd.231.1520394987091; Tue, 06 Mar 2018 19:56:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.50.69 with HTTP; Tue, 6 Mar 2018 19:56:06 -0800 (PST) In-Reply-To: <1520139829-10672-1-git-send-email-haiyue.wang@linux.intel.com> References: <1520139829-10672-1-git-send-email-haiyue.wang@linux.intel.com> From: Joel Stanley Date: Wed, 7 Mar 2018 14:26:06 +1030 X-Google-Sender-Auth: JFWb6vOhh5sOhsFMHYqpAMlcY4I Message-ID: Subject: Re: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node To: Haiyue Wang Cc: Andrew Jeffery , OpenBMC Maillist , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 4, 2018 at 3:33 PM, 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 > --- > Hi Joel & Andrew, > > The kcs-bmc-aspeed module has been in: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/char/ipmi/kcs_bmc_aspeed.c > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt > > I updated the device tree node about kcs-bmc, this is passed on my board. > > And the patch is generated by rebasing on: > https://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git > Please help to review. Thanks for the patch. I suggest you submit this patch for inclusion in the upstream kernel. To do this, send it to: Joel Stanley Andrew Jeffery linux-arm-kernel@lists.infradead.org linux-aspeed@lists.ozlabs.org linux-kernel@vger.kernel.org And I will consider it for merging. From there I can backport it into the dev-4.13 tree. Cheers, Joel > > BR, > Haiyue > --- > 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>; > -- > 2.7.4 >