From patchwork Fri Nov 29 00:08:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 180468 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp778329ile; Thu, 28 Nov 2019 16:08:44 -0800 (PST) X-Google-Smtp-Source: APXvYqy6CKejfNOO6LnElmHeNt3t/nxDexvqzXsp79mJXYJ2Mf15obT8scjSC5cnijroYJrbvBcy X-Received: by 2002:a17:906:b212:: with SMTP id p18mr33818487ejz.208.1574986124034; Thu, 28 Nov 2019 16:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574986124; cv=none; d=google.com; s=arc-20160816; b=u78z4Fim0P8KJzMad3uXKdmRoszbSkcACuWo63ULNF4mgmC+cIvxiHT9EVoWxYvyPG Dst4qjmCKM2aem4Amam/LM9kaXmwBx3eGkHOU6sBR1A2qvUq/lxtjTbwfAVK4nUiPbsu YBiCnrJcbI6n6MatPB+WpFwY9exMnB2haMQv4ckDU7DccuWmq0yZ6HqMDo/QE8Qa/Lx3 uff+2FfALznMnDnHZjgHmPzX4up/ACGHSqxoj8gNpJ6naoMGD1FZp1aByx/iIlMIsSgo 9cR8xejCjU3+/6EAplhtV5NyFqh2Py7gX0cPiI8NJmpvFmhxNazB6EBOE8ZfS1ZrCI9s TWsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dpxFtxxgBElM+YJglBfx04/eAo0nvXB7AnoxAb/3UH0=; b=O1qT9Un/tQhP6pFqvTLbAqGLQc4N8fRbX0lnn+q4S+FZT0kFUsaZtah7q5cc7gTO2g +iNLX4CMVytz5UYXu7GezLvGOP5hQF+DuOff4SLlo89+BnMxeFCIBRN7gVISernBmzeS 9VIeYrYBUCR5ixyVWRfhDZPzdoi7tGDVQGMzg3FckKovEsmuIFc84VfPfhG82vKODCSm sFBCaSmI7FPXdcBTn0Qy5lEfgyhHfJIxVq/3XNkJhZrF0+8qY8cSuJAseYCxQ/fiVEYa FebkPFXtoVYUyYPXXUD08Nyp/bB2/dNcjWlJIBzFQ8+4/CGK6dXB1bdo4NI93X5er3IH DIaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hFf8A3Xu; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 r22si3437856eji.254.2019.11.28.16.08.43; Thu, 28 Nov 2019 16:08:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=hFf8A3Xu; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726616AbfK2AIn (ORCPT + 8 others); Thu, 28 Nov 2019 19:08:43 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:41455 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbfK2AIn (ORCPT ); Thu, 28 Nov 2019 19:08:43 -0500 Received: by mail-pj1-f67.google.com with SMTP id ca19so2898677pjb.8 for ; Thu, 28 Nov 2019 16:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dpxFtxxgBElM+YJglBfx04/eAo0nvXB7AnoxAb/3UH0=; b=hFf8A3Xuv+sXyGmJvDCRUD4X5Sxql7d54f08MeyyQc2L2AhMvtWP0mOin+7b8F8KiH 7iykoIqbtUPxSYdOqptxx9NZZUvlvLbM5yeZqgKlekBCyN8Q9AkKk/FhlJZwdmHZH/ne SWx4DbiXDrugh7fr7i2j05qfN0X8NylHkM2dAvalFJXZQqofGgRtAoqeW8Kug5sU4bHG sN+xqwgogDJ4dJOcU0jnJv8fYQnRHAFfYYYek+wjT4B7DQqq6Hna9IWJuaEtFLaZmu7o BJaudMXDRGwL7x7zTZ+AoqDnt5k/7EzAAE79vZ1iDWPK93IW/l1UNKBeycwY2macDkPZ dnXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=dpxFtxxgBElM+YJglBfx04/eAo0nvXB7AnoxAb/3UH0=; b=Q2Jnrzu7cwJkt6a2R9a7imD6Vg+NlrkRLhMhXlXOqD79ogrPlPztMjEgVXhrj/uCz2 vqT8QNwM+b+waNYmqWR1QUBM8OMewp8a973TZ4kx/AiK6T7kgw4FNG7Oa9EvMHe/5wJm n2dfUbefZEqIuw6ZXmM5iF4V8yxfoMFrpvl7HhUjELEjnYacQQ5jnFnl1Xj6XV/iO5Ce 8J5MB5ETSZwN9AimVAlUEzGTwlCNgVdkml5OhKNPL8RlKtL9jOjEQ7yly5OqMfHW86s1 349SZDWP1cH0SN1Jav8fDtmW92nJapKeCq69S81p3LWbQfIe1v51JDHwRhfSYZgD31yR oz/g== X-Gm-Message-State: APjAAAVdj3TR9dkF9jKIRKSzhNiMVLwhDqxS0M9eiR2Lw+VNGaRt3Et2 /3TRSXSsBfj5gXslfpTmE8ZycxaOdJAg/w== X-Received: by 2002:a17:90a:d58e:: with SMTP id v14mr16105905pju.142.1574986121012; Thu, 28 Nov 2019 16:08:41 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id d188sm21302075pfa.157.2019.11.28.16.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 16:08:40 -0800 (PST) From: Joel Stanley To: Lee Jones , Rob Herring , Philipp Zabel Cc: Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH v2 1/2] dt-bindings: mfd: Add ast2600 to ASPEED LPC Date: Fri, 29 Nov 2019 10:38:26 +1030 Message-Id: <20191129000827.650566-2-joel@jms.id.au> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191129000827.650566-1-joel@jms.id.au> References: <20191129000827.650566-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AST2600 has the same LPC layout as previous generation SoCs. Signed-off-by: Joel Stanley --- v2: Fix cut and paste error in reset bindings --- Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.24.0 Reviewed-by: Andrew Jeffery diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt index 86446074e206..a5d89aa9a3c1 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt @@ -46,6 +46,7 @@ Required properties - compatible: One of: "aspeed,ast2400-lpc", "simple-mfd" "aspeed,ast2500-lpc", "simple-mfd" + "aspeed,ast2600-lpc", "simple-mfd" - reg: contains the physical address and length values of the Aspeed LPC memory region. @@ -64,6 +65,7 @@ BMC Node - compatible: One of: "aspeed,ast2400-lpc-bmc" "aspeed,ast2500-lpc-bmc" + "aspeed,ast2600-lpc-bmc" - reg: contains the physical address and length values of the H8S/2168-compatible LPC controller memory region @@ -128,6 +130,7 @@ Required properties: - compatible: One of: "aspeed,ast2400-lpc-ctrl"; "aspeed,ast2500-lpc-ctrl"; + "aspeed,ast2600-lpc-ctrl"; - reg: contains offset/length values of the host interface controller memory regions @@ -168,6 +171,7 @@ Required properties: - compatible: One of: "aspeed,ast2400-lhc"; "aspeed,ast2500-lhc"; + "aspeed,ast2600-lhc"; - reg: contains offset/length values of the LHC memory regions. In the AST2400 and AST2500 there are two regions. @@ -187,8 +191,11 @@ state of the LPC bus. Some systems may chose to modify this configuration. Required properties: - - compatible: "aspeed,ast2500-lpc-reset" or - "aspeed,ast2400-lpc-reset" + - compatible: One of: + "aspeed,ast2400-reset"; + "aspeed,ast2500-reset"; + "aspeed,ast2600-reset"; + - reg: offset and length of the IP in the LHC memory region - #reset-controller indicates the number of reset cells expected From patchwork Fri Nov 29 00:08:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 180469 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp778373ile; Thu, 28 Nov 2019 16:08:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxKmVg5VhU8svxIORiFFL+i51lO1jUoc/E/zA7t/A2OkeoVZB97C8DmyJUV3UpWoB7uLP4A X-Received: by 2002:a17:906:9482:: with SMTP id t2mr41030976ejx.38.1574986127183; Thu, 28 Nov 2019 16:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574986127; cv=none; d=google.com; s=arc-20160816; b=bIYgMIl09ti98lUqM1chxOXfMp2eWZlFLWAPsnFkaV8XZFqo8M+EeXTj1zz9cCG3Gx R5AbhEE6jQvxw1IGeUXwLIKlcuwFfmSPtzs7aVE++/7r9ezQ0YPCj5M80Vh+579oCE1y piofukXlQ+ETI6m8IIxz8ukLcIqfr128PW8NLPpUDF618YYxPUSuaR9Q34fVk1MLMQrh YO+fxDvzGCMSZF92ZQdw4+NqH08RHHJt219HqQmKN0JCL3HmHIBLfWCCx3MhwqMfOPF6 ofatGZrnXhEwUy9H8+KF16uZrcdvm6RlLHEnzN1CJ06XQxGUmrV6JczFXFNFvbJuN2as 55UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CD0CzYEX/o6Zd/uHP6vbWB6WMoC+4GyO2IXO0mq1OcE=; b=ZWGpZwaMaYPiwdSGlU3bJv0vYbDA+eHdph5OJmqsxQhAFA9pA1Ttz/W6fe1wnGM5Ok kt+mWZtu18a25T7zyScCIhQfd+Yt/AlsCks0KHULoIBeo8qZaBJTih+OrSVEYAzd7C4+ npgyzO4mW+c76YCpQq/JMGdfYg+B5GkLvSkynLuFlgY3FwmH+XszTfDJZNTP1wW5WZz/ +VSb/6dEzblL6K5NvNBJ/C3IzUYSxz8E/HEzfjri0JoNrAKG5jK07FwiDcox+l6gLP8Y 8Lf3zezkT/039XPH6n4m2Qwtgsdk7gYCzBJHsr9sE/TiFf1ELOK0bCtPxKL5B/6BIGdt MCgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UYCvHEtN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 r22si3437856eji.254.2019.11.28.16.08.47; Thu, 28 Nov 2019 16:08:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=UYCvHEtN; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbfK2AIq (ORCPT + 8 others); Thu, 28 Nov 2019 19:08:46 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:40587 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbfK2AIq (ORCPT ); Thu, 28 Nov 2019 19:08:46 -0500 Received: by mail-pj1-f67.google.com with SMTP id ep1so12493311pjb.7 for ; Thu, 28 Nov 2019 16:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CD0CzYEX/o6Zd/uHP6vbWB6WMoC+4GyO2IXO0mq1OcE=; b=UYCvHEtNIYBwa0Za1WBa3dxE1m+gfbQgwgTFwnEcA/XvoOoDQPKR/8UFMlICqzcOj+ MaiJhlhqUMrtgsOx5uExZR1tttyaSvFblAYt184ik6ZOTv4D7ElSLQA9fuyY3h73bDkQ rMBh34ddwhMNb2b8R0DM71jQ6lHEE+jbtdygRCjjOzVJnGfjD2WeKUX2rtYvUw8uPPmY Za5R0DWjR/+FkKIdWP7KK6X3qhAklCtjT+lWGbE3QYN8lzaCInn9UnrqIqPGAcm0Ch5O G3p6h2MSgc/qUXFBfn2fsWAQxiVm+pKA4ozodjlnePLhyyTz6EAWuaoSobGxCqNcKLs1 JxXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=CD0CzYEX/o6Zd/uHP6vbWB6WMoC+4GyO2IXO0mq1OcE=; b=GwGIH/fR8Q/o8jHYy+U0rwOnM38r8nUwYqb1TVvB1DGafhfT/RFxFgtHworpkw6qd7 dN39S8Zlq+4nEHeWrLnFQ6io5eO1DxTbh2MaWqp/vKXyAN8pjl1PUpKiAzN5ojDvz+wV kCawiJHibn0v4bDgCBaOHj2EC/m6dF0IYDLZd3vse8K9gR4QRNbOZRTfskA0CrgibfV6 jHDdiyAzidnbvGae8iCedoQMbqPwRz3BEQIOpoQbHUhdx1ZH7HbceC84JZg5MAKehPyS gKsLHaKDoRHr/8sy+PoSOxDQmP1ze/GfneKihnJWIjmCrQ07zZag+Y5a6HMw5ku9FmtV ljbQ== X-Gm-Message-State: APjAAAWwRcaWhJHgB88lo8iHYGu21iU5USZ12uG+ltX1SSo0sgPbRRVX fTqQN3Et85hi9MuvIOtNChY= X-Received: by 2002:a17:902:ac8b:: with SMTP id h11mr5022220plr.87.1574986125721; Thu, 28 Nov 2019 16:08:45 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id d188sm21302075pfa.157.2019.11.28.16.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 16:08:45 -0800 (PST) From: Joel Stanley To: Lee Jones , Rob Herring , Philipp Zabel Cc: Brad Bishop , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH v2 2/2] reset: simple: Add AST2600 compatibility string Date: Fri, 29 Nov 2019 10:38:27 +1030 Message-Id: <20191129000827.650566-3-joel@jms.id.au> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191129000827.650566-1-joel@jms.id.au> References: <20191129000827.650566-1-joel@jms.id.au> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Brad Bishop The AST2600 SoC contains the same LPC register set as the AST2500. Reviewed-by: Andrew Jeffery Signed-off-by: Brad Bishop Signed-off-by: Joel Stanley --- drivers/reset/reset-simple.c | 1 + 1 file changed, 1 insertion(+) -- 2.24.0 diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c index 067e7e7b34f1..795c9063fe7b 100644 --- a/drivers/reset/reset-simple.c +++ b/drivers/reset/reset-simple.c @@ -125,6 +125,7 @@ static const struct of_device_id reset_simple_dt_ids[] = { .data = &reset_simple_active_low }, { .compatible = "aspeed,ast2400-lpc-reset" }, { .compatible = "aspeed,ast2500-lpc-reset" }, + { .compatible = "aspeed,ast2600-lpc-reset" }, { .compatible = "bitmain,bm1880-reset", .data = &reset_simple_active_low }, { .compatible = "snps,dw-high-reset" },