From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D168EC433EF for ; Tue, 14 Jun 2022 21:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HKJIHvHJeBt+Yies4EP66eX3GEUnj0q1XOY7EZfFoDo=; b=sCfMeADQvIO8F2 GPQzCwJ/Cwcnv94QgDVTV7ax/TcxuNWCvMz0cXnSJaVnFDDMz5b8mdi/cLAIj3+dqjCguRA/xnhba S82zSEsHPSt0V1398vnhSzTIqKlCm8nXN6k0L4onZGdssQhc7E+juHI3j/h4fS4Zfb68GIfDTeZQ/ NM0YPqzgi72GijaLtMkYA9TQdkGwqHvMkk/EqfvmP55aWP7bQI10BagA2YVDeesy0EObO/zcBpjLV wGb/K3elAcM8YCTKWtulYSQyr1pWW7GfvpQOZDnKa7VBgCKjueOkG30+RDKMuhZpBgur8wJLzSYhv ZSh/Ch91ow8v9RV47FtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1E7Z-00BPpi-He; Tue, 14 Jun 2022 21:30:45 +0000 Received: from mail-io1-f49.google.com ([209.85.166.49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1E7V-00BPn8-MD for linux-arm-kernel@lists.infradead.org; Tue, 14 Jun 2022 21:30:43 +0000 Received: by mail-io1-f49.google.com with SMTP id e80so10799125iof.3 for ; Tue, 14 Jun 2022 14:30:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WEzh8uOJ4ejVdVVUTSHKNNS6sE3Yvu2T1kOBaTdaAxA=; b=v0VQycOKxfKhXmKQPuMTrX0dQUM0JmOBp1etu9iNjN0hg434ToobBiBFJ/RVlIMKZq dh+tnJ/TbjDLmTLL+vicNHctIWJGH3tV7jTtwGPF44L4JhMn2mSKxAKisquvYYR2FNN9 N/I3AUabTLuxlprO+BIMomfk5fAT2Vsr5gSNuLzONZMrF+YeLEsjFsk5sJy2PnWWp61J qCLpLHMX1BNnr8Q8pKIys2r5Ox/phV6BMBPklOOUqWrawUV0AiUvoDs/p4HC6RA6LbRz SAcaSzt2epaVGUtSSLTMvMgmARsmUTZt++nY7+TvAj/0axVadJoqh1PLKK8TycICL10h fxgQ== X-Gm-Message-State: AOAM533eb5nM5NzTxTVEihXFUC01ndyEsSowwQ9b607cS6LyzzcAfwmc 1fMLhkb2yLm9auBqU88o2g== X-Google-Smtp-Source: ABdhPJw73T3RW6u/6ODSfkemfRspT9gvZl1tKry/kG4gXnYEbn7UBzl5xM772ykwvIUX7LlEzkmh2A== X-Received: by 2002:a02:6642:0:b0:332:b49:2f6 with SMTP id l2-20020a026642000000b003320b4902f6mr4057580jaf.188.1655242239395; Tue, 14 Jun 2022 14:30:39 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id ce11-20020a0566381a8b00b0033158c4a312sm5363543jab.55.2022.06.14.14.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 14:30:39 -0700 (PDT) Received: (nullmailer pid 2681877 invoked by uid 1000); Tue, 14 Jun 2022 21:30:36 -0000 Date: Tue, 14 Jun 2022 15:30:36 -0600 From: Rob Herring To: Brad Larson Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, adrian.hunter@intel.com, alcooperx@gmail.com, andy.shevchenko@gmail.com, arnd@arndb.de, blarson@amd.com, brijeshkumar.singh@amd.com, catalin.marinas@arm.com, gsomlo@gmail.com, gerg@linux-m68k.org, krzk@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee.jones@linaro.org, broonie@kernel.org, yamada.masahiro@socionext.com, p.zabel@pengutronix.de, piotrs@cadence.com, p.yadav@ti.com, rdunlap@infradead.org, samuel@sholland.org, fancer.lancer@gmail.com, suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com, ulf.hansson@linaro.org, will@kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 06/15] dt-bindings: mfd: amd,pensando-elbasr: Add AMD Pensando Elba System Resource chip Message-ID: <20220614213036.GA2660642-robh@kernel.org> References: <20220613195658.5607-1-brad@pensando.io> <20220613195658.5607-7-brad@pensando.io> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220613195658.5607-7-brad@pensando.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220614_143041_816254_C2BA7E6E X-CRM114-Status: GOOD ( 20.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 13, 2022 at 12:56:49PM -0700, Brad Larson wrote: > From: Brad Larson > > Add support for the AMD Pensando Elba SoC System Resource chip > using the SPI interface. The Elba SR is a Multi-function Device > supporting device register access using CS0, smbus interface for > FRU and board peripherals using CS1, dual Lattice I2C masters for > transceiver management using CS2, and CS3 for flash access. > > Signed-off-by: Brad Larson > --- > .../bindings/mfd/amd,pensando-elbasr.yaml | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml b/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml > new file mode 100644 > index 000000000000..13356800b1cf > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/amd,pensando-elbasr.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: AMD Pensando Elba SoC Resource Controller bindings > + > +description: | > + AMD Pensando Elba SoC Resource Controller bindings attached to a SPI bus. > + > +maintainers: > + - Brad Larson > + > +properties: > + compatible: > + items: > + - enum: > + - amd,pensando-elbasr > + - const: simple-mfd > + > + spi-max-frequency: > + description: Maximum SPI frequency of the device in Hz. > + > + reg: > + maxItems: 1 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - spi-max-frequency > + > +patternProperties: > + '^reset-controller@[a-f0-9]+$': > + $ref: ../reset/amd,pensando-elbasr-reset.yaml /schemas/reset/... > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + spi0 { > + #address-cells = <1>; > + #size-cells = <0>; > + num-cs = <4>; > + > + spi@0 { > + compatible = "amd,pensando-elbasr", "simple-mfd"; > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; > + spi-max-frequency = <12000000>; > + > + rstc: reset-controller@0 { Only one child does not make a MFD... > + compatible = "amd,pensando-elbasr-reset"; > + reg = <0>; > + #reset-cells = <1>; > + }; > + }; > + > + spi@1 { > + compatible = "amd,pensando-elbasr", "simple-mfd"; > + reg = <1>; > + spi-max-frequency = <12000000>; 'simple-mfd' implies there are child nodes, but you have none. Is this complete? > + }; > + > + spi@2 { > + compatible = "amd,pensando-elbasr", "simple-mfd"; > + reg = <2>; > + spi-max-frequency = <12000000>; > + interrupt-parent = <&porta>; > + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; This one has interrupt but the others don't? > + }; > + > + spi@3 { > + compatible = "amd,pensando-elbasr", "simple-mfd"; > + reg = <3>; > + spi-max-frequency = <12000000>; > + }; > + }; > + > +... > -- > 2.17.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel