Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3315406pxb; Tue, 19 Jan 2021 21:14:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJztwNCkykMye1sjqKXLEgdJCHUe5tml/VXwlBdyLnwiDWjAYdodri3XYIgEaP/SePDnLBTs X-Received: by 2002:a17:906:a848:: with SMTP id dx8mr5004072ejb.37.1611119650228; Tue, 19 Jan 2021 21:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611119650; cv=none; d=google.com; s=arc-20160816; b=ziSXaUEswW5vSOaKRnQ+KJOdrZYNIOtFX8O2okzN78XZuQasPVKtfQUiQ2bf4lUFAp NhgqhBJbNSRNrL4arG1h53XoGVRuboAhX2nUxVnLHuxev1Lo8WayteltN2oRD+iajMXB kjnOiUmIaa+Cge+M+Qc/X1XrVDQsxGsktVlqJ7ue2MV/Hrs5GDayyQm0+KGWcSgk6ANF g9din78G8jjUgOap4d6/ut+qNaAy8XP4EBLrhaOeVAH2uNuVXpolE4kIXdPx0swEkz1V juUg0YdR93OS9khyR+iXpkYF312KSVCDSnfmgCDuK/FBRpqeTHuzGDBhSVhgUj300HPc gcfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=ZZ+Isl3JErTgVYzHxSVJeJQJkE/efLPrQzoT7Tl5B4g=; b=usURD0d4TE8FySw0/0Zvb2AsF7Rj19FUIyJnAMARGO4HqKKO0D4cpr6OxQ8QtlgpWT Pk7vejOLj4psXOsXHOxVA35e3TG5v3AeCtL1RxUfma2YXKrP82jfEAbXiupRk8k9Xzxw rHatFAJ9BEy6/M8NMaPx1tGzqh3RL/LYeQVyY22+66ap3dM0nx37FLG0dZXp7sEifOg4 S/Jz6Eq8ikX7kcDhO2S6HbWMcLKP++4SMjbqbOEeBpnd4CyETmKweIzPjxBBCzOCtOtM aU/Pwi+YeA3DNEvh1Ygps7vE2Ut2wTOQs605UCfYjiu/ISmayDJ2/KweKBUPZiTA2D47 NS1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=Wv0+9VAT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WPZH20IU; 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 h18si314021ejk.90.2021.01.19.21.13.47; Tue, 19 Jan 2021 21:14:10 -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=Wv0+9VAT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WPZH20IU; 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 S1729245AbhATFNO (ORCPT + 99 others); Wed, 20 Jan 2021 00:13:14 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:58435 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730654AbhATFMX (ORCPT ); Wed, 20 Jan 2021 00:12:23 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 94268580655; Wed, 20 Jan 2021 00:11:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 20 Jan 2021 00:11:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=ZZ+Isl3JErTgV YzHxSVJeJQJkE/efLPrQzoT7Tl5B4g=; b=Wv0+9VATtvODiO3qBH20SgMuFIRd+ SnkoQopJ4jVTvH7dMgCCJNK7QNFkU/7R6tYsQ8OO9lpFM1VwNTATe7JXFS+cADbQ F9lk9hielYRT6zZFsZNGizoH99rc/PYkyVUwfoN0RlUAQL/Rn7BAFxY45zvbZM/u ZjCciRMBm4z5irbaIxCaMXs8Rw194GA9ru4GEf+eK3dkMyuBO4sbGLMRD7rNen7m lmQNlcpvg8GelSdtfPMOqPcIS1t8ns/DhEXXB/7H/8ptEOjcCSPi/7xDIZ88j3+X Pj/yz26dkURlJJ7L9by6dZEqtHZInjh5l7b557c9xulqLYbvMOFZYPBlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=ZZ+Isl3JErTgVYzHxSVJeJQJkE/efLPrQzoT7Tl5B4g=; b=WPZH20IU Qoj04uldMWmsW8AyTxqhEICyVTxbyHmxvI41XwOg27ZSu61j9WVQkzUPsmVTbCmg LWHd7TR1YqHV/vlb1GpO3WOTbzUFMcT/STFflkdIVxekjC4a09P4jxi+xKHcZYvs ve6Rh6u2EZsxx8TvbHsrEep1Qao4MRAQJlC+xoG89cGl2gmpoUpckgEmWyC6irzR GvG40jWKdNQOtP4AAR8e53lci42fy70lK4UjLB9DTuG+bFOUEb+m3Rpct3mQdVj0 snEqrewmLENA9FgrLl/awPIcNe8Hf9WtgmEgttVd54i2VysF5GggK9y6792Hr4Rr xOQX6mfl6B/21A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddugdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetnhgurhgvficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghj rdhiugdrrghuqeenucggtffrrghtthgvrhhnpeejgfdvveehteekveeggeellefgleette ejffelffdvudduveeiffegteelvefhteenucfkphepudegrddvrddutdejrdeggeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfi esrghjrdhiugdrrghu X-ME-Proxy: Received: from localhost.localdomain (ppp14-2-107-44.adl-apt-pir-bras32.tpg.internode.on.net [14.2.107.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 04FBF1080063; Wed, 20 Jan 2021 00:11:10 -0500 (EST) From: Andrew Jeffery To: chiawei_wang@aspeedtech.com Cc: BMC-SW@aspeedtech.com, andrew@aj.id.au, cyrilbur@gmail.com, devicetree@vger.kernel.org, haiyue.wang@linux.intel.com, joel@jms.id.au, lee.jones@linaro.org, linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, minyard@acm.org, openbmc@lists.ozlabs.org, rlippert@google.com, robh+dt@kernel.org Subject: [PATCH v5 5/5] soc: aspeed: Adapt to new LPC device tree layout Date: Wed, 20 Jan 2021 15:40:56 +1030 Message-Id: <20210120051056.712222-1-andrew@aj.id.au> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210114131622.8951-6-chiawei_wang@aspeedtech.com> References: <20210114131622.8951-6-chiawei_wang@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Add check against LPC device v2 compatible string to > ensure that the fixed device tree layout is adopted. > The LPC register offsets are also fixed accordingly. > > Signed-off-by: Chia-Wei, Wang > --- > drivers/soc/aspeed/aspeed-lpc-ctrl.c | 20 ++++++++++++++------ > drivers/soc/aspeed/aspeed-lpc-snoop.c | 23 +++++++++++++++-------- In the future please do separate patches for separate drivers, but for now: Reviewed-by: Andrew Jeffery