Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2769301pxb; Sun, 24 Jan 2021 20:18:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJz///gLqS6dcdRT1b0trbPfoUPp8bsrw7wmt6lkiGCJrM6lt7kRoArwvP8ihyrlpvR3Xbjo X-Received: by 2002:a17:906:c453:: with SMTP id ck19mr307025ejb.440.1611548281743; Sun, 24 Jan 2021 20:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611548281; cv=none; d=google.com; s=arc-20160816; b=t3fmdLyQe7jBmDnU0N3iNIJu4OzhzbpSwO8rNpNuu8VxrHGz8YYAHt2HCafUyXwP00 j+Qp7kzTBAKrlfeyU2c847bcwcT3t9pIWMoUktkfDfcME+gAFXBJe8CrwGWXAskVQyup PbztV8fVjj+8M2oPml5AQRYJCA/1b++fd9hKJbD12CzGYjF+K/W0hrQURzzmVpyCFDUD FMQeeIyd43xW3KIIUwaIc/nX+ceZTgGMC9qCPdLz0TZiElGSfvgoKEmqGx+oV15kC6SR rkQMzoaRMrT+nVeyU45C5VEpjQpZUCxGFt/1mGsR9CcnEF+oEoGarliAQR+m6cOeVqkf KDrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=GTLpuJENuXu/9veLzAJYxFan+D7b3di4Fck02B7mcmI=; b=Be4vgYeuQvV2K0563KbjEF8nkKAIQdim6I3pbGO9LknI820w2iGu4z2fDslSSzjb6r wWabQ3bzWRNzqvQLCL72Ut2vGLDPsR3WduuA9IIRk4yDscQ3Do7tdGaCQzSsdLACAHL+ 0mxjs1BeK4iA2BdTT8zpFjTFRZ4IpmUrw7U1wTJL/nuVb0CLlDtjSMv0J8WlYiDVwXfB FxuhwmId3z99pfQ5c904Rz80lgn2tNF605klrCfs6viVXNjvPPEdSkXoX1LmqzPC/t9a drQXKVl9Nlp1SEf1FWe+CXShrfslE26O+PKT26TOUTJW1P1nxbWyicPpl27jIxgw0JKB uoeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=P6kP2F0M; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VId8n7gq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si4164579ejx.608.2021.01.24.20.17.38; Sun, 24 Jan 2021 20:18:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=P6kP2F0M; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VId8n7gq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726886AbhAYEOF (ORCPT + 99 others); Sun, 24 Jan 2021 23:14:05 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:43017 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbhAYEN4 (ORCPT ); Sun, 24 Jan 2021 23:13:56 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 6ED495807D1; Sun, 24 Jan 2021 23:13:09 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Sun, 24 Jan 2021 23:13:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=GTLpuJENuXu/9veLzAJYxFan+D7b3di 4Fck02B7mcmI=; b=P6kP2F0MHdA2xPLtwetdDp54jp17pVt4kIXzJ/ZqtSKsKdX py1B2DmMZclFKmdLrHK39NqzPIVe9HqxvQfa4jxeHrJyXRKrY8cR+t5LYgXDy27b zrtkon0vOSyA6WLsudV8BQs8BCd9LuK/so3t62zATEKdcgnY88jqw7J9HxhoR/Yk S8OlWW7Djwl39ilIr/ynhSrhz5SbvWnELsUxWf9H+e77RanD6FFIK5ZRoH+ajyo9 zqj8Qc8sHOw/Qt/Tve4zmlGuIEWK5UxeGT83IJz1lKIwhK8VgFYKl0IHnwxxi4Zb c4qwnKE8JzcjtmXJsuLTpNIuHHBTrCJK0yIaZSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=GTLpuJ ENuXu/9veLzAJYxFan+D7b3di4Fck02B7mcmI=; b=VId8n7gqDILYFOWy6nGtOx +1LhbAGWyDmPQmWpKwbPwwW9Af6NQsu6+A+rtJOcj2qAT5lcwLUDNN7Hl3HZYGY+ tASc8XWadVqQd9bvUOp7ynuRf34zVlpBM6CURROXazbhoio+HESwj3mnAUcqc6cV MmGEWMfKOYKwnRlHhrhneE8tAy55ar4s+fS8365XLheRisfeBUHGzJWFkkJl+F6d mTOewDwMR9qRTdUetcUE45GRhnKs92C3jAFO3a4GJ3/UV1vKZlClJDgXZQ6xFI1w qa0K0wW5hqDJfrq9WQhhmpqUMMVr3IxX+LzqpMa3MemwEiFsVDPpXnwPgjMfDStg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehnughr vgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtffrrg htthgvrhhnpeehhfefkefgkeduveehffehieehudejfeejveejfedugfefuedtuedvhefh veeuffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6AA73A0005D; Sun, 24 Jan 2021 23:13:05 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-78-g36b56e88ef-fm-20210120.001-g36b56e88 Mime-Version: 1.0 Message-Id: In-Reply-To: <20210114131622.8951-3-chiawei_wang@aspeedtech.com> References: <20210114131622.8951-1-chiawei_wang@aspeedtech.com> <20210114131622.8951-3-chiawei_wang@aspeedtech.com> Date: Mon, 25 Jan 2021 14:42:45 +1030 From: "Andrew Jeffery" To: "Chia-Wei, Wang" , "Rob Herring" , "Lee Jones" , "Joel Stanley" , "Linus Walleij" , "Corey Minyard" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Cc: BMC-SW@aspeedtech.com, "Haiyue Wang" , "Cyril Bur" , "Robert Lippert" Subject: Re: [PATCH v5 2/5] ARM: dts: Remove LPC BMC and Host partitions Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jan 2021, at 23:46, Chia-Wei, Wang wrote: > The LPC controller has no concept of the BMC and the Host partitions. > > A concrete instance is that the HICRB[5:4] are for the I/O port address > configurtaion of KCS channel 1/2. However, the KCS driver cannot access > HICRB for channel 1/2 initialization via syscon regmap interface due to > the parition boundary. (i.e. offset 80h) > > In addition, for the HW design backward compatibility, a newly added HW > control bit could be located at any reserved one over the LPC addressing > space. Thereby, this patch removes the lpc-bmc and lpc-host child node > and thus the LPC partitioning. > > Note that this change requires the synchronization between device tree > change and the driver change. To prevent the misuse of old devicetrees > with new drivers, or vice versa, the v2 compatible strings are adopted > for the LPC device as listed: > > "aspeed,ast2400-lpc-v2" > "aspeed,ast2500-lpc-v2" > "aspeed,ast2600-lpc-v2" > > Signed-off-by: Chia-Wei, Wang > --- > arch/arm/boot/dts/aspeed-g4.dtsi | 74 +++++++---------- > arch/arm/boot/dts/aspeed-g5.dtsi | 135 ++++++++++++++----------------- > arch/arm/boot/dts/aspeed-g6.dtsi | 135 ++++++++++++++----------------- I've booted a Witherspoon BMC and host with these patches applied, so for aspeed-g5.dtsi: Tested-by: Andrew Jeffery