From patchwork Fri Feb 9 05:11:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 871206 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zd38w4jbWz9s0Z for ; Fri, 9 Feb 2018 16:12:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KR2rPyLv"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3zd38w35sJzF1C8 for ; Fri, 9 Feb 2018 16:12:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KR2rPyLv"; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4003:c0f::243; helo=mail-ot0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KR2rPyLv"; dkim-atps=neutral Received: from mail-ot0-x243.google.com (mail-ot0-x243.google.com [IPv6:2607:f8b0:4003:c0f::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zd38S2HTTzF19W for ; Fri, 9 Feb 2018 16:12:07 +1100 (AEDT) Received: by mail-ot0-x243.google.com with SMTP id q12so6550258otg.10 for ; Thu, 08 Feb 2018 21:12:07 -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; bh=hJLOisWwteL9AJk8mZsoVqgAamFrDP1RPd6ZkfhE0rw=; b=KR2rPyLvQBVQvVXdgCJSmAWDbqvSu0WPiu0gz4WaWQHxQkuzfj43FcNVYJHKWPMGZU qHsS9YxTIyTm+AxDvrfZ8TzgzL8/Y4isDxIly6uy+vF34Hp90s2sFyU+T/Ap3AAIpAvH AZn1Ea5+EDWNKe0uYxfiSVdWN91wZ2ivmZ0nqcKJbOqdjO1SJbIfAfqC0hvXKGgUQIXO 4la6R3eAwnxIbtcp8TRJrBa2BnFFASg+sT8gBvcKHG13z+37cZdEnrhfxaxUz5awCVjF dTG+os+dDiCCHPuI6uUVKqQtcoj4g6j1rJglttoibyFVx+V/LB0y7mun8BoYaSmPbdBj q+2g== 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; bh=hJLOisWwteL9AJk8mZsoVqgAamFrDP1RPd6ZkfhE0rw=; b=EM7o/Nd6Iy2YbrL6r+QEEhBNt6XA7/jmr4tuGtCWcfrGiiTgwRYTuXjPQSdXuJYkxe YxFnet2BnpeyLP7CV8krLHi9wNtiv8fpH3GeFRnDrRj4t9sR1Rloh1DE32s6DejOBn3O uVKACxxfe7wUaa9Lp4cEGEWEuYGh/vPBeluU9Sbpaym3GYQhCXiVm4lLLvXGZpyIl4lF iH6zjQ8XBUw/OyYF+YksCLzSS9Pxa9nKChgdUUQXqohZTOLW00Kj5BsOBFu58nC7AnX0 qMK3bpH/7BqAWZHXfUobRqRHPffwWIhxwfVXsLdb+E0rXOnN3iPkNPmg7ycW4kiVSpC4 TP5g== X-Gm-Message-State: APf1xPCsXJwpfC90xvYvCbsRyLIDBrPMJ3uqFevCL+OkrWVk+ut8s5GP zVej9LuLNBlKYI+IPzU9eAq7bR7g X-Google-Smtp-Source: AH8x225QPdWsnRntoeqDCjwx/hrj7DjqssigeTOV4WiE1XgSoppD/+HLCoPCPjapkcjqv0ZASE21uA== X-Received: by 10.157.4.108 with SMTP id 99mr1422188otc.185.1518153124604; Thu, 08 Feb 2018 21:12:04 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id l15sm628437otl.54.2018.02.08.21.12.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Feb 2018 21:12:03 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 09 Feb 2018 15:41:58 +1030 From: Joel Stanley To: openbmc@lists.ozlabs.org Subject: [PATCH linux dev-4.13 v2 0/4] LPC fixes Date: Fri, 9 Feb 2018 15:41:54 +1030 Message-Id: <20180209051158.32354-1-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , Cyril Bur Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" These patches were developed when bringing up dev-4.13 on Romulus. We need to ensure the LPC clock is enabled, now that the clock driver turns off any unused clocks. We also need to enable the LPC firmware cycles bit as we no longer have the aspeed.c hack. v2: - Set bit 10 and bit 8 to get the LPC mapping working - Add bindings documents Joel Stanley (4): ARM: dts: aspeed: Add LPC clock phandles misc: aspeed-lpc: Request and enable LPC clock dt-bindings: aspeed-lpc: Document LPC Host Interface Controller misc: aspeed-lpc-ctrl: Enable FWH and A2H bridge cycles .../devicetree/bindings/mfd/aspeed-lpc.txt | 39 ++++++++++++++++++++++ arch/arm/boot/dts/aspeed-g4.dtsi | 1 + arch/arm/boot/dts/aspeed-g5.dtsi | 1 + drivers/misc/aspeed-lpc-ctrl.c | 32 ++++++++++++++++-- 4 files changed, 71 insertions(+), 2 deletions(-)