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 E2267C433FE for ; Wed, 16 Nov 2022 19:41:02 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6xneblgFG6921PfRS7WRP4xgJLu4jO4wJ9/bJkRywKY=; b=R/GZjrKVPNtr4V BmxxLcMyLkNVnuP0PcvxvyzRG27m1lJWrumPYtBVrVnoLtmJSX828Ji9JC5wjnR/yKHoNgew3Rv2K hLz+cy05DJQvjujEGsW5O4lxMz9qVp4pi/PeMJEP1pRn1bij9Q8h/sfpr3UO/aIPgqwRkhZ/Q9Kh7 VEO7ozAryD1yHeQsMAeqXQi1hZWuKt23Vb3g5Au7V96oYGJ58BMcLnz+AtdvIJBcBBtnE1Qyt7IN6 SzZANPNrOAkPQEV70oOrdMYHdeZeuD5WoxsAituQx6OjUceDeRCuGuwnym/zT52+VwAdiEKmjmxrc wpG5pSxmbXxx/InaLAIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovOGG-007OE3-91; Wed, 16 Nov 2022 19:39:52 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovOGD-007OD3-Mg for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 19:39:51 +0000 Received: by mail-pg1-x52c.google.com with SMTP id n17so10022878pgh.9 for ; Wed, 16 Nov 2022 11:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pensando.io; s=google; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=TYG9zd1SkfmMYicbzm8Ol8B8CN6QOjjc2uOytgz/8Xs=; b=UlYgZ/EzU9GVL7Uh/9ksDCzs5d3bvFSgcvFRNGw6NqEaTwt2lWJJ59YkRZl82XuKyE kmds1haWzWCAiHnomQk3Q615/xBXQlkhLLus966tJQSwIkpLKgq/W6YRv753D/sbTvbK RPVhxmpP/JmOh5qUMcjtNJPYmDGA9XcCP2hGdlcT9v1ninKb857HTsfzjjZ1SgMo/fz+ ooTn1yKJSxeq0JmpvwmZIFDL+pXmaQs5Ue3NeYz+JH8PmKRs584ieAVuAos2vmRaKHdM /guVwC9x/I/Masy8tdofgr5WiW7vfOG7rUP5EMbyf7U9oTcYWgPBryHfh0pe6q8EnPGP 97lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TYG9zd1SkfmMYicbzm8Ol8B8CN6QOjjc2uOytgz/8Xs=; b=fS9r4oSQC2rVZhJwhRWX57FxjheuP7RO3tka+PMFuL2OX3NU+OypRr4h9I8OpZ5RiI xOmsRy3d+9oWwBZ9yhXM5JcLlEUHX5RVtoSCxQfS7OGOHkXRntiQqlEa6PBXm5Qt/1UX sYAEVx9pwG0i0UEaz92uaVVRff8DVLjPPd+V7UknkcK3T4wWIsH7dqOLn+YKJJ/cZ86G YbcZf7+bOhYs7mSBb+kQZ2XRMXYoLtYVB7aSTYZ0Cv9GvKf/0/tq3/8dqPLIynXQ4R5T 7pRDq6Qx/qImq77unWHctHfRHVJb99UsVVDh0NbhHL7HwB1a7ziqkJS64e5akbAPRv54 yZEg== X-Gm-Message-State: ANoB5pkCaZOpT6QXrJPQc2IhuFifDiGClYdn9zEwzlnQwQ0BOwKA6Etl /cEvJsaw0VVqaaMqL8tgrTIAJA== X-Google-Smtp-Source: AA0mqf5sMpU2cMuunjlhRBO2+RAWdqDpUt2K0HWiDkWR0BGa3tibxSbZPMntL147nciYqsIMM4WEkg== X-Received: by 2002:a63:62c4:0:b0:476:f43d:ed4f with SMTP id w187-20020a6362c4000000b00476f43ded4fmr2315289pgb.16.1668627586805; Wed, 16 Nov 2022 11:39:46 -0800 (PST) Received: from platform-dev1.pensando.io ([12.226.153.42]) by smtp.gmail.com with ESMTPSA id b129-20020a62cf87000000b0056bad6ff1b8sm11211536pfg.101.2022.11.16.11.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 11:39:46 -0800 (PST) From: Brad Larson X-Google-Original-From: Brad Larson To: krzysztof.kozlowski@linaro.org Cc: adrian.hunter@intel.com, alcooperx@gmail.com, andy.shevchenko@gmail.com, arnd@arndb.de, blarson@amd.com, brad@pensando.io, 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, robh+dt@kernel.org, samuel@sholland.org, suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com, ulf.hansson@linaro.org, will@kernel.org, yamada.masahiro@socionext.com Subject: [PATCH v8 06/17] dt-bindings: mfd: amd,pensando-elbasr: Add AMD Pensando Elba System Resource chip Date: Wed, 16 Nov 2022 11:39:40 -0800 Message-Id: <20221116193940.67445-1-blarson@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_113949_745446_A7F4A7FA X-CRM114-Status: GOOD ( 13.42 ) 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: , MIME-Version: 1.0 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 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. 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. + +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