Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2457202imm; Thu, 19 Jul 2018 21:57:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdKskahvDLksH+TEjnYtCmZJ8+0Pvp821Pm6l+q+aJi7wjhdYsoUPRUfIwmxWgxSWz0Yr9O X-Received: by 2002:a62:6f87:: with SMTP id k129-v6mr671363pfc.26.1532062668430; Thu, 19 Jul 2018 21:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532062668; cv=none; d=google.com; s=arc-20160816; b=EnbKso0nulUkf090pnAB3TvW5TDL00wad5NZ8VZCEORr+H0k1QWMcOkgpTG7hEJXSh mM95VnKEg5zYZoXw3An7tWMsN0ErA7p5IR4wUg6IL+yGJ26hNOa+tK7CRbs1m8sbLP3l TeeM2mHUbzbuCY3MWymdHZ+0vVQsnpInNwytu4yGz2oO/pGAdsH1awOGUA3tGlPLMiky t9Oi/QmwDiI9hBJgTBO43Tgt9JL58l36yM7lC8PfkU/GIPHfoFJQeeTrlKWAHgtj9aLR gzyIMVUqY9JBuSen+nLO39zZrDPQ/xjUymlihWHHCR2nvj0K5Z4u0FXmyfxxjov68hPe jfMQ== 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:date:cc:to:from:subject:message-id :arc-authentication-results; bh=ww0wvgwB8aH/dUJNuM9Qc1RsY6sSFl1Su9FvUL2QD+A=; b=pD5Kb2K9htFLOwIU6zJPD5W9fqiSCPilrP9WGGw1YxJ0yBn4eXMd3NYPkFkL1+t8T6 mpgA4Xh9I4ss5fGX/gJqMHOghxDC2up+NK1cj3Ejbx4qNXrsev76Z9iyhfOs3L6DSWMh LIoRzNV4BAwpRg3eoCsd9twcAgwOHpMwF8Tb/P6+CV4vUTbkTZgQU3z4wfKWgfVxQrYi kHBCsVxV/6PqR/fI4M2o5nfu95iq/bK6X2oEYnHf6KNqFAMJw35/fS+kb3XLeXZ7eZEz 4w2pPDtN40TS3zqLcbzSCM2Lfs7dI+6ksi+OWHvHrGM0LGGXRV6W8BD/TjVdRb9XILvR 5GNA== ARC-Authentication-Results: i=1; mx.google.com; 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 bb5-v6si871906plb.480.2018.07.19.21.57.33; Thu, 19 Jul 2018 21:57:48 -0700 (PDT) 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; 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 S1727273AbeGTFnW (ORCPT + 99 others); Fri, 20 Jul 2018 01:43:22 -0400 Received: from gate.crashing.org ([63.228.1.57]:49461 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbeGTFnW (ORCPT ); Fri, 20 Jul 2018 01:43:22 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w6K4uDrj014252; Thu, 19 Jul 2018 23:56:15 -0500 Message-ID: <483b76bac7cb8043d9d780d5ffa5e43438279887.camel@kernel.crashing.org> Subject: Re: [RFC PATCH v2 1/4] dt-bindings: misc: Add bindings for misc. BMC control fields From: Benjamin Herrenschmidt To: Andrew Jeffery , Rob Herring , Eugene.Cho@dell.com, a.amelkin@yadro.com Cc: Mark Rutland , devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Joel Stanley , stewart@linux.ibm.com, OpenBMC Maillist , linux-arm-kernel@lists.infradead.org Date: Fri, 20 Jul 2018 14:56:13 +1000 In-Reply-To: <1532045276.1219110.1446722072.546C1F9D@webmail.messagingengine.com> References: <20180711053122.30773-1-andrew@aj.id.au> <20180711053122.30773-2-andrew@aj.id.au> <20180711200450.GB17291@rob-hp-laptop> <1531356830.3551458.1437853280.551CA8C5@webmail.messagingengine.com> <1531463489.747186.1439263128.075AECE1@webmail.messagingengine.com> <1531967302.2140539.1445583600.0F5ED287@webmail.messagingengine.com> <9787b471abc49c0b3db60e3471473a7a5b45ade7.camel@kernel.crashing.org> <1532045276.1219110.1446722072.546C1F9D@webmail.messagingengine.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.3 (3.28.3-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-07-20 at 09:37 +0930, Andrew Jeffery wrote: > > > > Andrew, can you start with a list that shows what you expect us to need > > on our systems ? > > > > Okay, our Witherspoon and Romulus platforms containing the ASPEED AST2500 currently need the following tuneables exposed: > > > From the SCU: > > - Debug UART enable > - VGA DAC mux > - VGA scratch registers 0-7 > - LPC SuperIO decode enable > - VGA MMIO decode enable > > > From the LPC controller: > > - iLPC2AHB enable > - SuperIO scratch registers 0x20-0x2f > > (The LPC controller is just as much of a collection of random bits as the SCU) > > Lastly, our Palmetto platform uses an AST2400 which has fewer features compared to the AST2500. Its tuneable list is the same as the above with the exception of "Debug UART enable". > > Tuneables that we may need to expose in the future include: > > > From the SCU: > > - PCI VID/DID for the BMC PCIe device > - VGA device enable (may need to be disabled if the platform contains a discrete graphics processor) Additionally there's a bunch of resigters controlling the mapping of various MMIO regions of the BMC PCIe device to portions of the BMC address space. I'm not sure what's the best way to handle that. This specific set might require a dedicated device as a subnode of the SCU in the DT that contains all the mappings as properties... That or we consider them static enough and just whack it in u-boot. > > From the LPC controller: > > - UART mux > > Alexander, Eugene, can you chime in with your platforms' needs? > > Cheers, > > Andrew