Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3031163imm; Thu, 24 May 2018 21:35:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpLbUFE7fcbDcWh0YeFIW6psRfBRnkFT2IPcMSjxW42DRC3zRJWcoTjWnaTD9B7Ih9OdIgJ X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr922251pli.335.1527222913995; Thu, 24 May 2018 21:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527222913; cv=none; d=google.com; s=arc-20160816; b=yRPx6YuwAVNGsWae4c6Qs5i98QV77ByU+kpmDn1qGIrACqx3owxIVN18jXqhmf4mdK Zad+qN6gqqOwk0lBbV+HX3eZH9BTd1shrCOghMg2dI4bkqSGCpBRpe+PErUMiop0Cqk5 perl0ScP1YQp+XEC7l09YukkzQ+ni0UHT1mY0vdP/6xszReuD44kkSRtcn6aY/4Vd0C1 xUfcTU4limbxzvg5RpAyYfTytdXnnXBt/swUdO6EfTHdNwG3SUL0OoyhCqijG+2gDOOe fjV6APbpoymA/xV565wGYYAYGsQFELwio2uj9rNYL8aDg+SUXFiYFqLaS/Kzr5suxGyo En8g== 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=7lbaANwELZjsab4mYG0ylK414kGqqweohhgROmlqMJo=; b=p4yr22KI6MWzT2PeU1v+Cmi9sfay5knH7Sj2AIeuB6NQRaKxl1fTfT4HZ+mgJmQHEZ HtE00rMxr2nLjsP8QZp9iUmDDChMRqw9b35C5IeIVLbWT42ia4GZXXye5k83glL2NK/X 7qPQkH1WXaX5myBPlfwbvO8AkyqKAUrOJdA8Tr0q57Pp2kGbZ5RQMr/NweAkqYBu8hKA SN1EPOTtbKjW5Q9U+TLovA6VkLkRgL82JulMosSptd9jWuD0HiInMySlIKH2gokWmIzf rGpWKYM/Q2movdb3S1XxnKTbsLYjJtwyFaVNHgUfyjm91mBmd6eDwyo18iaCQx1jMWkC qVQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=frm1jpTx; dkim=fail header.i=@jms.id.au header.s=google header.b=JHcXgWzN; 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 63-v6si23247359plf.524.2018.05.24.21.34.45; Thu, 24 May 2018 21:35:13 -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=fail header.i=@gmail.com header.s=20161025 header.b=frm1jpTx; dkim=fail header.i=@jms.id.au header.s=google header.b=JHcXgWzN; 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 S1752398AbeEYEee (ORCPT + 99 others); Fri, 25 May 2018 00:34:34 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:36968 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbeEYEed (ORCPT ); Fri, 25 May 2018 00:34:33 -0400 Received: by mail-qt0-f193.google.com with SMTP id q13-v6so5031524qtp.4 for ; Thu, 24 May 2018 21:34:32 -0700 (PDT) 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=7lbaANwELZjsab4mYG0ylK414kGqqweohhgROmlqMJo=; b=frm1jpTxptKC7s2l6mumijoObUfV8jnkJ21wXwPEEq4vxXpFaDUYb3eJrEhrL/TG4i Zu4G8KnVQcqqg/Z4jmSdJ2HSTF++dd4yUq/Q1Mh3KPkEZfRwQvkSxGDaEKSY0sILZ93U BwHdS8v+DelADgmciB8dVO1HEX1X6irEjwhGNV/3XErM01YfWnmBo3NidESUFy/AQq++ J/cFy2Zegc6Fh3VnkLV748c41DSKuZKW/TvJ4f0d+KNNH6yt4nle48zCN258InmqJvAR Tz63E2WkOzGa+kMWgvDtpoG5OYUcjYndmu3IdpmWG3U+Gx0yd6n8l1GuXC+OksaV3P1p 8nkg== 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=7lbaANwELZjsab4mYG0ylK414kGqqweohhgROmlqMJo=; b=JHcXgWzNa2TGJ6aS2AKqGeOfjb/2tAyOoyaSWWFiV+vLHagEwNcD82jcjxdPFOz813 tPi5fQNFZkbawPMBwxCf3narlDayNhd0dcyRNavlxJG6VZdX3aceelZn7E2Wu7WPWJTc cMPkkyExixIXAEsYwDkZxrF6O5jEH+vrXKvnY= 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=7lbaANwELZjsab4mYG0ylK414kGqqweohhgROmlqMJo=; b=p/lktenASTbivq78otJMyK33PwWmzGcwE/IV7C9zRS2ta8KET3arxIsOOvzr0RqokC N3Hcj5DUqoNNl8FiqZBQC0nJ3U1RwwU3Gay1fnWL08lZwFZ0w9565b0vPfYtWCFPsZD8 iAf9fpGdEAZsHi1VFJKteaWfATWCv6XgVc9rqSP2+0lQyaBsf2z4da0C5gIbgF6Inhzx bSrk6Ba93T/Wthe1dnA0IPsg30xCcz/6jK5/66QU3UyjfpL3zZtUArZ+6OuBc+4rqk+T cV6FlCMLaKF7gqYoZqdFijmE95+IU/KZQxNBwOuKapHXPVPltyOE1999pF3xMY1qxww6 DYiA== X-Gm-Message-State: ALKqPwed5N1fvM05oVs4uFZpOr/sCyWfiI5Mnnre5GuSnYoKyEX99ZVg Woe4qlTVpfpL4jABtB9KPQtvxhkaW/zzQNz7O8aZcw== X-Received: by 2002:ac8:96a:: with SMTP id z39-v6mr734592qth.106.1527222871976; Thu, 24 May 2018 21:34:31 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac8:184d:0:0:0:0:0 with HTTP; Thu, 24 May 2018 21:34:11 -0700 (PDT) In-Reply-To: <9231baaf-e77c-c517-bca2-083070a53342@linux.intel.com> References: <1520399090-2455-1-git-send-email-haiyue.wang@linux.intel.com> <9231baaf-e77c-c517-bca2-083070a53342@linux.intel.com> From: Joel Stanley Date: Fri, 25 May 2018 14:04:11 +0930 X-Google-Sender-Auth: bq7LhkVQvbOW32tVHyS_1sjxhuk Message-ID: Subject: Re: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node To: "Wang, Haiyue" , Andrew Jeffery Cc: Linux ARM , linux-aspeed@lists.ozlabs.org, 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 Hello Andrew, On 16 March 2018 at 11:17, Wang, Haiyue wrote: > 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 Do you have time to take a look at these? The device tree doesn't make sense to me. Cheers, Joel >> --- >> 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>; > >