From patchwork Mon Feb 12 07:08:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 127940 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2942248ljc; Sun, 11 Feb 2018 23:09:12 -0800 (PST) X-Google-Smtp-Source: AH8x224Hwk2IzDvDU2OhNk+jUcBXmdANLf6sk8UCbQcmFApdStfoAAwfiA2iVmRDnb/d7IVz745P X-Received: by 10.98.152.208 with SMTP id d77mr10748306pfk.108.1518419352756; Sun, 11 Feb 2018 23:09:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518419352; cv=none; d=google.com; s=arc-20160816; b=oXnnD4khSjCBhi8LwxC95lLY5t0i5NsKksSi+W2pO6ByyEFpXua5trp1hCtbU58zep JapBBwwwJZCy4ioWzmcq9ridk2G9vs3UJeZ4jcr02ist5o6qT3ShCDrPZuD8mWNqFcPW kRPvcvc7N7xxxqbZdn85/R7lZ22bOA5htBHyD1XhumfKsMKGcpD6SBNpExRkjEUh7VzT nvPvW9l1BJc4Q288bCVjfaqgeKVhp+C7/Any0s1nhE4CC5Tu3pd1Jh7Ka2Mvfb8sDwib 9t3ehEV+q9qOw3Kj0q4729j14FEseYYIboRu0XN6xWhAJXvEfafFsbaemxHldaAE4gJN fz3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=eNpEXsIVrxsQO6RsHiKZUBXRoHWgwzXkOWOw6UdhmSA=; b=rrj+6gI4uRVZMBuKZMXmfd69r2inAut+JOAK3WR1UYHVydoos4WTaGSmXx4Scv7G9h sg8RArI1r1KjmjG4ZQut4R2QwrcNMYjHkHjSepRs18hb+RrSGD1SiRS94dLUHIznvzHA GCS8KnoZlP/WqN9Gyixyj7Opjm5DhHgBFH52ZGvcZjshIBWdFYyE/RfreoZySsXh0GaD JLYi/s6Zsz5lXspKBEAtizseOiZLyNB390AhvdqVKdYFIo4A13+gJ1y89iRDYQqPYzGV /0S6wVMnsZ1K0c3kcop5ey+6Sn/LalwZFg0iqBFppLglPfbYRs3jbF36/TltlyIizs1r Mmfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eyEtR+oW; 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 h68si2361484pfc.35.2018.02.11.23.09.12; Sun, 11 Feb 2018 23:09:12 -0800 (PST) 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=eyEtR+oW; 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 S932945AbeBLHJK (ORCPT + 13 others); Mon, 12 Feb 2018 02:09:10 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:42055 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932568AbeBLHJH (ORCPT ); Mon, 12 Feb 2018 02:09:07 -0500 Received: by mail-pl0-f66.google.com with SMTP id 11so4627427plc.9; Sun, 11 Feb 2018 23:09: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:in-reply-to:references; bh=eNpEXsIVrxsQO6RsHiKZUBXRoHWgwzXkOWOw6UdhmSA=; b=eyEtR+oWhEzwXEIGTjzIA+zxXaGSVjHMRuOKZHEZ7n6Ju+Vs4JiT0aXghZQ1oB+9Z9 1kz79ML+LcBeKPNIvkXeloFz/IkX7gdvxT9y1zazN+EBJfIhSqJNh9e19SJ/XJCeAAxY bcNJkcZ48/ZmQEaFkWe4Ktdqv8XXHdSHZJnNqqcMqE0jNFfUk0Lamub1VsqROrudbQjl B7kmmtyQKCJPoz+2hau0mBD/5Nci74hjnSL6MKYSeOFt6h0w3vShwPq4sfctApMPB8P5 KRaRHW0/MYjaWDEsUAH/igQksTkAHPd68YLTUhWYCXLqK7k0okKBvZ4u9M1EXyPtpslx pacg== 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; bh=eNpEXsIVrxsQO6RsHiKZUBXRoHWgwzXkOWOw6UdhmSA=; b=j2qS1/rt4bzmbqvr72R/G59e7GB3rz6KoUxIpM8oMW/lf5lAXrIw9lF9zzcxGyVvN5 qmyPly0kJ0fkBDyaow7S8HKliE4r++Ny6q0/sn2yUagAufGf1cx/BoL2PEpYNmKDMJ4F 7Z/c1pvimm00IdRq1nWNRBi0SAW+TLreO67lqH86T4ZkzITVK6+jK0ii+YNd5qJlxfot WfcK/4wolfGz+qkOSS1GD9REIJkyt9SrzsRS+J2cBS/OWXYq65EYpds3P2um5N6Drzoe 8K+qf0BABAwfLWzo7g0DufV8GDG2XTVQLfA4/kfmmbj4bPciqFrpxfgo5GQImEUN1Ujo RKYQ== X-Gm-Message-State: APf1xPDfCfPIq7CkDdr/+BV6DTFqRyZfNwYySBDljG9hsHmdt0DQCrS5 kS7g2+MHbQRalytpJOS9UsQ= X-Received: by 2002:a17:902:57d8:: with SMTP id g24-v6mr3782753plj.381.1518419347075; Sun, 11 Feb 2018 23:09:07 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id w15sm26239015pfj.32.2018.02.11.23.09.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 23:09:06 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 12 Feb 2018 17:38:58 +1030 From: Joel Stanley To: Lee Jones , Rob Herring , Mark Rutland Cc: Arnd Bergmann , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Jeffery , Cyril Bur , Benjamin Herrenschmidt , Ryan Chen , Lei YU Subject: [PATCH 1/3] dt-bindings: aspeed-lpc: Document LPC Host Interface Controller Date: Mon, 12 Feb 2018 17:38:45 +1030 Message-Id: <20180212070847.32387-2-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180212070847.32387-1-joel@jms.id.au> References: <20180212070847.32387-1-joel@jms.id.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LPC Host Interface Controller is part of a BMC SoC that is used for communication with the host. Signed-off-by: Joel Stanley --- .../devicetree/bindings/mfd/aspeed-lpc.txt | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) -- 2.15.1 diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt index 514d82ced95b..94a31de109c4 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt @@ -109,6 +109,46 @@ lpc: lpc@1e789000 { }; }; +BMC Node Children +================== + +LPC Host Interface Controller +------------------- + +The LPC Host Interface Controller manages functions exposed to the host such as +LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART +management and bus snoop configuration. + +Required properties: + +- compatible: One of: + "aspeed,ast2400-lpc-ctrl"; + "aspeed,ast2500-lpc-ctrl"; + +- reg: contains offset/length values of the host interface controller + memory regions + +- clocks: contains a phandle to the syscon node describing the clocks. + There should then be one cell representing the clock to use + +- memory-region: A phandle to a reserved_memory region to be used for the LPC + to AHB mapping + +- flash: A phandle to the SPI flash controller containing the flash to + be exposed over the LPC to AHB mapping + +Example: + +lpc-host@80 { + lpc_ctrl: lpc-ctrl@0 { + compatible = "aspeed,ast2500-lpc-ctrl"; + reg = <0x0 0x80>; + clocks = <&syscon ASPEED_CLK_GATE_LCLK>; + memory-region = <&flash_memory>; + flash = <&spi>; + }; +}; + Host Node Children ==================