Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2228145pxb; Mon, 8 Mar 2021 18:50:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLeuWAHC7I1FlqbGCa+z9HcBLXUY2nRfvWAHcH36+U9zcf4ST0k+vuaxRPuyBxUU0vR2Qa X-Received: by 2002:a17:906:c414:: with SMTP id u20mr17645565ejz.215.1615258202375; Mon, 08 Mar 2021 18:50:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615258202; cv=none; d=google.com; s=arc-20160816; b=CUi73r3XAhZBDpqgiG/okHVwkHtTQ3hQyBMGUaRDW87DwC+eVVt/xyCpVBCzorJQhk BBmh/aFyrOAWutKcKWpQ/bOAVd694FyxTzzI/MHPSLCwnfmj0PwSveQMyepmzTsH7ewM eMonxZzuh4iKYdLIL/DV/t3nMcSbpVkdLG720dyDc2JaUWouy1+79LBwMWm2Pj2F5wWO OokVrbJEK77rLjPAbKzhXN/+QHloDQGJnIcv5JVTHKoYJ1mhjvyqZTVhpyjCzK2rRE+M yL/NC62eyRIStQOqW95bz4wxE+cKQGZCySvf1VwnHu4Bb0QzOTiVTfVn8K4eJEMjD/Yd c2xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=qRybQhRN/O0nr4FGzlsF5grYQeYZu8ucrJLcVTZ+qd0=; b=neZ5r36Cv71DfTixfH8ZOWrwKY/aqIRtLnKRRtAbVdWR5XfjL6RMn7L/dMbmZ5lnX0 gXEseRFWcU5sbYkCmZstLM5i7++oYqPA53orHaf0Ahg/1QkaeDSxZxVJ/hzz3LJQ2xqB kfXhO35Fw5DRgWd1CMgcI9BqaHB924K+nNJ86p9lQg5UZ+xU4n6lXPgNNO7XQwRmTiwR YYvwNRusc8ccgB92SWH4CXVaL15l0pAoj6465gJVBOGijkUn3NVqDFlc3Q6St3oJzZh9 HsmNqqPB6QW/RB9VBfUov42IFyg7nDOh2caJ0eQkKzIkrXYPwkDLvCSLjE9JqXV17mnQ nBDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=QOXTD5AO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=aDdpVZRz; 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 z4si8702509edc.579.2021.03.08.18.49.38; Mon, 08 Mar 2021 18:50:02 -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=fm2 header.b=QOXTD5AO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=aDdpVZRz; 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 S230147AbhCICpl (ORCPT + 99 others); Mon, 8 Mar 2021 21:45:41 -0500 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:38713 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhCICpP (ORCPT ); Mon, 8 Mar 2021 21:45:15 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id C9CE5580795; Mon, 8 Mar 2021 21:45:14 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Mon, 08 Mar 2021 21:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=qRybQhRN/O0nr4FGzlsF5grYQeYZu8u crJLcVTZ+qd0=; b=QOXTD5AO8JgTi78Gox3qd+o0cQCodeaVASzuajwdav5Y2hC 4avnt+mIqAteWzqQDJl9a+QBx+HWM83Gk8XIX3u3/8IoOxIpfAhVm0FteiFTDHU8 UwnYHebv1bSlVT/QLDChvmP7j9MwiX+8RFkMT4zCiclkKaUOimes4zpaPZa94zB7 BAu4JaRJB3JUe2FFr1s9ti6JN1lAbNCqTKBqSjZjKFnT5CkATt6/FEDBe1Fbe4gJ D0U2yfwxYdj1M8DA7OVJ8w0HqvbaDOcrNGrDuwksoN/ZhLutauiUsz50QyJjeiYI pceRzncgFai4/nRAJK/s+SQqGIgjF/NUaPhONoA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type: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=fm2; bh=qRybQh RN/O0nr4FGzlsF5grYQeYZu8ucrJLcVTZ+qd0=; b=aDdpVZRzVu/fS0qCUO6nOt oEgpCu/QYslFEzpsvzX7ndTe8eRiqTfW1+F4Fv5rSljjXczfv7nrbqAWr3zapAW0 OjefFWXSx9RK3x20MIrnZcNoti7tW/oJNtSA/IV7IGOQHDvleipPI09EiprnhU9o kt5scxewJhaB6Qq51S97vCJklRMPZ9wqdCDkJp6r7hTpTZ25zNabBWCCaBJG9QKb 9u6RelhaplCmdQf+JB8koj+J5GNSUsr4cXpmXqevWGEjrvMfmV3DRpgqVTIImVfo ECd+27HzMXYje4l4PuXUIUPvFoestcAbxKMjRp5oAEw7dxy3qsvV9LfT+/Sh16IA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudduhedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhepuddttdekueeggedvtddtueekiedutdfguedutdefieeuteefieelteet vddthfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 45659A00064; Mon, 8 Mar 2021 21:45:13 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-206-g078a48fda5-fm-20210226.001-g078a48fd Mime-Version: 1.0 Message-Id: <331c242b-cf22-4d0e-a08c-b9dbb06f2f32@www.fastmail.com> In-Reply-To: <20210305230940.GA809870@robh.at.kernel.org> References: <20210219142523.3464540-1-andrew@aj.id.au> <20210219142523.3464540-18-andrew@aj.id.au> <20210305230940.GA809870@robh.at.kernel.org> Date: Tue, 09 Mar 2021 13:14:52 +1030 From: "Andrew Jeffery" To: "Rob Herring" Cc: devicetree@vger.kernel.org, "Chia-Wei, Wang" , "Tomer Maimon" , "Corey Minyard" , linux-gpio@vger.kernel.org, "Avi Fishman" , "Patrick Venture" , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, "Tali Perry" , linux-aspeed@lists.ozlabs.org, openipmi-developer@lists.sourceforge.net, "Lee Jones" , "Linus Walleij" , linux-arm-kernel@lists.infradead.org, "Benjamin Fair" Subject: =?UTF-8?Q?Re:_[PATCH_17/19]_dt-bindings:_ipmi:_Add_optional_SerIRQ_prope?= =?UTF-8?Q?rty_to_ASPEED_KCS_devices?= Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 6 Mar 2021, at 09:39, Rob Herring wrote: > On Sat, Feb 20, 2021 at 12:55:21AM +1030, Andrew Jeffery wrote: > > Allocating IO and IRQ resources to LPC devices is in-theory an operation > > for the host, however ASPEED don't appear to expose this capability > > outside the BMC (e.g. SuperIO). Instead, we are left with BMC-internal > > registers for managing these resources, so introduce a devicetree > > property for KCS devices to describe SerIRQ properties. > > > > Signed-off-by: Andrew Jeffery > > --- > > .../bindings/ipmi/aspeed,ast2400-kcs-bmc.yaml | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-kcs-bmc.yaml b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-kcs-bmc.yaml > > index 1c1cc4265948..808475a2c2ca 100644 > > --- a/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-kcs-bmc.yaml > > +++ b/Documentation/devicetree/bindings/ipmi/aspeed,ast2400-kcs-bmc.yaml > > @@ -47,6 +47,18 @@ properties: > > channels the status address is derived from the data address, but the > > status address may be optionally provided. > > > > + aspeed,lpc-interrupts: > > + $ref: "/schemas/types.yaml#/definitions/uint32-matrix" > > + minItems: 1 > > + maxItems: 1 > > + description: | > > + A 2-cell property expressing the LPC SerIRQ number and the interrupt > > + level/sense encoding (specified in the standard fashion). > > That would be uint32-array with 'maxItems: 2'. > Ah, thanks.