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 7B44FC433FE for ; Wed, 16 Nov 2022 22:32:21 +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=rI5CAOfi5FV3eYQdUKjhplm7nRf8mgUPmez70cKsPxg=; b=khT3CVQtlRRF+F SG+0SMvh5qPBK0fqUEw3/kz1hckhjWMgaufsLkCDJBdoFEMfJcvHSbIe+xTImCkWxPlFHyY9krCgk vmQGtCNbyylwggqEBabN5QZ0GS3atXrerS3n5at+6EKyw1gax8iOCsZafiO9xmzkBvaoeMY6L3YvJ G2mNaVMfltwomG/da0xqyIthKNuwviNgDG+klseMfpDHjNtCtSwgUAVQtspZxwn0+lI17UFqesgqy pREs2SaoDHtIpKI6KaNKMxGD9NRq24UEYOHE1FpY3XwbFZ040RhCSNGsr7hXhpZDkphED/YY5+OYv EP4cnp9c5zrjqMHDM5Hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovQvj-008Ozr-SS; Wed, 16 Nov 2022 22:30:51 +0000 Received: from mail-oi1-f180.google.com ([209.85.167.180]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovQve-008Oyd-K1 for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 22:30:48 +0000 Received: by mail-oi1-f180.google.com with SMTP id v81so20208650oie.5 for ; Wed, 16 Nov 2022 14:30:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hbpACnaXmrPREOrzmgwFDvqtUVn/DHRnFRgcTOhyLb8=; b=aKoRC+mpVrYzs3UqPxnAlPZOU2AVUaZLLLj8Dq5jSiD+A0aOqKEwemqur/qB/i/uS3 JmK2QFMvk5UJ/JQRh+3bIPvzQ4uLT3fvdjckmuFJOUUI08Be+oAgOCgjZ3mIqacvKWcl NJBd9wlJrBkDNeLbC3xt3u4MKccFHvLhs5JwQED/Q6oahpnpb2MvbSK3+ocHM59C2NV1 YoHHP3xIGgFXoI60BKLAqAQHswGMoj2b6N31G+LruI8PwAgOqFzwSYSki2D8US/SNevD MCdjBsNP65Axy6CreNNhg3QNVzLgiBdYc/xNDiUyjGTE4btdGR6gkHvRhTfvZE8aDCWj FlZA== X-Gm-Message-State: ANoB5plhH3Ev2H5kMTM9YHJbQgdqPNCjf4W7TnozpSlPv3SrP9xccak0 njeMRWlbMnFP0FHSo2SRQQ== X-Google-Smtp-Source: AA0mqf697XFyAspx8GJWNLHGqzqrI1rGojs7MliM5qrGwGc7c97ydk3ctzaQesak540j/eDZCFheTw== X-Received: by 2002:a05:6808:17a6:b0:35b:13ca:23a0 with SMTP id bg38-20020a05680817a600b0035b13ca23a0mr2844923oib.12.1668637844468; Wed, 16 Nov 2022 14:30:44 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id c25-20020a9d6c99000000b0066c73061d4bsm7074041otr.54.2022.11.16.14.30.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 14:30:43 -0800 (PST) Received: (nullmailer pid 1144141 invoked by uid 1000); Wed, 16 Nov 2022 22:30:45 -0000 Date: Wed, 16 Nov 2022 16:30:45 -0600 From: Rob Herring To: Brad Larson Cc: krzysztof.kozlowski@linaro.org, adrian.hunter@intel.com, alcooperx@gmail.com, andy.shevchenko@gmail.com, arnd@arndb.de, blarson@amd.com, brijeshkumar.singh@amd.com, broonie@kernel.org, catalin.marinas@arm.com, devicetree@vger.kernel.org, fancer.lancer@gmail.com, gerg@linux-m68k.org, gsomlo@gmail.com, krzk@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee.jones@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, p.yadav@ti.com, p.zabel@pengutronix.de, piotrs@cadence.com, rdunlap@infradead.org, samuel@sholland.org, suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com, ulf.hansson@linaro.org, will@kernel.org, yamada.masahiro@socionext.com Subject: Re: [PATCH v8 06/17] dt-bindings: mfd: amd,pensando-elbasr: Add AMD Pensando Elba System Resource chip Message-ID: <20221116223045.GA1130586-robh@kernel.org> References: <20221116193940.67445-1-blarson@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221116193940.67445-1-blarson@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_143046_698773_448B4A42 X-CRM114-Status: GOOD ( 22.38 ) 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 Wed, Nov 16, 2022 at 11:39:40AM -0800, Brad Larson wrote: > Add support for the AMD Pensando Elba SoC System Resource chip > using the SPI interface. > > Signed-off-by: Brad Larson > --- > > v8: > - Apply review request changes and picked the two unique examples > for the 4 chip-selects as one has the reset control support and > the other an interrupt. Missed the --in-reply-to in git > send-email for v7, included in this update. No, you haven't. By default in git, you don't have to do anything. See --thread and --no-chain-reply-to options. If you are messing with --in-reply-to, you are doing it wrong. Please resend the whole series properly threaded. > > v7: > - Use system-controller for the device with four chip-selects > connected over spi. > - Delete child by moving reset-controller into the parent. > - Updated and used dtschema-2022.11 and yamllint-1.28.0 > > v6: > - Expand description, rename nodes and change compatible usage > > v5: > - Change to AMD Pensando instead of Pensando > > v4: > - Change Maintained to Supported > > .../bindings/mfd/amd,pensando-elbasr.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 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..622c93402a86 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/amd,pensando-elbasr.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only 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 > + > +description: | > + AMD Pensando Elba SoC Resource Controller functions are > + accessed with four chip-selects. Reset control is on CS0. One device with 4 chip-selects? Then I'd expect 'reg = <0 1 2 3>;' Hard to say more because I don't have the whole thread nor remember what exactly we discussed before. That was 100s of bindings ago... > + > +maintainers: > + - Brad Larson > + > +properties: > + compatible: > + enum: > + - amd,pensando-elbasr > + > + "#reset-cells": > + const: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - spi-max-frequency > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + num-cs = <4>; > + > + system-controller@0 { > + compatible = "amd,pensando-elbasr"; > + reg = <0>; > + spi-max-frequency = <12000000>; > + #reset-cells = <1>; > + }; > + > + system-controller@2 { > + compatible = "amd,pensando-elbasr"; > + reg = <2>; > + spi-max-frequency = <12000000>; > + interrupt-parent = <&porta>; > + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; > + }; > + }; > -- > 2.17.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel